@treenity/core 1.0.27 → 1.0.29
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/CHANGELOG.md +12 -0
- package/dist/context.d.ts +7 -0
- package/dist/context.mjs +1 -69
- package/dist/contexts/node-engine.mjs +1 -7
- package/dist/contexts/object.mjs +1 -15
- package/dist/contexts/proto.mjs +1 -7
- package/dist/contexts/react-context.mjs +1 -24
- package/dist/contexts/service.mjs +1 -7
- package/dist/get-type-cache.mjs +1 -7
- package/dist/index.mjs +1 -10
- package/dist/link/link.mjs +1 -72
- package/dist/meta-type.mjs +1 -78
- package/dist/meta.mjs +1 -19
- package/dist/types.mjs +1 -16
- package/package.json +3 -2
- package/dist/context.mjs.map +0 -1
- package/dist/contexts/node-engine.mjs.map +0 -1
- package/dist/contexts/object.mjs.map +0 -1
- package/dist/contexts/proto.mjs.map +0 -1
- package/dist/contexts/react-context.mjs.map +0 -1
- package/dist/contexts/service.mjs.map +0 -1
- package/dist/get-type-cache.mjs.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/link/link.mjs.map +0 -1
- package/dist/meta-type.mjs.map +0 -1
- package/dist/meta.mjs.map +0 -1
- package/dist/types.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
package/dist/context.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ReactTypeContext } from './contexts/react-context';
|
|
1
3
|
import { MetaType } from './meta-type';
|
|
2
4
|
export interface TypeContextInfo<C, O> {
|
|
3
5
|
id: string;
|
|
@@ -7,6 +9,11 @@ export interface TypeContextInfo<C, O> {
|
|
|
7
9
|
options: O;
|
|
8
10
|
}
|
|
9
11
|
type MetaName<T> = string | MetaType<T>;
|
|
12
|
+
export declare const registerComp: <T>(type: MetaName<T>, component: any) => (ctx: ReactTypeContext) => TypeContextInfo<import("react").FC<{
|
|
13
|
+
value: any;
|
|
14
|
+
node: import("./node").Node;
|
|
15
|
+
onChange(setter: (m: any) => any): void;
|
|
16
|
+
}>, import("./contexts/react-context").ReactContextOptions>;
|
|
10
17
|
export interface Context<C, O> {
|
|
11
18
|
name: string;
|
|
12
19
|
add<T, C1 extends C>(typeName: MetaName<T>, component: C1, options?: O): TypeContextInfo<C, O>;
|
package/dist/context.mjs
CHANGED
|
@@ -1,69 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { getTypeCache } from './get-type-cache.mjs';
|
|
3
|
-
import { metaType } from './meta-type.mjs';
|
|
4
|
-
|
|
5
|
-
class ContextImpl {
|
|
6
|
-
name;
|
|
7
|
-
items = new Map();
|
|
8
|
-
constructor(name) {
|
|
9
|
-
this.name = name;
|
|
10
|
-
getTypeCache()[name] = this;
|
|
11
|
-
}
|
|
12
|
-
// add(...args: Pro<Context<C, O>['add']>): TypeContextInfo<C, O>;
|
|
13
|
-
// add(...args: ArgumentTypes<Context<C, O>['add']>): TypeContextInfo<C, O> {
|
|
14
|
-
add(...args) {
|
|
15
|
-
if (args.length <= 3)
|
|
16
|
-
args.unshift(undefined);
|
|
17
|
-
let [subContext, typeName, component, options = {}] = args;
|
|
18
|
-
typeName = metaType(typeName, subContext);
|
|
19
|
-
const contextType = typeName.$id;
|
|
20
|
-
const t = {
|
|
21
|
-
id: contextType,
|
|
22
|
-
context: this.name,
|
|
23
|
-
subContext,
|
|
24
|
-
component,
|
|
25
|
-
options,
|
|
26
|
-
};
|
|
27
|
-
this.items.set(contextType, t);
|
|
28
|
-
return t;
|
|
29
|
-
}
|
|
30
|
-
// get(typeName: string): Promise<TypeContextInfo<C, O>>;
|
|
31
|
-
// get(subContext: string, typeName: string): Promise<TypeContextInfo<C, O>>;
|
|
32
|
-
getInfo(subContext, typeName) {
|
|
33
|
-
if (!typeName) {
|
|
34
|
-
typeName = subContext;
|
|
35
|
-
subContext = undefined;
|
|
36
|
-
}
|
|
37
|
-
typeName = metaType(typeName, subContext);
|
|
38
|
-
const contextType = typeName.$id;
|
|
39
|
-
const item = this.items.get(contextType);
|
|
40
|
-
if (!item) {
|
|
41
|
-
return SynchronousPromise.reject(new Error('not found: ' + contextType + ' in ' + this.name + ' context'));
|
|
42
|
-
}
|
|
43
|
-
return SynchronousPromise.resolve(item);
|
|
44
|
-
}
|
|
45
|
-
get(subContext, typeName) {
|
|
46
|
-
return this.getInfo(subContext, typeName).then(({ component, options }) => [
|
|
47
|
-
component,
|
|
48
|
-
options,
|
|
49
|
-
]);
|
|
50
|
-
}
|
|
51
|
-
async search(subContext, query) {
|
|
52
|
-
const result = [];
|
|
53
|
-
if (!query) {
|
|
54
|
-
query = subContext;
|
|
55
|
-
subContext = undefined;
|
|
56
|
-
}
|
|
57
|
-
for (let t of Array.from(this.items.values())) {
|
|
58
|
-
const subEqual = (!t.subContext && !subContext) || t.subContext === subContext;
|
|
59
|
-
if (subEqual && t.id.includes(query)) {
|
|
60
|
-
result.push(t);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return result;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
// Node engine script context type
|
|
67
|
-
|
|
68
|
-
export { ContextImpl };
|
|
69
|
-
//# sourceMappingURL=context.mjs.map
|
|
1
|
+
import{SynchronousPromise as t}from"synchronous-promise";import{getTypeCache as e}from"./get-type-cache.mjs";import{metaType as o}from"./meta-type.mjs";const n=(t,e)=>o=>o.add(t,e);class s{name;items=new Map;constructor(t){this.name=t,e()[t]=this}add(...t){t.length<=3&&t.unshift(void 0);let[e,n,s,r={}]=t;n=o(n,e);const i=n.$id,m={id:i,context:this.name,subContext:e,component:s,options:r};return this.items.set(i,m),m}getInfo(e,n){n||(n=e,e=void 0);const s=(n=o(n,e)).$id,r=this.items.get(s);return r?t.resolve(r):t.reject(new Error("not found: "+s+" in "+this.name+" context"))}get(t,e){return this.getInfo(t,e).then((({component:t,options:e})=>[t,e]))}async search(t,e){const o=[];e||(e=t,t=void 0);for(let n of Array.from(this.items.values())){(!n.subContext&&!t||n.subContext===t)&&n.id.includes(e)&&o.push(n)}return o}}export{s as ContextImpl,n as registerComp};
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
class NodeEngineTypeContextImpl extends ContextImpl {
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
export { NodeEngineTypeContextImpl };
|
|
7
|
-
//# sourceMappingURL=node-engine.mjs.map
|
|
1
|
+
import{ContextImpl as t}from"../context.mjs";class e extends t{}export{e as NodeEngineTypeContextImpl};
|
package/dist/contexts/object.mjs
CHANGED
|
@@ -1,15 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
class ObjectTypeContextImpl extends ContextImpl {
|
|
4
|
-
getInfo(subContext, typeName) {
|
|
5
|
-
return super.getInfo(subContext, typeName).catch(error => {
|
|
6
|
-
if (!subContext || !typeName)
|
|
7
|
-
throw error;
|
|
8
|
-
// try empty context if specified not found
|
|
9
|
-
return super.getInfo('', typeName);
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { ObjectTypeContextImpl };
|
|
15
|
-
//# sourceMappingURL=object.mjs.map
|
|
1
|
+
import{ContextImpl as t}from"../context.mjs";class e extends t{getInfo(t,e){return super.getInfo(t,e).catch((r=>{if(!t||!e)throw r;return super.getInfo("",e)}))}}export{e as ObjectTypeContextImpl};
|
package/dist/contexts/proto.mjs
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
class ProtoTypeContextImpl extends ContextImpl {
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
export { ProtoTypeContextImpl };
|
|
7
|
-
//# sourceMappingURL=proto.mjs.map
|
|
1
|
+
import{ContextImpl as t}from"../context.mjs";class e extends t{}export{e as ProtoTypeContextImpl};
|
|
@@ -1,24 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ContextImpl } from '../context.mjs';
|
|
3
|
-
import { getTypeName } from '../meta.mjs';
|
|
4
|
-
|
|
5
|
-
class ReactTypeContextImpl extends ContextImpl {
|
|
6
|
-
add(...args) {
|
|
7
|
-
if (args.length === 4) {
|
|
8
|
-
const [, typeName, component] = args;
|
|
9
|
-
if (!component.displayName && !component.name) {
|
|
10
|
-
component.displayName = capitalize(getTypeName(typeName));
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
const [typeName, component] = args;
|
|
15
|
-
if (!component.displayName && !component.name) {
|
|
16
|
-
component.displayName = capitalize(getTypeName(typeName));
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return super.add(...args);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export { ReactTypeContextImpl };
|
|
24
|
-
//# sourceMappingURL=react-context.mjs.map
|
|
1
|
+
import{capitalize as e}from"@treenity/js-shared/utils";import{ContextImpl as s}from"../context.mjs";import{getTypeName as a}from"../meta.mjs";class m extends s{add(...s){if(4===s.length){const[,m,t]=s;t.displayName||t.name||(t.displayName=e(a(m)))}else{const[m,t]=s;t.displayName||t.name||(t.displayName=e(a(m)))}return super.add(...s)}}export{m as ReactTypeContextImpl};
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
class ServiceTypeContextImpl extends ContextImpl {
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
export { ServiceTypeContextImpl };
|
|
7
|
-
//# sourceMappingURL=service.mjs.map
|
|
1
|
+
import{ContextImpl as t}from"../context.mjs";class e extends t{}export{e as ServiceTypeContextImpl};
|
package/dist/get-type-cache.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { default as Link } from './link/link.mjs';
|
|
3
|
-
export { types } from './types.mjs';
|
|
4
|
-
export { MetaSymbolType, getMeta, getMetaRaw, getTypeName, serializeMeta } from './meta.mjs';
|
|
5
|
-
export { ServiceTypeContextImpl } from './contexts/service.mjs';
|
|
6
|
-
export { ProtoTypeContextImpl } from './contexts/proto.mjs';
|
|
7
|
-
export { NodeEngineTypeContextImpl } from './contexts/node-engine.mjs';
|
|
8
|
-
export { ReactTypeContextImpl } from './contexts/react-context.mjs';
|
|
9
|
-
export { AntTypeImpl, AnyType, MetaTypeImpl, makeTypeId, metaType, pathToString } from './meta-type.mjs';
|
|
10
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export{ContextImpl,registerComp}from"./context.mjs";export{default as Link}from"./link/link.mjs";export{types}from"./types.mjs";export{MetaSymbolType,getMeta,getMetaRaw,getTypeName,serializeMeta}from"./meta.mjs";export{ServiceTypeContextImpl}from"./contexts/service.mjs";export{ProtoTypeContextImpl}from"./contexts/proto.mjs";export{NodeEngineTypeContextImpl}from"./contexts/node-engine.mjs";export{ReactTypeContextImpl}from"./contexts/react-context.mjs";export{AntTypeImpl,AnyType,MetaTypeImpl,makeTypeId,metaType,pathToString}from"./meta-type.mjs";
|
package/dist/link/link.mjs
CHANGED
|
@@ -1,72 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const PROTO_REGEXP = /^([a-z-0-9\-_+]+):/;
|
|
4
|
-
class Link extends URL {
|
|
5
|
-
// @ts-ignore - field will be set in constructor
|
|
6
|
-
path; // path without meta and field
|
|
7
|
-
// @ts-ignore - field will be set in constructor
|
|
8
|
-
node; // node name or id
|
|
9
|
-
// @ts-ignore - field will be set in constructor
|
|
10
|
-
meta; // meta name
|
|
11
|
-
// @ts-ignore - field will be set in constructor
|
|
12
|
-
metaPath; // meta name
|
|
13
|
-
// @ts-ignore - field will be set in constructor
|
|
14
|
-
field;
|
|
15
|
-
constructor(source, override) {
|
|
16
|
-
if (source instanceof Link) {
|
|
17
|
-
if (!override) {
|
|
18
|
-
return source;
|
|
19
|
-
}
|
|
20
|
-
source = source.toString();
|
|
21
|
-
}
|
|
22
|
-
else if (source instanceof URL) {
|
|
23
|
-
source = source.href;
|
|
24
|
-
}
|
|
25
|
-
const protocol = override?.protocol ?? 'tree:';
|
|
26
|
-
if (!PROTO_REGEXP.test(source))
|
|
27
|
-
source = `${protocol}/` + stripSlashes(source);
|
|
28
|
-
super(source);
|
|
29
|
-
const [path, rest] = source.split('$');
|
|
30
|
-
let [meta, field] = rest?.split(/[#^]/) ?? [];
|
|
31
|
-
let pathname = this.pathname;
|
|
32
|
-
if (pathname.endsWith('/'))
|
|
33
|
-
this.pathname = pathname = pathname.slice(0, -1);
|
|
34
|
-
this.path = pathname.split('$')[0];
|
|
35
|
-
this.node = this.path.split('/').pop();
|
|
36
|
-
if (override?.meta !== undefined) {
|
|
37
|
-
meta = override.meta;
|
|
38
|
-
this.pathname = this.path;
|
|
39
|
-
}
|
|
40
|
-
if (override?.field !== undefined) {
|
|
41
|
-
this.hash = field = override.field;
|
|
42
|
-
}
|
|
43
|
-
if (override?.host !== undefined) {
|
|
44
|
-
this.host = override.host;
|
|
45
|
-
}
|
|
46
|
-
if (override?.protocol !== undefined) {
|
|
47
|
-
this.protocol = override.protocol;
|
|
48
|
-
}
|
|
49
|
-
this.meta = meta;
|
|
50
|
-
this.metaPath = meta ? `${this.path}$${meta}` : this.path;
|
|
51
|
-
this.field = field;
|
|
52
|
-
Object.freeze(this);
|
|
53
|
-
}
|
|
54
|
-
get context() {
|
|
55
|
-
return this.protocol.replace(':', '');
|
|
56
|
-
}
|
|
57
|
-
get contextAndHost() {
|
|
58
|
-
return `${this.protocol}//${this.host}`;
|
|
59
|
-
}
|
|
60
|
-
parent() {
|
|
61
|
-
if (this.hash) {
|
|
62
|
-
return new Link(this, { field: '' });
|
|
63
|
-
}
|
|
64
|
-
if (this.meta) {
|
|
65
|
-
return new Link(this, { meta: '' });
|
|
66
|
-
}
|
|
67
|
-
return new Link(new URL('.', this));
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export { Link as default };
|
|
72
|
-
//# sourceMappingURL=link.mjs.map
|
|
1
|
+
import{stripSlashes as t}from"@treenity/js-shared/utils";const e=/^([a-z-0-9\-_+]+):/;class s extends URL{path;node;meta;metaPath;field;constructor(i,h){if(i instanceof s){if(!h)return i;i=i.toString()}else i instanceof URL&&(i=i.href);const o=h?.protocol??"tree:";e.test(i)||(i=`${o}/`+t(i)),super(i);const[a,n]=i.split("$");let[r,p]=n?.split(/[#^]/)??[],l=this.pathname;l.endsWith("/")&&(this.pathname=l=l.slice(0,-1)),this.path=l.split("$")[0],this.node=this.path.split("/").pop(),void 0!==h?.meta&&(r=h.meta,this.pathname=this.path),void 0!==h?.field&&(this.hash=p=h.field),void 0!==h?.host&&(this.host=h.host),void 0!==h?.protocol&&(this.protocol=h.protocol),this.meta=r,this.metaPath=r?`${this.path}$${r}`:this.path,this.field=p,Object.freeze(this)}get context(){return this.protocol.replace(":","")}get contextAndHost(){return`${this.protocol}//${this.host}`}parent(){return this.hash?new s(this,{field:""}):this.meta?new s(this,{meta:""}):new s(new URL(".",this))}}export{s as default};
|
package/dist/meta-type.mjs
CHANGED
|
@@ -1,78 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { getTypeName } from './meta.mjs';
|
|
3
|
-
|
|
4
|
-
function makeTypeId(type, context) {
|
|
5
|
-
return context ? `${context}:${type}` : type;
|
|
6
|
-
}
|
|
7
|
-
class MetaTypeImpl {
|
|
8
|
-
$type;
|
|
9
|
-
$context;
|
|
10
|
-
$item;
|
|
11
|
-
$loc = 'unknown';
|
|
12
|
-
constructor(type, context) {
|
|
13
|
-
this.$type = type;
|
|
14
|
-
this.$context = context;
|
|
15
|
-
}
|
|
16
|
-
get $id() {
|
|
17
|
-
return makeTypeId(this.$type, this.$context);
|
|
18
|
-
}
|
|
19
|
-
get server() {
|
|
20
|
-
return this.$context === 'server' ? this : this.inContext('server');
|
|
21
|
-
}
|
|
22
|
-
get client() {
|
|
23
|
-
return this.$context === 'client' ? this : this.inContext('client');
|
|
24
|
-
}
|
|
25
|
-
get empty() {
|
|
26
|
-
return !this.$context ? this : this.inContext('');
|
|
27
|
-
}
|
|
28
|
-
inContext(context) {
|
|
29
|
-
return metaType(this, context);
|
|
30
|
-
}
|
|
31
|
-
toString() {
|
|
32
|
-
return `[${this.$id}]`;
|
|
33
|
-
}
|
|
34
|
-
isEqual(other, context) {
|
|
35
|
-
// if context boolean – it indicates if we should count context while comparison
|
|
36
|
-
if (typeof context === 'boolean') {
|
|
37
|
-
other = metaType(other);
|
|
38
|
-
return this.$type === other.$type && (!context || this.$context === other.$context);
|
|
39
|
-
}
|
|
40
|
-
other = metaType(other, context);
|
|
41
|
-
return this.$type === other.$type && this.$context === other.$context;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
function pathToString(path) {
|
|
45
|
-
return typeof path === 'string' ? path : path.toString();
|
|
46
|
-
}
|
|
47
|
-
function metaType(type, subContext) {
|
|
48
|
-
subContext ??= typeof type === 'string' ? '' : type.$context;
|
|
49
|
-
type = getTypeName(type);
|
|
50
|
-
const metaType = _metaTypes[makeTypeId(type, subContext)];
|
|
51
|
-
if (metaType)
|
|
52
|
-
return metaType;
|
|
53
|
-
const newType = new MetaTypeImpl(type, subContext);
|
|
54
|
-
newType.$loc = getFileFromStack(3);
|
|
55
|
-
_metaTypes[makeTypeId(type, subContext)] = Object.freeze(newType);
|
|
56
|
-
return newType;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Any type equals to any other type and has no context
|
|
60
|
-
*/
|
|
61
|
-
class AntTypeImpl extends MetaTypeImpl {
|
|
62
|
-
constructor() {
|
|
63
|
-
super('any', '');
|
|
64
|
-
}
|
|
65
|
-
isEqual(other, context) {
|
|
66
|
-
return true;
|
|
67
|
-
}
|
|
68
|
-
inContext(context) {
|
|
69
|
-
return this;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
const _metaTypes = {
|
|
73
|
-
any: new AntTypeImpl(),
|
|
74
|
-
};
|
|
75
|
-
const AnyType = metaType('any');
|
|
76
|
-
|
|
77
|
-
export { AntTypeImpl, AnyType, MetaTypeImpl, makeTypeId, metaType, pathToString };
|
|
78
|
-
//# sourceMappingURL=meta-type.mjs.map
|
|
1
|
+
import{getFileFromStack as t}from"@treenity/js-shared/utils";import{getTypeName as e}from"./meta.mjs";function n(t,e){return e?`${e}:${t}`:t}class r{$type;$context;$item;$loc="unknown";constructor(t,e){this.$type=t,this.$context=e}get $id(){return n(this.$type,this.$context)}get server(){return"server"===this.$context?this:this.inContext("server")}get client(){return"client"===this.$context?this:this.inContext("client")}get empty(){return this.$context?this.inContext(""):this}inContext(t){return s(this,t)}toString(){return`[${this.$id}]`}isEqual(t,e){return"boolean"==typeof e?(t=s(t),this.$type===t.$type&&(!e||this.$context===t.$context)):(t=s(t,e),this.$type===t.$type&&this.$context===t.$context)}}function i(t){return"string"==typeof t?t:t.toString()}function s(i,s){s??="string"==typeof i?"":i.$context,i=e(i);const o=c[n(i,s)];if(o)return o;const $=new r(i,s);return $.$loc=t(3),c[n(i,s)]=Object.freeze($),$}class o extends r{constructor(){super("any","")}isEqual(t,e){return!0}inContext(t){return this}}const c={any:new o},$=s("any");export{o as AntTypeImpl,$ as AnyType,r as MetaTypeImpl,n as makeTypeId,s as metaType,i as pathToString};
|
package/dist/meta.mjs
CHANGED
|
@@ -1,19 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//& NodeCallSignature;
|
|
4
|
-
const MetaSymbolType = Symbol.for('$meta');
|
|
5
|
-
function getMeta(entity) {
|
|
6
|
-
return getSymbolField(entity, MetaSymbolType);
|
|
7
|
-
}
|
|
8
|
-
function getMetaRaw(entity) {
|
|
9
|
-
return getSymbolField(entity, MetaSymbolType).$raw;
|
|
10
|
-
}
|
|
11
|
-
function serializeMeta(meta) {
|
|
12
|
-
return typeof meta.toJSON === 'function' ? meta.toJSON() : JSON.parse(JSON.stringify(meta));
|
|
13
|
-
}
|
|
14
|
-
function getTypeName(metaName) {
|
|
15
|
-
return typeof metaName === 'string' ? metaName : metaName.$type;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export { MetaSymbolType, getMeta, getMetaRaw, getTypeName, serializeMeta };
|
|
19
|
-
//# sourceMappingURL=meta.mjs.map
|
|
1
|
+
import{getSymbolField as t}from"@treenity/js-shared/utils";const n=Symbol.for("$meta");function r(r){return t(r,n)}function o(r){return t(r,n).$raw}function e(t){return"function"==typeof t.toJSON?t.toJSON():JSON.parse(JSON.stringify(t))}function i(t){return"string"==typeof t?t:t.$type}export{n as MetaSymbolType,r as getMeta,o as getMetaRaw,i as getTypeName,e as serializeMeta};
|
package/dist/types.mjs
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ObjectTypeContextImpl } from './contexts/object.mjs';
|
|
3
|
-
import { ProtoTypeContextImpl } from './contexts/proto.mjs';
|
|
4
|
-
import { ReactTypeContextImpl } from './contexts/react-context.mjs';
|
|
5
|
-
import { ServiceTypeContextImpl } from './contexts/service.mjs';
|
|
6
|
-
import { getTypeCache } from './get-type-cache.mjs';
|
|
7
|
-
|
|
8
|
-
const types = getTypeCache();
|
|
9
|
-
new ReactTypeContextImpl('react');
|
|
10
|
-
new ProtoTypeContextImpl('proto');
|
|
11
|
-
new ServiceTypeContextImpl('jsSrv');
|
|
12
|
-
new NodeEngineTypeContextImpl('noflo');
|
|
13
|
-
new ObjectTypeContextImpl('entity');
|
|
14
|
-
|
|
15
|
-
export { types };
|
|
16
|
-
//# sourceMappingURL=types.mjs.map
|
|
1
|
+
import{NodeEngineTypeContextImpl as t}from"./contexts/node-engine.mjs";import{ObjectTypeContextImpl as o}from"./contexts/object.mjs";import{ProtoTypeContextImpl as e}from"./contexts/proto.mjs";import{ReactTypeContextImpl as r}from"./contexts/react-context.mjs";import{ServiceTypeContextImpl as m}from"./contexts/service.mjs";import{getTypeCache as n}from"./get-type-cache.mjs";const s=n();new r("react"),new e("proto"),new m("jsSrv"),new t("noflo"),new o("entity");export{s as types};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@treenity/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.29",
|
|
4
4
|
"description": "treenity core",
|
|
5
5
|
"author": "Treenity",
|
|
6
6
|
"license": "ISC",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@testing-library/dom": "^8.17.1",
|
|
28
28
|
"@testing-library/jest-dom": "6.4.5",
|
|
29
|
-
"@treenity/build-utils": "1.1.
|
|
29
|
+
"@treenity/build-utils": "1.1.19",
|
|
30
30
|
"@treenity/tsconfig": "1.0.10",
|
|
31
31
|
"@types/jest": "29.5.12",
|
|
32
32
|
"@types/json-schema": "^7.0.15",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"ajv": "^8.12.0",
|
|
37
37
|
"jest": "29.7.0",
|
|
38
38
|
"react": "18.2.0",
|
|
39
|
+
"rollup": "4.18.0",
|
|
39
40
|
"typescript": "5.4.5"
|
|
40
41
|
},
|
|
41
42
|
"scripts": {
|
package/dist/context.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.mjs","sources":["../src/context.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;MAwCa,WAAW,CAAA;AAGH,IAAA,IAAA,CAAA;AAFnB,IAAA,KAAK,GAAuC,IAAI,GAAG,EAAE,CAAC;AAEtD,IAAA,WAAA,CAAmB,IAAY,EAAA;QAAZ,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAQ;AAC7B,QAAA,YAAY,EAAE,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;KAC7B;;;IAID,GAAG,CAAC,GAAG,IAAW,EAAA;AAChB,QAAA,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC;AAAE,YAAA,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAC9C,QAAA,IAAI,CAAC,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,GAAG,EAAO,CAAC,GAAG,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UAAkB,EAAE,KAAc,EAAA;QAC7C,MAAM,MAAM,GAA4B,EAAE,CAAC;QAE3C,IAAI,CAAC,KAAK,EAAE;YACV,KAAK,GAAG,UAAU,CAAC;YACnB,UAAU,GAAG,SAAU,CAAC;SACzB;AAED,QAAA,KAAK,IAAI,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE;AAC7C,YAAA,MAAM,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,IAAI,CAAC,UAAU,KAAK,CAAC,CAAC,UAAU,KAAK,UAAU,CAAC;YAC/E,IAAI,QAAQ,IAAI,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;AACpC,gBAAA,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aAChB;SACF;AACD,QAAA,OAAO,MAAM,CAAC;KACf;AACF,CAAA;AAED;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node-engine.mjs","sources":["../../src/contexts/node-engine.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAaM,MAAO,yBACX,SAAQ,WAAiD,CAAA;AACtB;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"object.mjs","sources":["../../src/contexts/object.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAcM,MAAO,qBACX,SAAQ,WAA0D,CAAA;IAGlE,OAAO,CACL,UAAkB,EAClB,QAAsB,EAAA;AAEtB,QAAA,OAAO,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,KAAK,CAAC,KAAK,IAAG;AACvD,YAAA,IAAI,CAAC,UAAU,IAAI,CAAC,QAAQ;AAAE,gBAAA,MAAM,KAAK,CAAC;;YAE1C,OAAO,KAAK,CAAC,OAAO,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;AACrC,SAAC,CAAC,CAAC;KACJ;AACF;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"proto.mjs","sources":["../../src/contexts/proto.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAUM,MAAO,oBACX,SAAQ,WAA8C,CAAA;AACxB;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"react-context.mjs","sources":["../../src/contexts/react-context.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAyBM,MAAO,oBACX,SAAQ,WAA8D,CAAA;IAGtE,GAAG,CAAC,GAAG,IAAW,EAAA;AAChB,QAAA,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YACrB,MAAM,GAAG,QAAQ,EAAE,SAAS,CAAC,GAAG,IAAI,CAAC;YACrC,IAAI,CAAC,SAAS,CAAC,WAAW,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE;gBAC7C,SAAS,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;aAC3D;SACF;aAAM;AACL,YAAA,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG,IAAI,CAAC;YACnC,IAAI,CAAC,SAAS,CAAC,WAAW,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE;gBAC7C,SAAS,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;aAC3D;SACF;AACD,QAAA,OAAO,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;KAC3B;AACF;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service.mjs","sources":["../../src/contexts/service.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAWM,MAAO,sBACX,SAAQ,WAA2C,CAAA;AACnB;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-type-cache.mjs","sources":["../src/get-type-cache.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA,MAAM,UAAU,GAAwB,EAAE,CAAC;SAE3B,YAAY,GAAA;AAC1B,IAAA,OAAO,UAAU,CAAC;AACpB;;;;"}
|
package/dist/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/link/link.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"link.mjs","sources":["../../src/link/link.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAaA,MAAM,YAAY,GAAG,oBAAoB,CAAC;AAI1C,MAAM,IAAK,SAAQ,GAAG,CAAA;;IAEX,IAAI,CAAS;;IAEb,IAAI,CAAS;;IAEb,IAAI,CAAS;;IAEb,QAAQ,CAAS;;AAEjB,IAAA,KAAK,CAAS;IAEvB,WAAY,CAAA,MAA2B,EAAE,QAAwB,EAAA;AAC/D,QAAA,IAAI,MAAM,YAAY,IAAI,EAAE;YAC1B,IAAI,CAAC,QAAQ,EAAE;AACb,gBAAA,OAAO,MAAM,CAAC;aACf;AACD,YAAA,MAAM,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;SAC5B;AAAM,aAAA,IAAI,MAAM,YAAY,GAAG,EAAE;AAChC,YAAA,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC;SACtB;AAED,QAAA,MAAM,QAAQ,GAAG,QAAQ,EAAE,QAAQ,IAAI,OAAO,CAAC;AAE/C,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC;YAAE,MAAM,GAAG,GAAG,QAAQ,CAAA,CAAA,CAAG,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;QAC/E,KAAK,CAAC,MAAM,CAAC,CAAC;AAEd,QAAA,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACvC,QAAA,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,G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
package/dist/meta.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta.mjs","sources":["../src/meta.ts"],"sourcesContent":[null],"names":[],"mappings":";;AA0BA;AAEa,MAAA,cAAc,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE;AAE5C,SAAU,OAAO,CAAI,MAAS,EAAA;AAClC,IAAA,OAAO,cAAc,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AAChD,CAAC;AAEK,SAAU,UAAU,CAAI,MAAS,EAAA;IACrC,OAAQ,cAAc,CAAC,MAAM,EAAE,cAAc,CAAS,CAAC,IAAc,CAAC;AACxE,CAAC;AAEK,SAAU,aAAa,CAAC,IAAS,EAAA;IACrC,OAAO,OAAO,IAAI,CAAC,MAAM,KAAK,UAAU,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9F,CAAC;AAEK,SAAU,WAAW,CAAC,QAAuB,EAAA;AACjD,IAAA,OAAO,OAAO,QAAQ,KAAK,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;AAClE;;;;"}
|
package/dist/types.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.mjs","sources":["../src/types.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAea,MAAA,KAAK,GAAiB,YAAY,GAAmB;AAElE,IAAI,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAClC,IAAI,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAClC,IAAI,sBAAsB,CAAC,OAAO,CAAC,CAAC;AACpC,IAAI,yBAAyB,CAAC,OAAO,CAAC,CAAC;AACvC,IAAI,qBAAqB,CAAC,QAAQ,CAAC;;;;"}
|