@power-plant/alloy-js 0.0.2 → 0.0.4
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/{code-DwEnLBw3.d.cts → code-DJUGcivU.d.cts} +1 -2
- package/dist/code-DJUGcivU.d.cts.map +1 -0
- package/dist/{code-Cw63m9E5.d.mts → code-tudxNOH1.d.mts} +1 -2
- package/dist/code-tudxNOH1.d.mts.map +1 -0
- package/dist/{components-Lfo1yjgU.d.cts → components-vJaCHt1A.d.cts} +1 -2
- package/dist/components-vJaCHt1A.d.cts.map +1 -0
- package/dist/{components-Lfo1yjgU.d.mts → components-vJaCHt1A.d.mts} +1 -2
- package/dist/components-vJaCHt1A.d.mts.map +1 -0
- package/dist/core/components/index.d.cts +4 -4
- package/dist/core/components/index.d.mts +4 -4
- package/dist/core/components/output.d.cts +1 -1
- package/dist/core/components/output.d.mts +1 -1
- package/dist/core/components/single-line-comment.d.cts +1 -1
- package/dist/core/components/single-line-comment.d.mts +1 -1
- package/dist/core/components/source-file.d.cts +1 -1
- package/dist/core/components/source-file.d.mts +1 -1
- package/dist/core/components/spacing.d.cts +1 -1
- package/dist/core/components/spacing.d.mts +1 -1
- package/dist/core/contexts/execution.d.cts +1 -1
- package/dist/core/contexts/execution.d.mts +1 -1
- package/dist/core/contexts/index.d.cts +4 -4
- package/dist/core/contexts/index.d.mts +4 -4
- package/dist/core/contexts/meta.d.cts +1 -1
- package/dist/core/contexts/meta.d.mts +1 -1
- package/dist/core/contexts/schema.d.cts +1 -1
- package/dist/core/contexts/schema.d.mts +1 -1
- package/dist/core/contexts/session.d.cts +1 -1
- package/dist/core/contexts/session.d.mts +1 -1
- package/dist/core/contexts/spec.d.cts +0 -1
- package/dist/core/contexts/spec.d.cts.map +1 -1
- package/dist/core/contexts/spec.d.mts +0 -1
- package/dist/core/helpers/code.d.cts +1 -1
- package/dist/core/helpers/code.d.mts +1 -1
- package/dist/core/helpers/index.d.cts +1 -1
- package/dist/core/helpers/index.d.mts +1 -1
- package/dist/core/index.d.cts +12 -9
- package/dist/core/index.d.mts +12 -9
- package/dist/core/types/components.d.cts +1 -1
- package/dist/core/types/components.d.mts +1 -1
- package/dist/core/types/index.d.cts +1 -1
- package/dist/core/types/index.d.mts +1 -1
- package/dist/{execution-CqOWMsST.d.cts → execution-BGY24cO8.d.cts} +1 -2
- package/dist/execution-BGY24cO8.d.cts.map +1 -0
- package/dist/{execution-CqOWMsST.d.mts → execution-BGY24cO8.d.mts} +1 -2
- package/dist/execution-BGY24cO8.d.mts.map +1 -0
- package/dist/index.d.cts +0 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -1
- package/dist/{meta-CDUo2qw9.d.cts → meta-ClbpDxeS.d.cts} +1 -2
- package/dist/meta-ClbpDxeS.d.cts.map +1 -0
- package/dist/{meta-CDUo2qw9.d.mts → meta-ClbpDxeS.d.mts} +1 -2
- package/dist/meta-ClbpDxeS.d.mts.map +1 -0
- package/dist/{output-Cd9yv0DZ.d.cts → output-BFL54LWl.d.cts} +1 -2
- package/dist/output-BFL54LWl.d.cts.map +1 -0
- package/dist/{output-D_ovZIyg.d.mts → output-CIbYv2pQ.d.mts} +1 -2
- package/dist/output-CIbYv2pQ.d.mts.map +1 -0
- package/dist/render.d.cts +0 -1
- package/dist/render.d.cts.map +1 -1
- package/dist/render.d.mts +0 -1
- package/dist/{schema-pTK0-GHm.d.cts → schema-CkCXkDzU.d.cts} +1 -2
- package/dist/schema-CkCXkDzU.d.cts.map +1 -0
- package/dist/{schema-pTK0-GHm.d.mts → schema-CkCXkDzU.d.mts} +1 -2
- package/dist/schema-CkCXkDzU.d.mts.map +1 -0
- package/dist/{session-CyeJNmog.d.cts → session-CFnVWg4N.d.cts} +1 -2
- package/dist/session-CFnVWg4N.d.cts.map +1 -0
- package/dist/{session-CyeJNmog.d.mts → session-CFnVWg4N.d.mts} +1 -2
- package/dist/session-CFnVWg4N.d.mts.map +1 -0
- package/dist/{single-line-comment-CLBiy5aI.d.mts → single-line-comment-BbbyteDv.d.cts} +2 -3
- package/dist/single-line-comment-BbbyteDv.d.cts.map +1 -0
- package/dist/{single-line-comment-WhWXKvku.d.cts → single-line-comment-DB4XWAmh.d.mts} +2 -3
- package/dist/single-line-comment-DB4XWAmh.d.mts.map +1 -0
- package/dist/{source-file-CW1A6SJ9.d.cts → source-file-CPJOENVo.d.cts} +2 -3
- package/dist/source-file-CPJOENVo.d.cts.map +1 -0
- package/dist/{source-file-Cn1xO9t5.d.mts → source-file-DVILH8rC.d.mts} +2 -3
- package/dist/source-file-DVILH8rC.d.mts.map +1 -0
- package/dist/{spacing-CGrdAoZW.d.cts → spacing-HIHoQdxS.d.cts} +2 -4
- package/dist/spacing-HIHoQdxS.d.cts.map +1 -0
- package/dist/{spacing-CGrdAoZW.d.mts → spacing-HIHoQdxS.d.mts} +2 -4
- package/dist/spacing-HIHoQdxS.d.mts.map +1 -0
- package/package.json +5 -5
- package/dist/code-Cw63m9E5.d.mts.map +0 -1
- package/dist/code-DwEnLBw3.d.cts.map +0 -1
- package/dist/components-Lfo1yjgU.d.cts.map +0 -1
- package/dist/components-Lfo1yjgU.d.mts.map +0 -1
- package/dist/execution-CqOWMsST.d.cts.map +0 -1
- package/dist/execution-CqOWMsST.d.mts.map +0 -1
- package/dist/meta-CDUo2qw9.d.cts.map +0 -1
- package/dist/meta-CDUo2qw9.d.mts.map +0 -1
- package/dist/output-Cd9yv0DZ.d.cts.map +0 -1
- package/dist/output-D_ovZIyg.d.mts.map +0 -1
- package/dist/schema-pTK0-GHm.d.cts.map +0 -1
- package/dist/schema-pTK0-GHm.d.mts.map +0 -1
- package/dist/session-CyeJNmog.d.cts.map +0 -1
- package/dist/session-CyeJNmog.d.mts.map +0 -1
- package/dist/single-line-comment-CLBiy5aI.d.mts.map +0 -1
- package/dist/single-line-comment-WhWXKvku.d.cts.map +0 -1
- package/dist/source-file-CW1A6SJ9.d.cts.map +0 -1
- package/dist/source-file-Cn1xO9t5.d.mts.map +0 -1
- package/dist/spacing-CGrdAoZW.d.cts.map +0 -1
- package/dist/spacing-CGrdAoZW.d.mts.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Children } from "@alloy-js/core";
|
|
2
|
-
|
|
3
2
|
//#region src/core/helpers/code.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Turn the provided string template into Children by replacing literal line
|
|
@@ -26,4 +25,4 @@ import { Children } from "@alloy-js/core";
|
|
|
26
25
|
declare function code(template: TemplateStringsArray, ...substitutions: Children[]): Children;
|
|
27
26
|
//#endregion
|
|
28
27
|
export { code as t };
|
|
29
|
-
//# sourceMappingURL=code-
|
|
28
|
+
//# sourceMappingURL=code-DJUGcivU.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-DJUGcivU.d.cts","names":[],"sources":["../src/core/helpers/code.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;iBA2CgB,KACd,UAAU,yBACP,eAAe,aACjB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Children } from "@alloy-js/core";
|
|
2
|
-
|
|
3
2
|
//#region src/core/helpers/code.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Turn the provided string template into Children by replacing literal line
|
|
@@ -26,4 +25,4 @@ import { Children } from "@alloy-js/core";
|
|
|
26
25
|
declare function code$1(template: TemplateStringsArray, ...substitutions: Children[]): Children;
|
|
27
26
|
//#endregion
|
|
28
27
|
export { code$1 as t };
|
|
29
|
-
//# sourceMappingURL=code-
|
|
28
|
+
//# sourceMappingURL=code-tudxNOH1.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-tudxNOH1.d.mts","names":[],"sources":["../src/core/helpers/code.ts"],"mappings":""}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Children } from "@alloy-js/core";
|
|
2
2
|
import { GeneratedDocument } from "@power-plant/core";
|
|
3
|
-
|
|
4
3
|
//#region src/core/types/components.d.ts
|
|
5
4
|
type OutputFile<TSpec, TOptions extends object> = Omit<GeneratedDocument<TSpec, TOptions>, "source"> & {
|
|
6
5
|
kind: "file";
|
|
@@ -54,4 +53,4 @@ interface SourceFileHeaderProps extends ComponentProps {
|
|
|
54
53
|
}
|
|
55
54
|
//#endregion
|
|
56
55
|
export { SourceFileHeaderProps as a, OutputFile as i, ComponentPropsWithChildren as n, OutputDirectory as r, ComponentProps as t };
|
|
57
|
-
//# sourceMappingURL=components-
|
|
56
|
+
//# sourceMappingURL=components-vJaCHt1A.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components-vJaCHt1A.d.cts","names":[],"sources":["../src/core/types/components.ts"],"mappings":";;;KAqBY,WAAW,OAAO,2BAA2B,KACvD,kBAAkB,OAAO;EAGzB;;UAGe,gBAAgB,OAAO;EACtC;EACA;EACA,UAAU,gBAAgB,OAAO,YAAY,WAAW,OAAO;;;;;UAMhD;EACf,WAAW;;;;;KAMD,6BAA6B,KAAK,8BAC5C,SAAS,KAAK;UAEC,8BAA8B;;;;;;;;EAQ7C;;;;;;;;EASA;;;;;;;;EASA;;;;;;EAOA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Children } from "@alloy-js/core";
|
|
2
2
|
import { GeneratedDocument } from "@power-plant/core";
|
|
3
|
-
|
|
4
3
|
//#region src/core/types/components.d.ts
|
|
5
4
|
type OutputFile<TSpec, TOptions extends object> = Omit<GeneratedDocument<TSpec, TOptions>, "source"> & {
|
|
6
5
|
kind: "file";
|
|
@@ -54,4 +53,4 @@ interface SourceFileHeaderProps extends ComponentProps {
|
|
|
54
53
|
}
|
|
55
54
|
//#endregion
|
|
56
55
|
export { SourceFileHeaderProps as a, OutputFile as i, ComponentPropsWithChildren as n, OutputDirectory as r, ComponentProps as t };
|
|
57
|
-
//# sourceMappingURL=components-
|
|
56
|
+
//# sourceMappingURL=components-vJaCHt1A.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components-vJaCHt1A.d.mts","names":[],"sources":["../src/core/types/components.ts"],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as OutputProps, t as Output } from "../../output-
|
|
2
|
-
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-
|
|
3
|
-
import { n as SourceFileProps, t as SourceFile } from "../../source-file-
|
|
4
|
-
import { n as SpacingProps, t as Spacing } from "../../spacing-
|
|
1
|
+
import { n as OutputProps, t as Output } from "../../output-BFL54LWl.cjs";
|
|
2
|
+
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-BbbyteDv.cjs";
|
|
3
|
+
import { n as SourceFileProps, t as SourceFile } from "../../source-file-CPJOENVo.cjs";
|
|
4
|
+
import { n as SpacingProps, t as Spacing } from "../../spacing-HIHoQdxS.cjs";
|
|
5
5
|
export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as OutputProps, t as Output } from "../../output-
|
|
2
|
-
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-
|
|
3
|
-
import { n as SourceFileProps, t as SourceFile } from "../../source-file-
|
|
4
|
-
import { n as SpacingProps, t as Spacing } from "../../spacing-
|
|
1
|
+
import { n as OutputProps, t as Output } from "../../output-CIbYv2pQ.mjs";
|
|
2
|
+
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-DB4XWAmh.mjs";
|
|
3
|
+
import { n as SourceFileProps, t as SourceFile } from "../../source-file-DVILH8rC.mjs";
|
|
4
|
+
import { n as SpacingProps, t as Spacing } from "../../spacing-HIHoQdxS.mjs";
|
|
5
5
|
export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as OutputProps, t as Output } from "../../output-
|
|
1
|
+
import { n as OutputProps, t as Output } from "../../output-BFL54LWl.cjs";
|
|
2
2
|
export { Output, OutputProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as OutputProps, t as Output } from "../../output-
|
|
1
|
+
import { n as OutputProps, t as Output } from "../../output-CIbYv2pQ.mjs";
|
|
2
2
|
export { Output, OutputProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-
|
|
1
|
+
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-BbbyteDv.cjs";
|
|
2
2
|
export { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-
|
|
1
|
+
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-DB4XWAmh.mjs";
|
|
2
2
|
export { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SourceFileProps, t as SourceFile } from "../../source-file-
|
|
1
|
+
import { n as SourceFileProps, t as SourceFile } from "../../source-file-CPJOENVo.cjs";
|
|
2
2
|
export { SourceFile, SourceFileProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SourceFileProps, t as SourceFile } from "../../source-file-
|
|
1
|
+
import { n as SourceFileProps, t as SourceFile } from "../../source-file-DVILH8rC.mjs";
|
|
2
2
|
export { SourceFile, SourceFileProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SpacingProps, t as Spacing } from "../../spacing-
|
|
1
|
+
import { n as SpacingProps, t as Spacing } from "../../spacing-HIHoQdxS.cjs";
|
|
2
2
|
export { Spacing, SpacingProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SpacingProps, t as Spacing } from "../../spacing-
|
|
1
|
+
import { n as SpacingProps, t as Spacing } from "../../spacing-HIHoQdxS.mjs";
|
|
2
2
|
export { Spacing, SpacingProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../../execution-
|
|
1
|
+
import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../../execution-BGY24cO8.cjs";
|
|
2
2
|
export { ExecutionContext, useExecution, useExecutionSafe };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../../execution-
|
|
1
|
+
import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../../execution-BGY24cO8.mjs";
|
|
2
2
|
export { ExecutionContext, useExecution, useExecutionSafe };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../../execution-
|
|
2
|
-
import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-
|
|
3
|
-
import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../../schema-
|
|
4
|
-
import { a as useSessionSafe, c as useUser, i as useSession, l as useUserSafe, n as useDevice, o as useTenant, r as useDeviceSafe, s as useTenantSafe, t as SessionContext } from "../../session-
|
|
1
|
+
import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../../execution-BGY24cO8.cjs";
|
|
2
|
+
import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-ClbpDxeS.cjs";
|
|
3
|
+
import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../../schema-CkCXkDzU.cjs";
|
|
4
|
+
import { a as useSessionSafe, c as useUser, i as useSession, l as useUserSafe, n as useDevice, o as useTenant, r as useDeviceSafe, s as useTenantSafe, t as SessionContext } from "../../session-CFnVWg4N.cjs";
|
|
5
5
|
export { ExecutionContext, MetaContext, SchemaContext, SchemaPropertyContext, SessionContext, useDevice, useDeviceSafe, useExecution, useExecutionSafe, useMeta, useMetaSafe, useSchema, useSchemaProperty, useSchemaPropertySafe, useSchemaSafe, useSession, useSessionSafe, useTenant, useTenantSafe, useUser, useUserSafe };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../../execution-
|
|
2
|
-
import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-
|
|
3
|
-
import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../../schema-
|
|
4
|
-
import { a as useSessionSafe, c as useUser, i as useSession, l as useUserSafe, n as useDevice, o as useTenant, r as useDeviceSafe, s as useTenantSafe, t as SessionContext } from "../../session-
|
|
1
|
+
import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../../execution-BGY24cO8.mjs";
|
|
2
|
+
import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-ClbpDxeS.mjs";
|
|
3
|
+
import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../../schema-CkCXkDzU.mjs";
|
|
4
|
+
import { a as useSessionSafe, c as useUser, i as useSession, l as useUserSafe, n as useDevice, o as useTenant, r as useDeviceSafe, s as useTenantSafe, t as SessionContext } from "../../session-CFnVWg4N.mjs";
|
|
5
5
|
export { ExecutionContext, MetaContext, SchemaContext, SchemaPropertyContext, SessionContext, useDevice, useDeviceSafe, useExecution, useExecutionSafe, useMeta, useMetaSafe, useSchema, useSchemaProperty, useSchemaPropertySafe, useSchemaSafe, useSession, useSessionSafe, useTenant, useTenantSafe, useUser, useUserSafe };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-
|
|
1
|
+
import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-ClbpDxeS.cjs";
|
|
2
2
|
export { MetaContext, useMeta, useMetaSafe };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-
|
|
1
|
+
import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-ClbpDxeS.mjs";
|
|
2
2
|
export { MetaContext, useMeta, useMetaSafe };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../../schema-
|
|
1
|
+
import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../../schema-CkCXkDzU.cjs";
|
|
2
2
|
export { SchemaContext, SchemaPropertyContext, useSchema, useSchemaProperty, useSchemaPropertySafe, useSchemaSafe };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../../schema-
|
|
1
|
+
import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../../schema-CkCXkDzU.mjs";
|
|
2
2
|
export { SchemaContext, SchemaPropertyContext, useSchema, useSchemaProperty, useSchemaPropertySafe, useSchemaSafe };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useSessionSafe, c as useUser, i as useSession, l as useUserSafe, n as useDevice, o as useTenant, r as useDeviceSafe, s as useTenantSafe, t as SessionContext } from "../../session-
|
|
1
|
+
import { a as useSessionSafe, c as useUser, i as useSession, l as useUserSafe, n as useDevice, o as useTenant, r as useDeviceSafe, s as useTenantSafe, t as SessionContext } from "../../session-CFnVWg4N.cjs";
|
|
2
2
|
export { SessionContext, useDevice, useDeviceSafe, useSession, useSessionSafe, useTenant, useTenantSafe, useUser, useUserSafe };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useSessionSafe, c as useUser, i as useSession, l as useUserSafe, n as useDevice, o as useTenant, r as useDeviceSafe, s as useTenantSafe, t as SessionContext } from "../../session-
|
|
1
|
+
import { a as useSessionSafe, c as useUser, i as useSession, l as useUserSafe, n as useDevice, o as useTenant, r as useDeviceSafe, s as useTenantSafe, t as SessionContext } from "../../session-CFnVWg4N.mjs";
|
|
2
2
|
export { SessionContext, useDevice, useDeviceSafe, useSession, useSessionSafe, useTenant, useTenantSafe, useUser, useUserSafe };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec.d.cts","names":[],"sources":["../../../src/core/contexts/spec.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"spec.d.cts","names":[],"sources":["../../../src/core/contexts/spec.ts"],"mappings":";;;;;cAwBa,aAAa;;;;;;;iBASV;;;;;;iBAgBA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as code } from "../../code-
|
|
1
|
+
import { t as code } from "../../code-DJUGcivU.cjs";
|
|
2
2
|
export { code };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as code } from "../../code-
|
|
1
|
+
import { t as code } from "../../code-tudxNOH1.mjs";
|
|
2
2
|
export { code };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as code } from "../../code-
|
|
1
|
+
import { t as code } from "../../code-DJUGcivU.cjs";
|
|
2
2
|
export { code };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as code } from "../../code-
|
|
1
|
+
import { t as code } from "../../code-tudxNOH1.mjs";
|
|
2
2
|
export { code };
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { n as OutputProps, t as Output } from "../output-
|
|
2
|
-
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-
|
|
3
|
-
import { n as SourceFileProps, t as SourceFile } from "../source-file-
|
|
4
|
-
import { n as SpacingProps, t as Spacing } from "../spacing-
|
|
5
|
-
import
|
|
6
|
-
import { n as
|
|
7
|
-
import {
|
|
8
|
-
import { a as
|
|
9
|
-
import { t as
|
|
1
|
+
import { n as OutputProps, t as Output } from "../output-BFL54LWl.cjs";
|
|
2
|
+
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-BbbyteDv.cjs";
|
|
3
|
+
import { n as SourceFileProps, t as SourceFile } from "../source-file-CPJOENVo.cjs";
|
|
4
|
+
import { n as SpacingProps, t as Spacing } from "../spacing-HIHoQdxS.cjs";
|
|
5
|
+
import "./components/index.cjs";
|
|
6
|
+
import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../execution-BGY24cO8.cjs";
|
|
7
|
+
import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../meta-ClbpDxeS.cjs";
|
|
8
|
+
import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../schema-CkCXkDzU.cjs";
|
|
9
|
+
import { a as useSessionSafe, c as useUser, i as useSession, l as useUserSafe, n as useDevice, o as useTenant, r as useDeviceSafe, s as useTenantSafe, t as SessionContext } from "../session-CFnVWg4N.cjs";
|
|
10
|
+
import "./contexts/index.cjs";
|
|
11
|
+
import { t as code } from "../code-DJUGcivU.cjs";
|
|
12
|
+
import "./helpers/index.cjs";
|
|
10
13
|
export { ExecutionContext, MetaContext, Output, OutputProps, SchemaContext, SchemaPropertyContext, SessionContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps, code, useDevice, useDeviceSafe, useExecution, useExecutionSafe, useMeta, useMetaSafe, useSchema, useSchemaProperty, useSchemaPropertySafe, useSchemaSafe, useSession, useSessionSafe, useTenant, useTenantSafe, useUser, useUserSafe };
|
package/dist/core/index.d.mts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { n as OutputProps, t as Output } from "../output-
|
|
2
|
-
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-
|
|
3
|
-
import { n as SourceFileProps, t as SourceFile } from "../source-file-
|
|
4
|
-
import { n as SpacingProps, t as Spacing } from "../spacing-
|
|
5
|
-
import
|
|
6
|
-
import { n as
|
|
7
|
-
import {
|
|
8
|
-
import { a as
|
|
9
|
-
import { t as
|
|
1
|
+
import { n as OutputProps, t as Output } from "../output-CIbYv2pQ.mjs";
|
|
2
|
+
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-DB4XWAmh.mjs";
|
|
3
|
+
import { n as SourceFileProps, t as SourceFile } from "../source-file-DVILH8rC.mjs";
|
|
4
|
+
import { n as SpacingProps, t as Spacing } from "../spacing-HIHoQdxS.mjs";
|
|
5
|
+
import "./components/index.mjs";
|
|
6
|
+
import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../execution-BGY24cO8.mjs";
|
|
7
|
+
import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../meta-ClbpDxeS.mjs";
|
|
8
|
+
import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../schema-CkCXkDzU.mjs";
|
|
9
|
+
import { a as useSessionSafe, c as useUser, i as useSession, l as useUserSafe, n as useDevice, o as useTenant, r as useDeviceSafe, s as useTenantSafe, t as SessionContext } from "../session-CFnVWg4N.mjs";
|
|
10
|
+
import "./contexts/index.mjs";
|
|
11
|
+
import { t as code } from "../code-tudxNOH1.mjs";
|
|
12
|
+
import "./helpers/index.mjs";
|
|
10
13
|
export { ExecutionContext, MetaContext, Output, OutputProps, SchemaContext, SchemaPropertyContext, SessionContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps, code, useDevice, useDeviceSafe, useExecution, useExecutionSafe, useMeta, useMetaSafe, useSchema, useSchemaProperty, useSchemaPropertySafe, useSchemaSafe, useSession, useSessionSafe, useTenant, useTenantSafe, useUser, useUserSafe };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SourceFileHeaderProps, i as OutputFile, n as ComponentPropsWithChildren, r as OutputDirectory, t as ComponentProps } from "../../components-
|
|
1
|
+
import { a as SourceFileHeaderProps, i as OutputFile, n as ComponentPropsWithChildren, r as OutputDirectory, t as ComponentProps } from "../../components-vJaCHt1A.cjs";
|
|
2
2
|
export { ComponentProps, ComponentPropsWithChildren, OutputDirectory, OutputFile, SourceFileHeaderProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SourceFileHeaderProps, i as OutputFile, n as ComponentPropsWithChildren, r as OutputDirectory, t as ComponentProps } from "../../components-
|
|
1
|
+
import { a as SourceFileHeaderProps, i as OutputFile, n as ComponentPropsWithChildren, r as OutputDirectory, t as ComponentProps } from "../../components-vJaCHt1A.mjs";
|
|
2
2
|
export { ComponentProps, ComponentPropsWithChildren, OutputDirectory, OutputFile, SourceFileHeaderProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SourceFileHeaderProps, i as OutputFile, n as ComponentPropsWithChildren, r as OutputDirectory, t as ComponentProps } from "../../components-
|
|
1
|
+
import { a as SourceFileHeaderProps, i as OutputFile, n as ComponentPropsWithChildren, r as OutputDirectory, t as ComponentProps } from "../../components-vJaCHt1A.cjs";
|
|
2
2
|
export { ComponentProps, ComponentPropsWithChildren, OutputDirectory, OutputFile, SourceFileHeaderProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SourceFileHeaderProps, i as OutputFile, n as ComponentPropsWithChildren, r as OutputDirectory, t as ComponentProps } from "../../components-
|
|
1
|
+
import { a as SourceFileHeaderProps, i as OutputFile, n as ComponentPropsWithChildren, r as OutputDirectory, t as ComponentProps } from "../../components-vJaCHt1A.mjs";
|
|
2
2
|
export { ComponentProps, ComponentPropsWithChildren, OutputDirectory, OutputFile, SourceFileHeaderProps };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentContext } from "@alloy-js/core";
|
|
2
2
|
import { ExecutionContext } from "@power-plant/core";
|
|
3
|
-
|
|
4
3
|
//#region src/core/contexts/execution.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* The Execution context used in template rendering.
|
|
@@ -21,4 +20,4 @@ declare function useExecution(): ExecutionContext<any, any, any>;
|
|
|
21
20
|
declare function useExecutionSafe(): ExecutionContext<any, any, any> | undefined;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { useExecution as n, useExecutionSafe as r, ExecutionContext$1 as t };
|
|
24
|
-
//# sourceMappingURL=execution-
|
|
23
|
+
//# sourceMappingURL=execution-BGY24cO8.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execution-BGY24cO8.d.cts","names":[],"sources":["../src/core/contexts/execution.ts"],"mappings":";;;;;;cAyBa,oBAAkB,iBAC7B;;;;;;;iBASc,gBAAgB;;;;;;iBAgBhB,oBACd"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentContext } from "@alloy-js/core";
|
|
2
2
|
import { ExecutionContext } from "@power-plant/core";
|
|
3
|
-
|
|
4
3
|
//#region src/core/contexts/execution.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* The Execution context used in template rendering.
|
|
@@ -21,4 +20,4 @@ declare function useExecution(): ExecutionContext<any, any, any>;
|
|
|
21
20
|
declare function useExecutionSafe(): ExecutionContext<any, any, any> | undefined;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { useExecution as n, useExecutionSafe as r, ExecutionContext$1 as t };
|
|
24
|
-
//# sourceMappingURL=execution-
|
|
23
|
+
//# sourceMappingURL=execution-BGY24cO8.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execution-BGY24cO8.d.mts","names":[],"sources":["../src/core/contexts/execution.ts"],"mappings":""}
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;UA2BiB;EACf,UAAU"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentContext } from "@alloy-js/core";
|
|
2
2
|
import { MetaConfig } from "@power-plant/core";
|
|
3
|
-
|
|
4
3
|
//#region src/core/contexts/meta.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* The Meta context used in template rendering.
|
|
@@ -21,4 +20,4 @@ declare function useMeta(): Record<string, MetaConfig<any, any>>;
|
|
|
21
20
|
declare function useMetaSafe(): Record<string, MetaConfig<any, any>> | undefined;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { useMeta as n, useMetaSafe as r, MetaContext as t };
|
|
24
|
-
//# sourceMappingURL=meta-
|
|
23
|
+
//# sourceMappingURL=meta-ClbpDxeS.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta-ClbpDxeS.d.cts","names":[],"sources":["../src/core/contexts/meta.ts"],"mappings":";;;;;;cAyBa,aAAa,iBACxB,eAAe;;;;;;;iBASD,WAAW,eAAe;;;;;;iBAgB1B,eACd,eAAe"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentContext } from "@alloy-js/core";
|
|
2
2
|
import { MetaConfig } from "@power-plant/core";
|
|
3
|
-
|
|
4
3
|
//#region src/core/contexts/meta.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* The Meta context used in template rendering.
|
|
@@ -21,4 +20,4 @@ declare function useMeta(): Record<string, MetaConfig<any, any>>;
|
|
|
21
20
|
declare function useMetaSafe(): Record<string, MetaConfig<any, any>> | undefined;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { useMeta as n, useMetaSafe as r, MetaContext as t };
|
|
24
|
-
//# sourceMappingURL=meta-
|
|
23
|
+
//# sourceMappingURL=meta-ClbpDxeS.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta-ClbpDxeS.d.mts","names":[],"sources":["../src/core/contexts/meta.ts"],"mappings":""}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OutputProps } from "@alloy-js/core";
|
|
2
2
|
import { ExecutionContext, MetaConfig } from "@power-plant/core";
|
|
3
|
-
|
|
4
3
|
//#region src/core/components/output.d.ts
|
|
5
4
|
interface OutputProps$1<TContext extends ExecutionContext<any, any, any> = ExecutionContext<any, any, any>> extends Omit<OutputProps, "basePath"> {
|
|
6
5
|
/**
|
|
@@ -22,4 +21,4 @@ interface OutputProps$1<TContext extends ExecutionContext<any, any, any> = Execu
|
|
|
22
21
|
declare function Output<TContext extends ExecutionContext<any, any, any> = ExecutionContext<any, any, any>>(props: OutputProps$1<TContext>): import("@alloy-js/core").Children;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { OutputProps$1 as n, Output as t };
|
|
25
|
-
//# sourceMappingURL=output-
|
|
24
|
+
//# sourceMappingURL=output-BFL54LWl.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-BFL54LWl.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"mappings":";;;UA4BiB,cACf,iBAAiB,kCAAsC,yCAK/C,KAAK;;;;EAIb,SAAS;;;;EAKT,OAAO,eAAe,gBAAgB;;;;EAKtC,OAAO;;;;;iBAMO,OACd,iBAAiB,kCAAsC,iCAKvD,OAAO,cAAY,qCAAS"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OutputProps } from "@alloy-js/core";
|
|
2
2
|
import { ExecutionContext, MetaConfig } from "@power-plant/core";
|
|
3
|
-
|
|
4
3
|
//#region src/core/components/output.d.ts
|
|
5
4
|
interface OutputProps$1<TContext extends ExecutionContext<any, any, any> = ExecutionContext<any, any, any>> extends Omit<OutputProps, "basePath"> {
|
|
6
5
|
/**
|
|
@@ -22,4 +21,4 @@ interface OutputProps$1<TContext extends ExecutionContext<any, any, any> = Execu
|
|
|
22
21
|
declare function Output$1<TContext extends ExecutionContext<any, any, any> = ExecutionContext<any, any, any>>(props: OutputProps$1<TContext>): import("@alloy-js/core").Children;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { OutputProps$1 as n, Output$1 as t };
|
|
25
|
-
//# sourceMappingURL=output-
|
|
24
|
+
//# sourceMappingURL=output-CIbYv2pQ.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-CIbYv2pQ.d.mts","names":[],"sources":["../src/core/components/output.tsx"],"mappings":""}
|
package/dist/render.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Children } from "@alloy-js/core";
|
|
2
2
|
import { ExecutionContext, GeneratorFunctionResult } from "@power-plant/core";
|
|
3
|
-
|
|
4
3
|
//#region src/render.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* A function to render children components within the [Alloy](https://alloy-framework.github.io) context, and register any generated documents on the execution context.
|
package/dist/render.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render.d.cts","names":[],"sources":["../src/render.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"render.d.cts","names":[],"sources":["../src/render.tsx"],"mappings":";;;;;;;;;;;;;;;;;iBA8CsB,OAAO,OAAO,yBAAyB,iBAC3D,SAAS,iBAAiB,OAAO,UAAU,WAC3C,MAAM,OACN,UAAU,WACT,QAAQ,wBAAwB,OAAO"}
|
package/dist/render.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Children } from "@alloy-js/core";
|
|
2
2
|
import { ExecutionContext, GeneratorFunctionResult } from "@power-plant/core";
|
|
3
|
-
|
|
4
3
|
//#region src/render.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* A function to render children components within the [Alloy](https://alloy-framework.github.io) context, and register any generated documents on the execution context.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentContext } from "@alloy-js/core";
|
|
2
2
|
import { JsonSchemaLike } from "@power-plant/schema";
|
|
3
|
-
|
|
4
3
|
//#region src/core/contexts/schema.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* The schema context used in template rendering.
|
|
@@ -36,4 +35,4 @@ declare function useSchemaProperty(): JsonSchemaLike;
|
|
|
36
35
|
declare function useSchemaPropertySafe(): JsonSchemaLike | undefined;
|
|
37
36
|
//#endregion
|
|
38
37
|
export { useSchemaPropertySafe as a, useSchemaProperty as i, SchemaPropertyContext as n, useSchemaSafe as o, useSchema as r, SchemaContext as t };
|
|
39
|
-
//# sourceMappingURL=schema-
|
|
38
|
+
//# sourceMappingURL=schema-CkCXkDzU.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-CkCXkDzU.d.cts","names":[],"sources":["../src/core/contexts/schema.ts"],"mappings":";;;;;;cAyBa,eAAe,iBAAiB;;;;;;iBAQ7B,aAAa;;;;;;iBAgBb,iBAAiB;;;;cAOpB,uBAAuB,iBAAiB;;;;;;iBAQrC,qBAAiB;;;;;;iBAgBjB,yBAAyB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentContext } from "@alloy-js/core";
|
|
2
2
|
import { JsonSchemaLike } from "@power-plant/schema";
|
|
3
|
-
|
|
4
3
|
//#region src/core/contexts/schema.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* The schema context used in template rendering.
|
|
@@ -36,4 +35,4 @@ declare function useSchemaProperty(): JsonSchemaLike;
|
|
|
36
35
|
declare function useSchemaPropertySafe(): JsonSchemaLike | undefined;
|
|
37
36
|
//#endregion
|
|
38
37
|
export { useSchemaPropertySafe as a, useSchemaProperty as i, SchemaPropertyContext as n, useSchemaSafe as o, useSchema as r, SchemaContext as t };
|
|
39
|
-
//# sourceMappingURL=schema-
|
|
38
|
+
//# sourceMappingURL=schema-CkCXkDzU.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-CkCXkDzU.d.mts","names":[],"sources":["../src/core/contexts/schema.ts"],"mappings":""}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentContext } from "@alloy-js/core";
|
|
2
2
|
import { Device, SessionContext, Tenant, User } from "@power-plant/core";
|
|
3
|
-
|
|
4
3
|
//#region src/core/contexts/session.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* The session context used to access the session data.
|
|
@@ -60,4 +59,4 @@ declare function useTenant(): Tenant;
|
|
|
60
59
|
declare function useTenantSafe(): Tenant | undefined;
|
|
61
60
|
//#endregion
|
|
62
61
|
export { useSessionSafe as a, useUser as c, useSession as i, useUserSafe as l, useDevice as n, useTenant as o, useDeviceSafe as r, useTenantSafe as s, SessionContext$1 as t };
|
|
63
|
-
//# sourceMappingURL=session-
|
|
62
|
+
//# sourceMappingURL=session-CFnVWg4N.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-CFnVWg4N.d.cts","names":[],"sources":["../src/core/contexts/session.ts"],"mappings":";;;;;;cA8Ba,kBAAgB,iBAAiB;;;;;;;iBAS9B,cAAc;;;;;;iBAgBd,kBAAkB;;;;;;;iBAUlB,aAAa;;;;;;iBAWb,iBAAiB;;;;;;;iBAYjB,WAAW;;;;;;iBAWX,eAAe;;;;;;;iBAYf,aAAa;;;;;;iBAWb,iBAAiB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentContext } from "@alloy-js/core";
|
|
2
2
|
import { Device, SessionContext, Tenant, User } from "@power-plant/core";
|
|
3
|
-
|
|
4
3
|
//#region src/core/contexts/session.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* The session context used to access the session data.
|
|
@@ -60,4 +59,4 @@ declare function useTenant(): Tenant;
|
|
|
60
59
|
declare function useTenantSafe(): Tenant | undefined;
|
|
61
60
|
//#endregion
|
|
62
61
|
export { useSessionSafe as a, useUser as c, useSession as i, useUserSafe as l, useDevice as n, useTenant as o, useDeviceSafe as r, useTenantSafe as s, SessionContext$1 as t };
|
|
63
|
-
//# sourceMappingURL=session-
|
|
62
|
+
//# sourceMappingURL=session-CFnVWg4N.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-CFnVWg4N.d.mts","names":[],"sources":["../src/core/contexts/session.ts"],"mappings":""}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { t as ComponentProps } from "./components-
|
|
2
|
-
|
|
1
|
+
import { t as ComponentProps } from "./components-vJaCHt1A.cjs";
|
|
3
2
|
//#region src/core/components/single-line-comment.d.ts
|
|
4
3
|
type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown" | "yaml" | "hcl";
|
|
5
4
|
interface SingleLineCommentProps extends ComponentProps {
|
|
@@ -17,4 +16,4 @@ interface SingleLineCommentProps extends ComponentProps {
|
|
|
17
16
|
declare function SingleLineComment(props: SingleLineCommentProps): import("@alloy-js/core").Children;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
|
|
20
|
-
//# sourceMappingURL=single-line-comment-
|
|
19
|
+
//# sourceMappingURL=single-line-comment-BbbyteDv.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single-line-comment-BbbyteDv.d.cts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"mappings":";;KAqBY;UASK,+BAA+B;;;;;;EAM9C,UAAU;;;;;;iBAOI,kBAAkB,OAAO,kDAAsB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { t as ComponentProps } from "./components-
|
|
2
|
-
|
|
1
|
+
import { t as ComponentProps } from "./components-vJaCHt1A.mjs";
|
|
3
2
|
//#region src/core/components/single-line-comment.d.ts
|
|
4
3
|
type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown" | "yaml" | "hcl";
|
|
5
4
|
interface SingleLineCommentProps extends ComponentProps {
|
|
@@ -17,4 +16,4 @@ interface SingleLineCommentProps extends ComponentProps {
|
|
|
17
16
|
declare function SingleLineComment(props: SingleLineCommentProps): import("@alloy-js/core").Children;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
|
|
20
|
-
//# sourceMappingURL=single-line-comment-
|
|
19
|
+
//# sourceMappingURL=single-line-comment-DB4XWAmh.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single-line-comment-DB4XWAmh.d.mts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"mappings":""}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as ComponentProps } from "./components-
|
|
1
|
+
import { t as ComponentProps } from "./components-vJaCHt1A.cjs";
|
|
2
2
|
import { SourceFileProps } from "@alloy-js/core";
|
|
3
3
|
import { MetaConfig } from "@power-plant/core";
|
|
4
|
-
|
|
5
4
|
//#region src/core/components/source-file.d.ts
|
|
6
5
|
type SourceFileProps$1<TSpec, TOptions extends object> = SourceFileProps & ComponentProps & {
|
|
7
6
|
/**
|
|
@@ -21,4 +20,4 @@ type SourceFileProps$1<TSpec, TOptions extends object> = SourceFileProps & Compo
|
|
|
21
20
|
declare function SourceFile<TSpec, TOptions extends object>(props: SourceFileProps$1<TSpec, TOptions>): import("@alloy-js/core").Children;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { SourceFileProps$1 as n, SourceFile as t };
|
|
24
|
-
//# sourceMappingURL=source-file-
|
|
23
|
+
//# sourceMappingURL=source-file-CPJOENVo.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-file-CPJOENVo.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"mappings":";;;;KAkCY,kBACV,OACA,2BACE,kBACF;;;;;;;EAOE,OAAO,WAAW,OAAO;;;;;;;;iBASb,WAAW,OAAO,yBAChC,OAAO,kBAAgB,OAAO,qCAAS"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as ComponentProps } from "./components-
|
|
1
|
+
import { t as ComponentProps } from "./components-vJaCHt1A.mjs";
|
|
2
2
|
import { SourceFileProps } from "@alloy-js/core";
|
|
3
3
|
import { MetaConfig } from "@power-plant/core";
|
|
4
|
-
|
|
5
4
|
//#region src/core/components/source-file.d.ts
|
|
6
5
|
type SourceFileProps$1<TSpec, TOptions extends object> = SourceFileProps & ComponentProps & {
|
|
7
6
|
/**
|
|
@@ -21,4 +20,4 @@ type SourceFileProps$1<TSpec, TOptions extends object> = SourceFileProps & Compo
|
|
|
21
20
|
declare function SourceFile<TSpec, TOptions extends object>(props: SourceFileProps$1<TSpec, TOptions>): import("@alloy-js/core").Children;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { SourceFileProps$1 as n, SourceFile as t };
|
|
24
|
-
//# sourceMappingURL=source-file-
|
|
23
|
+
//# sourceMappingURL=source-file-DVILH8rC.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-file-DVILH8rC.d.mts","names":[],"sources":["../src/core/components/source-file.tsx"],"mappings":""}
|
|
@@ -13,9 +13,7 @@ interface SpacingProps {
|
|
|
13
13
|
/**
|
|
14
14
|
* A simple component that renders two horizontal breaks to create vertical spacing between elements.
|
|
15
15
|
*/
|
|
16
|
-
declare function Spacing({
|
|
17
|
-
scale
|
|
18
|
-
}: SpacingProps): import("@alloy-js/core").Children;
|
|
16
|
+
declare function Spacing({ scale }: SpacingProps): import("@alloy-js/core").Children;
|
|
19
17
|
//#endregion
|
|
20
18
|
export { SpacingProps as n, Spacing as t };
|
|
21
|
-
//# sourceMappingURL=spacing-
|
|
19
|
+
//# sourceMappingURL=spacing-HIHoQdxS.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing-HIHoQdxS.d.cts","names":[],"sources":["../src/core/components/spacing.tsx"],"mappings":";UAoBiB;;;;;;;;;EASf;;;;;iBAMc,UAAU,SAAa,wCAAY"}
|
|
@@ -13,9 +13,7 @@ interface SpacingProps {
|
|
|
13
13
|
/**
|
|
14
14
|
* A simple component that renders two horizontal breaks to create vertical spacing between elements.
|
|
15
15
|
*/
|
|
16
|
-
declare function Spacing({
|
|
17
|
-
scale
|
|
18
|
-
}: SpacingProps): import("@alloy-js/core").Children;
|
|
16
|
+
declare function Spacing({ scale }: SpacingProps): import("@alloy-js/core").Children;
|
|
19
17
|
//#endregion
|
|
20
18
|
export { SpacingProps as n, Spacing as t };
|
|
21
|
-
//# sourceMappingURL=spacing-
|
|
19
|
+
//# sourceMappingURL=spacing-HIHoQdxS.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing-HIHoQdxS.d.mts","names":[],"sources":["../src/core/components/spacing.tsx"],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@power-plant/alloy-js",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Power Plant generator for using Alloy JS to generate source code.",
|
|
6
6
|
"keywords": [
|
|
@@ -307,8 +307,8 @@
|
|
|
307
307
|
"dependencies": {
|
|
308
308
|
"@alloy-js/core": "^0.24.1",
|
|
309
309
|
"@alloy-js/typescript": "^0.24.0",
|
|
310
|
-
"@power-plant/core": "^0.0.
|
|
311
|
-
"@power-plant/schema": "^0.0.
|
|
310
|
+
"@power-plant/core": "^0.0.8",
|
|
311
|
+
"@power-plant/schema": "^0.0.8",
|
|
312
312
|
"@stryke/convert": "^0.7.26",
|
|
313
313
|
"@stryke/type-checks": "^0.6.28",
|
|
314
314
|
"@stryke/types": "^0.12.23",
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
"@babel/preset-typescript": "^8.0.1",
|
|
321
321
|
"@powerlines/plugin-babel": "^0.13.138",
|
|
322
322
|
"@powerlines/plugin-tsdown": "^0.1.543",
|
|
323
|
-
"@types/node": "^25.9.
|
|
323
|
+
"@types/node": "^25.9.5",
|
|
324
324
|
"powerlines": "^0.47.142"
|
|
325
325
|
},
|
|
326
326
|
"peerDependencies": { "@alloy-js/babel-preset": ">=0.3.0" },
|
|
@@ -333,5 +333,5 @@
|
|
|
333
333
|
"graphql": "17.0.2",
|
|
334
334
|
"zod": "4.4.3"
|
|
335
335
|
},
|
|
336
|
-
"gitHead": "
|
|
336
|
+
"gitHead": "f14ed61b293234602c1c1e2e4419f966f5cd9525"
|
|
337
337
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"code-Cw63m9E5.d.mts","names":[],"sources":["../src/core/helpers/code.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"code-DwEnLBw3.d.cts","names":[],"sources":["../src/core/helpers/code.ts"],"mappings":";;;;;AA2CA;;;;;;;;;;;;;;AAGW;;;;;;iBAHK,IAAA,CACd,QAAA,EAAU,oBAAA,KACP,aAAA,EAAe,QAAA,KACjB,QAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components-Lfo1yjgU.d.cts","names":[],"sources":["../src/core/types/components.ts"],"mappings":";;;;KAqBY,UAAA,mCAA6C,IAAA,CACvD,iBAAA,CAAkB,KAAA,EAAO,QAAA;EAGzB,IAAA;AAAA;AAAA,UAGe,eAAA;EACf,IAAA;EACA,IAAA;EACA,OAAA,GAAU,eAAA,CAAgB,KAAA,EAAO,QAAA,IAAY,UAAA,CAAW,KAAA,EAAO,QAAA;AAAA;;;;UAMhD,cAAA;EACf,QAAA,GAAW,QAAQ;AAAA;;;;KAMT,0BAAA,GAA6B,IAAA,CAAK,cAAA,gBAC5C,QAAA,CAAS,IAAA,CAAK,cAAA;AAAA,UAEC,qBAAA,SAA8B,cAAc;EAtBvD;AAGN;;;;;;EA2BE,aAAA;EAxB+D;;;;;;;EAiC/D,YAAA;EAjCA;;;;;;;EA0CA,aAAA;EA1CuE;AAMzE;;;;EA2CE,eAAA;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components-Lfo1yjgU.d.mts","names":[],"sources":["../src/core/types/components.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"execution-CqOWMsST.d.cts","names":[],"sources":["../src/core/contexts/execution.ts"],"mappings":";;;;;;AAyBA;cAAa,kBAAA,EAAkB,gBAAgB,CAC7C,gBAAA;;;AAAoB;AAStB;;;iBAAgB,YAAA,IAAgB,gBAAoB;AAAA;AAgBpD;;;;AAhBoD,iBAgBpC,gBAAA,IACd,gBAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"execution-CqOWMsST.d.mts","names":[],"sources":["../src/core/contexts/execution.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta-CDUo2qw9.d.cts","names":[],"sources":["../src/core/contexts/meta.ts"],"mappings":";;;;;;AAyBA;cAAa,WAAA,EAAa,gBAAA,CACxB,MAAA,SAAe,UAAA;;;;;;;iBASD,OAAA,IAAW,MAAM,SAAS,UAAA;;;;AATf;AAS3B;iBAgBgB,WAAA,IACd,MAAM,SAAS,UAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta-CDUo2qw9.d.mts","names":[],"sources":["../src/core/contexts/meta.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-Cd9yv0DZ.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"mappings":";;;;UA4BiB,aAAA,kBACE,gBAAA,kBAAsC,gBAAA,yBAK/C,IAAA,CAAK,WAAA;;AANf;;EAUE,OAAA,EAAS,QAAA;EATQ;;;EAcjB,IAAA,GAAO,MAAA,SAAe,UAAA,MAAgB,QAAA;EAAA;;;EAKtC,IAAA,GAAO,QAAA;AAAA;;;;iBAMO,MAAA,kBACG,gBAAA,kBAAsC,gBAAA,iBAKvD,KAAA,EAAO,aAAA,CAAY,QAAA,6BAAS,QAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-D_ovZIyg.d.mts","names":[],"sources":["../src/core/components/output.tsx"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema-pTK0-GHm.d.cts","names":[],"sources":["../src/core/contexts/schema.ts"],"mappings":";;;;;;AAyBA;cAAa,aAAA,EAAe,gBAAgB,CAAC,cAAA;;;AAAc;AAQ3D;;iBAAgB,SAAA,IAAa,cAAc;;AAAA;AAgB3C;;;iBAAgB,aAAA,IAAiB,cAAc;AAAA;AAO/C;;AAP+C,cAOlC,qBAAA,EAAuB,gBAAgB,CAAC,cAAA;;AAAc;AAQnE;;;iBAAgB,iBAAA,IAAiB,cAAA;AAAA;AAgBjC;;;;AAhBiC,iBAgBjB,qBAAA,IAAyB,cAAc"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema-pTK0-GHm.d.mts","names":[],"sources":["../src/core/contexts/schema.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-CyeJNmog.d.cts","names":[],"sources":["../src/core/contexts/session.ts"],"mappings":";;;;;;AA8BA;cAAa,gBAAA,EAAgB,gBAAgB,CAAC,cAAA;;;AAAkB;AAShE;;;iBAAgB,UAAA,IAAc,cAAkB;AAAA;AAgBhD;;;;AAhBgD,iBAgBhC,cAAA,IAAkB,cAAkB;AAUpD;;;;AAAmC;AAWnC;AAXA,iBAAgB,SAAA,IAAa,MAAM;;;AAWI;AAYvC;;iBAZgB,aAAA,IAAiB,MAAM;;AAYR;AAW/B;;;;iBAXgB,OAAA,IAAW,IAAI;AAuB/B;;;;AAAmC;AAAnC,iBAZgB,WAAA,IAAe,IAAI;;;;AAuBI;;;iBAXvB,SAAA,IAAa,MAAM;;;;;;iBAWnB,aAAA,IAAiB,MAAM"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-CyeJNmog.d.mts","names":[],"sources":["../src/core/contexts/session.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"single-line-comment-CLBiy5aI.d.mts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"single-line-comment-WhWXKvku.d.cts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"mappings":";;;KAqBY,wBAAA;AAAA,UASK,sBAAA,SAA+B,cAAc;EATlD;;;;AAAwB;EAelC,OAAA,GAAU,wBAAA;AAAA;;;;;iBAOI,iBAAA,CAAkB,KAAA,EAAO,sBAAsB,4BAAA,QAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source-file-CW1A6SJ9.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"mappings":";;;;;KAkCY,iBAAA,mCAGR,eAAA,GACF,cAAA;;AAJF;;;;;EAWI,IAAA,GAAO,UAAA,CAAW,KAAA,EAAO,QAAA;AAAA;;;;;;;iBASb,UAAA,iCACd,KAAA,EAAO,iBAAA,CAAgB,KAAA,EAAO,QAAA,6BAAS,QAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source-file-Cn1xO9t5.d.mts","names":[],"sources":["../src/core/components/source-file.tsx"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spacing-CGrdAoZW.d.cts","names":[],"sources":["../src/core/components/spacing.tsx"],"mappings":";UAoBiB,YAAA;EAAA;;;;AASV;AAMP;;;EANE,KAAK;AAAA;;;;iBAMS,OAAA;EAAU;AAAA,GAAa,YAAY,4BAAA,QAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spacing-CGrdAoZW.d.mts","names":[],"sources":["../src/core/components/spacing.tsx"],"mappings":""}
|