Class FeatureStoreLayerChanges

do not construct directly, use the layers .changeTracker instead

Hierarchy (view full)

Accessors

  • get className(): string
  • Returns string

Constructors

Methods

  • commits the changes to the provided url. url should contain accessTokens and point to a featureStore layers bulk operation endpoint

    Parameters

    • postCallback: ((body: Pick<CommitAction, "action" | "feature">[]) => Promise<{
          failedActions: {
              error: string;
              index: number;
          }[];
          insertedIds: {
              _id: string;
          }[];
      }>)
        • (body): Promise<{
              failedActions: {
                  error: string;
                  index: number;
              }[];
              insertedIds: {
                  _id: string;
              }[];
          }>
        • Parameters

          • body: Pick<CommitAction, "action" | "feature">[]

          Returns Promise<{
              failedActions: {
                  error: string;
                  index: number;
              }[];
              insertedIds: {
                  _id: string;
              }[];
          }>

    Returns Promise<void>

Properties

[moduleIdSymbol]?: string
changed: VcsEvent<void> = ...
isDestroyed: boolean
name: string

unique Name

properties: Record<string, unknown>