2022-04-25 15:15:17 +02:00
|
|
|
export default [
|
|
|
|
{
|
|
|
|
$id: "shares",
|
|
|
|
$read: [],
|
|
|
|
$write: [],
|
|
|
|
name: "Shares",
|
|
|
|
enabled: true,
|
2022-05-05 11:22:47 +02:00
|
|
|
permission: "collection",
|
2022-04-25 15:15:17 +02:00
|
|
|
attributes: [
|
|
|
|
{
|
|
|
|
key: "securityID",
|
|
|
|
type: "string",
|
|
|
|
status: "available",
|
|
|
|
required: false,
|
|
|
|
array: false,
|
|
|
|
size: 255,
|
|
|
|
default: null,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: "createdAt",
|
|
|
|
type: "integer",
|
|
|
|
status: "available",
|
|
|
|
required: true,
|
|
|
|
array: false,
|
|
|
|
min: 0,
|
|
|
|
max: 9007199254740991,
|
|
|
|
default: null,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: "expiresAt",
|
|
|
|
type: "integer",
|
|
|
|
status: "available",
|
|
|
|
required: true,
|
|
|
|
array: false,
|
|
|
|
min: 0,
|
|
|
|
max: 9007199254740991,
|
|
|
|
default: null,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: "visitorCount",
|
|
|
|
type: "integer",
|
|
|
|
status: "available",
|
|
|
|
required: false,
|
|
|
|
array: false,
|
|
|
|
min: 0,
|
|
|
|
max: 9007199254740991,
|
|
|
|
default: 0,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: "enabled",
|
|
|
|
type: "boolean",
|
|
|
|
status: "available",
|
|
|
|
required: false,
|
|
|
|
array: false,
|
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
],
|
2022-04-28 16:51:18 +02:00
|
|
|
indexes: [
|
|
|
|
{
|
|
|
|
key: "expiresAt",
|
|
|
|
type: "key",
|
|
|
|
attributes: ["expiresAt"],
|
|
|
|
orders: ["ASC"],
|
|
|
|
},
|
|
|
|
],
|
2022-04-25 15:15:17 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
$id: "shareSecurity",
|
|
|
|
$read: [],
|
|
|
|
$write: [],
|
|
|
|
name: "ShareSecurity",
|
|
|
|
enabled: true,
|
2022-05-05 11:22:47 +02:00
|
|
|
permission: "collection",
|
2022-04-25 15:15:17 +02:00
|
|
|
attributes: [
|
|
|
|
{
|
|
|
|
key: "password",
|
|
|
|
type: "string",
|
|
|
|
status: "available",
|
|
|
|
required: false,
|
|
|
|
array: false,
|
|
|
|
size: 128,
|
|
|
|
default: null,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: "maxVisitors",
|
|
|
|
type: "integer",
|
|
|
|
status: "available",
|
|
|
|
required: false,
|
|
|
|
array: false,
|
|
|
|
min: 0,
|
|
|
|
max: 9007199254740991,
|
|
|
|
default: null,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
indexes: [],
|
|
|
|
},
|
|
|
|
];
|