ApplicationSchemeService

Hierarchy

  • ApplicationSchemeService

Methods

exportable

  • exportable(namespace: string, code: string): Promise<boolean>
  • Get exported app indicator.

    Parameters

    • namespace: string
    • code: string

    Returns Promise<boolean>

    The value true means the app is exported, false means it is not exported.

    const exportable = await  System.scheme.application.exportable('crm', 'clients');
    

get

  • Retrieve app information by code and namespace.

    Parameters

    • namespace: string
    • code: string

    Returns Promise<ApplicationScheme | undefined>

    Object with information about an app.

    const appScheme =  await System.scheme.application.get('clients', 'crm');
    

list

  • list(namespace: string): Promise<readonly BaseApplicationScheme[]>
  • Get a list of apps in a workspace.

    Parameters

    • namespace: string

    Returns Promise<readonly BaseApplicationScheme[]>

    Array of objects with infromation about apps.

    const apps =  await System.scheme.application.list('crm');