diff --git a/assets/openapi.json b/assets/openapi.json index d2bc69f..0aa58c7 100644 --- a/assets/openapi.json +++ b/assets/openapi.json @@ -4481,7 +4481,7 @@ "sending_dns_records": { "type": "array", "items": { - "$ref": "#/components/schemas/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Domains/Domains\",{with:{\"resolution-mode\":\"import\"}}).DNSRecord" + "$ref": "#/components/schemas/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Domains/Domains\",{with:{\"resolution-mode\":\"import\"}}).DNSRecord" } } }, @@ -8004,7 +8004,7 @@ "type": "string" }, "template": { - "$ref": "#/components/schemas/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" + "$ref": "#/components/schemas/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" } }, "additionalProperties": false, @@ -8031,7 +8031,7 @@ "items": { "type": "array", "items": { - "$ref": "#/components/schemas/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" + "$ref": "#/components/schemas/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" } }, "paging": { @@ -8081,7 +8081,7 @@ "type": "object", "properties": { "template": { - "$ref": "#/components/schemas/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" + "$ref": "#/components/schemas/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" } }, "additionalProperties": false, @@ -8169,7 +8169,7 @@ "type": "string" }, "template": { - "$ref": "#/components/schemas/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" + "$ref": "#/components/schemas/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" } }, "additionalProperties": false, @@ -9223,7 +9223,7 @@ "type": "object", "properties": { "body": { - "$ref": "#/components/schemas/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Suppressions/Suppressions\",{with:{\"resolution-mode\":\"import\"}}).SuppressionDataType" + "$ref": "#/components/schemas/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Suppressions/Suppressions\",{with:{\"resolution-mode\":\"import\"}}).SuppressionDataType" }, "status": { "type": "integer" @@ -9917,86 +9917,96 @@ "type": "integer" }, "Data": { - "additionalProperties": false, "type": "array", - "properties": { - "Author": { - "type": "string" - }, - "Categories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Template.Categories" + "items": { + "additionalProperties": false, + "type": "object", + "properties": { + "Author": { + "type": "string" + }, + "Categories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Template.Categories" + } + }, + "Copyright": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "EditMode": { + "$ref": "#/components/schemas/Template.EditMode" + }, + "IsStarred": { + "type": "boolean" + }, + "IsTextPartGenerationEnabled": { + "type": "boolean" + }, + "Locale": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "OwnerType": { + "$ref": "#/components/schemas/Template.OwnerType" + }, + "Presets": { + "type": "string" + }, + "Purposes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Template.Purposes" + } + }, + "ID": { + "type": "integer" + }, + "OwnerId": { + "type": "integer" + }, + "Previews": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "LastUpdatedAt": { + "type": "string" + }, + "LocaleList": { + "type": "array", + "items": { + "type": "string" + } } }, - "Copyright": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EditMode": { - "$ref": "#/components/schemas/Template.EditMode" - }, - "IsStarred": { - "type": "boolean" - }, - "IsTextPartGenerationEnabled": { - "type": "boolean" - }, - "Locale": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OwnerType": { - "$ref": "#/components/schemas/Template.OwnerType" - }, - "Presets": { - "type": "string" - }, - "Purposes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Template.Purposes" - } - }, - "ID": { - "type": "integer" - }, - "OwnerId": { - "type": "integer" - }, - "Previews": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "LastUpdatedAt": { - "type": "string" - } - }, - "required": [ - "Author", - "Categories", - "Copyright", - "CreatedAt", - "Description", - "EditMode", - "ID", - "IsStarred", - "IsTextPartGenerationEnabled", - "LastUpdatedAt", - "Locale", - "Name", - "OwnerId", - "OwnerType", - "Presets", - "Previews", - "Purposes" - ] + "required": [ + "Author", + "Categories", + "Copyright", + "CreatedAt", + "Description", + "EditMode", + "ID", + "IsStarred", + "IsTextPartGenerationEnabled", + "LastUpdatedAt", + "Locale", + "LocaleList", + "Name", + "OwnerId", + "OwnerType", + "Presets", + "Previews", + "Purposes" + ] + } } }, "required": [ diff --git a/assets/schemas.json b/assets/schemas.json index 5a8e17f..6122ddc 100644 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -10712,7 +10712,7 @@ "sending_dns_records": { "type": "array", "items": { - "$ref": "#/definitions/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Domains/Domains\",{with:{\"resolution-mode\":\"import\"}}).DNSRecord" + "$ref": "#/definitions/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Domains/Domains\",{with:{\"resolution-mode\":\"import\"}}).DNSRecord" } } }, @@ -10733,7 +10733,7 @@ "status" ], "definitions": { - "import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Domains/Domains\",{with:{\"resolution-mode\":\"import\"}}).DNSRecord": { + "import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Domains/Domains\",{with:{\"resolution-mode\":\"import\"}}).DNSRecord": { "type": "object", "properties": { "cached": { @@ -14335,7 +14335,7 @@ "type": "string" }, "template": { - "$ref": "#/definitions/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" + "$ref": "#/definitions/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" } }, "additionalProperties": false, @@ -14351,7 +14351,7 @@ "status" ], "definitions": { - "import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate": { + "import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate": { "type": "object", "properties": { "name": { @@ -14378,7 +14378,7 @@ "type": "string" }, "version": { - "$ref": "#/definitions/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion" + "$ref": "#/definitions/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion" }, "versions": { "type": "array", @@ -14437,7 +14437,7 @@ "name" ] }, - "import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion": { + "import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion": { "additionalProperties": false, "type": "object", "properties": { @@ -14515,7 +14515,7 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" + "$ref": "#/definitions/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" } }, "paging": { @@ -14556,7 +14556,7 @@ "status" ], "definitions": { - "import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate": { + "import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate": { "type": "object", "properties": { "name": { @@ -14583,7 +14583,7 @@ "type": "string" }, "version": { - "$ref": "#/definitions/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion" + "$ref": "#/definitions/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion" }, "versions": { "type": "array", @@ -14642,7 +14642,7 @@ "name" ] }, - "import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion": { + "import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion": { "additionalProperties": false, "type": "object", "properties": { @@ -14718,7 +14718,7 @@ "type": "object", "properties": { "template": { - "$ref": "#/definitions/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" + "$ref": "#/definitions/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" } }, "additionalProperties": false, @@ -14733,7 +14733,7 @@ "status" ], "definitions": { - "import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate": { + "import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate": { "type": "object", "properties": { "name": { @@ -14760,7 +14760,7 @@ "type": "string" }, "version": { - "$ref": "#/definitions/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion" + "$ref": "#/definitions/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion" }, "versions": { "type": "array", @@ -14819,7 +14819,7 @@ "name" ] }, - "import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion": { + "import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion": { "additionalProperties": false, "type": "object", "properties": { @@ -14963,7 +14963,7 @@ "type": "string" }, "template": { - "$ref": "#/definitions/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" + "$ref": "#/definitions/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate" } }, "additionalProperties": false, @@ -14979,7 +14979,7 @@ "status" ], "definitions": { - "import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate": { + "import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Interfaces/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).IDomainTemplate": { "type": "object", "properties": { "name": { @@ -15006,7 +15006,7 @@ "type": "string" }, "version": { - "$ref": "#/definitions/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion" + "$ref": "#/definitions/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion" }, "versions": { "type": "array", @@ -15065,7 +15065,7 @@ "name" ] }, - "import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion": { + "import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Domains/DomainTemplates\",{with:{\"resolution-mode\":\"import\"}}).TemplateVersion": { "additionalProperties": false, "type": "object", "properties": { @@ -16198,7 +16198,7 @@ "type": "object", "properties": { "body": { - "$ref": "#/definitions/import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Suppressions/Suppressions\",{with:{\"resolution-mode\":\"import\"}}).SuppressionDataType" + "$ref": "#/definitions/import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Suppressions/Suppressions\",{with:{\"resolution-mode\":\"import\"}}).SuppressionDataType" }, "status": { "type": "integer" @@ -16210,7 +16210,7 @@ "status" ], "definitions": { - "import(\"/home/cyber/Dokumenty/git-projects/private/spacebar-test-station/server/node_modules/mailgun.js/Types/Types/Suppressions/Suppressions\",{with:{\"resolution-mode\":\"import\"}}).SuppressionDataType": { + "import(\"/home/mathman05/Downloads/sbserver/server/node_modules/mailgun.js/Types/Types/Suppressions/Suppressions\",{with:{\"resolution-mode\":\"import\"}}).SuppressionDataType": { "anyOf": [ { "type": "object", @@ -17536,86 +17536,96 @@ "type": "integer" }, "Data": { - "additionalProperties": false, "type": "array", - "properties": { - "Author": { - "type": "string" - }, - "Categories": { - "type": "array", - "items": { - "$ref": "#/definitions/Template.Categories" + "items": { + "additionalProperties": false, + "type": "object", + "properties": { + "Author": { + "type": "string" + }, + "Categories": { + "type": "array", + "items": { + "$ref": "#/definitions/Template.Categories" + } + }, + "Copyright": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "EditMode": { + "$ref": "#/definitions/Template.EditMode" + }, + "IsStarred": { + "type": "boolean" + }, + "IsTextPartGenerationEnabled": { + "type": "boolean" + }, + "Locale": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "OwnerType": { + "$ref": "#/definitions/Template.OwnerType" + }, + "Presets": { + "type": "string" + }, + "Purposes": { + "type": "array", + "items": { + "$ref": "#/definitions/Template.Purposes" + } + }, + "ID": { + "type": "integer" + }, + "OwnerId": { + "type": "integer" + }, + "Previews": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "LastUpdatedAt": { + "type": "string" + }, + "LocaleList": { + "type": "array", + "items": { + "type": "string" + } } }, - "Copyright": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EditMode": { - "$ref": "#/definitions/Template.EditMode" - }, - "IsStarred": { - "type": "boolean" - }, - "IsTextPartGenerationEnabled": { - "type": "boolean" - }, - "Locale": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OwnerType": { - "$ref": "#/definitions/Template.OwnerType" - }, - "Presets": { - "type": "string" - }, - "Purposes": { - "type": "array", - "items": { - "$ref": "#/definitions/Template.Purposes" - } - }, - "ID": { - "type": "integer" - }, - "OwnerId": { - "type": "integer" - }, - "Previews": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "LastUpdatedAt": { - "type": "string" - } - }, - "required": [ - "Author", - "Categories", - "Copyright", - "CreatedAt", - "Description", - "EditMode", - "ID", - "IsStarred", - "IsTextPartGenerationEnabled", - "LastUpdatedAt", - "Locale", - "Name", - "OwnerId", - "OwnerType", - "Presets", - "Previews", - "Purposes" - ] + "required": [ + "Author", + "Categories", + "Copyright", + "CreatedAt", + "Description", + "EditMode", + "ID", + "IsStarred", + "IsTextPartGenerationEnabled", + "LastUpdatedAt", + "Locale", + "LocaleList", + "Name", + "OwnerId", + "OwnerType", + "Presets", + "Previews", + "Purposes" + ] + } } }, "additionalProperties": false, diff --git a/src/util/entities/ApplicationCommand.ts b/src/util/entities/ApplicationCommand.ts index 82436f7..8ec154f 100644 --- a/src/util/entities/ApplicationCommand.ts +++ b/src/util/entities/ApplicationCommand.ts @@ -53,7 +53,7 @@ @Column({ nullable: true, type: "simple-json" }) description_localizations?: Record; - @Column({ type: "simple-json", default: [] }) + @Column({ type: "simple-json", default: "[]" }) options: ApplicationCommandOption[]; @Column({ nullable: true, type: String })