@moneko/solid 2.0.0-beta.0 → 2.0.0-beta.1
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/env.d.ts +6 -41
- package/package.json +1 -1
package/env.d.ts
CHANGED
|
@@ -30,13 +30,13 @@ declare module '*?url' {
|
|
|
30
30
|
export default string;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
declare module 'app:mdx-scope' {
|
|
34
|
-
|
|
33
|
+
// declare module 'app:mdx-scope' {
|
|
34
|
+
// import { MDXComponents } from '@moneko/solid/mdx';
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
// const scope: MDXComponents;
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
}
|
|
38
|
+
// export default scope;
|
|
39
|
+
// }
|
|
40
40
|
|
|
41
41
|
declare module '*.md' {
|
|
42
42
|
import type { MDXProviderProps } from '@moneko/solid/mdx';
|
|
@@ -62,36 +62,7 @@ declare module 'app:docs' {
|
|
|
62
62
|
|
|
63
63
|
export default entry;
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
/** 应用名称 */
|
|
67
|
-
export const name: string;
|
|
68
|
-
/** 应用描述 */
|
|
69
|
-
export const description: string;
|
|
70
|
-
/** 应用版本 */
|
|
71
|
-
export const version: string;
|
|
72
|
-
/** 应用类型 */
|
|
73
|
-
export const type: 'mobile' | 'site' | 'backstage' | 'micro' | 'library';
|
|
74
|
-
/** 开发者 */
|
|
75
|
-
export const author: {
|
|
76
|
-
name: string;
|
|
77
|
-
url?: string;
|
|
78
|
-
email?: string;
|
|
79
|
-
};
|
|
80
|
-
/** 存储库 */
|
|
81
|
-
export const repository: {
|
|
82
|
-
type?: string;
|
|
83
|
-
url?: string;
|
|
84
|
-
directory?: string;
|
|
85
|
-
};
|
|
86
|
-
/** 路由模式 */
|
|
87
|
-
export const routerMode: 'hash' | 'browser';
|
|
88
|
-
/** 根路由 */
|
|
89
|
-
export const base: string;
|
|
90
|
-
export const prefixCls: string;
|
|
91
|
-
export const theme: string;
|
|
92
|
-
export const projectName: string;
|
|
93
|
-
export const ssr: boolean;
|
|
94
|
-
}
|
|
65
|
+
|
|
95
66
|
declare module 'app:routes' {
|
|
96
67
|
import { RouteDefinition } from '@solidjs/router';
|
|
97
68
|
interface IRouteDefinition extends Omit<RouteDefinition, 'children'> {
|
|
@@ -235,12 +206,6 @@ declare module 'app:locales' {
|
|
|
235
206
|
t: Record<string, string>;
|
|
236
207
|
}>;
|
|
237
208
|
}
|
|
238
|
-
declare module 'app:fallback' {
|
|
239
|
-
import { JSX } from 'solid-js';
|
|
240
|
-
const Fallback: null | (() => JSX.Element);
|
|
241
|
-
|
|
242
|
-
export default Fallback;
|
|
243
|
-
}
|
|
244
209
|
|
|
245
210
|
declare let __webpack_public_path__: string | undefined;
|
|
246
211
|
|