@objectstack/plugin-approvals 12.6.0 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1007,7 +1007,7 @@ var ESCALATION_JOB_NAME = "approvals-sla-escalation";
1007
1007
  var ESCALATION_SCAN_INTERVAL_MS = 5 * 60 * 1e3;
1008
1008
  var SLA_ACTOR_ID = "system:sla";
1009
1009
  var ACTION_TOKEN_TTL_MS = 72 * 60 * 60 * 1e3;
1010
- var SYSTEM_CTX = { isSystem: true, roles: [], permissions: [] };
1010
+ var SYSTEM_CTX = { isSystem: true, positions: [], permissions: [] };
1011
1011
  function uid(prefix) {
1012
1012
  const g = globalThis;
1013
1013
  if (g.crypto?.randomUUID) return `${prefix}_${g.crypto.randomUUID()}`;
@@ -2920,7 +2920,7 @@ import {
2920
2920
  getApprovalNodeConfigJsonSchema,
2921
2921
  APPROVAL_NODE_TYPE
2922
2922
  } from "@objectstack/spec/automation";
2923
- var SYSTEM_CTX2 = { isSystem: true, roles: [], permissions: [] };
2923
+ var SYSTEM_CTX2 = { isSystem: true, positions: [], permissions: [] };
2924
2924
  function registerApprovalNode(automation, service, logger) {
2925
2925
  automation.registerNodeExecutor({
2926
2926
  type: APPROVAL_NODE_TYPE,