@shipfox/client-workspace-settings 4.0.0 → 5.0.0
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +10 -0
- package/dist/feature.d.ts +0 -70
- package/dist/feature.d.ts.map +1 -1
- package/dist/feature.js +0 -84
- package/dist/feature.js.map +1 -1
- package/dist/index.d.ts +0 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -7
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +3 -8
- package/src/feature.ts +0 -84
- package/src/index.ts +0 -7
- package/test/pages.tsx +1 -5
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/pages/events-settings-page.d.ts +0 -2
- package/dist/pages/events-settings-page.d.ts.map +0 -1
- package/dist/pages/events-settings-page.js +0 -30
- package/dist/pages/events-settings-page.js.map +0 -1
- package/dist/pages/integrations-settings-page.d.ts +0 -2
- package/dist/pages/integrations-settings-page.d.ts.map +0 -1
- package/dist/pages/integrations-settings-page.js +0 -10
- package/dist/pages/integrations-settings-page.js.map +0 -1
- package/dist/pages/model-providers-settings-page.d.ts +0 -2
- package/dist/pages/model-providers-settings-page.d.ts.map +0 -1
- package/dist/pages/model-providers-settings-page.js +0 -20
- package/dist/pages/model-providers-settings-page.js.map +0 -1
- package/dist/pages/provisioners-settings-page.d.ts +0 -2
- package/dist/pages/provisioners-settings-page.d.ts.map +0 -1
- package/dist/pages/provisioners-settings-page.js +0 -14
- package/dist/pages/provisioners-settings-page.js.map +0 -1
- package/dist/pages/runners-settings-page.d.ts +0 -2
- package/dist/pages/runners-settings-page.d.ts.map +0 -1
- package/dist/pages/runners-settings-page.js +0 -14
- package/dist/pages/runners-settings-page.js.map +0 -1
- package/dist/pages/secrets-settings-page.d.ts +0 -2
- package/dist/pages/secrets-settings-page.d.ts.map +0 -1
- package/dist/pages/secrets-settings-page.js +0 -14
- package/dist/pages/secrets-settings-page.js.map +0 -1
- package/dist/pages/variables-settings-page.d.ts +0 -2
- package/dist/pages/variables-settings-page.d.ts.map +0 -1
- package/dist/pages/variables-settings-page.js +0 -14
- package/dist/pages/variables-settings-page.js.map +0 -1
- package/dist/routes/agents.d.ts +0 -6
- package/dist/routes/agents.d.ts.map +0 -1
- package/dist/routes/agents.js +0 -7
- package/dist/routes/agents.js.map +0 -1
- package/dist/routes/events.d.ts +0 -8
- package/dist/routes/events.d.ts.map +0 -1
- package/dist/routes/events.js +0 -9
- package/dist/routes/events.js.map +0 -1
- package/dist/routes/integrations.d.ts +0 -6
- package/dist/routes/integrations.d.ts.map +0 -1
- package/dist/routes/integrations.js +0 -7
- package/dist/routes/integrations.js.map +0 -1
- package/dist/routes/provisioners.d.ts +0 -6
- package/dist/routes/provisioners.d.ts.map +0 -1
- package/dist/routes/provisioners.js +0 -7
- package/dist/routes/provisioners.js.map +0 -1
- package/dist/routes/runners.d.ts +0 -6
- package/dist/routes/runners.d.ts.map +0 -1
- package/dist/routes/runners.js +0 -7
- package/dist/routes/runners.js.map +0 -1
- package/dist/routes/secrets.d.ts +0 -6
- package/dist/routes/secrets.d.ts.map +0 -1
- package/dist/routes/secrets.js +0 -7
- package/dist/routes/secrets.js.map +0 -1
- package/dist/routes/variables.d.ts +0 -6
- package/dist/routes/variables.d.ts.map +0 -1
- package/dist/routes/variables.js +0 -7
- package/dist/routes/variables.js.map +0 -1
- package/src/pages/events-settings-page.tsx +0 -25
- package/src/pages/integrations-settings-page.test.tsx +0 -72
- package/src/pages/integrations-settings-page.tsx +0 -6
- package/src/pages/model-providers-settings-page.test.tsx +0 -48
- package/src/pages/model-providers-settings-page.tsx +0 -15
- package/src/pages/provisioners-settings-page.test.tsx +0 -29
- package/src/pages/provisioners-settings-page.tsx +0 -14
- package/src/pages/runners-settings-page.test.tsx +0 -23
- package/src/pages/runners-settings-page.tsx +0 -14
- package/src/pages/secrets-settings-page.tsx +0 -14
- package/src/pages/variables-settings-page.tsx +0 -14
- package/src/routes/agents.tsx +0 -3
- package/src/routes/events.tsx +0 -7
- package/src/routes/integrations.tsx +0 -3
- package/src/routes/provisioners.tsx +0 -3
- package/src/routes/runners.tsx +0 -3
- package/src/routes/secrets.tsx +0 -3
- package/src/routes/variables.tsx +0 -3
- package/test/typecheck/route-ids.tsx +0 -7
- package/test/typecheck/settings-composition.tsx +0 -95
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ shipfox-swc
|
|
2
|
-
Successfully compiled:
|
|
2
|
+
Successfully compiled: 15 files with swc (512.33ms)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @shipfox/client-workspace-settings
|
|
2
2
|
|
|
3
|
+
## 5.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ffd727b: Converges auth session and invitation state onto shared camelCase domain types validated at the API boundary, replacing the raw snake_case DTOs previously returned by login, signup, password reset, email verification, workspace creation, and invitation preview. `AuthState.user`, `useRefreshAuth()`, and `usePreviewInvitation()` now resolve to `UserIdentity`/`AuthenticatedSession`/`InvitationPreview` shapes (for example `accessToken` instead of `token`, `workspaceName` instead of `workspace_name`). Also moves the shared `AuthShell` component and session mapping helpers into `@shipfox/client-shell`, breaking the former `client-auth` ↔ `client-invitations` circular dependency.
|
|
8
|
+
- f1d6465: Moves workspace-settings and project-workflow route ownership from centralized packages into each feature's own route module, so a feature package declares and ships its own settings pages.
|
|
9
|
+
- Updated dependencies [ffd727b]
|
|
10
|
+
- @shipfox/client-shell@5.0.0
|
|
11
|
+
- @shipfox/client-auth@5.0.0
|
|
12
|
+
|
|
3
13
|
## 4.0.0
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/feature.d.ts
CHANGED
|
@@ -9,34 +9,6 @@ export declare const workspaceSettingsFeature: {
|
|
|
9
9
|
readonly path: "/workspaces/$wid/settings/members";
|
|
10
10
|
readonly parent: "workspaceSettings";
|
|
11
11
|
readonly impl: "@shipfox/client-workspace-settings/routes/members";
|
|
12
|
-
}, {
|
|
13
|
-
readonly path: "/workspaces/$wid/settings/runners";
|
|
14
|
-
readonly parent: "workspaceSettings";
|
|
15
|
-
readonly impl: "@shipfox/client-workspace-settings/routes/runners";
|
|
16
|
-
}, {
|
|
17
|
-
readonly path: "/workspaces/$wid/settings/provisioners";
|
|
18
|
-
readonly parent: "workspaceSettings";
|
|
19
|
-
readonly impl: "@shipfox/client-workspace-settings/routes/provisioners";
|
|
20
|
-
}, {
|
|
21
|
-
readonly path: "/workspaces/$wid/settings/agents";
|
|
22
|
-
readonly parent: "workspaceSettings";
|
|
23
|
-
readonly impl: "@shipfox/client-workspace-settings/routes/agents";
|
|
24
|
-
}, {
|
|
25
|
-
readonly path: "/workspaces/$wid/settings/secrets";
|
|
26
|
-
readonly parent: "workspaceSettings";
|
|
27
|
-
readonly impl: "@shipfox/client-workspace-settings/routes/secrets";
|
|
28
|
-
}, {
|
|
29
|
-
readonly path: "/workspaces/$wid/settings/variables";
|
|
30
|
-
readonly parent: "workspaceSettings";
|
|
31
|
-
readonly impl: "@shipfox/client-workspace-settings/routes/variables";
|
|
32
|
-
}, {
|
|
33
|
-
readonly path: "/workspaces/$wid/settings/integrations";
|
|
34
|
-
readonly parent: "workspaceSettings";
|
|
35
|
-
readonly impl: "@shipfox/client-workspace-settings/routes/integrations";
|
|
36
|
-
}, {
|
|
37
|
-
readonly path: "/workspaces/$wid/settings/events";
|
|
38
|
-
readonly parent: "workspaceSettings";
|
|
39
|
-
readonly impl: "@shipfox/client-workspace-settings/routes/events";
|
|
40
12
|
}];
|
|
41
13
|
readonly navigation: readonly [{
|
|
42
14
|
readonly id: "nav.settings";
|
|
@@ -51,48 +23,6 @@ export declare const workspaceSettingsFeature: {
|
|
|
51
23
|
readonly label: "Members";
|
|
52
24
|
readonly icon: IconName;
|
|
53
25
|
readonly order: 100;
|
|
54
|
-
}, {
|
|
55
|
-
readonly id: "settings.runners";
|
|
56
|
-
readonly pathSegment: "runners";
|
|
57
|
-
readonly label: "Runners";
|
|
58
|
-
readonly icon: IconName;
|
|
59
|
-
readonly order: 200;
|
|
60
|
-
}, {
|
|
61
|
-
readonly id: "settings.provisioners";
|
|
62
|
-
readonly pathSegment: "provisioners";
|
|
63
|
-
readonly label: "Runner provisioners";
|
|
64
|
-
readonly icon: IconName;
|
|
65
|
-
readonly order: 300;
|
|
66
|
-
}, {
|
|
67
|
-
readonly id: "settings.agents";
|
|
68
|
-
readonly pathSegment: "agents";
|
|
69
|
-
readonly label: "Agents";
|
|
70
|
-
readonly icon: IconName;
|
|
71
|
-
readonly order: 400;
|
|
72
|
-
}, {
|
|
73
|
-
readonly id: "settings.secrets";
|
|
74
|
-
readonly pathSegment: "secrets";
|
|
75
|
-
readonly label: "Secrets";
|
|
76
|
-
readonly icon: IconName;
|
|
77
|
-
readonly order: 500;
|
|
78
|
-
}, {
|
|
79
|
-
readonly id: "settings.variables";
|
|
80
|
-
readonly pathSegment: "variables";
|
|
81
|
-
readonly label: "Variables";
|
|
82
|
-
readonly icon: IconName;
|
|
83
|
-
readonly order: 600;
|
|
84
|
-
}, {
|
|
85
|
-
readonly id: "settings.integrations";
|
|
86
|
-
readonly pathSegment: "integrations";
|
|
87
|
-
readonly label: "Integrations";
|
|
88
|
-
readonly icon: IconName;
|
|
89
|
-
readonly order: 700;
|
|
90
|
-
}, {
|
|
91
|
-
readonly id: "settings.events";
|
|
92
|
-
readonly pathSegment: "events";
|
|
93
|
-
readonly label: "Events";
|
|
94
|
-
readonly icon: IconName;
|
|
95
|
-
readonly order: 800;
|
|
96
26
|
}];
|
|
97
27
|
};
|
|
98
28
|
//# sourceMappingURL=feature.d.ts.map
|
package/dist/feature.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../src/feature.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAErD,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../src/feature.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAErD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;uBA4BX,QAAQ;;;CAIhC,CAAC"}
|
package/dist/feature.js
CHANGED
|
@@ -11,41 +11,6 @@ export const workspaceSettingsFeature = defineClientFeature({
|
|
|
11
11
|
path: '/workspaces/$wid/settings/members',
|
|
12
12
|
parent: 'workspaceSettings',
|
|
13
13
|
impl: '@shipfox/client-workspace-settings/routes/members'
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
path: '/workspaces/$wid/settings/runners',
|
|
17
|
-
parent: 'workspaceSettings',
|
|
18
|
-
impl: '@shipfox/client-workspace-settings/routes/runners'
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
path: '/workspaces/$wid/settings/provisioners',
|
|
22
|
-
parent: 'workspaceSettings',
|
|
23
|
-
impl: '@shipfox/client-workspace-settings/routes/provisioners'
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
path: '/workspaces/$wid/settings/agents',
|
|
27
|
-
parent: 'workspaceSettings',
|
|
28
|
-
impl: '@shipfox/client-workspace-settings/routes/agents'
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
path: '/workspaces/$wid/settings/secrets',
|
|
32
|
-
parent: 'workspaceSettings',
|
|
33
|
-
impl: '@shipfox/client-workspace-settings/routes/secrets'
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
path: '/workspaces/$wid/settings/variables',
|
|
37
|
-
parent: 'workspaceSettings',
|
|
38
|
-
impl: '@shipfox/client-workspace-settings/routes/variables'
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
path: '/workspaces/$wid/settings/integrations',
|
|
42
|
-
parent: 'workspaceSettings',
|
|
43
|
-
impl: '@shipfox/client-workspace-settings/routes/integrations'
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
path: '/workspaces/$wid/settings/events',
|
|
47
|
-
parent: 'workspaceSettings',
|
|
48
|
-
impl: '@shipfox/client-workspace-settings/routes/events'
|
|
49
14
|
}
|
|
50
15
|
],
|
|
51
16
|
navigation: [
|
|
@@ -64,55 +29,6 @@ export const workspaceSettingsFeature = defineClientFeature({
|
|
|
64
29
|
label: 'Members',
|
|
65
30
|
icon: 'userLine',
|
|
66
31
|
order: 100
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
id: 'settings.runners',
|
|
70
|
-
pathSegment: 'runners',
|
|
71
|
-
label: 'Runners',
|
|
72
|
-
icon: 'settings3Line',
|
|
73
|
-
order: 200
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
id: 'settings.provisioners',
|
|
77
|
-
pathSegment: 'provisioners',
|
|
78
|
-
label: 'Runner provisioners',
|
|
79
|
-
icon: 'serverLine',
|
|
80
|
-
order: 300
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
id: 'settings.agents',
|
|
84
|
-
pathSegment: 'agents',
|
|
85
|
-
label: 'Agents',
|
|
86
|
-
icon: 'robot2Line',
|
|
87
|
-
order: 400
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
id: 'settings.secrets',
|
|
91
|
-
pathSegment: 'secrets',
|
|
92
|
-
label: 'Secrets',
|
|
93
|
-
icon: 'keyLine',
|
|
94
|
-
order: 500
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
id: 'settings.variables',
|
|
98
|
-
pathSegment: 'variables',
|
|
99
|
-
label: 'Variables',
|
|
100
|
-
icon: 'bracesLine',
|
|
101
|
-
order: 600
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
id: 'settings.integrations',
|
|
105
|
-
pathSegment: 'integrations',
|
|
106
|
-
label: 'Integrations',
|
|
107
|
-
icon: 'plugLine',
|
|
108
|
-
order: 700
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
id: 'settings.events',
|
|
112
|
-
pathSegment: 'events',
|
|
113
|
-
label: 'Events',
|
|
114
|
-
icon: 'pulseLine',
|
|
115
|
-
order: 800
|
|
116
32
|
}
|
|
117
33
|
]
|
|
118
34
|
});
|
package/dist/feature.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/feature.ts"],"sourcesContent":["import {defineClientFeature} from '@shipfox/client-shell';\nimport type {IconName} from '@shipfox/react-ui/icon';\n\nexport const workspaceSettingsFeature = defineClientFeature({\n id: 'shipfox.workspace-settings',\n routes: [\n {\n path: '/workspaces/$wid/settings',\n parent: 'workspaceSettings',\n impl: '@shipfox/client-workspace-settings/routes/index',\n },\n {\n path: '/workspaces/$wid/settings/members',\n parent: 'workspaceSettings',\n impl: '@shipfox/client-workspace-settings/routes/members',\n },\n
|
|
1
|
+
{"version":3,"sources":["../src/feature.ts"],"sourcesContent":["import {defineClientFeature} from '@shipfox/client-shell';\nimport type {IconName} from '@shipfox/react-ui/icon';\n\nexport const workspaceSettingsFeature = defineClientFeature({\n id: 'shipfox.workspace-settings',\n routes: [\n {\n path: '/workspaces/$wid/settings',\n parent: 'workspaceSettings',\n impl: '@shipfox/client-workspace-settings/routes/index',\n },\n {\n path: '/workspaces/$wid/settings/members',\n parent: 'workspaceSettings',\n impl: '@shipfox/client-workspace-settings/routes/members',\n },\n ],\n navigation: [\n {\n id: 'nav.settings',\n scope: 'workspace',\n label: 'Settings',\n to: '/workspaces/$wid/settings',\n order: 200,\n },\n ],\n settingsSections: [\n {\n id: 'settings.members',\n pathSegment: 'members',\n label: 'Members',\n icon: 'userLine' as IconName,\n order: 100,\n },\n ],\n});\n"],"names":["defineClientFeature","workspaceSettingsFeature","id","routes","path","parent","impl","navigation","scope","label","to","order","settingsSections","pathSegment","icon"],"mappings":"AAAA,SAAQA,mBAAmB,QAAO,wBAAwB;AAG1D,OAAO,MAAMC,2BAA2BD,oBAAoB;IAC1DE,IAAI;IACJC,QAAQ;QACN;YACEC,MAAM;YACNC,QAAQ;YACRC,MAAM;QACR;QACA;YACEF,MAAM;YACNC,QAAQ;YACRC,MAAM;QACR;KACD;IACDC,YAAY;QACV;YACEL,IAAI;YACJM,OAAO;YACPC,OAAO;YACPC,IAAI;YACJC,OAAO;QACT;KACD;IACDC,kBAAkB;QAChB;YACEV,IAAI;YACJW,aAAa;YACbJ,OAAO;YACPK,MAAM;YACNH,OAAO;QACT;KACD;AACH,GAAG"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
export * from './pages/events-settings-page.js';
|
|
2
|
-
export * from './pages/integrations-settings-page.js';
|
|
3
1
|
export * from './pages/members-settings-page.js';
|
|
4
|
-
export * from './pages/model-providers-settings-page.js';
|
|
5
|
-
export * from './pages/provisioners-settings-page.js';
|
|
6
|
-
export * from './pages/runners-settings-page.js';
|
|
7
|
-
export * from './pages/secrets-settings-page.js';
|
|
8
|
-
export * from './pages/variables-settings-page.js';
|
|
9
2
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
export * from './pages/events-settings-page.js';
|
|
2
|
-
export * from './pages/integrations-settings-page.js';
|
|
3
1
|
export * from './pages/members-settings-page.js';
|
|
4
|
-
export * from './pages/model-providers-settings-page.js';
|
|
5
|
-
export * from './pages/provisioners-settings-page.js';
|
|
6
|
-
export * from './pages/runners-settings-page.js';
|
|
7
|
-
export * from './pages/secrets-settings-page.js';
|
|
8
|
-
export * from './pages/variables-settings-page.js';
|
|
9
2
|
|
|
10
3
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './pages/
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './pages/members-settings-page.js';\n"],"names":[],"mappings":"AAAA,cAAc,mCAAmC"}
|