boss-css 0.0.20 → 0.0.22

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 (148) hide show
  1. package/dist/ai/server.d.cts +9 -0
  2. package/dist/ai/server.d.mts +9 -0
  3. package/dist/ai/skills.d.cts +13 -0
  4. package/dist/ai/skills.d.mts +13 -0
  5. package/dist/api/browser.d.cts +7 -0
  6. package/dist/api/browser.d.mts +7 -0
  7. package/dist/api/config.d.cts +6 -0
  8. package/dist/api/config.d.mts +6 -0
  9. package/dist/api/dictionary.d.cts +29 -0
  10. package/dist/api/dictionary.d.mts +29 -0
  11. package/dist/api/noopCss.d.cts +29 -0
  12. package/dist/api/noopCss.d.mts +29 -0
  13. package/dist/api/server.d.cts +7 -0
  14. package/dist/api/server.d.mts +7 -0
  15. package/dist/cli/index.d.cts +1 -0
  16. package/dist/cli/index.d.mts +1 -0
  17. package/dist/compile/runtime.d.cts +5 -0
  18. package/dist/compile/runtime.d.mts +5 -0
  19. package/dist/cx/index.d.cts +15 -0
  20. package/dist/cx/index.d.mts +15 -0
  21. package/dist/detect-fw/index.d.cts +47 -0
  22. package/dist/detect-fw/index.d.mts +47 -0
  23. package/dist/dev/client.d.cts +10 -0
  24. package/dist/dev/client.d.mts +10 -0
  25. package/dist/dev/plugin/browser.d.cts +7 -0
  26. package/dist/dev/plugin/browser.d.mts +7 -0
  27. package/dist/dev/plugin/server.d.cts +8 -0
  28. package/dist/dev/plugin/server.d.mts +8 -0
  29. package/dist/dev/runtime.d.cts +1 -0
  30. package/dist/dev/runtime.d.mts +1 -0
  31. package/dist/dev/server.d.cts +16 -0
  32. package/dist/dev/server.d.mts +16 -0
  33. package/dist/devtools-app/index.mjs +192 -192
  34. package/dist/eslint-plugin/index.d.cts +1472 -0
  35. package/dist/eslint-plugin/index.d.mts +1473 -0
  36. package/dist/fontsource/directory.d.cts +19 -0
  37. package/dist/fontsource/directory.d.mts +19 -0
  38. package/dist/fontsource/server.d.cts +7 -0
  39. package/dist/fontsource/server.d.mts +7 -0
  40. package/dist/fontsource/types.d.cts +37 -0
  41. package/dist/fontsource/types.d.mts +37 -0
  42. package/dist/index.d.cts +6 -0
  43. package/dist/index.d.mts +6 -0
  44. package/dist/merge/index.d.cts +18 -0
  45. package/dist/merge/index.d.mts +18 -0
  46. package/dist/native/browser.d.cts +7 -0
  47. package/dist/native/browser.d.mts +7 -0
  48. package/dist/native/server.d.cts +9 -0
  49. package/dist/native/server.d.mts +9 -0
  50. package/dist/parser/classname/server.d.cts +7 -0
  51. package/dist/parser/classname/server.d.mts +7 -0
  52. package/dist/parser/jsx/browser.d.cts +7 -0
  53. package/dist/parser/jsx/browser.d.mts +7 -0
  54. package/dist/parser/jsx/native.d.cts +7 -0
  55. package/dist/parser/jsx/native.d.mts +7 -0
  56. package/dist/parser/jsx/runtime.d.cts +2 -0
  57. package/dist/parser/jsx/runtime.d.mts +2 -0
  58. package/dist/parser/jsx/server.d.cts +9 -0
  59. package/dist/parser/jsx/server.d.mts +9 -0
  60. package/dist/postcss/index.d.cts +12 -0
  61. package/dist/postcss/index.d.mts +12 -0
  62. package/dist/prop/at/runtime-only.d.cts +8 -0
  63. package/dist/prop/at/runtime-only.d.mts +8 -0
  64. package/dist/prop/at/server.d.cts +13 -0
  65. package/dist/prop/at/server.d.mts +13 -0
  66. package/dist/prop/bosswind/browser.d.cts +8 -0
  67. package/dist/prop/bosswind/browser.d.mts +8 -0
  68. package/dist/prop/bosswind/runtime-only.d.cts +8 -0
  69. package/dist/prop/bosswind/runtime-only.d.mts +8 -0
  70. package/dist/prop/bosswind/server.d.cts +9 -0
  71. package/dist/prop/bosswind/server.d.mts +9 -0
  72. package/dist/prop/bosswind/shared.d.cts +11 -0
  73. package/dist/prop/bosswind/shared.d.mts +11 -0
  74. package/dist/prop/child/runtime-only.d.cts +8 -0
  75. package/dist/prop/child/runtime-only.d.mts +8 -0
  76. package/dist/prop/child/server.d.cts +9 -0
  77. package/dist/prop/child/server.d.mts +9 -0
  78. package/dist/prop/css/runtime-only.d.cts +5 -0
  79. package/dist/prop/css/runtime-only.d.mts +5 -0
  80. package/dist/prop/css/server.d.cts +9 -0
  81. package/dist/prop/css/server.d.mts +9 -0
  82. package/dist/prop/pseudo/runtime-only.d.cts +8 -0
  83. package/dist/prop/pseudo/runtime-only.d.mts +8 -0
  84. package/dist/prop/pseudo/server.d.cts +9 -0
  85. package/dist/prop/pseudo/server.d.mts +9 -0
  86. package/dist/reset/server.d.cts +7 -0
  87. package/dist/reset/server.d.mts +7 -0
  88. package/dist/runtime/index.d.cts +20 -0
  89. package/dist/runtime/index.d.mts +20 -0
  90. package/dist/runtime/preact.d.cts +2 -0
  91. package/dist/runtime/preact.d.mts +2 -0
  92. package/dist/runtime/qwik.d.cts +8 -0
  93. package/dist/runtime/qwik.d.mts +8 -0
  94. package/dist/runtime/react.d.cts +2 -0
  95. package/dist/runtime/react.d.mts +2 -0
  96. package/dist/runtime/solid.d.cts +6 -0
  97. package/dist/runtime/solid.d.mts +6 -0
  98. package/dist/runtime/stencil.d.cts +7 -0
  99. package/dist/runtime/stencil.d.mts +7 -0
  100. package/dist/runtime/style.d.cts +4 -0
  101. package/dist/runtime/style.d.mts +4 -0
  102. package/dist/shared/types.d.cts +96 -0
  103. package/dist/shared/types.d.mts +96 -0
  104. package/dist/strategy/classic/runtime-only.d.cts +7 -0
  105. package/dist/strategy/classic/runtime-only.d.mts +7 -0
  106. package/dist/strategy/classname-first/browser.d.cts +7 -0
  107. package/dist/strategy/classname-first/browser.d.mts +7 -0
  108. package/dist/strategy/classname-first/runtime-only.d.cts +7 -0
  109. package/dist/strategy/classname-first/runtime-only.d.mts +7 -0
  110. package/dist/strategy/classname-first/server.d.cts +9 -0
  111. package/dist/strategy/classname-first/server.d.mts +9 -0
  112. package/dist/strategy/classname-only/server.d.cts +8 -0
  113. package/dist/strategy/classname-only/server.d.mts +8 -0
  114. package/dist/strategy/inline-first/browser.d.cts +7 -0
  115. package/dist/strategy/inline-first/browser.d.mts +7 -0
  116. package/dist/strategy/inline-first/runtime-only.d.cts +7 -0
  117. package/dist/strategy/inline-first/runtime-only.d.mts +7 -0
  118. package/dist/strategy/inline-first/server.d.cts +9 -0
  119. package/dist/strategy/inline-first/server.d.mts +9 -0
  120. package/dist/strategy/runtime/runtime-only.d.cts +9 -0
  121. package/dist/strategy/runtime/runtime-only.d.mts +9 -0
  122. package/dist/strategy/runtime/server.d.cts +9 -0
  123. package/dist/strategy/runtime/server.d.mts +9 -0
  124. package/dist/strategy/runtime-only/css.d.cts +43 -0
  125. package/dist/strategy/runtime-only/css.d.mts +43 -0
  126. package/dist/tasks/build.d.cts +23 -0
  127. package/dist/tasks/build.d.mts +23 -0
  128. package/dist/tasks/compile.d.cts +31 -0
  129. package/dist/tasks/compile.d.mts +31 -0
  130. package/dist/tasks/postcss.cjs +8 -13
  131. package/dist/tasks/postcss.d.cts +10 -0
  132. package/dist/tasks/postcss.d.mts +10 -0
  133. package/dist/tasks/postcss.mjs +8 -13
  134. package/dist/tasks/session.d.cts +12 -0
  135. package/dist/tasks/session.d.mts +12 -0
  136. package/dist/tasks/watch.d.cts +17 -0
  137. package/dist/tasks/watch.d.mts +17 -0
  138. package/dist/types/Plugin.d.cts +251 -0
  139. package/dist/types/Plugin.d.mts +251 -0
  140. package/dist/use/token/browser.d.cts +16 -0
  141. package/dist/use/token/browser.d.mts +16 -0
  142. package/dist/use/token/propMap.d.cts +8 -0
  143. package/dist/use/token/propMap.d.mts +8 -0
  144. package/dist/use/token/runtime-only.d.cts +22 -0
  145. package/dist/use/token/runtime-only.d.mts +22 -0
  146. package/dist/use/token/server.d.cts +19 -0
  147. package/dist/use/token/server.d.mts +19 -0
  148. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ import { Plugin } from "../types/Plugin.cjs";
2
+
3
+ //#region src/ai/server.d.ts
4
+ declare const name = "ai";
5
+ declare const onBoot: Plugin<'onBoot'>;
6
+ declare const onMetaData: Plugin<'onMetaData'>;
7
+ declare const onSession: Plugin<'onSession'>;
8
+ //#endregion
9
+ export { name, onBoot, onMetaData, onSession };
@@ -0,0 +1,9 @@
1
+ import { Plugin } from "../types/Plugin.mjs";
2
+
3
+ //#region src/ai/server.d.ts
4
+ declare const name = "ai";
5
+ declare const onBoot: Plugin<'onBoot'>;
6
+ declare const onMetaData: Plugin<'onMetaData'>;
7
+ declare const onSession: Plugin<'onSession'>;
8
+ //#endregion
9
+ export { name, onBoot, onMetaData, onSession };
@@ -0,0 +1,13 @@
1
+ //#region src/ai/skills.d.ts
2
+ type BuiltinSkill = {
3
+ name: string;
4
+ description: string;
5
+ body: string;
6
+ compatibility?: string;
7
+ license?: string;
8
+ metadata?: Record<string, string>;
9
+ allowedTools?: string;
10
+ };
11
+ declare const builtInSkills: BuiltinSkill[];
12
+ //#endregion
13
+ export { BuiltinSkill, builtInSkills };
@@ -0,0 +1,13 @@
1
+ //#region src/ai/skills.d.ts
2
+ type BuiltinSkill = {
3
+ name: string;
4
+ description: string;
5
+ body: string;
6
+ compatibility?: string;
7
+ license?: string;
8
+ metadata?: Record<string, string>;
9
+ allowedTools?: string;
10
+ };
11
+ declare const builtInSkills: BuiltinSkill[];
12
+ //#endregion
13
+ export { BuiltinSkill, builtInSkills };
@@ -0,0 +1,7 @@
1
+ import { BossApiConfig, BossBrowserApi } from "../types/Plugin.cjs";
2
+
3
+ //#region src/api/browser.d.ts
4
+ declare let api: BossBrowserApi | null;
5
+ declare function createApi(config: BossApiConfig, force?: boolean): BossBrowserApi;
6
+ //#endregion
7
+ export { api, createApi };
@@ -0,0 +1,7 @@
1
+ import { BossApiConfig, BossBrowserApi } from "../types/Plugin.mjs";
2
+
3
+ //#region src/api/browser.d.ts
4
+ declare let api: BossBrowserApi | null;
5
+ declare function createApi(config: BossApiConfig, force?: boolean): BossBrowserApi;
6
+ //#endregion
7
+ export { api, createApi };
@@ -0,0 +1,6 @@
1
+ import { UserConfig } from "../shared/types.cjs";
2
+
3
+ //#region src/api/config.d.ts
4
+ declare function loadConfig(baseDir?: string): Promise<UserConfig>;
5
+ //#endregion
6
+ export { type UserConfig, loadConfig };
@@ -0,0 +1,6 @@
1
+ import { UserConfig } from "../shared/types.mjs";
2
+
3
+ //#region src/api/config.d.ts
4
+ declare function loadConfig(baseDir?: string): Promise<UserConfig>;
5
+ //#endregion
6
+ export { type UserConfig, loadConfig };
@@ -0,0 +1,29 @@
1
+ import { DictionaryItem } from "../shared/types.cjs";
2
+ import { BossApiBase } from "../types/Plugin.cjs";
3
+
4
+ //#region src/api/dictionary.d.ts
5
+ declare class Dictionary extends Map<unknown, DictionaryItem> {
6
+ static Instance: Dictionary;
7
+ api: BossApiBase;
8
+ constructor(api: BossApiBase);
9
+ resolve(name: string): {
10
+ descriptor: DictionaryItem;
11
+ name: string;
12
+ raw: string;
13
+ suffix: null;
14
+ } | {
15
+ descriptor: null;
16
+ name: string;
17
+ raw: string;
18
+ suffix: null;
19
+ } | {
20
+ descriptor: DictionaryItem;
21
+ name: string;
22
+ raw: string;
23
+ suffix: string;
24
+ };
25
+ set(key: string, value: DictionaryItem): this;
26
+ toValue(value: unknown, property?: DictionaryItem | string): unknown;
27
+ }
28
+ //#endregion
29
+ export { Dictionary };
@@ -0,0 +1,29 @@
1
+ import { DictionaryItem } from "../shared/types.mjs";
2
+ import { BossApiBase } from "../types/Plugin.mjs";
3
+
4
+ //#region src/api/dictionary.d.ts
5
+ declare class Dictionary extends Map<unknown, DictionaryItem> {
6
+ static Instance: Dictionary;
7
+ api: BossApiBase;
8
+ constructor(api: BossApiBase);
9
+ resolve(name: string): {
10
+ descriptor: DictionaryItem;
11
+ name: string;
12
+ raw: string;
13
+ suffix: null;
14
+ } | {
15
+ descriptor: null;
16
+ name: string;
17
+ raw: string;
18
+ suffix: null;
19
+ } | {
20
+ descriptor: DictionaryItem;
21
+ name: string;
22
+ raw: string;
23
+ suffix: string;
24
+ };
25
+ set(key: string, value: DictionaryItem): this;
26
+ toValue(value: unknown, property?: DictionaryItem | string): unknown;
27
+ }
28
+ //#endregion
29
+ export { Dictionary };
@@ -0,0 +1,29 @@
1
+ import { BossApiBase } from "../types/Plugin.cjs";
2
+
3
+ //#region src/api/noopCss.d.ts
4
+ declare class NoopCSS {
5
+ api: BossApiBase;
6
+ imports: Set<string>;
7
+ root: Set<string>;
8
+ rootSources: Map<any, any>;
9
+ customBlocks: Map<any, any>;
10
+ customByFile: Map<any, any>;
11
+ ruleMeta: Map<any, any>;
12
+ ruleSources: Map<any, any>;
13
+ source: null;
14
+ constructor(api: BossApiBase);
15
+ get text(): string;
16
+ selector(): void;
17
+ rule(): void;
18
+ addRoot(): void;
19
+ removeSource(): void;
20
+ addImport(): void;
21
+ addRule(): void;
22
+ compareAtRuleOrder(): number;
23
+ write(): void;
24
+ reset(): void;
25
+ syncCustomBlocks(): void;
26
+ getCustomText(): string;
27
+ }
28
+ //#endregion
29
+ export { NoopCSS };
@@ -0,0 +1,29 @@
1
+ import { BossApiBase } from "../types/Plugin.mjs";
2
+
3
+ //#region src/api/noopCss.d.ts
4
+ declare class NoopCSS {
5
+ api: BossApiBase;
6
+ imports: Set<string>;
7
+ root: Set<string>;
8
+ rootSources: Map<any, any>;
9
+ customBlocks: Map<any, any>;
10
+ customByFile: Map<any, any>;
11
+ ruleMeta: Map<any, any>;
12
+ ruleSources: Map<any, any>;
13
+ source: null;
14
+ constructor(api: BossApiBase);
15
+ get text(): string;
16
+ selector(): void;
17
+ rule(): void;
18
+ addRoot(): void;
19
+ removeSource(): void;
20
+ addImport(): void;
21
+ addRule(): void;
22
+ compareAtRuleOrder(): number;
23
+ write(): void;
24
+ reset(): void;
25
+ syncCustomBlocks(): void;
26
+ getCustomText(): string;
27
+ }
28
+ //#endregion
29
+ export { NoopCSS };
@@ -0,0 +1,7 @@
1
+ import { BossApiConfig, BossServerApi } from "../types/Plugin.cjs";
2
+
3
+ //#region src/api/server.d.ts
4
+ declare let api: BossServerApi | null;
5
+ declare function createApi(config: BossApiConfig, force?: boolean): Promise<BossServerApi>;
6
+ //#endregion
7
+ export { api, createApi };
@@ -0,0 +1,7 @@
1
+ import { BossApiConfig, BossServerApi } from "../types/Plugin.mjs";
2
+
3
+ //#region src/api/server.d.ts
4
+ declare let api: BossServerApi | null;
5
+ declare function createApi(config: BossApiConfig, force?: boolean): Promise<BossServerApi>;
6
+ //#endregion
7
+ export { api, createApi };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,5 @@
1
+ //#region src/compile/runtime.d.ts
2
+ declare const createBossValue: (unit: string) => (value: unknown) => string | number | null | undefined;
3
+ declare const createBossTokenVars: (unit: string, prefix?: string) => (input?: Record<string, unknown>) => Record<string, string | number>;
4
+ //#endregion
5
+ export { createBossTokenVars, createBossValue };
@@ -0,0 +1,5 @@
1
+ //#region src/compile/runtime.d.ts
2
+ declare const createBossValue: (unit: string) => (value: unknown) => string | number | null | undefined;
3
+ declare const createBossTokenVars: (unit: string, prefix?: string) => (input?: Record<string, unknown>) => Record<string, string | number>;
4
+ //#endregion
5
+ export { createBossTokenVars, createBossValue };
@@ -0,0 +1,15 @@
1
+ import { BossMergeConfig } from "../merge/index.cjs";
2
+ import { ClassValue, ClassVariantCreatorFn, SlotClassVariantCreatorFn, StyleVariantCreatorFn } from "css-variants";
3
+
4
+ //#region src/cx/index.d.ts
5
+ type CxValue = ClassValue;
6
+ declare const createBossCx: (config?: BossMergeConfig) => (...inputs: ClassValue[]) => string;
7
+ declare const cx: (...inputs: ClassValue[]) => string;
8
+ declare const createBossCv: (mergeConfig?: BossMergeConfig) => ClassVariantCreatorFn;
9
+ declare const cv: ClassVariantCreatorFn;
10
+ declare const createBossScv: (mergeConfig?: BossMergeConfig) => SlotClassVariantCreatorFn;
11
+ declare const scv: SlotClassVariantCreatorFn;
12
+ declare const createBossSv: () => StyleVariantCreatorFn;
13
+ declare const sv: StyleVariantCreatorFn;
14
+ //#endregion
15
+ export { type BossMergeConfig, CxValue, createBossCv, createBossCx, createBossScv, createBossSv, cv, cx, scv, sv };
@@ -0,0 +1,15 @@
1
+ import { BossMergeConfig } from "../merge/index.mjs";
2
+ import { ClassValue, ClassVariantCreatorFn, SlotClassVariantCreatorFn, StyleVariantCreatorFn } from "css-variants";
3
+
4
+ //#region src/cx/index.d.ts
5
+ type CxValue = ClassValue;
6
+ declare const createBossCx: (config?: BossMergeConfig) => (...inputs: ClassValue[]) => string;
7
+ declare const cx: (...inputs: ClassValue[]) => string;
8
+ declare const createBossCv: (mergeConfig?: BossMergeConfig) => ClassVariantCreatorFn;
9
+ declare const cv: ClassVariantCreatorFn;
10
+ declare const createBossScv: (mergeConfig?: BossMergeConfig) => SlotClassVariantCreatorFn;
11
+ declare const scv: SlotClassVariantCreatorFn;
12
+ declare const createBossSv: () => StyleVariantCreatorFn;
13
+ declare const sv: StyleVariantCreatorFn;
14
+ //#endregion
15
+ export { type BossMergeConfig, CxValue, createBossCv, createBossCx, createBossScv, createBossSv, cv, cx, scv, sv };
@@ -0,0 +1,47 @@
1
+ import { FrameworkFileType, FrameworkId, UserConfig } from "../shared/types.cjs";
2
+
3
+ //#region src/detect-fw/index.d.ts
4
+ type JsxTypesDescriptor = {
5
+ importSource: string;
6
+ runtimeModule: string;
7
+ typesModule: string;
8
+ typesNamespace: string;
9
+ elementType?: string;
10
+ componentProps?: string;
11
+ };
12
+ type FrameworkDescriptor = {
13
+ id: FrameworkId;
14
+ name: string;
15
+ label: string;
16
+ fileType: FrameworkFileType;
17
+ jsx?: JsxTypesDescriptor;
18
+ className: string;
19
+ };
20
+ type DetectedFramework = FrameworkDescriptor & {
21
+ source: 'config' | 'tsconfig' | 'package.json' | 'default';
22
+ notes: string[];
23
+ };
24
+ declare const getJsxTypes: (framework: FrameworkDescriptor) => {
25
+ elementType: string;
26
+ componentProps: string;
27
+ importSource?: string | undefined;
28
+ runtimeModule?: string | undefined;
29
+ typesModule?: string | undefined;
30
+ typesNamespace?: string | undefined;
31
+ };
32
+ declare const detectFramework: (options?: {
33
+ cwd?: string;
34
+ config?: UserConfig;
35
+ packageJson?: Record<string, unknown>;
36
+ tsconfigPath?: string;
37
+ }) => Promise<DetectedFramework>;
38
+ declare const listFrameworks: () => {
39
+ id: FrameworkId;
40
+ name: string;
41
+ label: string;
42
+ fileType: FrameworkFileType;
43
+ className: string;
44
+ jsx: JsxTypesDescriptor | undefined;
45
+ }[];
46
+ //#endregion
47
+ export { DetectedFramework, FrameworkDescriptor, JsxTypesDescriptor, detectFramework, getJsxTypes, listFrameworks };
@@ -0,0 +1,47 @@
1
+ import { FrameworkFileType, FrameworkId, UserConfig } from "../shared/types.mjs";
2
+
3
+ //#region src/detect-fw/index.d.ts
4
+ type JsxTypesDescriptor = {
5
+ importSource: string;
6
+ runtimeModule: string;
7
+ typesModule: string;
8
+ typesNamespace: string;
9
+ elementType?: string;
10
+ componentProps?: string;
11
+ };
12
+ type FrameworkDescriptor = {
13
+ id: FrameworkId;
14
+ name: string;
15
+ label: string;
16
+ fileType: FrameworkFileType;
17
+ jsx?: JsxTypesDescriptor;
18
+ className: string;
19
+ };
20
+ type DetectedFramework = FrameworkDescriptor & {
21
+ source: 'config' | 'tsconfig' | 'package.json' | 'default';
22
+ notes: string[];
23
+ };
24
+ declare const getJsxTypes: (framework: FrameworkDescriptor) => {
25
+ elementType: string;
26
+ componentProps: string;
27
+ importSource?: string | undefined;
28
+ runtimeModule?: string | undefined;
29
+ typesModule?: string | undefined;
30
+ typesNamespace?: string | undefined;
31
+ };
32
+ declare const detectFramework: (options?: {
33
+ cwd?: string;
34
+ config?: UserConfig;
35
+ packageJson?: Record<string, unknown>;
36
+ tsconfigPath?: string;
37
+ }) => Promise<DetectedFramework>;
38
+ declare const listFrameworks: () => {
39
+ id: FrameworkId;
40
+ name: string;
41
+ label: string;
42
+ fileType: FrameworkFileType;
43
+ className: string;
44
+ jsx: JsxTypesDescriptor | undefined;
45
+ }[];
46
+ //#endregion
47
+ export { DetectedFramework, FrameworkDescriptor, JsxTypesDescriptor, detectFramework, getJsxTypes, listFrameworks };
@@ -0,0 +1,10 @@
1
+ //#region src/dev/client.d.ts
2
+ type DevClientOptions = {
3
+ port: number;
4
+ activate?: boolean;
5
+ };
6
+ declare function startDevClient({
7
+ port
8
+ }: DevClientOptions): void;
9
+ //#endregion
10
+ export { startDevClient };
@@ -0,0 +1,10 @@
1
+ //#region src/dev/client.d.ts
2
+ type DevClientOptions = {
3
+ port: number;
4
+ activate?: boolean;
5
+ };
6
+ declare function startDevClient({
7
+ port
8
+ }: DevClientOptions): void;
9
+ //#endregion
10
+ export { startDevClient };
@@ -0,0 +1,7 @@
1
+ import { Plugin } from "../../types/Plugin.cjs";
2
+
3
+ //#region src/dev/plugin/browser.d.ts
4
+ declare const name = "devtools";
5
+ declare const onBrowserObjectStart: Plugin<'onBrowserObjectStart'>;
6
+ //#endregion
7
+ export { name, onBrowserObjectStart };
@@ -0,0 +1,7 @@
1
+ import { Plugin } from "../../types/Plugin.mjs";
2
+
3
+ //#region src/dev/plugin/browser.d.ts
4
+ declare const name = "devtools";
5
+ declare const onBrowserObjectStart: Plugin<'onBrowserObjectStart'>;
6
+ //#endregion
7
+ export { name, onBrowserObjectStart };
@@ -0,0 +1,8 @@
1
+ import { Plugin } from "../../types/Plugin.cjs";
2
+
3
+ //#region src/dev/plugin/server.d.ts
4
+ declare const name = "devtools";
5
+ declare const onBoot: Plugin<'onBoot'>;
6
+ declare const onSession: Plugin<'onSession'>;
7
+ //#endregion
8
+ export { name, onBoot, onSession };
@@ -0,0 +1,8 @@
1
+ import { Plugin } from "../../types/Plugin.mjs";
2
+
3
+ //#region src/dev/plugin/server.d.ts
4
+ declare const name = "devtools";
5
+ declare const onBoot: Plugin<'onBoot'>;
6
+ declare const onSession: Plugin<'onSession'>;
7
+ //#endregion
8
+ export { name, onBoot, onSession };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,16 @@
1
+ //#region src/dev/server.d.ts
2
+ type DevServerOptions = {
3
+ port?: number;
4
+ maxPort?: number;
5
+ host?: string;
6
+ };
7
+ declare function startDevServer({
8
+ port,
9
+ maxPort,
10
+ host
11
+ }?: DevServerOptions): Promise<{
12
+ server: any;
13
+ port: number;
14
+ }>;
15
+ //#endregion
16
+ export { startDevServer };
@@ -0,0 +1,16 @@
1
+ //#region src/dev/server.d.ts
2
+ type DevServerOptions = {
3
+ port?: number;
4
+ maxPort?: number;
5
+ host?: string;
6
+ };
7
+ declare function startDevServer({
8
+ port,
9
+ maxPort,
10
+ host
11
+ }?: DevServerOptions): Promise<{
12
+ server: any;
13
+ port: number;
14
+ }>;
15
+ //#endregion
16
+ export { startDevServer };