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 data Client instance.

  • 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 getNamespace and calls the sstp_Deploy_Generate procedure for that ID.

  • Without a namespace, loads namespaces via sviw_Deploy_NamespacesWithGroupNames and 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?