generate
Generate transactions for a specific namespace or all namespaces.
Signature:
generate(client: Client, namespace?: number | string): Promise<void>Module:
@olenbetong/appframe-updater
Parameters
client: Appframe dataClientinstance.namespace(optional): Namespace ID or name. If omitted, all namespaces (except those in excluded groups) are processed.
Behavior
For a specific namespace, resolves it via
getNamespaceand calls thesstp_Deploy_Generateprocedure for that ID.Without a namespace, loads namespaces via
sviw_Deploy_NamespacesWithGroupNamesand generates for each.
Errors
Throws if no namespaces are found or if any procedure call fails.
Example
import { Client } from "@olenbetong/appframe-data";
import { generate } from "@olenbetong/appframe-updater";
const client = new Client("https://your.host");
await generate(client, "MyNamespace");Last updated
Was this helpful?