Update SDK Generator versions

This commit is contained in:
Bradley Schofield authored and GitHub committed 2025-01-08 06:40:33 +00:00
1 parent f4af241804
commit 02ab3c850e
355 files changed
+427 -40

No files matched your search

+1 -1
View File
@@ -217,7 +217,7 @@ return [
[
'key' => 'cli',
'name' => 'Command Line',
'version' => '6.0.0',
'version' => '6.2.0',
'url' => 'https://github.com/appwrite/sdk-for-cli',
'package' => 'https://www.npmjs.com/package/appwrite-cli',
'enabled' => true,
+1 -1
View File
@@ -84,7 +84,7 @@
},
"require-dev": {
"ext-fileinfo": "*",
"appwrite/sdk-generator": "0.39.28",
"appwrite/sdk-generator": "0.39.29",
"phpunit/phpunit": "9.5.20",
"swoole/ide-helper": "5.1.2",
"textalk/websocket": "1.5.7",
Generated
+15 -15
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "6b136b5490c0d5d331eac0d70bb3e198",
"content-hash": "819d7979e0239b187e2a1875d97ed0cf",
"packages": [
{
"name": "adhocore/jwt",
@@ -3929,16 +3929,16 @@
},
{
"name": "utopia-php/migration",
"version": "0.6.13",
"version": "0.6.14",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/migration.git",
"reference": "68d9b0a9477755afcda607e7e8109785cae17a13"
"reference": "59a19f09ded0ccab4c8cca35b1242c01e2b9cfd2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/migration/zipball/68d9b0a9477755afcda607e7e8109785cae17a13",
"reference": "68d9b0a9477755afcda607e7e8109785cae17a13",
"url": "https://api.github.com/repos/utopia-php/migration/zipball/59a19f09ded0ccab4c8cca35b1242c01e2b9cfd2",
"reference": "59a19f09ded0ccab4c8cca35b1242c01e2b9cfd2",
"shasum": ""
},
"require": {
@@ -3979,9 +3979,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/migration/issues",
"source": "https://github.com/utopia-php/migration/tree/0.6.13"
"source": "https://github.com/utopia-php/migration/tree/0.6.14"
},
"time": "2024-11-26T13:57:53+00:00"
"time": "2025-01-08T01:07:25+00:00"
},
{
"name": "utopia-php/mongo",
@@ -4807,16 +4807,16 @@
"packages-dev": [
{
"name": "appwrite/sdk-generator",
"version": "0.39.28",
"version": "0.39.29",
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator.git",
"reference": "6ff467858fe418e364460da905139216570a5d5e"
"reference": "a9c3f6076ec162588dac7b0a741bc1a2c3d1a2b7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/6ff467858fe418e364460da905139216570a5d5e",
"reference": "6ff467858fe418e364460da905139216570a5d5e",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/a9c3f6076ec162588dac7b0a741bc1a2c3d1a2b7",
"reference": "a9c3f6076ec162588dac7b0a741bc1a2c3d1a2b7",
"shasum": ""
},
"require": {
@@ -4852,9 +4852,9 @@
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"support": {
"issues": "https://github.com/appwrite/sdk-generator/issues",
"source": "https://github.com/appwrite/sdk-generator/tree/0.39.28"
"source": "https://github.com/appwrite/sdk-generator/tree/0.39.29"
},
"time": "2024-12-30T11:17:25+00:00"
"time": "2025-01-07T05:28:35+00:00"
},
{
"name": "doctrine/annotations",
@@ -8556,7 +8556,7 @@
],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"stability-flags": {},
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
@@ -8580,5 +8580,5 @@
"platform-overrides": {
"php": "8.3"
},
"plugin-api-version": "2.2.0"
"plugin-api-version": "2.6.0"
}
@@ -3,4 +3,5 @@ appwrite databases updateBooleanAttribute \
--collectionId <COLLECTION_ID> \
--key '' \
--required false \
--default false
--default false \
@@ -3,4 +3,5 @@ appwrite databases updateDatetimeAttribute \
--collectionId <COLLECTION_ID> \
--key '' \
--required false \
--default ''
--default '' \
@@ -3,4 +3,5 @@ appwrite databases updateEmailAttribute \
--collectionId <COLLECTION_ID> \
--key '' \
--required false \
--default email@example.com
--default email@example.com \
@@ -4,4 +4,5 @@ appwrite databases updateEnumAttribute \
--key '' \
--elements one two three \
--required false \
--default <DEFAULT>
--default <DEFAULT> \
@@ -5,4 +5,5 @@ appwrite databases updateFloatAttribute \
--required false \
--min null \
--max null \
--default null
--default null \
@@ -5,4 +5,5 @@ appwrite databases updateIntegerAttribute \
--required false \
--min null \
--max null \
--default null
--default null \
@@ -3,4 +3,5 @@ appwrite databases updateIpAttribute \
--collectionId <COLLECTION_ID> \
--key '' \
--required false \
--default ''
--default '' \
@@ -3,3 +3,4 @@ appwrite databases updateRelationshipAttribute \
--collectionId <COLLECTION_ID> \
--key '' \
@@ -3,4 +3,6 @@ appwrite databases updateStringAttribute \
--collectionId <COLLECTION_ID> \
--key '' \
--required false \
--default <DEFAULT>
--default <DEFAULT> \
@@ -3,4 +3,5 @@ appwrite databases updateUrlAttribute \
--collectionId <COLLECTION_ID> \
--key '' \
--required false \
--default https://example.com
--default https://example.com \
@@ -0,0 +1,5 @@
appwrite projects updateMembershipsPrivacy \
--projectId <PROJECT_ID> \
--userName false \
--userEmail false \
--mfa false
@@ -12,7 +12,7 @@ const result = await databases.updateStringAttribute(
'', // key
false, // required
'<DEFAULT>', // default
null, // size (optional)
1, // size (optional)
'' // newKey (optional)
);
@@ -0,0 +1,16 @@
import { Client, Projects } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const projects = new Projects(client);
const result = await projects.updateMembershipsPrivacy(
'<PROJECT_ID>', // projectId
false, // userName
false, // userEmail
false // mfa
);
console.log(result);
@@ -13,6 +13,6 @@ AttributeString result = await databases.updateStringAttribute(
key: '',
xrequired: false,
xdefault: '<DEFAULT>',
size: 0, // (optional)
size: 1, // (optional)
newKey: '', // (optional)
);
@@ -13,6 +13,6 @@ const response = await databases.updateStringAttribute(
'', // key
false, // required
'<DEFAULT>', // default
null, // size (optional)
1, // size (optional)
'' // newKey (optional)
);
@@ -15,6 +15,6 @@ AttributeString result = await databases.UpdateStringAttribute(
key: "",
required: false,
default: "<DEFAULT>",
size: 0, // optional
size: 1, // optional
newKey: "" // optional
);
@@ -20,7 +20,7 @@ func main() {
"",
false,
"<DEFAULT>",
databases.WithUpdateStringAttributeSize(0),
databases.WithUpdateStringAttributeSize(1),
databases.WithUpdateStringAttributeNewKey(""),
)
@@ -33,6 +33,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -28,6 +28,7 @@ query {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -30,6 +30,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -30,6 +30,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -30,6 +30,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -28,6 +28,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -13,6 +13,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
default
}
}
@@ -23,6 +23,8 @@ mutation {
error
attributes
orders
_createdAt
_updatedAt
}
}
}
@@ -13,6 +13,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
format
default
}
@@ -13,6 +13,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
format
default
}
@@ -14,6 +14,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
elements
format
default
@@ -15,6 +15,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
min
max
default
@@ -13,5 +13,7 @@ mutation {
error
attributes
orders
_createdAt
_updatedAt
}
}
@@ -15,6 +15,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
min
max
default
@@ -13,6 +13,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
format
default
}
@@ -15,6 +15,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
relatedCollection
relationType
twoWay
@@ -15,6 +15,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
size
default
}
@@ -13,6 +13,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
format
default
}
@@ -19,6 +19,8 @@ query {
error
attributes
orders
_createdAt
_updatedAt
}
}
}
@@ -10,5 +10,7 @@ query {
error
attributes
orders
_createdAt
_updatedAt
}
}
@@ -22,6 +22,8 @@ query {
error
attributes
orders
_createdAt
_updatedAt
}
}
}
@@ -12,6 +12,8 @@ query {
error
attributes
orders
_createdAt
_updatedAt
}
}
}
@@ -13,6 +13,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
default
}
}
@@ -23,6 +23,8 @@ mutation {
error
attributes
orders
_createdAt
_updatedAt
}
}
}
@@ -13,6 +13,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
format
default
}
@@ -13,6 +13,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
format
default
}
@@ -14,6 +14,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
elements
format
default
@@ -15,6 +15,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
min
max
default
@@ -15,6 +15,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
min
max
default
@@ -13,6 +13,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
format
default
}
@@ -12,6 +12,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
relatedCollection
relationType
twoWay
@@ -5,7 +5,7 @@ mutation {
key: "",
required: false,
default: "<DEFAULT>",
size: 0,
size: 1,
newKey: ""
) {
key
@@ -14,6 +14,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
size
default
}
@@ -13,6 +13,8 @@ mutation {
error
required
array
_createdAt
_updatedAt
format
default
}
@@ -17,6 +17,7 @@ mutation {
providerId
providerType
identifier
expired
}
userId
userName
@@ -16,6 +16,7 @@ query {
providerId
providerType
identifier
expired
}
userId
userName
@@ -19,6 +19,7 @@ query {
providerId
providerType
identifier
expired
}
userId
userName
@@ -13,6 +13,7 @@ query {
providerId
providerType
identifier
expired
}
}
}
@@ -33,6 +33,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -33,6 +33,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -33,6 +33,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -33,6 +33,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -34,6 +34,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -36,6 +36,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -38,6 +38,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -15,5 +15,6 @@ mutation {
providerId
providerType
identifier
expired
}
}
@@ -34,6 +34,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -11,5 +11,6 @@ query {
providerId
providerType
identifier
expired
}
}
@@ -30,6 +30,7 @@ query {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -13,6 +13,7 @@ query {
providerId
providerType
identifier
expired
}
}
}
@@ -33,6 +33,7 @@ query {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -31,6 +31,7 @@ mutation {
providerId
providerType
identifier
expired
}
accessedAt
}
@@ -14,5 +14,6 @@ mutation {
providerId
providerType
identifier
expired
}
}
@@ -15,7 +15,7 @@ databases.updateStringAttribute(
"", // key
false, // required
"<DEFAULT>", // default
0, // size (optional)
1, // size (optional)
"", // newKey (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
@@ -15,6 +15,6 @@ val response = databases.updateStringAttribute(
key = "",
required = false,
default = "<DEFAULT>",
size = 0, // optional
size = 1, // optional
newKey = "" // optional
)
@@ -13,6 +13,6 @@ const result = await databases.updateStringAttribute(
'', // key
false, // required
'<DEFAULT>', // default
null, // size (optional)
1, // size (optional)
'' // newKey (optional)
);
@@ -16,6 +16,6 @@ $result = $databases->updateStringAttribute(
key: '',
required: false,
default: '<DEFAULT>',
size: null, // optional
size: 1, // optional
newKey: '' // optional
);
@@ -1,4 +1,5 @@
from appwrite.client import Client
from appwrite.services.account import Account
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
@@ -1,4 +1,5 @@
from appwrite.client import Client
from appwrite.services.account import Account
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
@@ -1,4 +1,5 @@
from appwrite.client import Client
from appwrite.services.account import Account
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
@@ -1,4 +1,5 @@
from appwrite.client import Client
from appwrite.services.account import Account
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
@@ -1,4 +1,5 @@
from appwrite.client import Client
from appwrite.services.account import Account
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
@@ -1,4 +1,5 @@
from appwrite.client import Client
from appwrite.services.account import Account
from appwrite.enums import AuthenticatorType
client = Client()
@@ -1,4 +1,5 @@
from appwrite.client import Client
from appwrite.services.account import Account
from appwrite.enums import AuthenticationFactor
client = Client()
@@ -1,4 +1,5 @@
from appwrite.client import Client
from appwrite.services.account import Account
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
@@ -1,4 +1,5 @@
from appwrite.client import Client
from appwrite.services.account import Account
from appwrite.enums import OAuthProvider
client = Client()
@@ -1,4 +1,5 @@
from appwrite.client import Client
from appwrite.services.account import Account
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
@@ -1,4 +1,5 @@
from appwrite.client import Client
from appwrite.services.account import Account
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
Loaded 100 of 355 files, more files were not shown because too many files have changed in this diff. Show more