UNPKG

@softvisio/core

Version:
56 lines (45 loc) 1.61 kB
- $id: config type: object properties: telegram: type: object properties: name: anyOf: - type: "null" - { type: object, instanceof: Locale.L10nt } description: anyOf: - type: "null" - { type: object, instanceof: Locale.L10nt } shortDescription: anyOf: - type: "null" - { type: object, instanceof: Locale.L10nt } locales: anyOf: - type: "null" - { type: array, items: { type: string, format: locale }, uniqueItems: true, minItems: 1 } defaultLocale: anyOf: - type: "null" - { type: string, format: locale } usersCacheMaxSize: { type: integer, minimum: 100 } groupsCacheMaxSize: { type: integer, minimum: 100 } channelsCacheMaxSize: { type: integer, minimum: 100 } messagesCacheMaxSize: { type: integer, minimum: 100 } contactsCacheMaxSize: { type: integer, minimum: 100 } webAppDomain: anyOf: - type: "null" - { type: string, format: domain } signinRequired: anyOf: - const: auto - { type: boolean } signupEnabled: { type: boolean } signoutEnabled: { type: boolean } acl: { type: object } additionalProperties: false required: [name, usersCacheMaxSize, groupsCacheMaxSize, channelsCacheMaxSize, messagesCacheMaxSize, contactsCacheMaxSize, signinRequired, signupEnabled, signoutEnabled] required: [telegram]