@antelopejs/dms-automation 0.1.4 → 0.2.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.
@@ -5,6 +5,6 @@ declare const ProceduresPageController_base: {
5
5
  location: string;
6
6
  };
7
7
  export declare class ProceduresPageController extends ProceduresPageController_base {
8
- static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/dist/base/table-view").TableViewOptionsSerialized>;
8
+ static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").TableViewOptionsSerialized>;
9
9
  }
10
10
  export {};
@@ -6,6 +6,6 @@ declare const RunsPageController_base: {
6
6
  };
7
7
  export declare class RunsPageController extends RunsPageController_base {
8
8
  static stats: import("@antelopejs/interface-dms").ComponentBuilder<unknown>;
9
- static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/dist/base/table-view").TableViewOptionsSerialized>;
9
+ static table: import("@antelopejs/interface-dms").ComponentBuilder<import("@antelopejs/interface-dms/base").TableViewOptionsSerialized>;
10
10
  }
11
11
  export {};
@@ -4,9 +4,12 @@ exports.dataNodeTypeOrigin = exports.actionTypeOrigin = exports.triggerTypeOrigi
4
4
  exports.isOriginAttributionWorking = isOriginAttributionWorking;
5
5
  const interface_core_1 = require("@antelopejs/interface-core");
6
6
  const interface_dms_automation_1 = require("@antelopejs/interface-dms-automation");
7
+ function registryEntry(proxy, id) {
8
+ return proxy.state?.registered?.get(id);
9
+ }
7
10
  const SELF_MODULE = (0, interface_core_1.GetResponsibleModule)();
8
11
  function originOf(proxy, id) {
9
- const module = proxy.registered?.get(id)?.module;
12
+ const module = registryEntry(proxy, id)?.module;
10
13
  return module === undefined || module === SELF_MODULE ? {} : { module };
11
14
  }
12
15
  const triggerTypeOrigin = (id) => originOf(interface_dms_automation_1.internal.RegisterTriggerType, id);
@@ -18,7 +21,7 @@ exports.dataNodeTypeOrigin = dataNodeTypeOrigin;
18
21
  function isOriginAttributionWorking(ownTriggerTypeId) {
19
22
  if (SELF_MODULE === undefined)
20
23
  return false;
21
- const registry = interface_dms_automation_1.internal.RegisterTriggerType;
22
- return registry.registered?.get(ownTriggerTypeId)?.module === SELF_MODULE;
24
+ return (registryEntry(interface_dms_automation_1.internal.RegisterTriggerType, ownTriggerTypeId)?.module ===
25
+ SELF_MODULE);
23
26
  }
24
27
  //# sourceMappingURL=typeOrigin.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"typeOrigin.js","sourceRoot":"","sources":["../../src/runtime/typeOrigin.ts"],"names":[],"mappings":";;;AAyEA,gEAQC;AAhFD,+DAAkE;AAClE,mFAAgE;AAiChE,MAAM,WAAW,GAAG,IAAA,qCAAoB,GAAE,CAAC;AAW3C,SAAS,QAAQ,CAAC,KAAuB,EAAE,EAAU;IAKnD,MAAM,MAAM,GAAI,KAAkC,CAAC,UAAU,EAAE,GAAG,CAChE,EAAE,CACH,EAAE,MAAM,CAAC;IACV,OAAO,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC;AAC1E,CAAC;AAEM,MAAM,iBAAiB,GAAG,CAAC,EAAU,EAAc,EAAE,CAC1D,QAAQ,CAAC,mCAAQ,CAAC,mBAAmB,EAAE,EAAE,CAAC,CAAC;AADhC,QAAA,iBAAiB,qBACe;AAEtC,MAAM,gBAAgB,GAAG,CAAC,EAAU,EAAc,EAAE,CACzD,QAAQ,CAAC,mCAAQ,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;AAD/B,QAAA,gBAAgB,oBACe;AAErC,MAAM,kBAAkB,GAAG,CAAC,EAAU,EAAc,EAAE,CAC3D,QAAQ,CAAC,mCAAQ,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC;AADjC,QAAA,kBAAkB,sBACe;AAS9C,SAAgB,0BAA0B,CAAC,gBAAwB;IACjE,IAAI,WAAW,KAAK,SAAS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;IACjE,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5C,OAAO,CACL,aAAa,CAAC,mCAAQ,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,EAAE,MAAM;QACrE,WAAW,CACZ,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antelopejs/dms-automation",
3
- "version": "0.1.4",
3
+ "version": "0.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,6 +8,7 @@
8
8
  },
9
9
  "files": [
10
10
  "dist",
11
+ "!dist/.tsbuildinfo",
11
12
  "frontend-vue",
12
13
  "package.json",
13
14
  "README.md",
@@ -28,20 +29,20 @@
28
29
  "registry": "https://registry.npmjs.org/"
29
30
  },
30
31
  "dependencies": {
31
- "@antelopejs/interface-api": "^0.0.13",
32
+ "@antelopejs/interface-api": ">=0.0.14 <1.0.0",
32
33
  "@antelopejs/interface-api-util": "^0.1.2",
33
- "@antelopejs/interface-core": ">=0.0.13 <1.0.0",
34
+ "@antelopejs/interface-core": ">=0.1.1 <1.0.0",
34
35
  "@antelopejs/interface-data-api": "^0.1.9",
35
36
  "@antelopejs/interface-database": "0.1.7",
36
37
  "@antelopejs/interface-database-decorators": ">=0.1.6 <1.0.0",
37
- "@antelopejs/interface-dms": ">=0.0.1 <1.0.0",
38
- "@antelopejs/interface-dms-automation": ">=0.0.2 <1.0.0",
38
+ "@antelopejs/interface-dms": ">=0.2.0 <1.0.0",
39
+ "@antelopejs/interface-dms-automation": ">=0.1.0 <1.0.0",
39
40
  "defu": "^6.1.4",
40
41
  "node-cron": "^4.2.1",
41
42
  "zod": "^3.25.76"
42
43
  },
43
44
  "devDependencies": {
44
- "@antelopejs/core": "1.8.0",
45
+ "@antelopejs/core": "1.9.1",
45
46
  "@antelopejs/tooling-configs": ">=0.0.6 <1.0.0",
46
47
  "@types/node": "^24.0.0",
47
48
  "@types/node-cron": "^3.0.11",
@@ -52,10 +53,10 @@
52
53
  "release-it": "^19.2.4",
53
54
  "release-it-changelogen": "^0.1.0",
54
55
  "rimraf": "^6.1.3",
55
- "typescript": "^5.9.3"
56
+ "typescript": "^6.0.3"
56
57
  },
57
58
  "optionalDependencies": {
58
- "@antelopejs/interface-redis": "^0.0.8"
59
+ "@antelopejs/interface-redis": ">=0.0.8 <1.0.0"
59
60
  },
60
61
  "antelopeJs": {
61
62
  "baseUrl": "dist",
@@ -64,12 +65,13 @@
64
65
  ]
65
66
  },
66
67
  "scripts": {
67
- "build": "pnpm --filter @antelopejs/interface-dms-automation build && rimraf dist && tsc -p tsconfig.build.json",
68
+ "build": "pnpm --filter @antelopejs/interface-dms-automation build && rimraf dist && tsc",
68
69
  "test:frontend-registration": "pnpm run build && node --test tests/frontend-registration.test.cjs",
69
70
  "test:release-script": "node --test tests/release-script.test.cjs",
71
+ "test:type-origin": "pnpm run build && node --test tests/type-origin.test.cjs",
70
72
  "dev": "ajs project run -w -p playground",
71
73
  "lint": "oxlint && oxfmt --check . && cd frontend-vue && pnpm lint",
72
- "typecheck": "pnpm --filter @antelopejs/interface-dms-automation typecheck && tsc -p tsconfig.json",
74
+ "typecheck": "pnpm --filter @antelopejs/interface-dms-automation typecheck && tsc --noEmit",
73
75
  "lint:fix": "oxlint --fix --max-warnings=1000000 && oxfmt . && cd frontend-vue && pnpm lint:fix",
74
76
  "format": "oxfmt .",
75
77
  "frontend:dev": "cd playground && pnpm frontend:dev",