@infrasoftbe/vnv-sdk
    Preparing search index...

    Interface StructureLayer

    interface StructureLayer {
        layers: {
            Child: LayerFactory<DAL.Layers.StructureChildLayer>;
            Links: LayerFactory<StructureLinkLayer>;
        };
        create(
            structure: {
                create_dt?: number;
                id?: string;
                meta?: {
                    children?: any[];
                    default?: boolean;
                    description?: string | string[];
                    external?: any;
                    path?: any;
                    ref_extern?: string | string[];
                    type?: string;
                    views?: {
                        bubble?: any;
                        forceDirectedTree?: any;
                        listView?: { views?: any };
                    };
                };
                name?: string;
                token?: string;
                type?: "structure";
                update_dt?: number;
            },
        ): Promise<
            {
                create_dt?: number;
                id?: string;
                meta?: {
                    children?: any[];
                    default?: boolean;
                    description?: string
                    | string[];
                    external?: any;
                    path?: any;
                    ref_extern?: string | string[];
                    type?: string;
                    views?: {
                        bubble?: any;
                        forceDirectedTree?: any;
                        listView?: { views?: any };
                    };
                };
                name?: string;
                token?: string;
                type?: "structure";
                update_dt?: number;
            },
        >;
        delete(): any;
        get<T extends any[] = null>(): Promise<
            T extends null
                ? {
                    create_dt?: number;
                    id?: string;
                    meta?: {
                        children?: any[];
                        default?: boolean;
                        description?: string
                        | string[];
                        external?: any;
                        path?: any;
                        ref_extern?: string | string[];
                        type?: string;
                        views?: {
                            bubble?: any;
                            forceDirectedTree?: any;
                            listView?: { views?: any };
                        };
                    };
                    name?: string;
                    token?: string;
                    type?: "structure";
                    update_dt?: number;
                }
                : {
                    create_dt?: number;
                    id?: string;
                    meta?: {
                        children?: any[];
                        default?: boolean;
                        description?: string
                        | string[];
                        external?: any;
                        path?: any;
                        ref_extern?: string | string[];
                        type?: string;
                        views?: {
                            bubble?: any;
                            forceDirectedTree?: any;
                            listView?: { views?: any };
                        };
                    };
                    name?: string;
                    token?: string;
                    type?: "structure";
                    update_dt?: number;
                }[],
        >;
        update(
            structure: {
                create_dt?: number;
                id?: string;
                meta?: {
                    children?: any[];
                    default?: boolean;
                    description?: string | string[];
                    external?: any;
                    path?: any;
                    ref_extern?: string | string[];
                    type?: string;
                    views?: {
                        bubble?: any;
                        forceDirectedTree?: any;
                        listView?: { views?: any };
                    };
                };
                name?: string;
                token?: string;
                type?: "structure";
                update_dt?: number;
            },
        ): Promise<
            {
                create_dt?: number;
                id?: string;
                meta?: {
                    children?: any[];
                    default?: boolean;
                    description?: string
                    | string[];
                    external?: any;
                    path?: any;
                    ref_extern?: string | string[];
                    type?: string;
                    views?: {
                        bubble?: any;
                        forceDirectedTree?: any;
                        listView?: { views?: any };
                    };
                };
                name?: string;
                token?: string;
                type?: "structure";
                update_dt?: number;
            },
        >;
    }
    Index

    Properties

    Methods

    Properties

    layers: {
        Child: LayerFactory<DAL.Layers.StructureChildLayer>;
        Links: LayerFactory<StructureLinkLayer>;
    }

    Methods

    • Parameters

      • structure: {
            create_dt?: number;
            id?: string;
            meta?: {
                children?: any[];
                default?: boolean;
                description?: string | string[];
                external?: any;
                path?: any;
                ref_extern?: string | string[];
                type?: string;
                views?: {
                    bubble?: any;
                    forceDirectedTree?: any;
                    listView?: { views?: any };
                };
            };
            name?: string;
            token?: string;
            type?: "structure";
            update_dt?: number;
        }

      Returns Promise<
          {
              create_dt?: number;
              id?: string;
              meta?: {
                  children?: any[];
                  default?: boolean;
                  description?: string
                  | string[];
                  external?: any;
                  path?: any;
                  ref_extern?: string | string[];
                  type?: string;
                  views?: {
                      bubble?: any;
                      forceDirectedTree?: any;
                      listView?: { views?: any };
                  };
              };
              name?: string;
              token?: string;
              type?: "structure";
              update_dt?: number;
          },
      >

    • Type Parameters

      • T extends any[] = null

      Returns Promise<
          T extends null
              ? {
                  create_dt?: number;
                  id?: string;
                  meta?: {
                      children?: any[];
                      default?: boolean;
                      description?: string
                      | string[];
                      external?: any;
                      path?: any;
                      ref_extern?: string | string[];
                      type?: string;
                      views?: {
                          bubble?: any;
                          forceDirectedTree?: any;
                          listView?: { views?: any };
                      };
                  };
                  name?: string;
                  token?: string;
                  type?: "structure";
                  update_dt?: number;
              }
              : {
                  create_dt?: number;
                  id?: string;
                  meta?: {
                      children?: any[];
                      default?: boolean;
                      description?: string
                      | string[];
                      external?: any;
                      path?: any;
                      ref_extern?: string | string[];
                      type?: string;
                      views?: {
                          bubble?: any;
                          forceDirectedTree?: any;
                          listView?: { views?: any };
                      };
                  };
                  name?: string;
                  token?: string;
                  type?: "structure";
                  update_dt?: number;
              }[],
      >

    • Parameters

      • structure: {
            create_dt?: number;
            id?: string;
            meta?: {
                children?: any[];
                default?: boolean;
                description?: string | string[];
                external?: any;
                path?: any;
                ref_extern?: string | string[];
                type?: string;
                views?: {
                    bubble?: any;
                    forceDirectedTree?: any;
                    listView?: { views?: any };
                };
            };
            name?: string;
            token?: string;
            type?: "structure";
            update_dt?: number;
        }

      Returns Promise<
          {
              create_dt?: number;
              id?: string;
              meta?: {
                  children?: any[];
                  default?: boolean;
                  description?: string
                  | string[];
                  external?: any;
                  path?: any;
                  ref_extern?: string | string[];
                  type?: string;
                  views?: {
                      bubble?: any;
                      forceDirectedTree?: any;
                      listView?: { views?: any };
                  };
              };
              name?: string;
              token?: string;
              type?: "structure";
              update_dt?: number;
          },
      >