@mojir/lits 1.2.0 → 1.2.1-alpha.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/dist/cli/cli.js +409 -409
- package/dist/cli/reference/index.d.ts +2 -1
- package/dist/cli/src/index.d.ts +4 -0
- package/dist/index.esm.js +6846 -16
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6854 -15
- package/dist/index.js.map +1 -1
- package/dist/lits.iife.js +6854 -15
- package/dist/lits.iife.js.map +1 -1
- package/dist/reference/index.d.ts +2 -1
- package/dist/src/index.d.ts +4 -0
- package/dist/testFramework.esm.js +1 -1
- package/dist/testFramework.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ApiName, Category, DataType } from './api';
|
|
1
|
+
import type { ApiName, Category, DataType, FunctionName } from './api';
|
|
2
2
|
export interface TypedValue {
|
|
3
3
|
type: DataType[] | DataType;
|
|
4
4
|
rest?: true;
|
|
@@ -46,5 +46,6 @@ export type Reference<T extends Category = Category> = FunctionReference<T> | Sh
|
|
|
46
46
|
export declare function isFunctionReference<T extends Category>(ref: Reference<T>): ref is FunctionReference<T>;
|
|
47
47
|
export declare function isShorthandReference<T extends Category>(ref: Reference<T>): ref is ShorthandReference;
|
|
48
48
|
export declare function isDatatypeReference<T extends Category>(ref: Reference<T>): ref is DatatypeReference;
|
|
49
|
+
export declare const functionReference: Record<FunctionName, FunctionReference>;
|
|
49
50
|
export declare const apiReference: Record<ApiName, Reference>;
|
|
50
51
|
export {};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -10,3 +10,7 @@ export { Lits } from './Lits/Lits';
|
|
|
10
10
|
export { type LitsError, isLitsError } from './errors';
|
|
11
11
|
export type { LitsParams, LitsRuntimeInfo, LazyValue } from './Lits/Lits';
|
|
12
12
|
export { createNativeJsFunction } from './utils';
|
|
13
|
+
export { apiReference, isDatatypeReference, isFunctionReference, isNormalExpressionArgument, isShorthandReference, isSpecialExpressionArgument, isTypedValue } from '../reference';
|
|
14
|
+
export type { Argument, CommonReference, DatatypeReference, FunctionReference, Reference, ShorthandReference } from '../reference';
|
|
15
|
+
export type { ApiName, FunctionName, ShorthandName, DatatypeName } from '../reference/api';
|
|
16
|
+
export { isApiName, isDataType } from '../reference/api';
|
package/dist/testFramework.js
CHANGED