@seedprotocol/sdk 0.1.50 → 0.1.52
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/types/src/browser/services/db/actors/validate.d.ts +1 -0
- package/dist/types/src/browser/services/db/actors/validate.d.ts.map +1 -1
- package/dist/types/src/browser/services/db/dbMachine.d.ts +3 -3
- package/dist/types/src/browser/services/global/globalMachine.d.ts +20 -20
- package/package.json +7 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { EventObject } from 'xstate';
|
|
2
|
+
import { DbServiceContext, FromCallbackInput } from '@/types/machines';
|
|
2
3
|
export declare const validate: import("xstate").CallbackActorLogic<EventObject, FromCallbackInput<DbServiceContext>, EventObject>;
|
|
3
4
|
//# sourceMappingURL=validate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../../../../../src/browser/services/db/actors/validate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgB,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../../../../../src/browser/services/db/actors/validate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgB,MAAM,QAAQ,CAAA;AAClD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAOtE,eAAO,MAAM,QAAQ,oGAiCnB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DbServiceContext } from '@/types';
|
|
2
2
|
declare const dbMachine: import("xstate").StateMachine<Partial<DbServiceContext>, import("xstate").AnyEventObject, {
|
|
3
|
-
[x: string]: import("xstate").ActorRefFromLogic<import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<DbServiceContext>, import("xstate").EventObject>> |
|
|
3
|
+
[x: string]: import("xstate").ActorRefFromLogic<import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<DbServiceContext>, import("xstate").EventObject>> | undefined;
|
|
4
4
|
}, import("xstate").Values<{
|
|
5
5
|
migrate: {
|
|
6
6
|
src: "migrate";
|
|
@@ -14,7 +14,7 @@ declare const dbMachine: import("xstate").StateMachine<Partial<DbServiceContext>
|
|
|
14
14
|
};
|
|
15
15
|
validate: {
|
|
16
16
|
src: "validate";
|
|
17
|
-
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, FromCallbackInput<DbServiceContext>, import("xstate").EventObject>;
|
|
17
|
+
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<DbServiceContext>, import("xstate").EventObject>;
|
|
18
18
|
id: string | undefined;
|
|
19
19
|
};
|
|
20
20
|
connectToDb: {
|
|
@@ -35,7 +35,7 @@ declare const dbMachine: import("xstate").StateMachine<Partial<DbServiceContext>
|
|
|
35
35
|
};
|
|
36
36
|
validate: {
|
|
37
37
|
src: "validate";
|
|
38
|
-
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, FromCallbackInput<DbServiceContext>, import("xstate").EventObject>;
|
|
38
|
+
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<DbServiceContext>, import("xstate").EventObject>;
|
|
39
39
|
id: string | undefined;
|
|
40
40
|
};
|
|
41
41
|
connectToDb: {
|
|
@@ -8,24 +8,19 @@ declare const globalMachine: import("xstate").StateMachine<GlobalMachineContext,
|
|
|
8
8
|
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext>, import("xstate").EventObject>;
|
|
9
9
|
id: string | undefined;
|
|
10
10
|
};
|
|
11
|
-
addModelsToDb: {
|
|
12
|
-
src: "addModelsToDb";
|
|
13
|
-
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext>, import("xstate").EventObject>;
|
|
14
|
-
id: string | undefined;
|
|
15
|
-
};
|
|
16
11
|
getSchemaForModel: {
|
|
17
12
|
src: "getSchemaForModel";
|
|
18
13
|
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext, import("@/types").GetSchemaForModelEvent>, import("xstate").EventObject>;
|
|
19
14
|
id: string | undefined;
|
|
20
15
|
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
src: "initialize";
|
|
16
|
+
addModelsToDb: {
|
|
17
|
+
src: "addModelsToDb";
|
|
24
18
|
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext>, import("xstate").EventObject>;
|
|
25
19
|
id: string | undefined;
|
|
26
20
|
};
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
}>, never, never, never, {}, string, GlobalMachineContext, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, import("xstate").MachineConfig<GlobalMachineContext, import("xstate").AnyEventObject, import("xstate").Values<{
|
|
22
|
+
initialize: {
|
|
23
|
+
src: "initialize";
|
|
29
24
|
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext>, import("xstate").EventObject>;
|
|
30
25
|
id: string | undefined;
|
|
31
26
|
};
|
|
@@ -34,6 +29,11 @@ declare const globalMachine: import("xstate").StateMachine<GlobalMachineContext,
|
|
|
34
29
|
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext, import("@/types").GetSchemaForModelEvent>, import("xstate").EventObject>;
|
|
35
30
|
id: string | undefined;
|
|
36
31
|
};
|
|
32
|
+
addModelsToDb: {
|
|
33
|
+
src: "addModelsToDb";
|
|
34
|
+
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext>, import("xstate").EventObject>;
|
|
35
|
+
id: string | undefined;
|
|
36
|
+
};
|
|
37
37
|
}>, never, never, never, string, GlobalMachineContext, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject>>;
|
|
38
38
|
declare const globalService: import("xstate").Actor<import("xstate").StateMachine<GlobalMachineContext, import("xstate").AnyEventObject, {
|
|
39
39
|
[x: string]: import("xstate").ActorRefFromLogic<import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext>, import("xstate").EventObject>> | import("xstate").ActorRefFromLogic<import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext, import("@/types").GetSchemaForModelEvent>, import("xstate").EventObject>> | undefined;
|
|
@@ -43,24 +43,19 @@ declare const globalService: import("xstate").Actor<import("xstate").StateMachin
|
|
|
43
43
|
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext>, import("xstate").EventObject>;
|
|
44
44
|
id: string | undefined;
|
|
45
45
|
};
|
|
46
|
-
addModelsToDb: {
|
|
47
|
-
src: "addModelsToDb";
|
|
48
|
-
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext>, import("xstate").EventObject>;
|
|
49
|
-
id: string | undefined;
|
|
50
|
-
};
|
|
51
46
|
getSchemaForModel: {
|
|
52
47
|
src: "getSchemaForModel";
|
|
53
48
|
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext, import("@/types").GetSchemaForModelEvent>, import("xstate").EventObject>;
|
|
54
49
|
id: string | undefined;
|
|
55
50
|
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
src: "initialize";
|
|
51
|
+
addModelsToDb: {
|
|
52
|
+
src: "addModelsToDb";
|
|
59
53
|
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext>, import("xstate").EventObject>;
|
|
60
54
|
id: string | undefined;
|
|
61
55
|
};
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
}>, never, never, never, {}, string, GlobalMachineContext, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, import("xstate").MachineConfig<GlobalMachineContext, import("xstate").AnyEventObject, import("xstate").Values<{
|
|
57
|
+
initialize: {
|
|
58
|
+
src: "initialize";
|
|
64
59
|
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext>, import("xstate").EventObject>;
|
|
65
60
|
id: string | undefined;
|
|
66
61
|
};
|
|
@@ -69,6 +64,11 @@ declare const globalService: import("xstate").Actor<import("xstate").StateMachin
|
|
|
69
64
|
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext, import("@/types").GetSchemaForModelEvent>, import("xstate").EventObject>;
|
|
70
65
|
id: string | undefined;
|
|
71
66
|
};
|
|
67
|
+
addModelsToDb: {
|
|
68
|
+
src: "addModelsToDb";
|
|
69
|
+
logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("@/types").FromCallbackInput<GlobalMachineContext>, import("xstate").EventObject>;
|
|
70
|
+
id: string | undefined;
|
|
71
|
+
};
|
|
72
72
|
}>, never, never, never, string, GlobalMachineContext, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject>>>;
|
|
73
73
|
declare const getGlobalService: () => ActorRefFrom<typeof globalMachine>;
|
|
74
74
|
export { globalMachine, getGlobalService, globalService };
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seedprotocol/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.52",
|
|
4
4
|
"description": "The SDK for Seed Protocol",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"types": "dist/types/src/index.d.ts",
|
|
6
|
+
"types": "./dist/types/src/index.d.ts",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">= 20 < 21"
|
|
9
9
|
},
|
|
@@ -165,7 +165,11 @@
|
|
|
165
165
|
},
|
|
166
166
|
"exports": {
|
|
167
167
|
".": "./dist/main.js",
|
|
168
|
-
"./browser":
|
|
168
|
+
"./browser": {
|
|
169
|
+
"import": "./dist/main.js",
|
|
170
|
+
"require": "./dist/main.js",
|
|
171
|
+
"types": "./dist/types/src/index.d.ts"
|
|
172
|
+
},
|
|
169
173
|
"./node": "./dist/node/main.js"
|
|
170
174
|
}
|
|
171
175
|
}
|