@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.
@@ -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 {};
@@ -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';
@@ -2827,7 +2827,7 @@ var mathNormalExpression = {
2827
2827
  },
2828
2828
  };
2829
2829
 
2830
- var version = "1.2.0";
2830
+ var version = "1.2.1-alpha.1";
2831
2831
 
2832
2832
  var uuidTemplate = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx';
2833
2833
  var xyRegexp = /[xy]/g;
@@ -2829,7 +2829,7 @@ var mathNormalExpression = {
2829
2829
  },
2830
2830
  };
2831
2831
 
2832
- var version = "1.2.0";
2832
+ var version = "1.2.1-alpha.1";
2833
2833
 
2834
2834
  var uuidTemplate = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx';
2835
2835
  var xyRegexp = /[xy]/g;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojir/lits",
3
- "version": "1.2.0",
3
+ "version": "1.2.1-alpha.1",
4
4
  "description": "Lits is a Lisp dialect implemented in TypeScript",
5
5
  "author": "Albert Mojir",
6
6
  "license": "MIT",