apply

Apply deployed updates for one or all namespaces.

  • Signature: apply(client: Client, namespace?: string | number): Promise<unknown>

  • Module: @olenbetong/appframe-updater

Parameters

  • client: Appframe data Client instance (from @olenbetong/appframe-data).

  • namespace (optional): Namespace ID (number) or name (string). If omitted, applies all deployed updates.

Behavior

  • Resolves the namespace (when provided) via getNamespace and calls the server-side apply procedure.

  • No-ops when there is nothing to apply.

Returns

  • Promise resolving with the procedure result.

Errors

  • Throws if the procedure call fails or the namespace cannot be resolved.

Example

Last updated

Was this helpful?