@toolproof-core/lib 1.0.1 → 1.0.2
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/_lib/setup/firebaseAdminInit.d.ts.map +1 -0
- package/dist/_lib/setup/firebaseAdminInit.js.map +1 -0
- package/dist/artifacts/artifacts.d.ts +174 -0
- package/dist/artifacts/artifacts.d.ts.map +1 -0
- package/dist/{declarations/constants.js → artifacts/artifacts.js} +12 -11
- package/dist/artifacts/artifacts.js.map +1 -0
- package/dist/firebase/firebaseAdminHelpers.d.ts +4 -31
- package/dist/firebase/firebaseAdminHelpers.d.ts.map +1 -1
- package/dist/firebase/firebaseAdminHelpers.js +23 -24
- package/dist/firebase/firebaseAdminHelpers.js.map +1 -1
- package/dist/types/types.d.ts +9 -5
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/types.js +2 -1
- package/dist/types/types.js.map +1 -1
- package/dist/utils/creation.d.ts +4 -0
- package/dist/utils/creation.d.ts.map +1 -0
- package/dist/utils/creation.js +18 -0
- package/dist/utils/creation.js.map +1 -0
- package/dist/utils/extraction.d.ts +12 -0
- package/dist/utils/extraction.d.ts.map +1 -0
- package/dist/utils/extraction.js +27 -0
- package/dist/utils/extraction.js.map +1 -0
- package/dist/utils/resourceMapExtraction.d.ts +12 -0
- package/dist/utils/resourceMapExtraction.d.ts.map +1 -0
- package/dist/utils/resourceMapExtraction.js +23 -0
- package/dist/utils/resourceMapExtraction.js.map +1 -0
- package/package.json +23 -13
- package/{dist/constants/constants.js → src/artifacts/artifacts.ts} +41 -39
- package/src/firebase/firebaseAdminHelpers.ts +34 -66
- package/src/types/types.ts +13 -5
- package/src/utils/creation.ts +27 -0
- package/src/utils/resourceMapExtraction.ts +47 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/constants/constants.d.ts +0 -94
- package/dist/constants/constants.d.ts.map +0 -1
- package/dist/constants/constants.js.map +0 -1
- package/dist/declarations/constants.d.ts +0 -94
- package/dist/declarations/constants.d.ts.map +0 -1
- package/dist/declarations/constants.js.map +0 -1
- package/dist/declarations/types.d.ts +0 -10
- package/dist/declarations/types.d.ts.map +0 -1
- package/dist/declarations/types.js +0 -2
- package/dist/declarations/types.js.map +0 -1
- package/dist/declarations/typesTS.d.ts +0 -11
- package/dist/declarations/typesTS.d.ts.map +0 -1
- package/dist/declarations/typesTS.js +0 -2
- package/dist/declarations/typesTS.js.map +0 -1
- package/dist/firebase/firebaseAdminInit.d.ts.map +0 -1
- package/dist/firebase/firebaseAdminInit.js.map +0 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -4
- package/dist/index.js.map +0 -1
- package/src/constants/constants.ts +0 -39
- package/src/index.ts +0 -3
- /package/dist/{firebase → _lib/setup}/firebaseAdminInit.d.ts +0 -0
- /package/dist/{firebase → _lib/setup}/firebaseAdminInit.js +0 -0
- /package/src/{firebase → _lib/setup}/firebaseAdminInit.ts +0 -0
|
@@ -1,39 +1,41 @@
|
|
|
1
|
-
import { CONSTANTS as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import { CONSTANTS as _CONSTANTS, MAPPINGS as _MAPPINGS } from "@toolproof-core/schema";
|
|
2
|
+
|
|
3
|
+
export const CONSTANTS = {
|
|
4
|
+
..._CONSTANTS,
|
|
5
|
+
Persistence: {
|
|
6
|
+
Buckets: {
|
|
7
|
+
tp_resources: 'tp-resources',
|
|
8
|
+
tp_strategies: 'tp-strategies',
|
|
9
|
+
},
|
|
10
|
+
Collections: {
|
|
11
|
+
resources: 'resources',
|
|
12
|
+
members: 'members',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
Engine: {
|
|
16
|
+
Graphs: {
|
|
17
|
+
GraphRunStrategy: 'GraphRunStrategy',
|
|
18
|
+
GraphBuildStrategy: 'GraphBuildStrategy',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
Cosmos: {
|
|
22
|
+
TYPE_Boolean: 'TYPE-Boolean',
|
|
23
|
+
TYPE_Natural: 'TYPE-Natural',
|
|
24
|
+
TYPE_ResourceType: 'TYPE-ResourceType',
|
|
25
|
+
TYPE_Job: 'TYPE-Job',
|
|
26
|
+
TYPE_Error: 'TYPE-Error',
|
|
27
|
+
TYPE_RawStrategy: 'TYPE-RawStrategy',
|
|
28
|
+
TYPE_RunnableStrategy: 'TYPE-RunnableStrategy',
|
|
29
|
+
TYPE_StrategyRun: 'TYPE-StrategyRun',
|
|
30
|
+
ROLE_Manual: 'ROLE-Manual',
|
|
31
|
+
ROLE_ErrorOutput: 'ROLE-ErrorOutput',
|
|
32
|
+
ROLE_LessThanSource: 'ROLE-LessThanSource',
|
|
33
|
+
ROLE_LessThanTarget: 'ROLE-LessThanTarget',
|
|
34
|
+
ROLE_LessThanDecision: 'ROLE-LessThanDecision',
|
|
35
|
+
JOB_LessThan: 'JOB-LessThan',
|
|
36
|
+
}
|
|
37
|
+
} as const;
|
|
38
|
+
|
|
39
|
+
export const MAPPINGS = {
|
|
40
|
+
..._MAPPINGS,
|
|
41
|
+
} as const;
|
|
@@ -1,83 +1,45 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
BranchStepIdentityJson,
|
|
3
|
-
ForStepIdentityJson,
|
|
4
|
-
GoalIdentityJson,
|
|
5
|
-
JobIdentityJson,
|
|
6
|
-
JobStepIdentityJson,
|
|
7
2
|
ResourceJson,
|
|
8
|
-
ResourceIdentityJson,
|
|
9
|
-
ResourceRoleIdentityJson,
|
|
10
3
|
ResourceTypeIdentityJson,
|
|
11
|
-
|
|
12
|
-
StrategyRunIdentityJson,
|
|
13
|
-
StrategyThreadIdentityJson,
|
|
14
|
-
WhileStepIdentityJson,
|
|
4
|
+
StepKindJson,
|
|
15
5
|
} from '@toolproof-core/schema';
|
|
16
|
-
import type {
|
|
17
|
-
import { CONSTANTS } from '../
|
|
18
|
-
import {
|
|
6
|
+
import type { IdentityName, IdentityStringByIdentityName, StepIdentityStringByStepKind, ResourceMap } from '../types/types.js';
|
|
7
|
+
import { CONSTANTS } from '../artifacts/artifacts.js';
|
|
8
|
+
import { MAPPINGS } from '../artifacts/artifacts.js';
|
|
9
|
+
import { dbAdmin, storageAdmin } from "../_lib/setup/firebaseAdminInit.js";
|
|
19
10
|
|
|
20
|
-
export type StepKind = keyof typeof CONSTANTS.ENUMS.StepKind;
|
|
21
11
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
for: 'ForStepIdentity',
|
|
27
|
-
} as const;
|
|
28
|
-
|
|
29
|
-
type StepIdentityPrefixKey = (typeof STEP_KIND_TO_IDENTITY_PREFIX_KEY)[StepKind];
|
|
30
|
-
|
|
31
|
-
type IdentityJsonByPrefixKey = {
|
|
32
|
-
ResourceTypeIdentity: ResourceTypeIdentityJson;
|
|
33
|
-
ResourceRoleIdentity: ResourceRoleIdentityJson;
|
|
34
|
-
ResourceIdentity: ResourceIdentityJson;
|
|
35
|
-
JobIdentity: JobIdentityJson;
|
|
36
|
-
JobStepIdentity: JobStepIdentityJson;
|
|
37
|
-
BranchStepIdentity: BranchStepIdentityJson;
|
|
38
|
-
WhileStepIdentity: WhileStepIdentityJson;
|
|
39
|
-
ForStepIdentity: ForStepIdentityJson;
|
|
40
|
-
StrategyThreadIdentity: StrategyThreadIdentityJson;
|
|
41
|
-
RunnableStrategyIdentity: RunnableStrategyIdentityJson;
|
|
42
|
-
StrategyRunIdentity: StrategyRunIdentityJson;
|
|
43
|
-
GoalIdentity: GoalIdentityJson;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
export type NewIdentity<T extends IdentityPrefix = IdentityPrefix> =
|
|
47
|
-
T extends keyof IdentityJsonByPrefixKey
|
|
48
|
-
? IdentityJsonByPrefixKey[T]
|
|
49
|
-
: `${(typeof CONSTANTS.IDENTIFIABLES.PREFIXES)[T]}${string}`;
|
|
12
|
+
function capitalizeFirst(value: string): string {
|
|
13
|
+
if (!value) return value;
|
|
14
|
+
return value.charAt(0).toUpperCase() + value.slice(1);
|
|
15
|
+
}
|
|
50
16
|
|
|
51
|
-
export function getNewIdentity<
|
|
52
|
-
const prefix =
|
|
17
|
+
export function getNewIdentity<K extends IdentityName>(identityName: K): IdentityStringByIdentityName<K> {
|
|
18
|
+
const prefix = MAPPINGS.IdentityNameToIdentityPrefix[identityName];
|
|
53
19
|
const docRef = dbAdmin
|
|
54
|
-
.collection(CONSTANTS.
|
|
55
|
-
.doc(
|
|
56
|
-
.collection(CONSTANTS.
|
|
20
|
+
.collection(CONSTANTS.Persistence.Collections.resources)
|
|
21
|
+
.doc(identityName)
|
|
22
|
+
.collection(CONSTANTS.Persistence.Collections.members)
|
|
57
23
|
.doc();
|
|
58
|
-
return (prefix + docRef.id) as
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function getNewStepIdentityPrefix<K extends StepKind>(kind: K): (typeof CONSTANTS.IDENTIFIABLES.PREFIXES)[StepIdentityPrefixKey] {
|
|
62
|
-
const key = STEP_KIND_TO_IDENTITY_PREFIX_KEY[kind];
|
|
63
|
-
return CONSTANTS.IDENTIFIABLES.PREFIXES[key];
|
|
24
|
+
return (prefix + docRef.id) as IdentityStringByIdentityName<K>;
|
|
64
25
|
}
|
|
65
26
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
27
|
+
export function getNewStepIdentity<K extends StepKindJson>(stepKind: K): StepIdentityStringByStepKind<K> {
|
|
28
|
+
const identityName = `${capitalizeFirst(stepKind)}StepIdentity` as IdentityName;
|
|
29
|
+
if (!(identityName in MAPPINGS.IdentityNameToIdentityPrefix)) {
|
|
30
|
+
throw new Error(`No IdentityNameToIdentityPrefix entry for derived step identity name: ${identityName}`);
|
|
31
|
+
}
|
|
32
|
+
return getNewIdentity(identityName) as StepIdentityStringByStepKind<K>;
|
|
71
33
|
}
|
|
72
34
|
|
|
73
35
|
export async function listResources(
|
|
74
36
|
resourceTypeHandles: ResourceTypeIdentityJson[]
|
|
75
37
|
): Promise<ResourceMap> {
|
|
76
|
-
const bucket_resources = storageAdmin.bucket(CONSTANTS.
|
|
77
|
-
const bucket_strategies = storageAdmin.bucket(CONSTANTS.
|
|
38
|
+
const bucket_resources = storageAdmin.bucket(CONSTANTS.Persistence.Buckets.tp_resources);
|
|
39
|
+
const bucket_strategies = storageAdmin.bucket(CONSTANTS.Persistence.Buckets.tp_strategies);
|
|
78
40
|
|
|
79
41
|
async function fetchFilesUnder(resourceTypeHandle: ResourceTypeIdentityJson): Promise<Array<{ data: unknown; meta: any; name: string }>> {
|
|
80
|
-
const bucket = resourceTypeHandle === CONSTANTS.
|
|
42
|
+
const bucket = resourceTypeHandle === CONSTANTS.Cosmos.TYPE_RunnableStrategy
|
|
81
43
|
? bucket_strategies
|
|
82
44
|
: bucket_resources;
|
|
83
45
|
const prefix = `${resourceTypeHandle}/`;
|
|
@@ -149,7 +111,11 @@ export async function listResources(
|
|
|
149
111
|
// const resourceTypeHandle = root.resourceTypeHandle; // we already have this
|
|
150
112
|
const resourceRoleHandle = root.creationContext.resourceRoleHandle;
|
|
151
113
|
const jobStepHandle = root.creationContext.jobStepHandle;
|
|
152
|
-
const
|
|
114
|
+
const resourceShellKind = root.resourceShellKind;
|
|
115
|
+
const versionRaw = root.version;
|
|
116
|
+
const version = typeof versionRaw === 'number'
|
|
117
|
+
? versionRaw
|
|
118
|
+
: parseInt(String(versionRaw ?? ''), 10);
|
|
153
119
|
const path = root.path;
|
|
154
120
|
const timestamp = root.timestamp;
|
|
155
121
|
|
|
@@ -157,7 +123,8 @@ export async function listResources(
|
|
|
157
123
|
['identity', identity],
|
|
158
124
|
['resourceRoleHandle', resourceRoleHandle],
|
|
159
125
|
['jobStepHandle', jobStepHandle],
|
|
160
|
-
['
|
|
126
|
+
['resourceShellKind', resourceShellKind],
|
|
127
|
+
['version', Number.isFinite(version) ? String(version) : ''],
|
|
161
128
|
['timestamp', timestamp],
|
|
162
129
|
['path', path],
|
|
163
130
|
].filter(([_, v]) => typeof v !== 'string' || (v as string).length === 0) as Array<[string, string | undefined]>;
|
|
@@ -174,9 +141,10 @@ export async function listResources(
|
|
|
174
141
|
resourceRoleHandle,
|
|
175
142
|
jobStepHandle,
|
|
176
143
|
},
|
|
177
|
-
|
|
178
|
-
|
|
144
|
+
resourceShellKind,
|
|
145
|
+
version,
|
|
179
146
|
timestamp: timestamp as string,
|
|
147
|
+
path: path as string,
|
|
180
148
|
nucleus: data as any,
|
|
181
149
|
} as unknown as ResourceJson;
|
|
182
150
|
});
|
package/src/types/types.ts
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import type {
|
|
2
|
+
StepKindJson,
|
|
2
3
|
ResourceJson,
|
|
3
4
|
ResourceRoleIdentityJson,
|
|
4
5
|
ResourceRoleValueJson,
|
|
5
6
|
ResourceTypeIdentityJson,
|
|
6
7
|
} from '@toolproof-core/schema';
|
|
7
|
-
import { CONSTANTS } from '../
|
|
8
|
+
import { CONSTANTS } from '../artifacts/artifacts.js';
|
|
9
|
+
import { MAPPINGS } from '../artifacts/artifacts.js';
|
|
8
10
|
|
|
9
|
-
export type
|
|
11
|
+
export type Bucket = typeof CONSTANTS.Persistence.Buckets.tp_resources;
|
|
10
12
|
|
|
11
|
-
export type
|
|
13
|
+
export type Collection = keyof typeof CONSTANTS.Persistence.Collections;
|
|
12
14
|
|
|
13
|
-
export type
|
|
15
|
+
export type SchemaLike = Record<string, unknown>;
|
|
14
16
|
|
|
15
17
|
export type Role = { identity: ResourceRoleIdentityJson } & ResourceRoleValueJson;
|
|
16
18
|
|
|
17
|
-
export type ResourceMap = Record<ResourceTypeIdentityJson, ResourceJson[]>;
|
|
19
|
+
export type ResourceMap = Record<ResourceTypeIdentityJson, ResourceJson[]>;
|
|
20
|
+
|
|
21
|
+
export type IdentityName = keyof typeof MAPPINGS.IdentityNameToIdentityPrefix;
|
|
22
|
+
|
|
23
|
+
export type IdentityStringByIdentityName<K extends IdentityName> = `${(typeof MAPPINGS.IdentityNameToIdentityPrefix)[K]}${string}`;
|
|
24
|
+
|
|
25
|
+
export type StepIdentityStringByStepKind<K extends StepKindJson> = `${(typeof MAPPINGS.StepKindToStepIdentityPrefix)[K]}${string}`;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ResourceIdentityJson, ResourceTypeIdentityJson, ResourceJson, ResourceOutputPotentialJson } from '@toolproof-core/schema';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export function generatePath(resourceTypeHandle: ResourceTypeIdentityJson, identity: ResourceIdentityJson): string {
|
|
5
|
+
return `${resourceTypeHandle}/${identity}.json`;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export function fromOutputPotentialToMaterialized(
|
|
9
|
+
outputPotential: ResourceOutputPotentialJson,
|
|
10
|
+
nucleus: unknown,
|
|
11
|
+
timestamp?: string
|
|
12
|
+
): ResourceJson {
|
|
13
|
+
const { identity, resourceTypeHandle, creationContext } = outputPotential;
|
|
14
|
+
|
|
15
|
+
const path = generatePath(resourceTypeHandle, identity);
|
|
16
|
+
|
|
17
|
+
return {
|
|
18
|
+
identity,
|
|
19
|
+
resourceTypeHandle,
|
|
20
|
+
creationContext,
|
|
21
|
+
resourceShellKind: 'materialized',
|
|
22
|
+
version: 1,
|
|
23
|
+
timestamp: timestamp ?? new Date().toISOString(), // Preserve original timestamp when copying
|
|
24
|
+
path,
|
|
25
|
+
nucleus,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ResourceIdentityJson,
|
|
3
|
+
ResourceTypeIdentityJson,
|
|
4
|
+
ResourceJson,
|
|
5
|
+
} from '@toolproof-core/schema';
|
|
6
|
+
import type { ResourceMap } from '../types/types.js';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export function extractResourcesByType<TResource extends ResourceJson = ResourceJson>(
|
|
10
|
+
resourceMap: ResourceMap,
|
|
11
|
+
resourceTypeHandle: ResourceTypeIdentityJson
|
|
12
|
+
): Record<ResourceIdentityJson, TResource> {
|
|
13
|
+
const resources = (resourceMap[resourceTypeHandle] ?? []) as TResource[];
|
|
14
|
+
const result: Record<ResourceIdentityJson, TResource> = {} as Record<ResourceIdentityJson, TResource>;
|
|
15
|
+
|
|
16
|
+
for (const resource of resources) {
|
|
17
|
+
result[resource.identity] = resource;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
return result;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
|
|
25
|
+
*/
|
|
26
|
+
export function extractNucleusMap<
|
|
27
|
+
TKey extends string = string,
|
|
28
|
+
TNucleus extends { identity: string | number | boolean } = { identity: string | number | boolean },
|
|
29
|
+
TResource extends ResourceJson = ResourceJson
|
|
30
|
+
>(
|
|
31
|
+
resourceMap: ResourceMap,
|
|
32
|
+
resourceTypeHandle: ResourceTypeIdentityJson,
|
|
33
|
+
): Map<TKey, TNucleus> {
|
|
34
|
+
const resources = extractResourcesByType<TResource>(resourceMap, resourceTypeHandle);
|
|
35
|
+
const out = new Map<TKey, TNucleus>();
|
|
36
|
+
|
|
37
|
+
for (const resource of Object.values(resources)) {
|
|
38
|
+
const data = (resource as any).nucleus as unknown;
|
|
39
|
+
|
|
40
|
+
const value = data as TNucleus;
|
|
41
|
+
const key = String(value.identity) as TKey;
|
|
42
|
+
|
|
43
|
+
out.set(key, value);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return out;
|
|
47
|
+
}
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./src/
|
|
1
|
+
{"root":["./src/_lib/setup/firebaseadmininit.ts","./src/artifacts/artifacts.ts","./src/firebase/firebaseadminhelpers.ts","./src/types/types.ts","./src/utils/creation.ts","./src/utils/resourcemapextraction.ts"],"version":"5.9.3"}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
export declare const CONSTANTS: {
|
|
2
|
-
readonly PERSISTENCE: {
|
|
3
|
-
readonly BUCKETS: {
|
|
4
|
-
readonly tp_resources: "tp-resources";
|
|
5
|
-
readonly tp_strategies: "tp-strategies";
|
|
6
|
-
};
|
|
7
|
-
readonly COLLECTIONS: {
|
|
8
|
-
readonly resources: "resources";
|
|
9
|
-
readonly members: "members";
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
readonly ENGINE: {
|
|
13
|
-
readonly GRAPHS: {
|
|
14
|
-
readonly GraphRunStrategy: "GraphRunStrategy";
|
|
15
|
-
readonly GraphBuildStrategy: "GraphBuildStrategy";
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
readonly COSMOS: {
|
|
19
|
-
readonly TYPE_Boolean: "TYPE-Boolean";
|
|
20
|
-
readonly TYPE_Natural: "TYPE-Natural";
|
|
21
|
-
readonly TYPE_ResourceType: "TYPE-ResourceType";
|
|
22
|
-
readonly TYPE_Job: "TYPE-Job";
|
|
23
|
-
readonly TYPE_Error: "TYPE-Error";
|
|
24
|
-
readonly TYPE_RawStrategy: "TYPE-RawStrategy";
|
|
25
|
-
readonly TYPE_RunnableStrategy: "TYPE-RunnableStrategy";
|
|
26
|
-
readonly TYPE_StrategyRun: "TYPE-StrategyRun";
|
|
27
|
-
readonly ROLE_Manual: "ROLE-Manual";
|
|
28
|
-
readonly ROLE_ErrorOutput: "ROLE-ErrorOutput";
|
|
29
|
-
readonly ROLE_LessThanSource: "ROLE-LessThanSource";
|
|
30
|
-
readonly ROLE_LessThanTarget: "ROLE-LessThanTarget";
|
|
31
|
-
readonly ROLE_LessThanDecision: "ROLE-LessThanDecision";
|
|
32
|
-
readonly JOB_LessThan: "JOB-LessThan";
|
|
33
|
-
readonly BOOLEAN_false: "RESOURCE-qadnfFGjZsjpqLI0Du1d";
|
|
34
|
-
readonly BOOLEAN_true: "RESOURCE-iZX1cxZ9ImJRzty9Ob4G";
|
|
35
|
-
};
|
|
36
|
-
readonly IDENTIFIABLES: {
|
|
37
|
-
readonly PREFIXES: {
|
|
38
|
-
readonly BranchStepIdentity: "BRANCH_STEP-";
|
|
39
|
-
readonly ForStepIdentity: "FOR_STEP-";
|
|
40
|
-
readonly GoalIdentity: "GOAL-";
|
|
41
|
-
readonly JobIdentity: "JOB-";
|
|
42
|
-
readonly JobStepIdentity: "JOB_STEP-";
|
|
43
|
-
readonly ResourceIdentity: "RESOURCE-";
|
|
44
|
-
readonly ResourceRoleIdentity: "ROLE-";
|
|
45
|
-
readonly ResourceTypeIdentity: "TYPE-";
|
|
46
|
-
readonly RunnableStrategyIdentity: "RUNNABLE_STRATEGY-";
|
|
47
|
-
readonly StrategyRunIdentity: "STRATEGY_RUN-";
|
|
48
|
-
readonly StrategyThreadIdentity: "STRATEGY_THREAD-";
|
|
49
|
-
readonly WhileStepIdentity: "WHILE_STEP-";
|
|
50
|
-
};
|
|
51
|
-
readonly NAMES: {
|
|
52
|
-
readonly BranchStep: "BranchStep";
|
|
53
|
-
readonly ForStep: "ForStep";
|
|
54
|
-
readonly Goal: "Goal";
|
|
55
|
-
readonly Job: "Job";
|
|
56
|
-
readonly JobStep: "JobStep";
|
|
57
|
-
readonly Resource: "Resource";
|
|
58
|
-
readonly ResourceRole: "ResourceRole";
|
|
59
|
-
readonly ResourceType: "ResourceType";
|
|
60
|
-
readonly RunnableStrategy: "RunnableStrategy";
|
|
61
|
-
readonly StrategyRun: "StrategyRun";
|
|
62
|
-
readonly StrategyThread: "StrategyThread";
|
|
63
|
-
readonly WhileStep: "WhileStep";
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
readonly ENUMS: {
|
|
67
|
-
readonly ResourceKind: {
|
|
68
|
-
readonly missing: "missing";
|
|
69
|
-
readonly inputPotential: "inputPotential";
|
|
70
|
-
readonly outputPotential: "outputPotential";
|
|
71
|
-
readonly materialized: "materialized";
|
|
72
|
-
};
|
|
73
|
-
readonly RunEventKind: {
|
|
74
|
-
readonly graph_start: "graph_start";
|
|
75
|
-
readonly tick: "tick";
|
|
76
|
-
readonly interrupt: "interrupt";
|
|
77
|
-
readonly graph_end: "graph_end";
|
|
78
|
-
};
|
|
79
|
-
readonly RunnableStrategyStatus: {
|
|
80
|
-
readonly pending: "pending";
|
|
81
|
-
readonly running: "running";
|
|
82
|
-
readonly completed: "completed";
|
|
83
|
-
readonly failed: "failed";
|
|
84
|
-
readonly cancelled: "cancelled";
|
|
85
|
-
};
|
|
86
|
-
readonly StepKind: {
|
|
87
|
-
readonly job: "job";
|
|
88
|
-
readonly branch: "branch";
|
|
89
|
-
readonly while: "while";
|
|
90
|
-
readonly for: "for";
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCZ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,CAAC,MAAM,SAAS,GAAG;IACrB,GAAG,UAAU;IACb,WAAW,EAAE;QACT,OAAO,EAAE;YACL,YAAY,EAAE,cAAc;YAC5B,aAAa,EAAE,eAAe;SACjC;QACD,WAAW,EAAE;YACT,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACrB;KACJ;IACD,MAAM,EAAE;QACJ,MAAM,EAAE;YACJ,gBAAgB,EAAE,kBAAkB;YACpC,kBAAkB,EAAE,oBAAoB;SAC3C;KACJ;IACD,MAAM,EAAE;QACJ,YAAY,EAAE,cAAc;QAC5B,YAAY,EAAE,cAAc;QAC5B,iBAAiB,EAAE,mBAAmB;QACtC,QAAQ,EAAE,UAAU;QACpB,UAAU,EAAE,YAAY;QACxB,gBAAgB,EAAE,kBAAkB;QACpC,qBAAqB,EAAE,uBAAuB;QAC9C,gBAAgB,EAAE,kBAAkB;QACpC,WAAW,EAAE,aAAa;QAC1B,gBAAgB,EAAE,kBAAkB;QACpC,mBAAmB,EAAE,qBAAqB;QAC1C,mBAAmB,EAAE,qBAAqB;QAC1C,qBAAqB,EAAE,uBAAuB;QAC9C,YAAY,EAAE,cAAc;QAC5B,aAAa,EAAE,+BAA+B;QAC9C,YAAY,EAAE,+BAA+B;KAChD;CACK,CAAC"}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
export declare const CONSTANTS: {
|
|
2
|
-
readonly PERSISTENCE: {
|
|
3
|
-
readonly BUCKETS: {
|
|
4
|
-
readonly tp_resources: "tp-resources";
|
|
5
|
-
readonly tp_strategies: "tp-strategies";
|
|
6
|
-
};
|
|
7
|
-
readonly COLLECTIONS: {
|
|
8
|
-
readonly resources: "resources";
|
|
9
|
-
readonly members: "members";
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
readonly ENGINE: {
|
|
13
|
-
readonly GRAPHS: {
|
|
14
|
-
readonly GraphRunStrategy: "GraphRunStrategy";
|
|
15
|
-
readonly GraphBuildStrategy: "GraphBuildStrategy";
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
readonly COSMOS: {
|
|
19
|
-
readonly TYPE_Boolean: "TYPE-Boolean";
|
|
20
|
-
readonly TYPE_Natural: "TYPE-Natural";
|
|
21
|
-
readonly TYPE_ResourceType: "TYPE-ResourceType";
|
|
22
|
-
readonly TYPE_Job: "TYPE-Job";
|
|
23
|
-
readonly TYPE_Error: "TYPE-Error";
|
|
24
|
-
readonly TYPE_RawStrategy: "TYPE-RawStrategy";
|
|
25
|
-
readonly TYPE_RunnableStrategy: "TYPE-RunnableStrategy";
|
|
26
|
-
readonly TYPE_StrategyRun: "TYPE-StrategyRun";
|
|
27
|
-
readonly ROLE_Manual: "ROLE-Manual";
|
|
28
|
-
readonly ROLE_ErrorOutput: "ROLE-ErrorOutput";
|
|
29
|
-
readonly ROLE_LessThanSource: "ROLE-LessThanSource";
|
|
30
|
-
readonly ROLE_LessThanTarget: "ROLE-LessThanTarget";
|
|
31
|
-
readonly ROLE_LessThanDecision: "ROLE-LessThanDecision";
|
|
32
|
-
readonly JOB_LessThan: "JOB-LessThan";
|
|
33
|
-
readonly BOOLEAN_false: "RESOURCE-qadnfFGjZsjpqLI0Du1d";
|
|
34
|
-
readonly BOOLEAN_true: "RESOURCE-iZX1cxZ9ImJRzty9Ob4G";
|
|
35
|
-
};
|
|
36
|
-
readonly IDENTIFIABLES: {
|
|
37
|
-
readonly PREFIXES: {
|
|
38
|
-
readonly BranchStepIdentity: "BRANCH_STEP-";
|
|
39
|
-
readonly ForStepIdentity: "FOR_STEP-";
|
|
40
|
-
readonly GoalIdentity: "GOAL-";
|
|
41
|
-
readonly JobIdentity: "JOB-";
|
|
42
|
-
readonly JobStepIdentity: "JOB_STEP-";
|
|
43
|
-
readonly ResourceIdentity: "RESOURCE-";
|
|
44
|
-
readonly ResourceRoleIdentity: "ROLE-";
|
|
45
|
-
readonly ResourceTypeIdentity: "TYPE-";
|
|
46
|
-
readonly RunnableStrategyIdentity: "RUNNABLE_STRATEGY-";
|
|
47
|
-
readonly StrategyRunIdentity: "STRATEGY_RUN-";
|
|
48
|
-
readonly StrategyThreadIdentity: "STRATEGY_THREAD-";
|
|
49
|
-
readonly WhileStepIdentity: "WHILE_STEP-";
|
|
50
|
-
};
|
|
51
|
-
readonly NAMES: {
|
|
52
|
-
readonly BranchStep: "BranchStep";
|
|
53
|
-
readonly ForStep: "ForStep";
|
|
54
|
-
readonly Goal: "Goal";
|
|
55
|
-
readonly Job: "Job";
|
|
56
|
-
readonly JobStep: "JobStep";
|
|
57
|
-
readonly Resource: "Resource";
|
|
58
|
-
readonly ResourceRole: "ResourceRole";
|
|
59
|
-
readonly ResourceType: "ResourceType";
|
|
60
|
-
readonly RunnableStrategy: "RunnableStrategy";
|
|
61
|
-
readonly StrategyRun: "StrategyRun";
|
|
62
|
-
readonly StrategyThread: "StrategyThread";
|
|
63
|
-
readonly WhileStep: "WhileStep";
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
readonly ENUMS: {
|
|
67
|
-
readonly ResourceKind: {
|
|
68
|
-
readonly missing: "missing";
|
|
69
|
-
readonly "input-potential": "input-potential";
|
|
70
|
-
readonly "output-potential": "output-potential";
|
|
71
|
-
readonly materialized: "materialized";
|
|
72
|
-
};
|
|
73
|
-
readonly RunEventKind: {
|
|
74
|
-
readonly graph_start: "graph_start";
|
|
75
|
-
readonly tick: "tick";
|
|
76
|
-
readonly interrupt: "interrupt";
|
|
77
|
-
readonly graph_end: "graph_end";
|
|
78
|
-
};
|
|
79
|
-
readonly RunnableStrategyStatus: {
|
|
80
|
-
readonly pending: "pending";
|
|
81
|
-
readonly running: "running";
|
|
82
|
-
readonly completed: "completed";
|
|
83
|
-
readonly failed: "failed";
|
|
84
|
-
readonly cancelled: "cancelled";
|
|
85
|
-
};
|
|
86
|
-
readonly StepKind: {
|
|
87
|
-
readonly job: "job";
|
|
88
|
-
readonly branch: "branch";
|
|
89
|
-
readonly while: "while";
|
|
90
|
-
readonly for: "for";
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/declarations/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCZ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/declarations/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,CAAC,MAAM,SAAS,GAAG;IACrB,GAAG,UAAU;IACb,WAAW,EAAE;QACT,OAAO,EAAE;YACL,YAAY,EAAE,cAAc;YAC5B,aAAa,EAAE,eAAe;SACjC;QACD,WAAW,EAAE;YACT,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACrB;KACJ;IACD,MAAM,EAAE;QACJ,MAAM,EAAE;YACJ,gBAAgB,EAAE,kBAAkB;YACpC,kBAAkB,EAAE,oBAAoB;SAC3C;KACJ;IACD,MAAM,EAAE;QACJ,YAAY,EAAE,cAAc;QAC5B,YAAY,EAAE,cAAc;QAC5B,iBAAiB,EAAE,mBAAmB;QACtC,QAAQ,EAAE,UAAU;QACpB,UAAU,EAAE,YAAY;QACxB,gBAAgB,EAAE,kBAAkB;QACpC,qBAAqB,EAAE,uBAAuB;QAC9C,gBAAgB,EAAE,kBAAkB;QACpC,WAAW,EAAE,aAAa;QAC1B,gBAAgB,EAAE,kBAAkB;QACpC,mBAAmB,EAAE,qBAAqB;QAC1C,mBAAmB,EAAE,qBAAqB;QAC1C,qBAAqB,EAAE,uBAAuB;QAC9C,YAAY,EAAE,cAAc;QAC5B,aAAa,EAAE,+BAA+B;QAC9C,YAAY,EAAE,+BAA+B;KAChD;CACK,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ResourceJson, ResourceRoleIdentityJson, ResourceRoleValueJson, ResourceTypeIdentityJson } from '@toolproof-core/schema';
|
|
2
|
-
import { CONSTANTS } from './constants.js';
|
|
3
|
-
export type BucketConst = typeof CONSTANTS.PERSISTENCE.BUCKETS.tp_resources;
|
|
4
|
-
export type CollectionConst = keyof typeof CONSTANTS.PERSISTENCE.COLLECTIONS;
|
|
5
|
-
export type IdentityPrefix = keyof typeof CONSTANTS.IDENTIFIABLES.PREFIXES;
|
|
6
|
-
export type Role = {
|
|
7
|
-
identity: ResourceRoleIdentityJson;
|
|
8
|
-
} & ResourceRoleValueJson;
|
|
9
|
-
export type ResourceMap = Record<ResourceTypeIdentityJson, ResourceJson[]>;
|
|
10
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/declarations/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,YAAY,EACZ,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,EACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,MAAM,WAAW,GAAG,OAAO,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,YAAY,CAAC;AAE5E,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,SAAS,CAAC,WAAW,CAAC,WAAW,CAAC;AAE7E,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,SAAS,CAAC,aAAa,CAAC,QAAQ,CAAC;AAE3E,MAAM,MAAM,IAAI,GAAG;IAAE,QAAQ,EAAE,wBAAwB,CAAA;CAAE,GAAG,qBAAqB,CAAC;AAElF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,wBAAwB,EAAE,YAAY,EAAE,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/declarations/types.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ResourceJson, ResourceRoleIdentityJson, ResourceRoleValueJson, ResourceTypeIdentityJson } from '@toolproof-core/schema';
|
|
2
|
-
import { CONSTANTS } from '../declarations/constants.js';
|
|
3
|
-
export type BucketConst = typeof CONSTANTS.STORAGE.BUCKETS.tp_resources;
|
|
4
|
-
export type CollectionConst = keyof typeof CONSTANTS.STORAGE.COLLECTIONS;
|
|
5
|
-
export type IdentityPrefix = keyof typeof CONSTANTS.IDENTITY_PREFIXES;
|
|
6
|
-
export type StepConst = keyof typeof CONSTANTS.STEPS;
|
|
7
|
-
export type Role = {
|
|
8
|
-
identity: ResourceRoleIdentityJson;
|
|
9
|
-
} & ResourceRoleValueJson;
|
|
10
|
-
export type ResourceMap = Record<ResourceTypeIdentityJson, ResourceJson[]>;
|
|
11
|
-
//# sourceMappingURL=typesTS.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typesTS.d.ts","sourceRoot":"","sources":["../../src/declarations/typesTS.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,YAAY,EACZ,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,EACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG,OAAO,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC;AAExE,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,SAAS,CAAC,OAAO,CAAC,WAAW,CAAC;AAEzE,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,SAAS,CAAC,iBAAiB,CAAC;AAEtE,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,SAAS,CAAC,KAAK,CAAC;AAErD,MAAM,MAAM,IAAI,GAAG;IAAE,QAAQ,EAAE,wBAAwB,CAAA;CAAE,GAAG,qBAAqB,CAAC;AAElF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,wBAAwB,EAAE,YAAY,EAAE,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typesTS.js","sourceRoot":"","sources":["../../src/declarations/typesTS.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"firebaseAdminInit.d.ts","sourceRoot":"","sources":["../../src/firebase/firebaseAdminInit.ts"],"names":[],"mappings":"AAkCA,QAAA,MAAM,OAAO,6BAAoB,CAAC;AAClC,QAAA,MAAM,YAAY,0CAAkB,CAAC;AAErC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"firebaseAdminInit.js","sourceRoot":"","sources":["../../src/firebase/firebaseAdminInit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,uGAAuG;AACvG,SAAS,iBAAiB;IACtB,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;IACnE,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;IAC3D,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,cAAc,CAAC,CAAC;IAC9D,IAAI,CAAC;QACD,IAAI,UAAU,EAAE,CAAC;YACb,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YACpC,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC;QACtB,CAAC;QACD,IAAI,OAAO,IAAI,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;YACjC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;YACvD,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC;QACtB,CAAC;QACD,IAAI,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC;YAC3B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;YAC5D,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC;QACtB,CAAC;IACL,CAAC;IAAC,MAAM,CAAC;QACL,sBAAsB;IAC1B,CAAC;IACD,OAAO,kBAAkB,EAAE,CAAC;AAChC,CAAC;AAED,MAAM,GAAG,GAAG,OAAO,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC;IACpD,UAAU,EAAE,iBAAiB,EAAE;IAC/B,SAAS,EAAE,iBAAiB;CAC/B,CAAC,CAAC;AACH,MAAM,OAAO,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;AAClC,MAAM,YAAY,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC;AAErC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
package/dist/index.d.ts
DELETED
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,cAAc,oCAAoC,CAAC"}
|
package/dist/index.js
DELETED
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,cAAc,oCAAoC,CAAC"}
|