@refrakt-md/types 0.2.0 → 0.4.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.
Files changed (101) hide show
  1. package/dist/index.d.ts +20 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +19 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/schema/annotate.d.ts +24 -0
  6. package/dist/schema/annotate.d.ts.map +1 -0
  7. package/dist/schema/annotate.js +6 -0
  8. package/dist/schema/annotate.js.map +1 -0
  9. package/dist/schema/api.d.ts +18 -0
  10. package/dist/schema/api.d.ts.map +1 -0
  11. package/dist/schema/api.js +6 -0
  12. package/dist/schema/api.js.map +1 -0
  13. package/dist/schema/bento.d.ts +30 -0
  14. package/dist/schema/bento.d.ts.map +1 -0
  15. package/dist/schema/bento.js +9 -0
  16. package/dist/schema/bento.js.map +1 -0
  17. package/dist/schema/cast.d.ts +32 -0
  18. package/dist/schema/cast.d.ts.map +1 -0
  19. package/dist/schema/cast.js +10 -0
  20. package/dist/schema/cast.js.map +1 -0
  21. package/dist/schema/chart.d.ts +18 -0
  22. package/dist/schema/chart.d.ts.map +1 -0
  23. package/dist/schema/chart.js +6 -0
  24. package/dist/schema/chart.js.map +1 -0
  25. package/dist/schema/codegroup.d.ts +20 -0
  26. package/dist/schema/codegroup.d.ts.map +1 -0
  27. package/dist/schema/codegroup.js +6 -0
  28. package/dist/schema/codegroup.js.map +1 -0
  29. package/dist/schema/comparison.d.ts +59 -0
  30. package/dist/schema/comparison.d.ts.map +1 -0
  31. package/dist/schema/comparison.js +20 -0
  32. package/dist/schema/comparison.js.map +1 -0
  33. package/dist/schema/conversation.d.ts +28 -0
  34. package/dist/schema/conversation.d.ts.map +1 -0
  35. package/dist/schema/conversation.js +8 -0
  36. package/dist/schema/conversation.js.map +1 -0
  37. package/dist/schema/cta.d.ts +2 -4
  38. package/dist/schema/cta.d.ts.map +1 -1
  39. package/dist/schema/datatable.d.ts +20 -0
  40. package/dist/schema/datatable.d.ts.map +1 -0
  41. package/dist/schema/datatable.js +7 -0
  42. package/dist/schema/datatable.js.map +1 -0
  43. package/dist/schema/diagram.d.ts +16 -0
  44. package/dist/schema/diagram.d.ts.map +1 -0
  45. package/dist/schema/diagram.js +5 -0
  46. package/dist/schema/diagram.js.map +1 -0
  47. package/dist/schema/diff.d.ts +13 -0
  48. package/dist/schema/diff.d.ts.map +1 -0
  49. package/dist/schema/diff.js +5 -0
  50. package/dist/schema/diff.js.map +1 -0
  51. package/dist/schema/event.d.ts +22 -0
  52. package/dist/schema/event.d.ts.map +1 -0
  53. package/dist/schema/event.js +8 -0
  54. package/dist/schema/event.js.map +1 -0
  55. package/dist/schema/form.d.ts +46 -0
  56. package/dist/schema/form.d.ts.map +1 -0
  57. package/dist/schema/form.js +17 -0
  58. package/dist/schema/form.js.map +1 -0
  59. package/dist/schema/hero.d.ts +3 -0
  60. package/dist/schema/hero.d.ts.map +1 -1
  61. package/dist/schema/hero.js +1 -0
  62. package/dist/schema/hero.js.map +1 -1
  63. package/dist/schema/howto.d.ts +19 -0
  64. package/dist/schema/howto.d.ts.map +1 -0
  65. package/dist/schema/howto.js +6 -0
  66. package/dist/schema/howto.js.map +1 -0
  67. package/dist/schema/organization.d.ts +16 -0
  68. package/dist/schema/organization.d.ts.map +1 -0
  69. package/dist/schema/organization.js +5 -0
  70. package/dist/schema/organization.js.map +1 -0
  71. package/dist/schema/pricing.d.ts +8 -2
  72. package/dist/schema/pricing.d.ts.map +1 -1
  73. package/dist/schema/pricing.js +1 -0
  74. package/dist/schema/pricing.js.map +1 -1
  75. package/dist/schema/recipe.d.ts +38 -0
  76. package/dist/schema/recipe.d.ts.map +1 -0
  77. package/dist/schema/recipe.js +13 -0
  78. package/dist/schema/recipe.js.map +1 -0
  79. package/dist/schema/reveal.d.ts +28 -0
  80. package/dist/schema/reveal.d.ts.map +1 -0
  81. package/dist/schema/reveal.js +8 -0
  82. package/dist/schema/reveal.js.map +1 -0
  83. package/dist/schema/sidenote.d.ts +14 -0
  84. package/dist/schema/sidenote.d.ts.map +1 -0
  85. package/dist/schema/sidenote.js +4 -0
  86. package/dist/schema/sidenote.js.map +1 -0
  87. package/dist/schema/storyboard.d.ts +30 -0
  88. package/dist/schema/storyboard.d.ts.map +1 -0
  89. package/dist/schema/storyboard.js +8 -0
  90. package/dist/schema/storyboard.js.map +1 -0
  91. package/dist/serialized.d.ts +9 -0
  92. package/dist/serialized.d.ts.map +1 -0
  93. package/dist/serialized.js +2 -0
  94. package/dist/serialized.js.map +1 -0
  95. package/dist/theme.d.ts +2 -0
  96. package/dist/theme.d.ts.map +1 -1
  97. package/package.json +1 -1
  98. package/dist/schema/editor.d.ts +0 -15
  99. package/dist/schema/editor.d.ts.map +0 -1
  100. package/dist/schema/editor.js +0 -4
  101. package/dist/schema/editor.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/schema/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAE/D,qBAAa,KAAM,SAAQ,WAAW;IACrC,IAAI,EAAE,MAAM,CAAM;IAClB,OAAO,EAAE,MAAM,CAAM;IACrB,QAAQ,EAAE,MAAM,CAAM;IACtB,GAAG,EAAE,MAAM,CAAM;CACjB;AAED,MAAM,WAAW,eAAgB,SAAQ,qBAAqB;IAC7D,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,cAAe,SAAQ,aAAa,CAAC,KAAK,CAAC;IAC3D,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE,eAAe,CAAC;IAC5B,IAAI,EAAE;QACL,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD"}
@@ -0,0 +1,8 @@
1
+ import { PageSection } from "./page.js";
2
+ export class Event extends PageSection {
3
+ date = '';
4
+ endDate = '';
5
+ location = '';
6
+ url = '';
7
+ }
8
+ //# sourceMappingURL=event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/schema/event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAyB,MAAM,WAAW,CAAC;AAE/D,MAAM,OAAO,KAAM,SAAQ,WAAW;IACrC,IAAI,GAAW,EAAE,CAAC;IAClB,OAAO,GAAW,EAAE,CAAC;IACrB,QAAQ,GAAW,EAAE,CAAC;IACtB,GAAG,GAAW,EAAE,CAAC;CACjB"}
@@ -0,0 +1,46 @@
1
+ import { ComponentType } from "../interfaces.js";
2
+ export declare class FormField {
3
+ name: string;
4
+ fieldType: string;
5
+ required: string;
6
+ placeholder: string;
7
+ options: string;
8
+ }
9
+ export interface FormFieldComponent extends ComponentType<FormField> {
10
+ tag: 'div';
11
+ properties: {
12
+ name: 'span';
13
+ fieldType: 'meta';
14
+ required: 'meta';
15
+ placeholder: 'meta';
16
+ options: 'meta';
17
+ };
18
+ refs: {
19
+ body: 'div';
20
+ };
21
+ }
22
+ export declare class Form {
23
+ action: string;
24
+ method: string;
25
+ success: string;
26
+ error: string;
27
+ style: string;
28
+ honeypot: string;
29
+ field: FormField[];
30
+ }
31
+ export interface FormComponent extends ComponentType<Form> {
32
+ tag: 'div';
33
+ properties: {
34
+ action: 'meta';
35
+ method: 'meta';
36
+ success: 'meta';
37
+ error: 'meta';
38
+ style: 'meta';
39
+ honeypot: 'meta';
40
+ field: 'div';
41
+ };
42
+ refs: {
43
+ body: 'div';
44
+ };
45
+ }
46
+ //# sourceMappingURL=form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../src/schema/form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,C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options = '';
7
+ }
8
+ export class Form {
9
+ action = '';
10
+ method = 'POST';
11
+ success = '';
12
+ error = '';
13
+ style = 'stacked';
14
+ honeypot = 'true';
15
+ field = [];
16
+ }
17
+ //# sourceMappingURL=form.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.js","sourceRoot":"","sources":["../../src/schema/form.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,SAAS;IACrB,IAAI,GAAW,EAAE,CAAC;IAClB,SAAS,GAAW,MAAM,CAAC;IAC3B,QAAQ,GAAW,MAAM,CAAC;IAC1B,WAAW,GAAW,EAAE,CAAC;IACzB,OAAO,GAAW,EAAE,CAAC;CACrB;AAgBD,MAAM,OAAO,IAAI;IAChB,MAAM,GAAW,EAAE,CAAC;IACpB,MAAM,GAAW,MAAM,CAAC;IACxB,OAAO,GAAW,EAAE,CAAC;IACrB,KAAK,GAAW,EAAE,CAAC;IACnB,KAAK,GAAW,SAAS,CAAC;IAC1B,QAAQ,GAAW,MAAM,CAAC;IAC1B,KAAK,GAAgB,EAAE,CAAC;CACxB"}
@@ -1,9 +1,11 @@
1
1
  import { ComponentType } from "../interfaces.js";
2
+ import { Command, LinkItem } from "./common.js";
2
3
  import { PageSection, PageSectionProperties } from "./page.js";
3
4
  export declare class Hero extends PageSection {
4
5
  background: string;
5
6
  backgroundImage: string;
6
7
  align: string;
8
+ action: (LinkItem | Command)[];
7
9
  }
8
10
  export interface HeroComponent extends ComponentType<Hero> {
9
11
  tag: 'section';
@@ -11,6 +13,7 @@ export interface HeroComponent extends ComponentType<Hero> {
11
13
  background: 'meta';
12
14
  backgroundImage: 'meta';
13
15
  align: 'meta';
16
+ action: 'li' | 'div';
14
17
  };
15
18
  refs: {
16
19
  actions: 'div';
@@ -1 +1 @@
1
- {"version":3,"file":"hero.d.ts","sourceRoot":"","sources":["../../src/schema/hero.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,W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,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD"}
@@ -3,5 +3,6 @@ export class Hero extends PageSection {
3
3
  background = '';
4
4
  backgroundImage = '';
5
5
  align = 'center';
6
+ action = [];
6
7
  }
7
8
  //# sourceMappingURL=hero.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hero.js","sourceRoot":"","sources":["../../src/schema/hero.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAyB,MAAM,WAAW,CAAC;AAE/D,MAAM,OAAO,IAAK,SAAQ,WAAW;IACpC,UAAU,GAAW,EAAE,CAAC;IACxB,eAAe,GAAW,EAAE,CAAC;IAC7B,KAAK,GAAW,QAAQ,CAAC;CACzB"}
1
+ {"version":3,"file":"hero.js","sourceRoot":"","sources":["../../src/schema/hero.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAyB,MAAM,WAAW,CAAC;AAE/D,MAAM,OAAO,IAAK,SAAQ,WAAW;IACpC,UAAU,GAAW,EAAE,CAAC;IACxB,eAAe,GAAW,EAAE,CAAC;IAC7B,KAAK,GAAW,QAAQ,CAAC;IACzB,MAAM,GAA2B,EAAE,CAAC;CACpC"}
@@ -0,0 +1,19 @@
1
+ import { ComponentType } from "../interfaces.js";
2
+ import { PageSection, PageSectionProperties } from "./page.js";
3
+ export declare class HowTo extends PageSection {
4
+ estimatedTime: string;
5
+ difficulty: string;
6
+ }
7
+ export interface HowToProperties extends PageSectionProperties {
8
+ estimatedTime: 'meta';
9
+ difficulty: 'meta';
10
+ }
11
+ export interface HowToComponent extends ComponentType<HowTo> {
12
+ tag: 'article';
13
+ properties: HowToProperties;
14
+ refs: {
15
+ tools: 'ul';
16
+ steps: 'ol';
17
+ };
18
+ }
19
+ //# sourceMappingURL=howto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"howto.d.ts","sourceRoot":"","sources":["../../src/schema/howto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAE/D,qBAAa,KAAM,SAAQ,WAAW;IACrC,aAAa,EAAE,MAAM,CAAM;IAC3B,UAAU,EAAE,MAAM,CAAM;CACxB;AAED,MAAM,WAAW,eAAgB,SAAQ,qBAAqB;IAC7D,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,cAAe,SAAQ,aAAa,CAAC,KAAK,CAAC;IAC3D,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE,eAAe,CAAC;IAC5B,IAAI,EAAE;QACL,KAAK,EAAE,IAAI,CAAC;QACZ,KAAK,EAAE,IAAI,CAAC;KACZ,CAAA;CACD"}
@@ -0,0 +1,6 @@
1
+ import { PageSection } from "./page.js";
2
+ export class HowTo extends PageSection {
3
+ estimatedTime = '';
4
+ difficulty = '';
5
+ }
6
+ //# sourceMappingURL=howto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"howto.js","sourceRoot":"","sources":["../../src/schema/howto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAyB,MAAM,WAAW,CAAC;AAE/D,MAAM,OAAO,KAAM,SAAQ,WAAW;IACrC,aAAa,GAAW,EAAE,CAAC;IAC3B,UAAU,GAAW,EAAE,CAAC;CACxB"}
@@ -0,0 +1,16 @@
1
+ import { ComponentType } from "../interfaces.js";
2
+ import { PageSection, PageSectionProperties } from "./page.js";
3
+ export declare class Organization extends PageSection {
4
+ type: string;
5
+ }
6
+ export interface OrganizationProperties extends PageSectionProperties {
7
+ type: 'meta';
8
+ }
9
+ export interface OrganizationComponent extends ComponentType<Organization> {
10
+ tag: 'article';
11
+ properties: OrganizationProperties;
12
+ refs: {
13
+ body: 'div';
14
+ };
15
+ }
16
+ //# sourceMappingURL=organization.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/schema/organization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAE/D,qBAAa,YAAa,SAAQ,WAAW;IAC5C,IAAI,EAAE,MAAM,CAAkB;CAC9B;AAED,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;IACpE,IAAI,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,qBAAsB,SAAQ,aAAa,CAAC,YAAY,CAAC;IACzE,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE,sBAAsB,CAAC;IACnC,IAAI,EAAE;QACL,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD"}
@@ -0,0 +1,5 @@
1
+ import { PageSection } from "./page.js";
2
+ export class Organization extends PageSection {
3
+ type = 'Organization';
4
+ }
5
+ //# sourceMappingURL=organization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization.js","sourceRoot":"","sources":["../../src/schema/organization.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAyB,MAAM,WAAW,CAAC;AAE/D,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC5C,IAAI,GAAW,cAAc,CAAC;CAC9B"}
@@ -4,6 +4,7 @@ export declare class Tier {
4
4
  name: string | undefined;
5
5
  description: string | undefined;
6
6
  price: string | undefined;
7
+ currency: string | undefined;
7
8
  url: string | undefined;
8
9
  }
9
10
  export interface TierComponent extends ComponentType<Tier> {
@@ -12,9 +13,12 @@ export interface TierComponent extends ComponentType<Tier> {
12
13
  name: 'h1';
13
14
  description: 'p';
14
15
  price: 'p';
16
+ currency: 'meta';
15
17
  url: 'a';
16
18
  };
17
- refs: {};
19
+ refs: {
20
+ body: 'div';
21
+ };
18
22
  }
19
23
  export declare class Pricing extends PageSection {
20
24
  tier: Tier[];
@@ -25,6 +29,8 @@ export interface PricingProperties extends PageSectionProperties {
25
29
  export interface PricingComponent extends ComponentType<Pricing> {
26
30
  tag: 'section';
27
31
  properties: PricingProperties;
28
- refs: {};
32
+ refs: {
33
+ tiers: 'ul';
34
+ };
29
35
  }
30
36
  //# sourceMappingURL=pricing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pricing.d.ts","sourceRoot":"","sources":["../../src/schema/pricing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAE/D,qBAAa,IAAI;IACf,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IACrC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAa;IAC5C,KAAK,EAAE,MAAM,GAAG,SAAS,CAAa;IACtC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;CACrC;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa,CAAC,IAAI,CAAC;IACxD,GAAG,EAAE,IAAI,CAAC;IACV,UAAU,EAAE;QACV,IAAI,EAAE,IAAI,CAAC;QACX,WAAW,EAAE,GAAG,CAAC;QACjB,KAAK,EAAE,GAAG,CAAC;QACX,GAAG,EAAE,GAAG,CAAC;KACV,CAAC;IACF,IAAI,EAAE,EAAE,CAAA;CACT;AAED,qBAAa,OAAQ,SAAQ,WAAW;IACtC,IAAI,EAAE,IAAI,EAAE,CAAM;CACnB;AAED,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC9D,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,MAAM,WAAW,gBAAiB,SAAQ,aAAa,CAAC,OAAO,CAAC;IAC9D,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE,iBAAiB,CAAC;IAC9B,IAAI,EAAE,EAAE,CAAA;CACT"}
1
+ {"version":3,"file":"pricing.d.ts","sourceRoot":"","sources":["../../src/schema/pricing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAE/D,qBAAa,IAAI;IACf,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IACrC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAa;IAC5C,KAAK,EAAE,MAAM,GAAG,SAAS,CAAa;IACtC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAa;IACzC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;CACrC;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa,CAAC,IAAI,CAAC;IACxD,GAAG,EAAE,IAAI,CAAC;IACV,UAAU,EAAE;QACV,IAAI,EAAE,IAAI,CAAC;QACX,WAAW,EAAE,GAAG,CAAC;QACjB,KAAK,EAAE,GAAG,CAAC;QACX,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,GAAG,CAAC;KACV,CAAC;IACF,IAAI,EAAE;QAAE,IAAI,EAAE,KAAK,CAAA;KAAE,CAAA;CACtB;AAED,qBAAa,OAAQ,SAAQ,WAAW;IACtC,IAAI,EAAE,IAAI,EAAE,CAAM;CACnB;AAED,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC9D,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,MAAM,WAAW,gBAAiB,SAAQ,aAAa,CAAC,OAAO,CAAC;IAC9D,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE,iBAAiB,CAAC;IAC9B,IAAI,EAAE;QAAE,KAAK,EAAE,IAAI,CAAA;KAAE,CAAA;CACtB"}
@@ -3,6 +3,7 @@ export class Tier {
3
3
  name = undefined;
4
4
  description = undefined;
5
5
  price = undefined;
6
+ currency = undefined;
6
7
  url = undefined;
7
8
  }
8
9
  export class Pricing extends PageSection {
@@ -1 +1 @@
1
- {"version":3,"file":"pricing.js","sourceRoot":"","sources":["../../src/schema/pricing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAyB,MAAM,WAAW,CAAC;AAE/D,MAAM,OAAO,IAAI;IACf,IAAI,GAAuB,SAAS,CAAC;IACrC,WAAW,GAAuB,SAAS,CAAC;IAC5C,KAAK,GAAuB,SAAS,CAAC;IACtC,GAAG,GAAuB,SAAS,CAAC;CACrC;AAaD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC,IAAI,GAAW,EAAE,CAAC;CACnB"}
1
+ {"version":3,"file":"pricing.js","sourceRoot":"","sources":["../../src/schema/pricing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAyB,MAAM,WAAW,CAAC;AAE/D,MAAM,OAAO,IAAI;IACf,IAAI,GAAuB,SAAS,CAAC;IACrC,WAAW,GAAuB,SAAS,CAAC;IAC5C,KAAK,GAAuB,SAAS,CAAC;IACtC,QAAQ,GAAuB,SAAS,CAAC;IACzC,GAAG,GAAuB,SAAS,CAAC;CACrC;AAcD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC,IAAI,GAAW,EAAE,CAAC;CACnB"}
@@ -0,0 +1,38 @@
1
+ import { ComponentType } from "../interfaces.js";
2
+ import { PageSection, PageSectionProperties } from "./page.js";
3
+ export declare class RecipeIngredient {
4
+ amount: string;
5
+ unit: string;
6
+ name: string;
7
+ }
8
+ export interface RecipeIngredientComponent extends ComponentType<RecipeIngredient> {
9
+ tag: 'li';
10
+ properties: {
11
+ amount: 'span';
12
+ unit: 'span';
13
+ name: 'span';
14
+ };
15
+ refs: {};
16
+ }
17
+ export declare class Recipe extends PageSection {
18
+ prepTime: string;
19
+ cookTime: string;
20
+ servings: number | undefined;
21
+ difficulty: string;
22
+ }
23
+ export interface RecipeProperties extends PageSectionProperties {
24
+ prepTime: 'meta';
25
+ cookTime: 'meta';
26
+ servings: 'meta';
27
+ difficulty: 'meta';
28
+ }
29
+ export interface RecipeComponent extends ComponentType<Recipe> {
30
+ tag: 'article';
31
+ properties: RecipeProperties;
32
+ refs: {
33
+ ingredients: 'ul';
34
+ steps: 'ol';
35
+ tips: 'div';
36
+ };
37
+ }
38
+ //# sourceMappingURL=recipe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../src/schema/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAE/D,qBAAa,gBAAgB;IAC5B,MAAM,EAAE,MAAM,CAAM;IACpB,IAAI,EAAE,MAAM,CAAM;IAClB,IAAI,EAAE,MAAM,CAAM;CAClB;AAED,MAAM,WAAW,yBAA0B,SAAQ,aAAa,CAAC,gBAAgB,CAAC;IACjF,GAAG,EAAE,IAAI,CAAC;IACV,UAAU,EAAE;QACX,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACb,CAAC;IACF,IAAI,EAAE,EAAE,CAAA;CACR;AAED,qBAAa,MAAO,SAAQ,WAAW;IACtC,QAAQ,EAAE,MAAM,CAAM;IACtB,QAAQ,EAAE,MAAM,CAAM;IACtB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAa;IACzC,UAAU,EAAE,MAAM,CAAY;CAC9B;AAED,MAAM,WAAW,gBAAiB,SAAQ,qBAAqB;IAC9D,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,eAAgB,SAAQ,aAAa,CAAC,MAAM,CAAC;IAC7D,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE,gBAAgB,CAAC;IAC7B,IAAI,EAAE;QACL,WAAW,EAAE,IAAI,CAAC;QAClB,KAAK,EAAE,IAAI,CAAC;QACZ,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD"}
@@ -0,0 +1,13 @@
1
+ import { PageSection } from "./page.js";
2
+ export class RecipeIngredient {
3
+ amount = '';
4
+ unit = '';
5
+ name = '';
6
+ }
7
+ export class Recipe extends PageSection {
8
+ prepTime = '';
9
+ cookTime = '';
10
+ servings = undefined;
11
+ difficulty = 'medium';
12
+ }
13
+ //# sourceMappingURL=recipe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipe.js","sourceRoot":"","sources":["../../src/schema/recipe.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAyB,MAAM,WAAW,CAAC;AAE/D,MAAM,OAAO,gBAAgB;IAC5B,MAAM,GAAW,EAAE,CAAC;IACpB,IAAI,GAAW,EAAE,CAAC;IAClB,IAAI,GAAW,EAAE,CAAC;CAClB;AAYD,MAAM,OAAO,MAAO,SAAQ,WAAW;IACtC,QAAQ,GAAW,EAAE,CAAC;IACtB,QAAQ,GAAW,EAAE,CAAC;IACtB,QAAQ,GAAuB,SAAS,CAAC;IACzC,UAAU,GAAW,QAAQ,CAAC;CAC9B"}
@@ -0,0 +1,28 @@
1
+ import { ComponentType } from "../interfaces.js";
2
+ import { PageSection, PageSectionProperties } from "./page.js";
3
+ export declare class RevealStep {
4
+ name: string;
5
+ }
6
+ export interface RevealStepComponent extends ComponentType<RevealStep> {
7
+ tag: 'div';
8
+ properties: {
9
+ name: 'span';
10
+ };
11
+ refs: {
12
+ body: 'div';
13
+ };
14
+ }
15
+ export declare class Reveal extends PageSection {
16
+ step: RevealStep[];
17
+ }
18
+ export interface RevealProperties extends PageSectionProperties {
19
+ step: 'div';
20
+ }
21
+ export interface RevealComponent extends ComponentType<Reveal> {
22
+ tag: 'section';
23
+ properties: RevealProperties;
24
+ refs: {
25
+ steps: 'div';
26
+ };
27
+ }
28
+ //# sourceMappingURL=reveal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reveal.d.ts","sourceRoot":"","sources":["../../src/schema/reveal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAiB,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAE/D,qBAAa,UAAU;IACtB,IAAI,EAAE,MAAM,CAAM;CAClB;AAED,MAAM,WAAW,mBAAoB,SAAQ,aAAa,CAAC,UAAU,CAAC;IACrE,GAAG,EAAE,KAAK,CAAC;IACX,UAAU,EAAE;QACX,IAAI,EAAE,MAAM,CAAC;KACb,CAAC;IACF,IAAI,EAAE;QACL,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD;AAED,qBAAa,MAAO,SAAQ,WAAW;IACtC,IAAI,EAAE,UAAU,EAAE,CAAM;CACxB;AAED,MAAM,WAAW,gBAAiB,SAAQ,qBAAqB;IAC9D,IAAI,EAAE,KAAK,CAAC;CACZ;AAED,MAAM,WAAW,eAAgB,SAAQ,aAAa,CAAC,MAAM,CAAC;IAC7D,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE,gBAAgB,CAAC;IAC7B,IAAI,EAAE;QACL,KAAK,EAAE,KAAK,CAAC;KACb,CAAA;CACD"}
@@ -0,0 +1,8 @@
1
+ import { PageSection } from "./page.js";
2
+ export class RevealStep {
3
+ name = '';
4
+ }
5
+ export class Reveal extends PageSection {
6
+ step = [];
7
+ }
8
+ //# sourceMappingURL=reveal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reveal.js","sourceRoot":"","sources":["../../src/schema/reveal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAyB,MAAM,WAAW,CAAC;AAE/D,MAAM,OAAO,UAAU;IACtB,IAAI,GAAW,EAAE,CAAC;CAClB;AAYD,MAAM,OAAO,MAAO,SAAQ,WAAW;IACtC,IAAI,GAAiB,EAAE,CAAC;CACxB"}
@@ -0,0 +1,14 @@
1
+ import { ComponentType } from "../interfaces.js";
2
+ export declare class Sidenote {
3
+ style: string;
4
+ }
5
+ export interface SidenoteComponent extends ComponentType<Sidenote> {
6
+ tag: 'aside';
7
+ properties: {
8
+ style: 'meta';
9
+ };
10
+ refs: {
11
+ body: 'div';
12
+ };
13
+ }
14
+ //# sourceMappingURL=sidenote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidenote.d.ts","sourceRoot":"","sources":["../../src/schema/sidenote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,qBAAa,QAAQ;IACpB,KAAK,EAAE,MAAM,CAAc;CAC3B;AAED,MAAM,WAAW,iBAAkB,SAAQ,aAAa,CAAC,QAAQ,CAAC;IACjE,GAAG,EAAE,OAAO,CAAC;IACb,UAAU,EAAE;QACX,KAAK,EAAE,MAAM,CAAC;KACd,CAAC;IACF,IAAI,EAAE;QACL,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD"}
@@ -0,0 +1,4 @@
1
+ export class Sidenote {
2
+ style = 'sidenote';
3
+ }
4
+ //# sourceMappingURL=sidenote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidenote.js","sourceRoot":"","sources":["../../src/schema/sidenote.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,QAAQ;IACpB,KAAK,GAAW,UAAU,CAAC;CAC3B"}
@@ -0,0 +1,30 @@
1
+ import { ComponentType } from "../interfaces.js";
2
+ export declare class StoryboardPanel {
3
+ }
4
+ export interface StoryboardPanelComponent extends ComponentType<StoryboardPanel> {
5
+ tag: 'div';
6
+ properties: {
7
+ image: 'img';
8
+ caption: 'p';
9
+ };
10
+ refs: {
11
+ body: 'div';
12
+ };
13
+ }
14
+ export declare class Storyboard {
15
+ columns: number;
16
+ style: string;
17
+ panel: StoryboardPanel[];
18
+ }
19
+ export interface StoryboardComponent extends ComponentType<Storyboard> {
20
+ tag: 'div';
21
+ properties: {
22
+ panel: 'div';
23
+ style: 'meta';
24
+ columns: 'meta';
25
+ };
26
+ refs: {
27
+ panels: 'div';
28
+ };
29
+ }
30
+ //# sourceMappingURL=storyboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storyboard.d.ts","sourceRoot":"","sources":["../../src/schema/storyboard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,qBAAa,eAAe;CAC3B;AAED,MAAM,WAAW,wBAAyB,SAAQ,aAAa,CAAC,eAAe,CAAC;IAC/E,GAAG,EAAE,KAAK,CAAC;IACX,UAAU,EAAE;QACX,KAAK,EAAE,KAAK,CAAC;QACb,OAAO,EAAE,GAAG,CAAC;KACb,CAAC;IACF,IAAI,EAAE;QACL,IAAI,EAAE,KAAK,CAAC;KACZ,CAAA;CACD;AAED,qBAAa,UAAU;IACtB,OAAO,EAAE,MAAM,CAAK;IACpB,KAAK,EAAE,MAAM,CAAW;IACxB,KAAK,EAAE,eAAe,EAAE,CAAM;CAC9B;AAED,MAAM,WAAW,mBAAoB,SAAQ,aAAa,CAAC,UAAU,CAAC;IACrE,GAAG,EAAE,KAAK,CAAC;IACX,UAAU,EAAE;QACX,KAAK,EAAE,KAAK,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,IAAI,EAAE;QACL,MAAM,EAAE,KAAK,CAAC;KACd,CAAA;CACD"}
@@ -0,0 +1,8 @@
1
+ export class StoryboardPanel {
2
+ }
3
+ export class Storyboard {
4
+ columns = 3;
5
+ style = 'clean';
6
+ panel = [];
7
+ }
8
+ //# sourceMappingURL=storyboard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storyboard.js","sourceRoot":"","sources":["../../src/schema/storyboard.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,eAAe;CAC3B;AAaD,MAAM,OAAO,UAAU;IACtB,OAAO,GAAW,CAAC,CAAC;IACpB,KAAK,GAAW,OAAO,CAAC;IACxB,KAAK,GAAsB,EAAE,CAAC;CAC9B"}
@@ -0,0 +1,9 @@
1
+ /** A serialized Markdoc Tag (plain object, not a class instance) */
2
+ export interface SerializedTag {
3
+ $$mdtype: 'Tag';
4
+ name: string;
5
+ attributes: Record<string, any>;
6
+ children: RendererNode[];
7
+ }
8
+ export type RendererNode = SerializedTag | string | number | null | undefined | RendererNode[];
9
+ //# sourceMappingURL=serialized.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serialized.d.ts","sourceRoot":"","sources":["../src/serialized.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,MAAM,WAAW,aAAa;IAC7B,QAAQ,EAAE,KAAK,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAChC,QAAQ,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,YAAY,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=serialized.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serialized.js","sourceRoot":"","sources":["../src/serialized.ts"],"names":[],"mappings":""}
package/dist/theme.d.ts CHANGED
@@ -6,6 +6,8 @@ export interface RefraktConfig {
6
6
  theme: string;
7
7
  /** Target framework identifier */
8
8
  target: string;
9
+ /** Component overrides — maps typeof names to relative paths of replacement components */
10
+ overrides?: Record<string, string>;
9
11
  }
10
12
  /** Theme manifest — the universal contract between content and rendering */
11
13
  export interface ThemeManifest {
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,MAAM,WAAW,aAAa;IAC7B,0DAA0D;IAC1D,UAAU,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,MAAM,EAAE,MAAM,CAAC;CACf;AAED,4EAA4E;AAC5E,MAAM,WAAW,aAAa;I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EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,8CAA8C;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACzD"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@refrakt-md/types",
3
3
  "description": "Shared type definitions for refrakt.md",
4
- "version": "0.2.0",
4
+ "version": "0.4.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -1,15 +0,0 @@
1
- import { ComponentType } from "../interfaces.js";
2
- import { TabGroup } from "./tabs.js";
3
- export declare class Editor {
4
- tabs: TabGroup[];
5
- }
6
- export interface EditorComponent extends ComponentType<Editor> {
7
- tag: 'section';
8
- properties: {
9
- tabs: 'section';
10
- };
11
- refs: {
12
- area: 'div';
13
- };
14
- }
15
- //# sourceMappingURL=editor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../src/schema/editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,qBAAa,MAAM;IACjB,IAAI,EAAE,QAAQ,EAAE,CAAM;CACvB;AAED,MAAM,WAAW,eAAgB,SAAQ,aAAa,CAAC,MAAM,CAAC;IAC5D,GAAG,EAAE,SAAS,CAAC;IACf,UAAU,EAAE;QACV,IAAI,EAAE,SAAS,CAAC;KACjB,CAAC;IACF,IAAI,EAAE;QACJ,IAAI,EAAE,KAAK,CAAC;KACb,CAAC;CACH"}
@@ -1,4 +0,0 @@
1
- export class Editor {
2
- tabs = [];
3
- }
4
- //# sourceMappingURL=editor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor.js","sourceRoot":"","sources":["../../src/schema/editor.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,MAAM;IACjB,IAAI,GAAe,EAAE,CAAC;CACvB"}