2022-01-18 14:27:10 +01:00
|
|
|
export const packedAntennaSchema = {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "object",
|
2022-01-18 14:27:10 +01:00
|
|
|
properties: {
|
|
|
|
id: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
|
|
|
format: "id",
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
createdAt: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
|
|
|
format: "date-time",
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
name: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
keywords: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "array",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
items: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "array",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
items: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
excludeKeywords: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "array",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
items: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "array",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
items: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
src: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
|
|
|
enum: ["home", "all", "users", "list", "group"],
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
userListId: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: true,
|
|
|
|
format: "id",
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
userGroupId: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: true,
|
|
|
|
format: "id",
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
users: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "array",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
items: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "string",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
caseSensitive: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "boolean",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
notify: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "boolean",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
withReplies: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "boolean",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
withFile: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "boolean",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
},
|
|
|
|
hasUnreadNote: {
|
2023-01-13 05:40:33 +01:00
|
|
|
type: "boolean",
|
|
|
|
optional: false,
|
|
|
|
nullable: false,
|
2022-01-18 14:27:10 +01:00
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
} as const;
|