@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 +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +3 -0
package/dist/index.d.ts
CHANGED
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
|
|
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
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';
|