From ee683aab0cdb06c86a20d2891a9ae6135cb0e830 Mon Sep 17 00:00:00 2001 From: "Vincent (Wen Yu) Ge" Date: Fri, 9 Jun 2023 15:32:46 +0000 Subject: [PATCH 1/3] attribute model page --- app/views/docs/attribute-model | 70 ++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 app/views/docs/attribute-model diff --git a/app/views/docs/attribute-model b/app/views/docs/attribute-model new file mode 100644 index 000000000..0cf62d0f0 --- /dev/null +++ b/app/views/docs/attribute-model @@ -0,0 +1,70 @@ +

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
keystringAttribute key.
typestringAttribute type.
statusstringAttribute status. Possible values: available, processing, deleting, stuck, or failed
requiredbooleanIs attribute required?
arraybooleanIs attribute an array?
+ +

Examples

+ +

This is a generic attribute model that specific attribute types implement. For examples, view a specific attribute models.

+

+attributeBoolean +

+

+attributeInteger +

+

+attributeFloat +

+

+attributeEmail +

+

+attributeEnum +

+

+attributeUrl +

+

+attributeIp +

+

+attributeDatetime +

+

+attributeRelationship +

+

+attributeString +

\ No newline at end of file From b0d10a9433a625610f8ccdea4cca91cdb5094ba0 Mon Sep 17 00:00:00 2001 From: "Vincent (Wen Yu) Ge" Date: Fri, 9 Jun 2023 17:19:25 +0000 Subject: [PATCH 2/3] Fix file format for attribute model --- app/views/docs/{attribute-model => attribute-model.phtml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename app/views/docs/{attribute-model => attribute-model.phtml} (100%) diff --git a/app/views/docs/attribute-model b/app/views/docs/attribute-model.phtml similarity index 100% rename from app/views/docs/attribute-model rename to app/views/docs/attribute-model.phtml From 356230913ad6829092203d58cfab6fd1b254a3be Mon Sep 17 00:00:00 2001 From: "Vincent (Wen Yu) Ge" Date: Fri, 9 Jun 2023 18:01:48 +0000 Subject: [PATCH 3/3] Update copy --- app/views/docs/attribute-model.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/docs/attribute-model.phtml b/app/views/docs/attribute-model.phtml index 0cf62d0f0..c596dbb64 100644 --- a/app/views/docs/attribute-model.phtml +++ b/app/views/docs/attribute-model.phtml @@ -37,7 +37,7 @@

Examples

-

This is a generic attribute model that specific attribute types implement. For examples, view a specific attribute models.

+

Appwrite has many types of attributes that extend the properties of this generic attribute object. To view examples, visit the page for your specific attribute type.

attributeBoolean