UNPKG

@softvisio/core

Version:
69 lines (56 loc) 1.68 kB
- $id: config type: object properties: runUpdater: { type: boolean } runProcessor: { type: boolean } filesUrl: { type: string, format: kebab-case-absolute-folder-path } avatarUrl: { type: string, format: kebab-case-absolute-folder-path } linkStartParameterName: { type: string, format: snake-case } signinStartParameterName: { type: string, format: snake-case } webAppDomain: anyOf: - type: "null" - { type: string, format: domain } app: type: object properties: apiId: { type: ["null", integer] } apiHash: { type: ["null", string] } additionalProperties: false required: [apiId, apiHash] clients: anyOf: - type: "null" - type: array items: { type: string } minItems: 1 uniqueItems: true bots: anyOf: - type: "null" - type: array items: type: object properties: type: { type: string } apiToken: { type: string } locales: anyOf: - type: "null" - { type: array, items: { type: string, format: locale }, uniqueItems: true, minItems: 1 } defaultLocale: anyOf: - type: "null" - { type: string, format: locale } additionalProperties: false required: [type, apiToken] minItems: 1 additionalProperties: false required: - runUpdater - runProcessor - filesUrl - avatarUrl - linkStartParameterName - signinStartParameterName - webAppDomain