diff --git a/composer.lock b/composer.lock index e079cf0bc0..4e7a77a447 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "eacaae6ec0973349a9b9f4ec78877b0a", + "content-hash": "dedc6a6328b4fdc5dfbd556a08534403", "packages": [ { "name": "adhocore/jwt", @@ -2051,16 +2051,16 @@ }, { "name": "utopia-php/database", - "version": "dev-feat-permissions-maxlength", + "version": "0.18.7", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "85c304075bb42b91e3cb98762921f15fa28af13c" + "reference": "d542ee433f1a545d926ffaf707bdf952dc18a52e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/85c304075bb42b91e3cb98762921f15fa28af13c", - "reference": "85c304075bb42b91e3cb98762921f15fa28af13c", + "url": "https://api.github.com/repos/utopia-php/database/zipball/d542ee433f1a545d926ffaf707bdf952dc18a52e", + "reference": "d542ee433f1a545d926ffaf707bdf952dc18a52e", "shasum": "" }, "require": { @@ -2109,9 +2109,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/feat-permissions-maxlength" + "source": "https://github.com/utopia-php/database/tree/0.18.7" }, - "time": "2022-07-10T17:08:47+00:00" + "time": "2022-07-11T10:20:33+00:00" }, { "name": "utopia-php/domains", @@ -5346,18 +5346,9 @@ "time": "2022-05-17T05:48:52+00:00" } ], - "aliases": [ - { - "package": "utopia-php/database", - "version": "dev-feat-permissions-maxlength", - "alias": "0.18.1", - "alias_normalized": "0.18.1.0" - } - ], + "aliases": [], "minimum-stability": "stable", - "stability-flags": { - "utopia-php/database": 20 - }, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": { diff --git a/docs/references/database/create-boolean-attribute.md b/docs/references/database/create-boolean-attribute.md deleted file mode 100644 index 91c5449deb..0000000000 --- a/docs/references/database/create-boolean-attribute.md +++ /dev/null @@ -1 +0,0 @@ -Create a boolean attribute. diff --git a/docs/references/database/create-collection.md b/docs/references/database/create-collection.md deleted file mode 100644 index 6f6da13d53..0000000000 --- a/docs/references/database/create-collection.md +++ /dev/null @@ -1 +0,0 @@ -Create a new Collection. Before using this route, you should create a new database resource using either a [server integration](/docs/server/database#databaseCreateCollection) API or directly from your database console. \ No newline at end of file diff --git a/docs/references/database/create-document.md b/docs/references/database/create-document.md deleted file mode 100644 index 25d0b403cd..0000000000 --- a/docs/references/database/create-document.md +++ /dev/null @@ -1 +0,0 @@ -Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](/docs/server/database#databaseCreateCollection) API or directly from your database console. \ No newline at end of file diff --git a/docs/references/database/create-email-attribute.md b/docs/references/database/create-email-attribute.md deleted file mode 100644 index 7dd93d5a80..0000000000 --- a/docs/references/database/create-email-attribute.md +++ /dev/null @@ -1 +0,0 @@ -Create an email attribute. diff --git a/docs/references/database/create-enum-attribute.md b/docs/references/database/create-enum-attribute.md deleted file mode 100644 index 02ed0a5d60..0000000000 --- a/docs/references/database/create-enum-attribute.md +++ /dev/null @@ -1 +0,0 @@ -Create an enum attribute. diff --git a/docs/references/database/create-float-attribute.md b/docs/references/database/create-float-attribute.md deleted file mode 100644 index 00ad538d84..0000000000 --- a/docs/references/database/create-float-attribute.md +++ /dev/null @@ -1 +0,0 @@ -Create a float attribute. Optionally, minimum and maximum values can be provided. diff --git a/docs/references/database/create-integer-attribute.md b/docs/references/database/create-integer-attribute.md deleted file mode 100644 index d5455ff5f9..0000000000 --- a/docs/references/database/create-integer-attribute.md +++ /dev/null @@ -1 +0,0 @@ -Create an integer attribute. Optionally, minimum and maximum values can be provided. diff --git a/docs/references/database/create-ip-attribute.md b/docs/references/database/create-ip-attribute.md deleted file mode 100644 index b0fa02ef76..0000000000 --- a/docs/references/database/create-ip-attribute.md +++ /dev/null @@ -1 +0,0 @@ -Create IP address attribute. diff --git a/docs/references/database/create-string-attribute.md b/docs/references/database/create-string-attribute.md deleted file mode 100644 index f7957e97ef..0000000000 --- a/docs/references/database/create-string-attribute.md +++ /dev/null @@ -1 +0,0 @@ -Create a string attribute. diff --git a/docs/references/database/create-url-attribute.md b/docs/references/database/create-url-attribute.md deleted file mode 100644 index 1b9c55dd46..0000000000 --- a/docs/references/database/create-url-attribute.md +++ /dev/null @@ -1 +0,0 @@ -Create a URL attribute. diff --git a/docs/references/database/create.md b/docs/references/database/create.md deleted file mode 100644 index b608485341..0000000000 --- a/docs/references/database/create.md +++ /dev/null @@ -1 +0,0 @@ -Create a new Database. diff --git a/docs/references/database/delete-collection.md b/docs/references/database/delete-collection.md deleted file mode 100644 index 90f7aa6aa5..0000000000 --- a/docs/references/database/delete-collection.md +++ /dev/null @@ -1 +0,0 @@ -Delete a collection by its unique ID. Only users with write permissions have access to delete this resource. \ No newline at end of file diff --git a/docs/references/database/delete-document.md b/docs/references/database/delete-document.md deleted file mode 100644 index 36fbf6802d..0000000000 --- a/docs/references/database/delete-document.md +++ /dev/null @@ -1 +0,0 @@ -Delete a document by its unique ID. \ No newline at end of file diff --git a/docs/references/database/delete.md b/docs/references/database/delete.md deleted file mode 100644 index 605fa290d3..0000000000 --- a/docs/references/database/delete.md +++ /dev/null @@ -1 +0,0 @@ -Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database. \ No newline at end of file diff --git a/docs/references/database/get-collection-logs.md b/docs/references/database/get-collection-logs.md deleted file mode 100644 index 8578cef03c..0000000000 --- a/docs/references/database/get-collection-logs.md +++ /dev/null @@ -1 +0,0 @@ -Get the collection activity logs list by its unique ID. \ No newline at end of file diff --git a/docs/references/database/get-collection.md b/docs/references/database/get-collection.md deleted file mode 100644 index 97b39e8474..0000000000 --- a/docs/references/database/get-collection.md +++ /dev/null @@ -1 +0,0 @@ -Get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata. \ No newline at end of file diff --git a/docs/references/database/get-document-logs.md b/docs/references/database/get-document-logs.md deleted file mode 100644 index 9b96df5ad4..0000000000 --- a/docs/references/database/get-document-logs.md +++ /dev/null @@ -1 +0,0 @@ -Get the document activity logs list by its unique ID. \ No newline at end of file diff --git a/docs/references/database/get-document.md b/docs/references/database/get-document.md deleted file mode 100644 index 4e4d76bec0..0000000000 --- a/docs/references/database/get-document.md +++ /dev/null @@ -1 +0,0 @@ -Get a document by its unique ID. This endpoint response returns a JSON object with the document data. \ No newline at end of file diff --git a/docs/references/database/get.md b/docs/references/database/get.md deleted file mode 100644 index 24183f6f6b..0000000000 --- a/docs/references/database/get.md +++ /dev/null @@ -1 +0,0 @@ -Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata. \ No newline at end of file diff --git a/docs/references/database/list-collections.md b/docs/references/database/list-collections.md deleted file mode 100644 index e437674915..0000000000 --- a/docs/references/database/list-collections.md +++ /dev/null @@ -1 +0,0 @@ -Get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results. \ No newline at end of file diff --git a/docs/references/database/list-documents.md b/docs/references/database/list-documents.md deleted file mode 100644 index f665bca63f..0000000000 --- a/docs/references/database/list-documents.md +++ /dev/null @@ -1 +0,0 @@ -Get a list of all the user's documents in a given collection. You can use the query params to filter your results. On admin mode, this endpoint will return a list of all of documents belonging to the provided collectionId. [Learn more about different API modes](/docs/admin). \ No newline at end of file diff --git a/docs/references/database/list.md b/docs/references/database/list.md deleted file mode 100644 index d93fb9d7a8..0000000000 --- a/docs/references/database/list.md +++ /dev/null @@ -1 +0,0 @@ -Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results. \ No newline at end of file diff --git a/docs/references/database/update-collection.md b/docs/references/database/update-collection.md deleted file mode 100644 index b8f6bef997..0000000000 --- a/docs/references/database/update-collection.md +++ /dev/null @@ -1 +0,0 @@ -Update a collection by its unique ID. \ No newline at end of file diff --git a/docs/references/database/update-document.md b/docs/references/database/update-document.md deleted file mode 100644 index 526f3971d1..0000000000 --- a/docs/references/database/update-document.md +++ /dev/null @@ -1 +0,0 @@ -Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated. \ No newline at end of file diff --git a/docs/references/database/update.md b/docs/references/database/update.md deleted file mode 100644 index 4e99bf2e07..0000000000 --- a/docs/references/database/update.md +++ /dev/null @@ -1 +0,0 @@ -Update a database by its unique ID. \ No newline at end of file