@mog-sdk/node 0.1.9-beta.2 → 0.1.9
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/index.cjs +843 -290
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -2
- package/dist/index.d.ts +32 -2
- package/dist/index.js +843 -290
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -66,8 +66,38 @@ interface TypeResult {
|
|
|
66
66
|
docstring?: string;
|
|
67
67
|
}
|
|
68
68
|
type DescribeResult = OverviewResult | InterfaceResult | MethodResult | TypeResult | null;
|
|
69
|
+
interface MethodNode {
|
|
70
|
+
readonly name: string;
|
|
71
|
+
readonly path: string;
|
|
72
|
+
readonly signature: string;
|
|
73
|
+
readonly docstring: string;
|
|
74
|
+
readonly tags: string[];
|
|
75
|
+
readonly types: Record<string, TypeResult>;
|
|
76
|
+
}
|
|
77
|
+
interface SubApiNode {
|
|
78
|
+
readonly name: string;
|
|
79
|
+
readonly path: string;
|
|
80
|
+
readonly docstring: string;
|
|
81
|
+
readonly methods: MethodSummary[];
|
|
82
|
+
readonly [methodName: string]: MethodNode | unknown;
|
|
83
|
+
}
|
|
84
|
+
interface RootNode {
|
|
85
|
+
readonly name: string;
|
|
86
|
+
readonly methods: MethodSummary[];
|
|
87
|
+
readonly subApis: string[];
|
|
88
|
+
readonly [key: string]: SubApiNode | MethodNode | unknown;
|
|
89
|
+
}
|
|
90
|
+
interface TypesNode {
|
|
91
|
+
readonly [typeName: string]: TypeResult;
|
|
92
|
+
}
|
|
69
93
|
declare const api: {
|
|
70
|
-
describe:
|
|
94
|
+
describe: {
|
|
95
|
+
(): OverviewResult;
|
|
96
|
+
(path: string): DescribeResult;
|
|
97
|
+
};
|
|
98
|
+
wb: RootNode;
|
|
99
|
+
ws: RootNode;
|
|
100
|
+
types: TypesNode;
|
|
71
101
|
};
|
|
72
102
|
|
|
73
103
|
|
|
@@ -563,4 +593,4 @@ declare function createCollaborativeGroup(addon: NapiAddonModule, count: number,
|
|
|
563
593
|
dispose: () => Promise<void>;
|
|
564
594
|
}>;
|
|
565
595
|
|
|
566
|
-
export { type Lock as CollabLock, type LockScope as CollabLockScope, CollaborativeEngine, type CollaborativeEngineOptions, type DescribeResult, type HeadlessCodeExecutorFactory, HeadlessEngine, type HeadlessOptions, type InterfaceResult, type MethodResult, type MethodSummary, type NapiAddonModule, type OverviewResult, type SyncMode, type TypeResult, api, createCollaborativeGroup, createHeadlessEngine, save };
|
|
596
|
+
export { type Lock as CollabLock, type LockScope as CollabLockScope, CollaborativeEngine, type CollaborativeEngineOptions, type DescribeResult, type HeadlessCodeExecutorFactory, HeadlessEngine, type HeadlessOptions, type InterfaceResult, type MethodNode, type MethodResult, type MethodSummary, type NapiAddonModule, type OverviewResult, type RootNode, type SubApiNode, type SyncMode, type TypeResult, type TypesNode, api, createCollaborativeGroup, createHeadlessEngine, save };
|
package/dist/index.d.ts
CHANGED
|
@@ -66,8 +66,38 @@ interface TypeResult {
|
|
|
66
66
|
docstring?: string;
|
|
67
67
|
}
|
|
68
68
|
type DescribeResult = OverviewResult | InterfaceResult | MethodResult | TypeResult | null;
|
|
69
|
+
interface MethodNode {
|
|
70
|
+
readonly name: string;
|
|
71
|
+
readonly path: string;
|
|
72
|
+
readonly signature: string;
|
|
73
|
+
readonly docstring: string;
|
|
74
|
+
readonly tags: string[];
|
|
75
|
+
readonly types: Record<string, TypeResult>;
|
|
76
|
+
}
|
|
77
|
+
interface SubApiNode {
|
|
78
|
+
readonly name: string;
|
|
79
|
+
readonly path: string;
|
|
80
|
+
readonly docstring: string;
|
|
81
|
+
readonly methods: MethodSummary[];
|
|
82
|
+
readonly [methodName: string]: MethodNode | unknown;
|
|
83
|
+
}
|
|
84
|
+
interface RootNode {
|
|
85
|
+
readonly name: string;
|
|
86
|
+
readonly methods: MethodSummary[];
|
|
87
|
+
readonly subApis: string[];
|
|
88
|
+
readonly [key: string]: SubApiNode | MethodNode | unknown;
|
|
89
|
+
}
|
|
90
|
+
interface TypesNode {
|
|
91
|
+
readonly [typeName: string]: TypeResult;
|
|
92
|
+
}
|
|
69
93
|
declare const api: {
|
|
70
|
-
describe:
|
|
94
|
+
describe: {
|
|
95
|
+
(): OverviewResult;
|
|
96
|
+
(path: string): DescribeResult;
|
|
97
|
+
};
|
|
98
|
+
wb: RootNode;
|
|
99
|
+
ws: RootNode;
|
|
100
|
+
types: TypesNode;
|
|
71
101
|
};
|
|
72
102
|
|
|
73
103
|
|
|
@@ -563,4 +593,4 @@ declare function createCollaborativeGroup(addon: NapiAddonModule, count: number,
|
|
|
563
593
|
dispose: () => Promise<void>;
|
|
564
594
|
}>;
|
|
565
595
|
|
|
566
|
-
export { type Lock as CollabLock, type LockScope as CollabLockScope, CollaborativeEngine, type CollaborativeEngineOptions, type DescribeResult, type HeadlessCodeExecutorFactory, HeadlessEngine, type HeadlessOptions, type InterfaceResult, type MethodResult, type MethodSummary, type NapiAddonModule, type OverviewResult, type SyncMode, type TypeResult, api, createCollaborativeGroup, createHeadlessEngine, save };
|
|
596
|
+
export { type Lock as CollabLock, type LockScope as CollabLockScope, CollaborativeEngine, type CollaborativeEngineOptions, type DescribeResult, type HeadlessCodeExecutorFactory, HeadlessEngine, type HeadlessOptions, type InterfaceResult, type MethodNode, type MethodResult, type MethodSummary, type NapiAddonModule, type OverviewResult, type RootNode, type SubApiNode, type SyncMode, type TypeResult, type TypesNode, api, createCollaborativeGroup, createHeadlessEngine, save };
|