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

    Interface ProjectLayer

    interface ProjectLayer {
        layers: Omit<
            NodeKindLayers,
            "Structures"
            | "Lists"
            | "Structure_childs"
            | "List_childs",
        > & {
            Lists: LayerFactory<DAL.Layers.ListLayer>;
            Metadatas: LayerFactory<DAL.Layers.MetadataLayer>;
            Nodes: LayerFactory<DAL.Layers.NodeLayer<NodeType>>;
            Relations: LayerFactory<DAL.Layers.RelationLayer>;
            Structures: LayerFactory<DAL.Layers.StructureLayer>;
        };
        create(
            project: {
                create_dt?: number;
                id?: string;
                meta?: {
                    category?: string;
                    description?: string | string[];
                    external?: any;
                    path?: any;
                    ref_extern?: string | string[];
                    site?: { id?: string; url?: string };
                    status?: string;
                };
                name?: string;
                token?: string;
                type?: "project";
                update_dt?: number;
            },
        ): Promise<
            {
                create_dt?: number;
                id?: string;
                meta?: {
                    category?: string;
                    description?: string
                    | string[];
                    external?: any;
                    path?: any;
                    ref_extern?: string | string[];
                    site?: { id?: string; url?: string };
                    status?: string;
                };
                name?: string;
                token?: string;
                type?: "project";
                update_dt?: number;
            },
        >;
        delete(): any;
        get<T extends any[] = null>(): Promise<
            T extends null
                ? {
                    create_dt?: number;
                    id?: string;
                    meta?: {
                        category?: string;
                        description?: string
                        | string[];
                        external?: any;
                        path?: any;
                        ref_extern?: string | string[];
                        site?: { id?: string; url?: string };
                        status?: string;
                    };
                    name?: string;
                    token?: string;
                    type?: "project";
                    update_dt?: number;
                }
                : {
                    create_dt?: number;
                    id?: string;
                    meta?: {
                        category?: string;
                        description?: string
                        | string[];
                        external?: any;
                        path?: any;
                        ref_extern?: string | string[];
                        site?: { id?: string; url?: string };
                        status?: string;
                    };
                    name?: string;
                    token?: string;
                    type?: "project";
                    update_dt?: number;
                }[],
        >;
        getAll(): Promise<INodeExtendedInitOptions>;
        nodeTypes(): Promise<any>;
        update(
            project: {
                create_dt?: number;
                id?: string;
                meta?: {
                    category?: string;
                    description?: string | string[];
                    external?: any;
                    path?: any;
                    ref_extern?: string | string[];
                    site?: { id?: string; url?: string };
                    status?: string;
                };
                name?: string;
                token?: string;
                type?: "project";
                update_dt?: number;
            },
        ): Promise<
            {
                create_dt?: number;
                id?: string;
                meta?: {
                    category?: string;
                    description?: string
                    | string[];
                    external?: any;
                    path?: any;
                    ref_extern?: string | string[];
                    site?: { id?: string; url?: string };
                    status?: string;
                };
                name?: string;
                token?: string;
                type?: "project";
                update_dt?: number;
            },
        >;
    }
    Index

    Properties

    layers: Omit<
        NodeKindLayers,
        "Structures"
        | "Lists"
        | "Structure_childs"
        | "List_childs",
    > & {
        Lists: LayerFactory<DAL.Layers.ListLayer>;
        Metadatas: LayerFactory<DAL.Layers.MetadataLayer>;
        Nodes: LayerFactory<DAL.Layers.NodeLayer<NodeType>>;
        Relations: LayerFactory<DAL.Layers.RelationLayer>;
        Structures: LayerFactory<DAL.Layers.StructureLayer>;
    }

    Methods

    • Parameters

      • project: {
            create_dt?: number;
            id?: string;
            meta?: {
                category?: string;
                description?: string | string[];
                external?: any;
                path?: any;
                ref_extern?: string | string[];
                site?: { id?: string; url?: string };
                status?: string;
            };
            name?: string;
            token?: string;
            type?: "project";
            update_dt?: number;
        }

      Returns Promise<
          {
              create_dt?: number;
              id?: string;
              meta?: {
                  category?: string;
                  description?: string
                  | string[];
                  external?: any;
                  path?: any;
                  ref_extern?: string | string[];
                  site?: { id?: string; url?: string };
                  status?: string;
              };
              name?: string;
              token?: string;
              type?: "project";
              update_dt?: number;
          },
      >

    • Type Parameters

      • T extends any[] = null

      Returns Promise<
          T extends null
              ? {
                  create_dt?: number;
                  id?: string;
                  meta?: {
                      category?: string;
                      description?: string
                      | string[];
                      external?: any;
                      path?: any;
                      ref_extern?: string | string[];
                      site?: { id?: string; url?: string };
                      status?: string;
                  };
                  name?: string;
                  token?: string;
                  type?: "project";
                  update_dt?: number;
              }
              : {
                  create_dt?: number;
                  id?: string;
                  meta?: {
                      category?: string;
                      description?: string
                      | string[];
                      external?: any;
                      path?: any;
                      ref_extern?: string | string[];
                      site?: { id?: string; url?: string };
                      status?: string;
                  };
                  name?: string;
                  token?: string;
                  type?: "project";
                  update_dt?: number;
              }[],
      >

    • Parameters

      • project: {
            create_dt?: number;
            id?: string;
            meta?: {
                category?: string;
                description?: string | string[];
                external?: any;
                path?: any;
                ref_extern?: string | string[];
                site?: { id?: string; url?: string };
                status?: string;
            };
            name?: string;
            token?: string;
            type?: "project";
            update_dt?: number;
        }

      Returns Promise<
          {
              create_dt?: number;
              id?: string;
              meta?: {
                  category?: string;
                  description?: string
                  | string[];
                  external?: any;
                  path?: any;
                  ref_extern?: string | string[];
                  site?: { id?: string; url?: string };
                  status?: string;
              };
              name?: string;
              token?: string;
              type?: "project";
              update_dt?: number;
          },
      >