mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
modify extension db model
This commit is contained in:
parent
9fc93ce434
commit
86c6eeb71f
@ -2,6 +2,10 @@ export default {
|
|||||||
name: "Extension",
|
name: "Extension",
|
||||||
collection: "extensions",
|
collection: "extensions",
|
||||||
schema: {
|
schema: {
|
||||||
|
version: {
|
||||||
|
type: String,
|
||||||
|
required: true
|
||||||
|
},
|
||||||
title: {
|
title: {
|
||||||
type: String,
|
type: String,
|
||||||
default: "Untitled"
|
default: "Untitled"
|
||||||
@ -14,18 +18,10 @@ export default {
|
|||||||
type: String,
|
type: String,
|
||||||
default: "https://placehold.co/400x400"
|
default: "https://placehold.co/400x400"
|
||||||
},
|
},
|
||||||
distURL: {
|
created_at: {
|
||||||
type: String,
|
|
||||||
required: true,
|
|
||||||
},
|
|
||||||
createdAt: {
|
|
||||||
type: Date,
|
type: Date,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
version: {
|
|
||||||
type: String,
|
|
||||||
required: true
|
|
||||||
},
|
|
||||||
experimental: {
|
experimental: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user