@shipfox/client-secrets 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.
@@ -1,2 +1,2 @@
1
1
  $ shipfox-swc
2
- Successfully compiled: 18 files with swc (424.66ms)
2
+ Successfully compiled: 21 files with swc (333.72ms)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @shipfox/client-secrets
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 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.
8
+ - Updated dependencies [ffd727b]
9
+ - @shipfox/client-shell@5.0.0
10
+
3
11
  ## 4.0.0
4
12
 
5
13
  ### Patch Changes
@@ -0,0 +1,26 @@
1
+ export declare const secretsFeature: {
2
+ readonly id: "shipfox.secrets";
3
+ readonly routes: readonly [{
4
+ readonly path: "/workspaces/$wid/settings/secrets";
5
+ readonly parent: "workspaceSettings";
6
+ readonly impl: "@shipfox/client-secrets/routes/secrets-settings";
7
+ }, {
8
+ readonly path: "/workspaces/$wid/settings/variables";
9
+ readonly parent: "workspaceSettings";
10
+ readonly impl: "@shipfox/client-secrets/routes/variables-settings";
11
+ }];
12
+ readonly settingsSections: readonly [{
13
+ readonly id: "settings.secrets";
14
+ readonly pathSegment: "secrets";
15
+ readonly label: "Secrets";
16
+ readonly icon: "keyLine";
17
+ readonly order: 500;
18
+ }, {
19
+ readonly id: "settings.variables";
20
+ readonly pathSegment: "variables";
21
+ readonly label: "Variables";
22
+ readonly icon: "bracesLine";
23
+ readonly order: 600;
24
+ }];
25
+ };
26
+ //# sourceMappingURL=feature.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../src/feature.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;CAwBzB,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { defineClientFeature } from '@shipfox/client-shell';
2
+ export const secretsFeature = defineClientFeature({
3
+ id: 'shipfox.secrets',
4
+ routes: [
5
+ {
6
+ path: '/workspaces/$wid/settings/secrets',
7
+ parent: 'workspaceSettings',
8
+ impl: '@shipfox/client-secrets/routes/secrets-settings'
9
+ },
10
+ {
11
+ path: '/workspaces/$wid/settings/variables',
12
+ parent: 'workspaceSettings',
13
+ impl: '@shipfox/client-secrets/routes/variables-settings'
14
+ }
15
+ ],
16
+ settingsSections: [
17
+ {
18
+ id: 'settings.secrets',
19
+ pathSegment: 'secrets',
20
+ label: 'Secrets',
21
+ icon: 'keyLine',
22
+ order: 500
23
+ },
24
+ {
25
+ id: 'settings.variables',
26
+ pathSegment: 'variables',
27
+ label: 'Variables',
28
+ icon: 'bracesLine',
29
+ order: 600
30
+ }
31
+ ]
32
+ });
33
+
34
+ //# sourceMappingURL=feature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/feature.ts"],"sourcesContent":["import {defineClientFeature} from '@shipfox/client-shell';\n\nexport const secretsFeature = defineClientFeature({\n id: 'shipfox.secrets',\n routes: [\n {\n path: '/workspaces/$wid/settings/secrets',\n parent: 'workspaceSettings',\n impl: '@shipfox/client-secrets/routes/secrets-settings',\n },\n {\n path: '/workspaces/$wid/settings/variables',\n parent: 'workspaceSettings',\n impl: '@shipfox/client-secrets/routes/variables-settings',\n },\n ],\n settingsSections: [\n {id: 'settings.secrets', pathSegment: 'secrets', label: 'Secrets', icon: 'keyLine', order: 500},\n {\n id: 'settings.variables',\n pathSegment: 'variables',\n label: 'Variables',\n icon: 'bracesLine',\n order: 600,\n },\n ],\n});\n"],"names":["defineClientFeature","secretsFeature","id","routes","path","parent","impl","settingsSections","pathSegment","label","icon","order"],"mappings":"AAAA,SAAQA,mBAAmB,QAAO,wBAAwB;AAE1D,OAAO,MAAMC,iBAAiBD,oBAAoB;IAChDE,IAAI;IACJC,QAAQ;QACN;YACEC,MAAM;YACNC,QAAQ;YACRC,MAAM;QACR;QACA;YACEF,MAAM;YACNC,QAAQ;YACRC,MAAM;QACR;KACD;IACDC,kBAAkB;QAChB;YAACL,IAAI;YAAoBM,aAAa;YAAWC,OAAO;YAAWC,MAAM;YAAWC,OAAO;QAAG;QAC9F;YACET,IAAI;YACJM,aAAa;YACbC,OAAO;YACPC,MAAM;YACNC,OAAO;QACT;KACD;AACH,GAAG"}
@@ -0,0 +1,5 @@
1
+ declare const _default: import("@shipfox/client-shell/runtime").RouteImpl<{
2
+ readonly component: () => import("react").JSX.Element;
3
+ }>;
4
+ export default _default;
5
+ //# sourceMappingURL=secrets-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secrets-settings.d.ts","sourceRoot":"","sources":["../../src/routes/secrets-settings.tsx"],"names":[],"mappings":";;;AAGA,wBAEG"}
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { defineRoute, useActiveWorkspace } from '@shipfox/client-shell/runtime';
3
+ import { WorkspaceSecretsSection } from '#index.js';
4
+ export default defineRoute({
5
+ component: ()=>/*#__PURE__*/ _jsx(WorkspaceSecretsSection, {
6
+ workspaceId: useActiveWorkspace().id
7
+ })
8
+ });
9
+
10
+ //# sourceMappingURL=secrets-settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/routes/secrets-settings.tsx"],"sourcesContent":["import {defineRoute, useActiveWorkspace} from '@shipfox/client-shell/runtime';\nimport {WorkspaceSecretsSection} from '#index.js';\n\nexport default defineRoute({\n component: () => <WorkspaceSecretsSection workspaceId={useActiveWorkspace().id} />,\n});\n"],"names":["defineRoute","useActiveWorkspace","WorkspaceSecretsSection","component","workspaceId","id"],"mappings":";AAAA,SAAQA,WAAW,EAAEC,kBAAkB,QAAO,gCAAgC;AAC9E,SAAQC,uBAAuB,QAAO,YAAY;AAElD,eAAeF,YAAY;IACzBG,WAAW,kBAAM,KAACD;YAAwBE,aAAaH,qBAAqBI,EAAE;;AAChF,GAAG"}
@@ -0,0 +1,5 @@
1
+ declare const _default: import("@shipfox/client-shell/runtime").RouteImpl<{
2
+ readonly component: () => import("react").JSX.Element;
3
+ }>;
4
+ export default _default;
5
+ //# sourceMappingURL=variables-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variables-settings.d.ts","sourceRoot":"","sources":["../../src/routes/variables-settings.tsx"],"names":[],"mappings":";;;AAGA,wBAEG"}
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { defineRoute, useActiveWorkspace } from '@shipfox/client-shell/runtime';
3
+ import { WorkspaceVariablesSection } from '#index.js';
4
+ export default defineRoute({
5
+ component: ()=>/*#__PURE__*/ _jsx(WorkspaceVariablesSection, {
6
+ workspaceId: useActiveWorkspace().id
7
+ })
8
+ });
9
+
10
+ //# sourceMappingURL=variables-settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/routes/variables-settings.tsx"],"sourcesContent":["import {defineRoute, useActiveWorkspace} from '@shipfox/client-shell/runtime';\nimport {WorkspaceVariablesSection} from '#index.js';\n\nexport default defineRoute({\n component: () => <WorkspaceVariablesSection workspaceId={useActiveWorkspace().id} />,\n});\n"],"names":["defineRoute","useActiveWorkspace","WorkspaceVariablesSection","component","workspaceId","id"],"mappings":";AAAA,SAAQA,WAAW,EAAEC,kBAAkB,QAAO,gCAAgC;AAC9E,SAAQC,yBAAyB,QAAO,YAAY;AAEpD,eAAeF,YAAY;IACzBG,WAAW,kBAAM,KAACD;YAA0BE,aAAaH,qBAAqBI,EAAE;;AAClF,GAAG"}