NamespaceSchemeService

Service for retrieving workspace information

Allows retrieving information about app workspaces (namespaces).

Hierarchy

  • NamespaceSchemeService

Methods

exportable

  • exportable(namespace: string): Promise<boolean>
  • Get exported workspace indicator.

    Parameters

    • namespace: string

    Returns Promise<boolean>

    If true, the workspace is exported. If false, the workspace is not exported.

    const exportable = await System.scheme.namespace. exportable('crm');
    

get

  • Retrieve workspace information by its code.

    Parameters

    • namespace: string

    Returns Promise<NamespaceScheme | undefined>

    Object with information about a workspace.

    const  namespaceScheme = await System.scheme.namespace.get('crm');
    

list

  • list(): Promise<readonly BaseNamespaceScheme[]>
  • Get a list of all workspaces.

    Returns Promise<readonly BaseNamespaceScheme[]>

    Array of objects with information about workspaces.

    const  namespaces = await System.scheme.namespace.list();