@cyberismo/assets 0.0.27 → 1.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.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './schemas.js';
2
+ export declare const DEFAULT_HUB = "https://raw.githubusercontent.com/CyberismoCom/cyberismo/main/tools/assets/src/hub/";
2
3
  export declare const graphvizReport: {
3
4
  query: string;
4
5
  content: string;
package/dist/index.js CHANGED
@@ -1525,4 +1525,4 @@ attr(edge, (X, Y, N), fontname, "helvetica") :- edge((X, Y, N), _).
1525
1525
  {{#if currentState}}
1526
1526
  currentState("{{{clingoEscape currentState}}}").
1527
1527
  {{/if}}
1528
- `;var ti={query:z,content:U},ii={query:V,content:P},ni={model:N,view:L},ai={common:{base:S,queryLanguage:R,utils:F},queries:{card:q,connectors:I,onCreation:j,onTransition:A,tree:C},test:{model:E}};async function oi(){if(typeof process>"u"||!process.versions?.node)throw new Error("@cyberismo/assets: getStaticDirectoryPath can only be called in Node.js");let{join:W}=await import("node:path"),M=import.meta.dirname;return W(M,"static")}export{xt as SCHEMA_VERSION,oi as getStaticDirectoryPath,ti as graphvizReport,ai as lpFiles,$t as parentSchema,ii as pdfReport,wt as schemas,ni as workflowGraph};
1528
+ `;var zt="https://raw.githubusercontent.com/CyberismoCom/cyberismo/main/tools/assets/src/hub/",ii={query:z,content:U},ni={query:V,content:P},ai={model:N,view:L},oi={common:{base:S,queryLanguage:R,utils:F},queries:{card:q,connectors:I,onCreation:j,onTransition:A,tree:C},test:{model:E}};async function ri(){if(typeof process>"u"||!process.versions?.node)throw new Error("@cyberismo/assets: getStaticDirectoryPath can only be called in Node.js");let{join:W}=await import("node:path"),M=import.meta.dirname;return W(M,"static")}export{zt as DEFAULT_HUB,xt as SCHEMA_VERSION,ri as getStaticDirectoryPath,ii as graphvizReport,oi as lpFiles,$t as parentSchema,ni as pdfReport,wt as schemas,ai as workflowGraph};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyberismo/assets",
3
- "version": "0.0.27",
3
+ "version": "1.0.0",
4
4
  "description": "This package contains static resources",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  export * from './schemas.js';
2
2
 
3
+ export const DEFAULT_HUB =
4
+ 'https://raw.githubusercontent.com/CyberismoCom/cyberismo/main/tools/assets/src/hub/';
5
+
3
6
  // Manually import each resource
4
7
  // They rarely change and we get 100% type safety this way
5
8
  import commonBase from './calculations/common/base.lp';