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

    Interface ChangeLayer

    Interface representing a layer of changes within the ESS client.

    interface ChangeLayer {
        get(
            project?: ProxyProjectInstance,
        ): Promise<
            {
                _id?: string;
                data?: Record<string, any>;
                delta?: Record<string, any>;
                eventTime?: number;
                method?: "POST" | "DELETE" | "UPDATE";
                operationId?: string;
                operationType?:
                    | "structure"
                    | "list"
                    | "node"
                    | "structure-child"
                    | "relation"
                    | "metadata"
                    | "list-child";
                ref?: any;
            }[],
        >;
    }
    Index

    Methods

    Methods

    • Retrieves a list of operations associated with the change layer.

      Parameters

      Returns Promise<
          {
              _id?: string;
              data?: Record<string, any>;
              delta?: Record<string, any>;
              eventTime?: number;
              method?: "POST" | "DELETE" | "UPDATE";
              operationId?: string;
              operationType?:
                  | "structure"
                  | "list"
                  | "node"
                  | "structure-child"
                  | "relation"
                  | "metadata"
                  | "list-child";
              ref?: any;
          }[],
      >

      A Promise that resolves to an array of VPI Operations.