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 dataClientinstance (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
getNamespaceand 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?