@astrale-domains/shell 0.1.0-beta.29 → 0.1.0-beta.31
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,6 +1,10 @@
|
|
|
1
|
-
import type { NodeClass } from '@astrale-os/sdk/schema';
|
|
1
|
+
import type { NodeClass, PathAuthoring } from '@astrale-os/sdk/schema';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
+
/**
|
|
4
|
+
* Named through the SDK facade on purpose: an inferred shape lets tsc emit the Kernel DSL origin
|
|
5
|
+
* of `PathAuthoring` into the published declarations, which the Domain platform check rejects.
|
|
6
|
+
*/
|
|
3
7
|
export declare const groupMembershipInput: z.ZodObject<{
|
|
4
|
-
member:
|
|
5
|
-
group:
|
|
6
|
-
}
|
|
8
|
+
member: PathAuthoring<readonly [() => NodeClass, () => NodeClass]>;
|
|
9
|
+
group: PathAuthoring<readonly [() => NodeClass]>;
|
|
10
|
+
}>;
|
|
@@ -2,6 +2,10 @@ import { path } from '@astrale-os/sdk/schema';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { User } from '../../user/index.js';
|
|
4
4
|
import { Group } from '../classes/group.js';
|
|
5
|
+
/**
|
|
6
|
+
* Named through the SDK facade on purpose: an inferred shape lets tsc emit the Kernel DSL origin
|
|
7
|
+
* of `PathAuthoring` into the published declarations, which the Domain platform check rejects.
|
|
8
|
+
*/
|
|
5
9
|
export const groupMembershipInput = z.object({
|
|
6
10
|
member: path(() => User, () => Group),
|
|
7
11
|
group: path(() => Group),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-domains/shell",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.31",
|
|
4
4
|
"description": "Astrale Shell Domain schema and remote product implementation",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@astrale-os/ox": "0.1.4",
|
|
61
|
-
"@astrale-os/sdk": "0.5.0-beta.
|
|
61
|
+
"@astrale-os/sdk": "0.5.0-beta.136",
|
|
62
62
|
"@astrale/typescript-config": "npm:@jsr/astrale__typescript-config@~1.1.3",
|
|
63
63
|
"@types/node": "26.2.0",
|
|
64
64
|
"happy-dom": "20.11.2",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"vitest": "4.1.10"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
|
-
"@astrale-os/sdk": ">=0.5.0-beta.
|
|
70
|
+
"@astrale-os/sdk": ">=0.5.0-beta.136 <1.0.0"
|
|
71
71
|
},
|
|
72
72
|
"devEngines": {
|
|
73
73
|
"runtime": {
|