From e6fc26ae22b82ce3d5211596c83fff87d4ac047f Mon Sep 17 00:00:00 2001 From: "contentrain[bot]" <87360055+contentrain[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 07:55:12 +0000 Subject: [PATCH 1/2] **JohnDoe** shared a model **my-community-model** --- models/my-community-model.json | 69 ++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 models/my-community-model.json diff --git a/models/my-community-model.json b/models/my-community-model.json new file mode 100644 index 0000000..65b42bf --- /dev/null +++ b/models/my-community-model.json @@ -0,0 +1,69 @@ +{ + "fields": [ + { + "componentId": "date", + "fieldId": "createdAt", + "modelId": "json-model", + "name": "createdAt", + "options": {}, + "validations": { + "required-field": { + "value": true + } + }, + "fieldType": "date" + }, + { + "componentId": "date", + "fieldId": "updatedAt", + "modelId": "json-model", + "name": "updatedAt", + "options": {}, + "validations": { + "required-field": { + "value": true + } + }, + "fieldType": "date" + }, + { + "componentId": "single-line-text", + "fieldId": "ID", + "modelId": "json-model", + "name": "ID", + "options": {}, + "validations": { + "required-field": { + "value": true + } + }, + "fieldType": "string" + }, + { + "componentId": "single-line-text", + "fieldId": "status", + "modelId": "json-model", + "name": "status", + "options": {}, + "validations": { + "required-field": { + "value": true + } + }, + "fieldType": "string" + } + ], + "model": { + "localization": false, + "type": "JSON", + "name": "json-model", + "modelId": "json-model", + "createdBy": "community", + "isServerless": false + }, + "name": "my-community-model", + "categories": [ + "Informational" + ], + "description": "This is helpful for the community." +} \ No newline at end of file From aa74b22d05a9bb08d457231af74403472eae0b8e Mon Sep 17 00:00:00 2001 From: "contentrain[bot]" <87360055+contentrain[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 08:31:20 +0000 Subject: [PATCH 2/2] **JohnDoe** shared a model **md-model** --- models/md-model.json | 95 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 models/md-model.json diff --git a/models/md-model.json b/models/md-model.json new file mode 100644 index 0000000..1587323 --- /dev/null +++ b/models/md-model.json @@ -0,0 +1,95 @@ +{ + "fields": [ + { + "componentId": "slug", + "fieldId": "slug", + "modelId": "markdown-model", + "name": "slug", + "options": {}, + "validations": { + "required-field": { + "value": true + } + }, + "fieldType": "string" + }, + { + "componentId": "md-editor", + "fieldId": "content", + "modelId": "markdown-model", + "name": "content", + "options": {}, + "validations": { + "required-field": { + "value": true + } + }, + "fieldType": "string" + }, + { + "componentId": "date", + "fieldId": "createdAt", + "modelId": "markdown-model", + "name": "createdAt", + "options": {}, + "validations": { + "required-field": { + "value": true + } + }, + "fieldType": "date" + }, + { + "componentId": "date", + "fieldId": "updatedAt", + "modelId": "markdown-model", + "name": "updatedAt", + "options": {}, + "validations": { + "required-field": { + "value": true + } + }, + "fieldType": "date" + }, + { + "componentId": "single-line-text", + "fieldId": "ID", + "modelId": "markdown-model", + "name": "ID", + "options": {}, + "validations": { + "required-field": { + "value": true + } + }, + "fieldType": "string" + }, + { + "componentId": "single-line-text", + "fieldId": "status", + "modelId": "markdown-model", + "name": "status", + "options": {}, + "validations": { + "required-field": { + "value": true + } + }, + "fieldType": "string" + } + ], + "model": { + "localization": false, + "type": "MD", + "name": "markdown-model", + "modelId": "markdown-model", + "createdBy": "community", + "isServerless": false + }, + "name": "md-model", + "categories": [ + "Generic" + ], + "description": "This is a Markdown model." +} \ No newline at end of file