@astrale-domains/shell 0.1.0-beta.7 → 0.1.0-beta.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/actions/user/resolve-home.js +1 -1
- package/dist/application.d.ts +9807 -3
- package/dist/mutations/group/membership.js +17 -19
- package/dist/mutations/space/access.js +21 -23
- package/dist/mutations/space/default.js +18 -20
- package/dist/mutations/user/repair.js +76 -78
- package/dist/queries/space/access.js +9 -11
- package/dist/queries/space/admin.js +18 -25
- package/dist/queries/space/member.js +15 -22
- package/dist/queries/user/groups.js +15 -22
- package/dist/queries/user/home.js +19 -26
- package/dist/queries/user/owned-spaces.js +15 -22
- package/dist/queries/user/profile.js +3 -6
- package/dist/queries/user/setup.js +11 -13
- package/dist/runtime.d.ts +7355 -2
- package/dist/schema/domain/index.d.ts +1161 -26407
- package/dist/schema/domain/index.js +4 -5
- package/dist/schema/group/class.d.ts +167 -3132
- package/dist/schema/group/core.d.ts +2 -6
- package/dist/schema/group/index.d.ts +1 -1
- package/dist/schema/group/index.js +1 -1
- package/dist/schema/group/methods.d.ts +13 -2059
- package/dist/schema/group/methods.js +2 -1
- package/dist/schema/group/relationships.d.ts +6 -4303
- package/dist/schema/group/view.d.ts +1 -3291
- package/dist/schema/home/view.d.ts +1 -3
- package/dist/schema/index.d.ts +5 -5
- package/dist/schema/index.js +1 -1
- package/dist/schema/setup/functions.d.ts +28 -47
- package/dist/schema/setup/index.d.ts +1 -1
- package/dist/schema/space/class.d.ts +56 -2289
- package/dist/schema/space/core.d.ts +3 -22515
- package/dist/schema/space/index.d.ts +1 -1
- package/dist/schema/space/index.js +1 -1
- package/dist/schema/space/methods.d.ts +18 -2089
- package/dist/schema/space/methods.js +5 -3
- package/dist/schema/space/relationships.d.ts +24 -23173
- package/dist/schema/space/view.d.ts +1 -2316
- package/dist/schema/user/class.d.ts +128 -865
- package/dist/schema/user/index.d.ts +1 -1
- package/dist/schema/user/methods.d.ts +7 -14
- package/dist/schema/user/view.d.ts +1 -1017
- package/dist/workflows/group/change.js +3 -3
- package/dist/workflows/setup/run.js +3 -3
- package/dist/workflows/space/access.js +3 -3
- package/dist/workflows/space/default.js +3 -3
- package/package.json +3 -3
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ORIGIN, S, ShellCore, ShellSchema, type Shell } from '#schema/domain';
|
|
2
|
-
export { Group, adminGroup, groupAssignUser, groupCore, groupUnassignUser, groupView, maySetupUsers, memberGroup, member_of_group,
|
|
1
|
+
export { ORIGIN, S, ShellCore, ShellSchema, type GroupMembershipInput, type GroupMembershipResult, type ResolveHomeResult, type SetDefaultSpaceInput, type SetDefaultSpaceResult, type SetupUserInput, type SetupUserResult, type Shell, type SpaceUserAccess, type SpaceUserAccessInput, type SpaceUserAccessResult, type SpaceUserInput, type SpaceUserResult, } from '#schema/domain';
|
|
2
|
+
export { Group, adminGroup, groupAssignUser, groupCore, groupUnassignUser, groupView, maySetupUsers, memberGroup, member_of_group, } from '#schema/group';
|
|
3
3
|
export { homeView } from '#schema/home';
|
|
4
|
-
export { setupAdmin, setupMember
|
|
5
|
-
export { Space, administers_space, belongsToSpace, default_space, defaultSpace, mayAdministerSpace, member_of_space, owns_space, ownsSpace, spaceAddUser, spaceCore, spaceRemoveUser, spaceSetDefault, spaceView,
|
|
6
|
-
export { User, resolveHome,
|
|
4
|
+
export { setupAdmin, setupMember } from '#schema/setup';
|
|
5
|
+
export { Space, administers_space, belongsToSpace, default_space, defaultSpace, mayAdministerSpace, member_of_space, owns_space, ownsSpace, spaceAddUser, spaceCore, spaceRemoveUser, spaceSetDefault, spaceView, } from '#schema/space';
|
|
6
|
+
export { User, resolveHome, userView } from '#schema/user';
|
package/dist/schema/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ORIGIN, S, ShellCore, ShellSchema } from '#schema/domain';
|
|
1
|
+
export { ORIGIN, S, ShellCore, ShellSchema, } from '#schema/domain';
|
|
2
2
|
export { Group, adminGroup, groupAssignUser, groupCore, groupUnassignUser, groupView, maySetupUsers, memberGroup, member_of_group, } from '#schema/group';
|
|
3
3
|
export { homeView } from '#schema/home';
|
|
4
4
|
export { setupAdmin, setupMember } from '#schema/setup';
|
|
@@ -1,47 +1,28 @@
|
|
|
1
|
-
|
|
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
|
-
readonly policy: ({ check, ref }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
|
|
30
|
-
}>;
|
|
31
|
-
export declare const setupAdmin: import("@astrale-os/sdk/schema").Function<{
|
|
32
|
-
readonly description: string;
|
|
33
|
-
readonly auth: "authorized";
|
|
34
|
-
readonly input: z.ZodObject<{
|
|
35
|
-
operationId: z.ZodString;
|
|
36
|
-
issuer: z.ZodString;
|
|
37
|
-
subject: z.ZodString;
|
|
38
|
-
displayName: z.ZodString;
|
|
39
|
-
personalSpaceName: z.ZodString;
|
|
40
|
-
}, z.core.$strict>;
|
|
41
|
-
readonly output: z.ZodObject<{
|
|
42
|
-
userId: z.ZodString;
|
|
43
|
-
personalSpaceId: z.ZodString;
|
|
44
|
-
changed: z.ZodBoolean;
|
|
45
|
-
}, z.core.$strict>;
|
|
46
|
-
readonly policy: ({ check, ref }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
|
|
47
|
-
}>;
|
|
1
|
+
export declare const setupMember: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
2
|
+
operationId: string;
|
|
3
|
+
issuer: string;
|
|
4
|
+
subject: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
personalSpaceName: string;
|
|
7
|
+
}, {
|
|
8
|
+
readonly mode: 'value';
|
|
9
|
+
readonly value: {
|
|
10
|
+
userId: string;
|
|
11
|
+
personalSpaceId: string;
|
|
12
|
+
changed: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, "authorized", false, "default">>;
|
|
15
|
+
export declare const setupAdmin: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
16
|
+
operationId: string;
|
|
17
|
+
issuer: string;
|
|
18
|
+
subject: string;
|
|
19
|
+
displayName: string;
|
|
20
|
+
personalSpaceName: string;
|
|
21
|
+
}, {
|
|
22
|
+
readonly mode: 'value';
|
|
23
|
+
readonly value: {
|
|
24
|
+
userId: string;
|
|
25
|
+
personalSpaceId: string;
|
|
26
|
+
changed: boolean;
|
|
27
|
+
};
|
|
28
|
+
}, "authorized", false, "default">>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { setupAdmin, setupMember
|
|
1
|
+
export { setupAdmin, setupMember } from './functions.js';
|