@scalar/workspace-store 0.38.0 → 0.39.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/CHANGELOG.md +40 -0
- package/dist/entities/auth/index.d.ts.map +1 -1
- package/dist/entities/auth/index.js +13 -21
- package/dist/entities/auth/index.js.map +2 -2
- package/dist/entities/auth/schema.d.ts +50 -0
- package/dist/entities/auth/schema.d.ts.map +1 -1
- package/dist/events/definitions/operation.d.ts +13 -0
- package/dist/events/definitions/operation.d.ts.map +1 -1
- package/dist/events/definitions/ui.d.ts +9 -1
- package/dist/events/definitions/ui.d.ts.map +1 -1
- package/dist/helpers/detect-changes-proxy.d.ts +5 -2
- package/dist/helpers/detect-changes-proxy.d.ts.map +1 -1
- package/dist/helpers/detect-changes-proxy.js +7 -0
- package/dist/helpers/detect-changes-proxy.js.map +2 -2
- package/dist/mutators/document.d.ts.map +1 -1
- package/dist/mutators/document.js +2 -2
- package/dist/mutators/document.js.map +2 -2
- package/dist/mutators/environment.d.ts +7 -0
- package/dist/mutators/environment.d.ts.map +1 -1
- package/dist/mutators/environment.js.map +2 -2
- package/dist/mutators/index.d.ts +2 -0
- package/dist/mutators/index.d.ts.map +1 -1
- package/dist/mutators/operation/helpers/sync-path-parameters.d.ts +43 -7
- package/dist/mutators/operation/helpers/sync-path-parameters.d.ts.map +1 -1
- package/dist/mutators/operation/helpers/sync-path-parameters.js +30 -25
- package/dist/mutators/operation/helpers/sync-path-parameters.js.map +2 -2
- package/dist/mutators/operation/index.d.ts +1 -0
- package/dist/mutators/operation/index.d.ts.map +1 -1
- package/dist/mutators/operation/index.js +2 -0
- package/dist/mutators/operation/index.js.map +2 -2
- package/dist/mutators/operation/operation.d.ts +12 -0
- package/dist/mutators/operation/operation.d.ts.map +1 -1
- package/dist/mutators/operation/operation.js +62 -4
- package/dist/mutators/operation/operation.js.map +2 -2
- package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-document.js +2 -1
- package/dist/navigation/helpers/traverse-document.js.map +2 -2
- package/dist/plugins/bundler/index.d.ts.map +1 -1
- package/dist/plugins/bundler/index.js +29 -25
- package/dist/plugins/bundler/index.js.map +3 -3
- package/dist/plugins/client/persistence.d.ts.map +1 -1
- package/dist/plugins/client/persistence.js +28 -1
- package/dist/plugins/client/persistence.js.map +2 -2
- package/dist/schemas/inmemory-workspace.d.ts +30 -0
- package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
- package/dist/schemas/reference-config/index.d.ts +10 -0
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.d.ts +10 -0
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +350 -0
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/schema.d.ts +13 -0
- package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/schema.js +3 -1
- package/dist/schemas/v3.1/strict/schema.js.map +2 -2
- package/dist/schemas/workspace.d.ts +30 -0
- package/dist/schemas/workspace.d.ts.map +1 -1
- package/dist/workspace-plugin.d.ts +6 -0
- package/dist/workspace-plugin.d.ts.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @scalar/workspace-store
|
|
2
2
|
|
|
3
|
+
## 0.39.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#8349](https://github.com/scalar/scalar/pull/8349): feat: support operation example rename
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#8372](https://github.com/scalar/scalar/pull/8372): fix: avoid inlining $ref path parameters during path parameter sync
|
|
12
|
+
- [#8336](https://github.com/scalar/scalar/pull/8336): fix: sidebar title update and detect delete operaitons for proxy
|
|
13
|
+
- [#8253](https://github.com/scalar/scalar/pull/8253): feat(api-reference): support propertyNames enum for additionalProperties
|
|
14
|
+
|
|
15
|
+
#### Updated Dependencies
|
|
16
|
+
|
|
17
|
+
- **@scalar/helpers@0.4.0**
|
|
18
|
+
- [#8336](https://github.com/scalar/scalar/pull/8336): feat: support flushing any pending operations
|
|
19
|
+
|
|
20
|
+
- **@scalar/json-magic@0.12.2**
|
|
21
|
+
|
|
22
|
+
- **@scalar/object-utils@1.3.1**
|
|
23
|
+
|
|
24
|
+
- **@scalar/types@0.7.2**
|
|
25
|
+
|
|
26
|
+
- **@scalar/openapi-upgrader@0.2.0**
|
|
27
|
+
|
|
28
|
+
- **@scalar/snippetz@0.7.2**
|
|
29
|
+
|
|
30
|
+
## 0.38.1
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
#### Updated Dependencies
|
|
35
|
+
|
|
36
|
+
- **@scalar/types@0.7.1**
|
|
37
|
+
- [#8381](https://github.com/scalar/scalar/pull/8381): feat: add mcp config support
|
|
38
|
+
|
|
39
|
+
- **@scalar/openapi-upgrader@0.2.0**
|
|
40
|
+
|
|
41
|
+
- **@scalar/snippetz@0.7.1**
|
|
42
|
+
|
|
3
43
|
## 0.38.0
|
|
4
44
|
|
|
5
45
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/auth/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG5C,OAAO,EACL,KAAK,YAAY,EAEjB,KAAK,gBAAgB,EAErB,KAAK,gBAAgB,EACtB,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/auth/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG5C,OAAO,EACL,KAAK,YAAY,EAEjB,KAAK,gBAAg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AAC,MAAM,EAAE,MAAM,CAAA;KAAE,KAC1E,IAAI,CAAA;IACT;;;;;OAKG;IACH,cAAc,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAEvG;;;;OAIG;IACH,gBAAgB,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAEpE;;;OAGG;IACH,iBAAiB,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IAEjD;;;OAGG;IACH,IAAI,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAA;IAElC;;;OAGG;IACH,MAAM,EAAE,MAAM,YAAY,CAAA;CAC3B,CAAA;AAED,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,EAAE;QACN,YAAY,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;KAC9C,CAAA;CACF,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,YAAW,sBAA2B,KAAG,SA0GxE,CAAA"}
|
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
DocumentAuthSchema,
|
|
5
5
|
SecretsAuthUnionSchema
|
|
6
6
|
} from "../../entities/auth/schema.js";
|
|
7
|
-
import { createDetectChangesProxy } from "../../helpers/detect-changes-proxy.js";
|
|
8
7
|
import { safeAssign } from "../../helpers/general.js";
|
|
9
8
|
import { unpackProxyObject } from "../../helpers/unpack-proxy.js";
|
|
10
9
|
import { coerceValue } from "../../schemas/typebox-coerce.js";
|
|
@@ -14,33 +13,19 @@ import {
|
|
|
14
13
|
SecretsAuthSchema
|
|
15
14
|
} from "./schema.js";
|
|
16
15
|
const createAuthStore = ({ hooks } = {}) => {
|
|
17
|
-
const auth = reactive(
|
|
18
|
-
createDetectChangesProxy(
|
|
19
|
-
{},
|
|
20
|
-
{
|
|
21
|
-
hooks: {
|
|
22
|
-
onAfterChange: (path) => {
|
|
23
|
-
if (path.length < 1) {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
const [documentName] = path;
|
|
27
|
-
if (typeof documentName !== "string") {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
hooks?.onAuthChange?.(documentName);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
)
|
|
35
|
-
);
|
|
16
|
+
const auth = reactive({});
|
|
36
17
|
const getAuthSecrets = (documentName, schemeName) => {
|
|
37
18
|
return auth[documentName]?.secrets?.[schemeName];
|
|
38
19
|
};
|
|
39
20
|
const setAuthSecrets = (documentName, schemeName, data) => {
|
|
40
21
|
auth[documentName] ||= { secrets: {}, selected: { document: void 0, path: void 0 } };
|
|
41
22
|
auth[documentName].secrets[schemeName] = coerceValue(SecretsAuthUnionSchema, data);
|
|
23
|
+
hooks?.onAuthChange?.(documentName);
|
|
24
|
+
};
|
|
25
|
+
const clearAuthSecrets = (documentName, schemeName) => {
|
|
26
|
+
delete auth[documentName]?.secrets?.[schemeName];
|
|
27
|
+
hooks?.onAuthChange?.(documentName);
|
|
42
28
|
};
|
|
43
|
-
const clearAuthSecrets = (documentName, schemeName) => delete auth[documentName]?.secrets?.[schemeName];
|
|
44
29
|
const getAuthSelectedSchemas = (payload) => {
|
|
45
30
|
if (payload.type === "document") {
|
|
46
31
|
return auth[payload.documentName]?.selected?.document;
|
|
@@ -63,6 +48,7 @@ const createAuthStore = ({ hooks } = {}) => {
|
|
|
63
48
|
const pathAuth = documentAuth.selected.path[payload.path];
|
|
64
49
|
pathAuth[payload.method] = selectedSchemes;
|
|
65
50
|
}
|
|
51
|
+
hooks?.onAuthChange?.(payload.documentName);
|
|
66
52
|
};
|
|
67
53
|
const clearAuthSelectedSchemas = (payload) => {
|
|
68
54
|
const documentAuth = auth[payload.documentName];
|
|
@@ -71,6 +57,7 @@ const createAuthStore = ({ hooks } = {}) => {
|
|
|
71
57
|
}
|
|
72
58
|
if (payload.type === "document") {
|
|
73
59
|
delete documentAuth.selected.document;
|
|
60
|
+
hooks?.onAuthChange?.(payload.documentName);
|
|
74
61
|
return;
|
|
75
62
|
}
|
|
76
63
|
preventPollution(payload.method);
|
|
@@ -80,12 +67,17 @@ const createAuthStore = ({ hooks } = {}) => {
|
|
|
80
67
|
return;
|
|
81
68
|
}
|
|
82
69
|
delete pathAuth[payload.method];
|
|
70
|
+
hooks?.onAuthChange?.(payload.documentName);
|
|
83
71
|
};
|
|
84
72
|
const clearDocumentAuth = (documentName) => {
|
|
85
73
|
delete auth[documentName];
|
|
74
|
+
hooks?.onAuthChange?.(documentName);
|
|
86
75
|
};
|
|
87
76
|
const load = (data) => {
|
|
88
77
|
safeAssign(auth, coerceValue(DocumentAuthSchema, data));
|
|
78
|
+
Object.keys(data).forEach((documentName) => {
|
|
79
|
+
hooks?.onAuthChange?.(documentName);
|
|
80
|
+
});
|
|
89
81
|
};
|
|
90
82
|
const exportAuth = () => {
|
|
91
83
|
return unpackProxyObject(auth);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/entities/auth/index.ts"],
|
|
4
|
-
"sourcesContent": ["import { preventPollution } from '@scalar/helpers/object/prevent-pollution'\nimport type { PartialDeep } from 'type-fest'\nimport { reactive } from 'vue'\n\nimport {\n type DocumentAuth,\n DocumentAuthSchema,\n type SecretsAuthUnion,\n SecretsAuthUnionSchema,\n type SelectedSecurity,\n} from '@/entities/auth/schema'\nimport {
|
|
5
|
-
"mappings": "AAAA,SAAS,wBAAwB;AAEjC,SAAS,gBAAgB;AAEzB;AAAA,EAEE;AAAA,EAEA;AAAA,OAEK;AACP,SAAS,
|
|
4
|
+
"sourcesContent": ["import { preventPollution } from '@scalar/helpers/object/prevent-pollution'\nimport type { PartialDeep } from 'type-fest'\nimport { reactive } from 'vue'\n\nimport {\n type DocumentAuth,\n DocumentAuthSchema,\n type SecretsAuthUnion,\n SecretsAuthUnionSchema,\n type SelectedSecurity,\n} from '@/entities/auth/schema'\nimport { safeAssign } from '@/helpers/general'\nimport { unpackProxyObject } from '@/helpers/unpack-proxy'\nimport { coerceValue } from '@/schemas/typebox-coerce'\n\nexport type {\n Auth,\n SecretsApiKey,\n SecretsAuth,\n SecretsAuthUnion,\n SecretsHttp,\n SecretsOAuth,\n SecretsOAuthFlows,\n SecretsOpenIdConnect,\n SelectedSecurity,\n} from './schema'\nexport {\n AuthSchema,\n OpenIDConnectSchema,\n SecretsAuthSchema,\n} from './schema'\n\n/**\n * Interface for the AuthStore used to manage authentication secrets and selection state.\n */\nexport type AuthStore = {\n /**\n * Retrieves the authentication secrets for a given document and security scheme.\n * @param documentName - Name/id of the OpenAPI document.\n * @param schemeName - Name of the security scheme.\n * @returns The authentication secrets, or undefined if not found.\n */\n getAuthSecrets: (documentName: string, schemeName: string) => SecretsAuthUnion | undefined\n\n /**\n * Retrieves the selected schemas for a given document or path.\n * @param payload - The payload to get the selected schemas for.\n * @returns The selected schemas, or undefined if not found.\n */\n getAuthSelectedSchemas: (\n payload:\n | { type: 'document'; documentName: string }\n | { type: 'operation'; documentName: string; path: string; method: string },\n ) => SelectedSecurity | undefined\n\n /**\n * Sets the selected schemas for a given document or path.\n * @param payload - The payload to set the selected schemas for.\n * @param selectedSchemes - The selected schemas to set.\n */\n setAuthSelectedSchemas: (\n payload:\n | { type: 'document'; documentName: string }\n | { type: 'operation'; documentName: string; path: string; method: string },\n selectedSchemes: SelectedSecurity,\n ) => void\n /**\n * Clears the selected schemas for a given document or path.\n * @param payload - The payload to clear the selected schemas for.\n */\n clearAuthSelectedSchemas: (\n payload:\n | { type: 'document'; documentName: string }\n | { type: 'operation'; documentName: string; path: string; method: string },\n ) => void\n /**\n * Sets the authentication secrets for a given document and security scheme.\n * @param documentName - Name/id of the OpenAPI document.\n * @param schemeName - Name of the security scheme.\n * @param auth - The secret/auth object to set.\n */\n setAuthSecrets: (documentName: string, schemeName: string, auth: PartialDeep<SecretsAuthUnion>) => void\n\n /**\n * Clears the authentication secrets for a given document and security scheme.\n * @param documentName - Name/id of the OpenAPI document.\n * @param schemeName - Name of the security scheme.\n */\n clearAuthSecrets: (documentName: string, schemeName: string) => void\n\n /**\n * Removes the authentication data for a given document.\n * @param documentName - Name/id of the OpenAPI document.\n */\n clearDocumentAuth: (documentName: string) => void\n\n /**\n * Loads authentication data into the store, replacing existing state.\n * @param data - A DocumentAuth object.\n */\n load: (data: DocumentAuth) => void\n\n /**\n * Exports the current authentication state as a plain (non-proxy) DocumentAuth object.\n * @returns The authentication state.\n */\n export: () => DocumentAuth\n}\n\ntype CreateAuthStoreOptions = {\n hooks?: {\n onAuthChange?: (documentName: string) => void\n }\n}\n\n/**\n * Factory function to create a new AuthStore instance.\n */\nexport const createAuthStore = ({ hooks }: CreateAuthStoreOptions = {}): AuthStore => {\n // Vue reactive object to hold all authentication state\n const auth = reactive<DocumentAuth>({})\n\n const getAuthSecrets: AuthStore['getAuthSecrets'] = (documentName, schemeName) => {\n return auth[documentName]?.secrets?.[schemeName]\n }\n\n const setAuthSecrets: AuthStore['setAuthSecrets'] = (documentName, schemeName, data) => {\n auth[documentName] ||= { secrets: {}, selected: { document: undefined, path: undefined } }\n auth[documentName].secrets[schemeName] = coerceValue(SecretsAuthUnionSchema, data)\n\n hooks?.onAuthChange?.(documentName)\n }\n\n const clearAuthSecrets: AuthStore['clearAuthSecrets'] = (documentName, schemeName) => {\n delete auth[documentName]?.secrets?.[schemeName]\n hooks?.onAuthChange?.(documentName)\n }\n\n const getAuthSelectedSchemas: AuthStore['getAuthSelectedSchemas'] = (payload) => {\n if (payload.type === 'document') {\n return auth[payload.documentName]?.selected?.document\n }\n return auth[payload.documentName]?.selected?.path?.[payload.path]?.[payload.method]\n }\n\n const setAuthSelectedSchemas: AuthStore['setAuthSelectedSchemas'] = (payload, selectedSchemes) => {\n auth[payload.documentName] ||= {\n secrets: {},\n selected: { document: undefined, path: undefined },\n }\n\n // TypeScript needs a non-null assertion here since we just ensured it exists\n const documentAuth = auth[payload.documentName]!\n\n if (payload.type === 'document') {\n documentAuth.selected.document = selectedSchemes\n } else {\n // Prevent assigning dangerous keys to the path items object\n preventPollution(payload.path)\n preventPollution(payload.method)\n\n documentAuth.selected.path ||= {}\n documentAuth.selected.path[payload.path] ||= {}\n const pathAuth = documentAuth.selected.path[payload.path]!\n pathAuth[payload.method] = selectedSchemes\n }\n\n hooks?.onAuthChange?.(payload.documentName)\n }\n\n const clearAuthSelectedSchemas: AuthStore['clearAuthSelectedSchemas'] = (payload) => {\n const documentAuth = auth[payload.documentName]\n if (!documentAuth) {\n return\n }\n\n if (payload.type === 'document') {\n delete documentAuth.selected.document\n hooks?.onAuthChange?.(payload.documentName)\n return\n }\n\n // Prevent altering dangerous keys to the path items object\n preventPollution(payload.method)\n preventPollution(payload.path)\n\n const pathAuth = documentAuth.selected.path?.[payload.path]\n if (!pathAuth) {\n return\n }\n\n delete pathAuth[payload.method]\n hooks?.onAuthChange?.(payload.documentName)\n }\n\n const clearDocumentAuth: AuthStore['clearDocumentAuth'] = (documentName) => {\n delete auth[documentName]\n hooks?.onAuthChange?.(documentName)\n }\n\n const load: AuthStore['load'] = (data) => {\n safeAssign(auth, coerceValue(DocumentAuthSchema, data))\n\n // Trigger change events for all loaded documents\n Object.keys(data).forEach((documentName) => {\n hooks?.onAuthChange?.(documentName)\n })\n }\n\n const exportAuth: AuthStore['export'] = () => {\n return unpackProxyObject(auth)\n }\n\n return {\n clearAuthSelectedSchemas,\n getAuthSecrets,\n setAuthSecrets,\n clearAuthSecrets,\n getAuthSelectedSchemas,\n setAuthSelectedSchemas,\n clearDocumentAuth,\n load,\n export: exportAuth,\n }\n}\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,wBAAwB;AAEjC,SAAS,gBAAgB;AAEzB;AAAA,EAEE;AAAA,EAEA;AAAA,OAEK;AACP,SAAS,kBAAkB;AAC3B,SAAS,yBAAyB;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ref-value': import("@scalar/typebox").TUnknown;
|
|
1254
1254
|
}>]>]>>>;
|
|
1255
|
+
propertyNames: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1256
|
+
$ref: import("@scalar/typebox").TString;
|
|
1257
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1258
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1259
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1260
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
1261
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1262
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
1263
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
1264
|
+
}>]>]>>;
|
|
1255
1265
|
}>, import("@scalar/typebox").TObject<{
|
|
1256
1266
|
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1257
1267
|
title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -2823,6 +2833,16 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
|
|
|
2823
2833
|
}>]>, import("@scalar/typebox").TObject<{
|
|
2824
2834
|
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
2825
2835
|
}>]>]>>>;
|
|
2836
|
+
propertyNames: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
2837
|
+
$ref: import("@scalar/typebox").TString;
|
|
2838
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2839
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2840
|
+
}>, import("@scalar/typebox").TObject<{
|
|
2841
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
2842
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
2843
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
2844
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
2845
|
+
}>]>]>>;
|
|
2826
2846
|
}>, import("@scalar/typebox").TObject<{
|
|
2827
2847
|
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2828
2848
|
title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -4227,6 +4247,16 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
|
|
|
4227
4247
|
}>]>, import("@scalar/typebox").TObject<{
|
|
4228
4248
|
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
4229
4249
|
}>]>]>>>;
|
|
4250
|
+
propertyNames: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
4251
|
+
$ref: import("@scalar/typebox").TString;
|
|
4252
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
4253
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
4254
|
+
}>, import("@scalar/typebox").TObject<{
|
|
4255
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
4256
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
4257
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
4258
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
4259
|
+
}>]>]>>;
|
|
4230
4260
|
}>, import("@scalar/typebox").TObject<{
|
|
4231
4261
|
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
4232
4262
|
title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -5800,6 +5830,16 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
|
|
|
5800
5830
|
}>]>, import("@scalar/typebox").TObject<{
|
|
5801
5831
|
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
5802
5832
|
}>]>]>>>;
|
|
5833
|
+
propertyNames: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
5834
|
+
$ref: import("@scalar/typebox").TString;
|
|
5835
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
5836
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
5837
|
+
}>, import("@scalar/typebox").TObject<{
|
|
5838
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
5839
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
5840
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
5841
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
5842
|
+
}>]>]>>;
|
|
5803
5843
|
}>, import("@scalar/typebox").TObject<{
|
|
5804
5844
|
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
5805
5845
|
title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -7204,6 +7244,16 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
|
|
|
7204
7244
|
}>]>, import("@scalar/typebox").TObject<{
|
|
7205
7245
|
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
7206
7246
|
}>]>]>>>;
|
|
7247
|
+
propertyNames: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
7248
|
+
$ref: import("@scalar/typebox").TString;
|
|
7249
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
7250
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
7251
|
+
}>, import("@scalar/typebox").TObject<{
|
|
7252
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
7253
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
7254
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
7255
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
7256
|
+
}>]>]>>;
|
|
7207
7257
|
}>, import("@scalar/typebox").TObject<{
|
|
7208
7258
|
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
7209
7259
|
title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/entities/auth/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAoBnD,QAAA,MAAM,mBAAmB;;;;IAKxB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE9D,QAAA,MAAM,iBAAiB;;;;;;;IAMtB,CAAA;AAED,MAAM,MAAM,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyC,CAAA;AACxE,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA"}
|
|
@@ -116,6 +116,19 @@ export type OperationEvents = {
|
|
|
116
116
|
/** Identifies the target operation by original method and path */
|
|
117
117
|
meta: OperationExampleMeta;
|
|
118
118
|
};
|
|
119
|
+
/**
|
|
120
|
+
* Rename an operation example key.
|
|
121
|
+
*/
|
|
122
|
+
'operation:rename:example': {
|
|
123
|
+
/** The document name where the operation example should be renamed */
|
|
124
|
+
documentName: string;
|
|
125
|
+
/** Identifies the target operation and current example key */
|
|
126
|
+
meta: OperationExampleMeta;
|
|
127
|
+
/** The new example name */
|
|
128
|
+
payload: {
|
|
129
|
+
name: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
119
132
|
/**
|
|
120
133
|
* Update any extensions of the operation, takes in an object as a payload with the extensions keys and values
|
|
121
134
|
* @example { 'x-post-response': 'console.log(response)' }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../../src/events/definitions/operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAEnE,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAA;AAE9F;;;;;;;;GAQG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,oBAAoB,GAAG,aAAa,GAAG;IACjD,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,0CAA0C;AAC1C,MAAM,MAAM,eAAe,GAAG;IAK5B;;;OAGG;IACH,+BAA+B,EAAE,SAAS,CAAA;IAE1C,qCAAqC;IACrC,0BAA0B,EAAE,SAAS,CAAA;IAMrC;;;OAGG;IACH,4BAA4B,EAAE;QAC5B,8DAA8D;QAC9D,YAAY,EAAE,MAAM,CAAA;QACpB,4CAA4C;QAC5C,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,0EAA0E;QAC1E,IAAI,EAAE,MAAM,CAAA;QACZ,wCAAwC;QACxC,MAAM,EAAE,UAAU,CAAA;QAClB,qCAAqC;QACrC,SAAS,EAAE,eAAe,CAAA;QAC1B,yDAAyD;QACzD,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;KACtC,CAAA;IAED;;;;OAIG;IAC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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HttpMethod } from '@scalar/helpers/http/http-methods';
|
|
2
|
-
import type { TraversedTag } from '../../schemas/navigation.js';
|
|
2
|
+
import type { TraversedExample, TraversedTag } from '../../schemas/navigation.js';
|
|
3
3
|
/**
|
|
4
4
|
* Available actions that can be triggered from the command palette.
|
|
5
5
|
* Each action may have an associated payload type.
|
|
@@ -35,6 +35,14 @@ export type CommandPalettePayload = {
|
|
|
35
35
|
/** The operation id to add the example to */
|
|
36
36
|
operationId?: string;
|
|
37
37
|
};
|
|
38
|
+
'edit-example': {
|
|
39
|
+
/** The example to edit */
|
|
40
|
+
example: TraversedExample;
|
|
41
|
+
/** The document name to edit the example in */
|
|
42
|
+
documentName: string;
|
|
43
|
+
/** The operation id to edit the example in */
|
|
44
|
+
operationId: string;
|
|
45
|
+
};
|
|
38
46
|
/** Import a request from a cURL command string */
|
|
39
47
|
'import-curl-command': {
|
|
40
48
|
/** The cURL command string to parse and import */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../../src/events/definitions/ui.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAEnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../../src/events/definitions/ui.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAEnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAE1E;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,qEAAqE;IACrE,0CAA0C,EAAE,SAAS,CAAA;IACrD,6CAA6C;IAC7C,yBAAyB,EAAE,SAAS,CAAA;IACpC,yCAAyC;IACzC,SAAS,EAAE;QACT,i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E,MAAM,CAAA;KACd,CAAA;IACD;;;;OAIG;IACH,aAAa,EAAE;QACb,0FAA0F;QAC1F,OAAO,CAAC,EAAE,OAAO,CAAA;QACjB,oDAAoD;QACpD,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,+CAA+C;QAC/C,aAAa,CAAC,EAAE,MAAM,CAAA;QACtB,2DAA2D;QAC3D,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,KAAK,IAAI,CAAA;KACjD,GAAG,CACA;QACE,IAAI,EAAE,UAAU,CAAA;QAChB,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,aAAa,GAAG,gBAAgB,GAAG,SAAS,GAAG,UAAU,CAAA;QACxF,YAAY,CAAC,EAAE,MAAM,CAAA;KACtB,GACD;QACE,IAAI,EAAE,WAAW,CAAA;QACjB,IAAI,EAAE,aAAa,GAAG,SAAS,GAAG,UAAU,CAAA;KAC7C,GACD;QACE,IAAI,EAAE,SAAS,CAAA;QACf,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,UAAU,CAAA;QAClB,WAAW,EAAE,MAAM,CAAA;KACpB,GACD;QACE,IAAI,EAAE,WAAW,CAAA;QACjB,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,gBAAgB,CAAA;QAC/C,aAAa,EAAE,MAAM,CAAA;QACrB,MAAM,EAAE,UAAU,CAAA;QAClB,YAAY,CAAC,EAAE,MAAM,CAAA;KACtB,CACJ,CAAA;CACF,CAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
type OnBeforeChangeHook = (path: string[], value?: unknown) => void;
|
|
2
|
+
type OnAfterChangeHook = (path: string[], value?: unknown) => void;
|
|
1
3
|
/**
|
|
2
4
|
* createDetectChangesProxy - Creates a proxy for an object or array that detects and triggers hooks on changes.
|
|
3
5
|
*
|
|
@@ -23,8 +25,8 @@
|
|
|
23
25
|
*/
|
|
24
26
|
export declare const createDetectChangesProxy: <T>(target: T, options?: {
|
|
25
27
|
hooks: Partial<{
|
|
26
|
-
onBeforeChange:
|
|
27
|
-
onAfterChange:
|
|
28
|
+
onBeforeChange: OnBeforeChangeHook;
|
|
29
|
+
onAfterChange: OnAfterChangeHook;
|
|
28
30
|
}>;
|
|
29
31
|
}, args?: {
|
|
30
32
|
/** Cache for storing proxies */
|
|
@@ -44,4 +46,5 @@ export declare const isDetectChangesProxyObject: (obj: unknown) => boolean;
|
|
|
44
46
|
* const stillRaw = unpackDetectChangesProxy(notProxy); // Returns { b: 2 }, unchanged
|
|
45
47
|
*/
|
|
46
48
|
export declare const unpackDetectChangesProxy: <T>(obj: T) => T;
|
|
49
|
+
export {};
|
|
47
50
|
//# sourceMappingURL=detect-changes-proxy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect-changes-proxy.d.ts","sourceRoot":"","sources":["../../src/helpers/detect-changes-proxy.ts"],"names":[],"mappings":"AAKA
|
|
1
|
+
{"version":3,"file":"detect-changes-proxy.d.ts","sourceRoot":"","sources":["../../src/helpers/detect-changes-proxy.ts"],"names":[],"mappings":"AAKA,KAAK,kBAAkB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;AACnE,KAAK,iBAAiB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;AAElE;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,wBAAwB,GAAI,CAAC,EACxC,QAAQ,CAAC,EACT,UAAU;IACR,KAAK,EAAE,OAAO,CAAC;QACb,cAAc,EAAE,kBAAkB,CAAA;QAClC,aAAa,EAAE,iBAAiB,CAAA;KACjC,CAAC,CAAA;CACH,EACD,OAAM;IACJ,gCAAgC;IAChC,UAAU,EAAE,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACpC,0BAA0B;IAC1B,IAAI,EAAE,MAAM,EAAE,CAAA;CAIf,KACA,CAoDF,CAAA;AAED,eAAO,MAAM,0BAA0B,GAAI,KAAK,OAAO,KAAG,OAMzD,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,GAAI,CAAC,EAAE,KAAK,CAAC,KAAG,CAWpD,CAAA"}
|
|
@@ -31,6 +31,13 @@ const createDetectChangesProxy = (target, options, args = {
|
|
|
31
31
|
const result = Reflect.set(target2, prop, value, receiver);
|
|
32
32
|
options?.hooks?.onAfterChange?.(path, value);
|
|
33
33
|
return result;
|
|
34
|
+
},
|
|
35
|
+
deleteProperty(target2, prop) {
|
|
36
|
+
const path = [...args.path, String(prop)];
|
|
37
|
+
options?.hooks?.onBeforeChange?.(path);
|
|
38
|
+
const result = Reflect.deleteProperty(target2, prop);
|
|
39
|
+
options?.hooks?.onAfterChange?.(path);
|
|
40
|
+
return result;
|
|
34
41
|
}
|
|
35
42
|
});
|
|
36
43
|
args.proxyCache.set(target, proxy);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/helpers/detect-changes-proxy.ts"],
|
|
4
|
-
"sourcesContent": ["import { isObject } from '@scalar/helpers/object/is-object'\n\nconst isDetectChangesProxy = Symbol('isDetectChangesProxy')\nconst detectChangesProxyTarget = Symbol('detectChangesProxyTarget')\n\n/**\n * createDetectChangesProxy - Creates a proxy for an object or array that detects and triggers hooks on changes.\n *\n * This proxy enables detection of set operations, triggering optional hooks (onBeforeChange, onAfterChange) with the path and value changed.\n * The proxy can be applied recursively to all nested objects/arrays, and caches proxies to prevent creating multiple proxies for the same object.\n *\n * Example usage:\n *\n * const obj = { foo: 1, bar: { baz: 2 } };\n * const proxy = createDetectChangesProxy(obj, {\n * hooks: {\n * onBeforeChange: (path, value) => console.log('Before', path, value),\n * onAfterChange: (path, value) => console.log('After', path, value),\n * }\n * });\n * proxy.foo = 42; // Console: Before ['foo'] '42', After ['foo'] '42'\n * proxy.bar.baz = 99; // Console: Before ['bar', 'baz'] '99', After ['bar', 'baz'] '99'\n *\n * @param target The target object or array to wrap in a proxy\n * @param options Optional: hooks for change detection\n * @param args Internal: proxy cache and current property path (used for recursion)\n * @returns The proxied object/array with change detection capabilities\n */\nexport const createDetectChangesProxy = <T>(\n target: T,\n options?: {\n hooks: Partial<{\n onBeforeChange:
|
|
5
|
-
"mappings": "AAAA,SAAS,gBAAgB;AAEzB,MAAM,uBAAuB,OAAO,sBAAsB;AAC1D,MAAM,2BAA2B,OAAO,0BAA0B;
|
|
4
|
+
"sourcesContent": ["import { isObject } from '@scalar/helpers/object/is-object'\n\nconst isDetectChangesProxy = Symbol('isDetectChangesProxy')\nconst detectChangesProxyTarget = Symbol('detectChangesProxyTarget')\n\ntype OnBeforeChangeHook = (path: string[], value?: unknown) => void\ntype OnAfterChangeHook = (path: string[], value?: unknown) => void\n\n/**\n * createDetectChangesProxy - Creates a proxy for an object or array that detects and triggers hooks on changes.\n *\n * This proxy enables detection of set operations, triggering optional hooks (onBeforeChange, onAfterChange) with the path and value changed.\n * The proxy can be applied recursively to all nested objects/arrays, and caches proxies to prevent creating multiple proxies for the same object.\n *\n * Example usage:\n *\n * const obj = { foo: 1, bar: { baz: 2 } };\n * const proxy = createDetectChangesProxy(obj, {\n * hooks: {\n * onBeforeChange: (path, value) => console.log('Before', path, value),\n * onAfterChange: (path, value) => console.log('After', path, value),\n * }\n * });\n * proxy.foo = 42; // Console: Before ['foo'] '42', After ['foo'] '42'\n * proxy.bar.baz = 99; // Console: Before ['bar', 'baz'] '99', After ['bar', 'baz'] '99'\n *\n * @param target The target object or array to wrap in a proxy\n * @param options Optional: hooks for change detection\n * @param args Internal: proxy cache and current property path (used for recursion)\n * @returns The proxied object/array with change detection capabilities\n */\nexport const createDetectChangesProxy = <T>(\n target: T,\n options?: {\n hooks: Partial<{\n onBeforeChange: OnBeforeChangeHook\n onAfterChange: OnAfterChangeHook\n }>\n },\n args: {\n /** Cache for storing proxies */\n proxyCache: WeakMap<object, unknown>\n /** Path for the target */\n path: string[]\n } = {\n proxyCache: new WeakMap<object, unknown>(),\n path: [],\n },\n): T => {\n // Only wrap objects or arrays\n if (!isObject(target) && !Array.isArray(target)) {\n return target\n }\n\n // Return cached proxy if already created for this target\n if (args.proxyCache.has(target)) {\n return args.proxyCache.get(target)! as T\n }\n\n const proxy = new Proxy(target, {\n get(target, prop, receiver) {\n // Allow identifying if an object is a detect changes proxy\n if (prop === isDetectChangesProxy) {\n return true\n }\n // Allow access to the original target\n if (prop === detectChangesProxyTarget) {\n return target\n }\n\n // Recursively wrap property values in the detect changes proxy\n const value = Reflect.get(target, prop, receiver)\n\n if (isDetectChangesProxyObject(value)) {\n return value\n }\n\n return createDetectChangesProxy(value, options, { ...args, path: [...args.path, String(prop)] })\n },\n set(target, prop, value, receiver) {\n const path = [...args.path, String(prop)]\n // Call before-change hook if provided\n options?.hooks?.onBeforeChange?.(path, value)\n const result = Reflect.set(target, prop, value, receiver)\n // Call after-change hook if provided\n options?.hooks?.onAfterChange?.(path, value)\n return result\n },\n deleteProperty(target, prop) {\n const path = [...args.path, String(prop)]\n options?.hooks?.onBeforeChange?.(path)\n const result = Reflect.deleteProperty(target, prop)\n options?.hooks?.onAfterChange?.(path)\n return result\n },\n })\n\n // Cache the proxy for this target\n args.proxyCache.set(target, proxy)\n return proxy\n}\n\nexport const isDetectChangesProxyObject = (obj: unknown): boolean => {\n return (\n typeof obj === 'object' &&\n obj !== null &&\n (obj as { [isDetectChangesProxy]: boolean })[isDetectChangesProxy] === true\n )\n}\n\n/**\n * Returns the raw/original (non-proxy) object if the passed object is a detect-changes proxy.\n * If the object is not a proxy, it returns the same object.\n *\n * @example\n * const proxy = createDetectChangesProxy({ a: 1 });\n * const raw = unpackDetectChangesProxy(proxy); // Gets the original object { a: 1 }\n * const notProxy = { b: 2 };\n * const stillRaw = unpackDetectChangesProxy(notProxy); // Returns { b: 2 }, unchanged\n */\nexport const unpackDetectChangesProxy = <T>(obj: T): T => {\n if (typeof obj !== 'object' || obj === null) {\n return obj\n }\n\n // If object is a detect-changes proxy, return its underlying target\n if ((obj as T & { [isDetectChangesProxy]: boolean | undefined })[isDetectChangesProxy]) {\n return (obj as T & { [detectChangesProxyTarget]: T })[detectChangesProxyTarget]\n }\n\n return obj\n}\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,gBAAgB;AAEzB,MAAM,uBAAuB,OAAO,sBAAsB;AAC1D,MAAM,2BAA2B,OAAO,0BAA0B;AA4B3D,MAAM,2BAA2B,CACtC,QACA,SAMA,OAKI;AAAA,EACF,YAAY,oBAAI,QAAyB;AAAA,EACzC,MAAM,CAAC;AACT,MACM;AAEN,MAAI,CAAC,SAAS,MAAM,KAAK,CAAC,MAAM,QAAQ,MAAM,GAAG;AAC/C,WAAO;AAAA,EACT;AAGA,MAAI,KAAK,WAAW,IAAI,MAAM,GAAG;AAC/B,WAAO,KAAK,WAAW,IAAI,MAAM;AAAA,EACnC;AAEA,QAAM,QAAQ,IAAI,MAAM,QAAQ;AAAA,IAC9B,IAAIA,SAAQ,MAAM,UAAU;AAE1B,UAAI,SAAS,sBAAsB;AACjC,eAAO;AAAA,MACT;AAEA,UAAI,SAAS,0BAA0B;AACrC,eAAOA;AAAA,MACT;AAGA,YAAM,QAAQ,QAAQ,IAAIA,SAAQ,MAAM,QAAQ;AAEhD,UAAI,2BAA2B,KAAK,GAAG;AACrC,eAAO;AAAA,MACT;AAEA,aAAO,yBAAyB,OAAO,SAAS,EAAE,GAAG,MAAM,MAAM,CAAC,GAAG,KAAK,MAAM,OAAO,IAAI,CAAC,EAAE,CAAC;AAAA,IACjG;AAAA,IACA,IAAIA,SAAQ,MAAM,OAAO,UAAU;AACjC,YAAM,OAAO,CAAC,GAAG,KAAK,MAAM,OAAO,IAAI,CAAC;AAExC,eAAS,OAAO,iBAAiB,MAAM,KAAK;AAC5C,YAAM,SAAS,QAAQ,IAAIA,SAAQ,MAAM,OAAO,QAAQ;AAExD,eAAS,OAAO,gBAAgB,MAAM,KAAK;AAC3C,aAAO;AAAA,IACT;AAAA,IACA,eAAeA,SAAQ,MAAM;AAC3B,YAAM,OAAO,CAAC,GAAG,KAAK,MAAM,OAAO,IAAI,CAAC;AACxC,eAAS,OAAO,iBAAiB,IAAI;AACrC,YAAM,SAAS,QAAQ,eAAeA,SAAQ,IAAI;AAClD,eAAS,OAAO,gBAAgB,IAAI;AACpC,aAAO;AAAA,IACT;AAAA,EACF,CAAC;AAGD,OAAK,WAAW,IAAI,QAAQ,KAAK;AACjC,SAAO;AACT;AAEO,MAAM,6BAA6B,CAAC,QAA0B;AACnE,SACE,OAAO,QAAQ,YACf,QAAQ,QACP,IAA4C,oBAAoB,MAAM;AAE3E;AAYO,MAAM,2BAA2B,CAAI,QAAc;AACxD,MAAI,OAAO,QAAQ,YAAY,QAAQ,MAAM;AAC3C,WAAO;AAAA,EACT;AAGA,MAAK,IAA4D,oBAAoB,GAAG;AACtF,WAAQ,IAA8C,wBAAwB;AAAA,EAChF;AAEA,SAAO;AACT;",
|
|
6
6
|
"names": ["target"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../src/mutators/document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAEnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAElD;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAAI,UAAU,iBAAiB,GAAG,IAAI,EAAE,WAAW,OAAO,SAOrF,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,GAC7B,UAAU,iBAAiB,GAAG,IAAI,EAClC,SAAS,cAAc,CAAC,sBAAsB,CAAC,
|
|
1
|
+
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../src/mutators/document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAEnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAElD;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAAI,UAAU,iBAAiB,GAAG,IAAI,EAAE,WAAW,OAAO,SAOrF,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,GAC7B,UAAU,iBAAiB,GAAG,IAAI,EAClC,SAAS,cAAc,CAAC,sBAAsB,CAAC,SAchD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,UAAU,iBAAiB,GAAG,IAAI,EAAE,MAAM,MAAM,SASlF,CAAA;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB,GAC9B,OAAO,cAAc,GAAG,IAAI,EAC5B,SAAS,cAAc,CAAC,gCAAgC,CAAC,kBA8B1D,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,cAAc,GAAG,IAAI,EAAE,SAAS,cAAc,CAAC,0BAA0B,CAAC,SAM/G,CAAA;AAED,eAAO,MAAM,uBAAuB,GAAI,sBAGrC;IACD,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAClC,KAAK,EAAE,cAAc,GAAG,IAAI,CAAA;CAC7B;kCAEiC,cAAc,CAAC,sBAAsB,CAAC;+BACzC,cAAc,CAAC,4BAA4B,CAAC;kCACzC,cAAc,CAAC,sBAAsB,CAAC;mCACrC,cAAc,CAAC,gCAAgC,CAAC;8BAErD,cAAc,CAAC,0BAA0B,CAAC;CAEvE,CAAA"}
|
|
@@ -10,8 +10,8 @@ const updateDocumentInfo = (document, payload) => {
|
|
|
10
10
|
return;
|
|
11
11
|
}
|
|
12
12
|
mergeObjects(document.info, payload);
|
|
13
|
-
if (
|
|
14
|
-
document["x-scalar-navigation"].title = payload.title;
|
|
13
|
+
if (document["x-scalar-navigation"] && payload.title !== void 0) {
|
|
14
|
+
document["x-scalar-navigation"].title = payload.title?.trim() || "Untitled Document";
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
const updateDocumentIcon = (document, icon) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/mutators/document.ts"],
|
|
4
|
-
"sourcesContent": ["import type { WorkspaceStore } from '@/client'\nimport type { DocumentEvents } from '@/events/definitions/document'\nimport { mergeObjects } from '@/helpers/merge-object'\nimport type { WorkspaceDocument } from '@/schemas'\n\n/**\n * Updates the \"watch mode\" state of the given document.\n *\n * @param document WorkspaceDocument or null \u2013 The document to modify.\n * @param watchMode boolean \u2013 True enables watch mode, false disables it.\n *\n * If document is null, does nothing.\n */\nexport const updateWatchMode = (document: WorkspaceDocument | null, watchMode: boolean) => {\n if (!document) {\n return\n }\n\n // Set (or unset) the x-scalar-watch-mode property on the document\n document['x-scalar-watch-mode'] = watchMode\n}\n\n/**\n * Updates the document's info object (typically, title, description, version, etc.).\n *\n * Uses a shallow merge: only properties present in payload will be overwritten or added.\n *\n * @param document WorkspaceDocument | null \u2013 The document whose info should be updated.\n * @param payload DocumentEvents['document:update:info'] \u2013 Partial info fields to update/merge.\n *\n * If document is null, does nothing.\n */\nexport const updateDocumentInfo = (\n document: WorkspaceDocument | null,\n payload: DocumentEvents['document:update:info'],\n) => {\n if (!document) {\n return\n }\n // Merge the given payload into the document's info object\n mergeObjects(document.info, payload)\n\n // Update the document title if it is present and the navigation object is present\n // We do this because we don't want to rebuild the entire navigation object if only the title is changed\n if (
|
|
5
|
-
"mappings": "AAEA,SAAS,oBAAoB;AAWtB,MAAM,kBAAkB,CAAC,UAAoC,cAAuB;AACzF,MAAI,CAAC,UAAU;AACb;AAAA,EACF;AAGA,WAAS,qBAAqB,IAAI;AACpC;AAYO,MAAM,qBAAqB,CAChC,UACA,YACG;AACH,MAAI,CAAC,UAAU;AACb;AAAA,EACF;AAEA,eAAa,SAAS,MAAM,OAAO;
|
|
4
|
+
"sourcesContent": ["import type { WorkspaceStore } from '@/client'\nimport type { DocumentEvents } from '@/events/definitions/document'\nimport { mergeObjects } from '@/helpers/merge-object'\nimport type { WorkspaceDocument } from '@/schemas'\n\n/**\n * Updates the \"watch mode\" state of the given document.\n *\n * @param document WorkspaceDocument or null \u2013 The document to modify.\n * @param watchMode boolean \u2013 True enables watch mode, false disables it.\n *\n * If document is null, does nothing.\n */\nexport const updateWatchMode = (document: WorkspaceDocument | null, watchMode: boolean) => {\n if (!document) {\n return\n }\n\n // Set (or unset) the x-scalar-watch-mode property on the document\n document['x-scalar-watch-mode'] = watchMode\n}\n\n/**\n * Updates the document's info object (typically, title, description, version, etc.).\n *\n * Uses a shallow merge: only properties present in payload will be overwritten or added.\n *\n * @param document WorkspaceDocument | null \u2013 The document whose info should be updated.\n * @param payload DocumentEvents['document:update:info'] \u2013 Partial info fields to update/merge.\n *\n * If document is null, does nothing.\n */\nexport const updateDocumentInfo = (\n document: WorkspaceDocument | null,\n payload: DocumentEvents['document:update:info'],\n) => {\n if (!document) {\n return\n }\n // Merge the given payload into the document's info object\n mergeObjects(document.info, payload)\n\n // Update the document title if it is present and the navigation object is present\n // We do this because we don't want to rebuild the entire navigation object if only the title is changed\n // Normalize like traverseDocument: trim and treat whitespace-only as empty so we show \"Untitled Document\"\n if (document['x-scalar-navigation'] && payload.title !== undefined) {\n document['x-scalar-navigation'].title = payload.title?.trim() || 'Untitled Document'\n }\n}\n\n/**\n * Update the document icon and also update the corresponding sidebar entry\n *\n * Does not perform a sidebar rebuild for performance benefit\n */\nexport const updateDocumentIcon = (document: WorkspaceDocument | null, icon: string) => {\n if (!document || !document['x-scalar-navigation']) {\n return\n }\n\n // Update the document icon\n document['x-scalar-icon'] = icon\n // Update the sidebar document icon\n document['x-scalar-navigation'].icon = icon\n}\n\n/**\n * Creates an empty OpenAPI document and adds it to the workspace.\n *\n * - If the store is null, this is a no-op.\n * - The document name must be unique; if already present, callback is called with `false`.\n * - On success, a new OpenAPI 3.1.0 document is added with a basic path and info.\n * - Callback is called with `true` if document is created.\n *\n * @param store WorkspaceStore | null \u2013 The workspace store to add the document to.\n * @param payload DocumentEvents['document:create:empty-document'] \u2013 Contains name, icon, and callback.\n */\nexport const createEmptyDocument = async (\n store: WorkspaceStore | null,\n payload: DocumentEvents['document:create:empty-document'],\n) => {\n if (!store) {\n return\n }\n\n // Check if the document already exists by name for uniqueness\n if (store.workspace.documents[payload.name]) {\n // Document name already exists, call callback with false\n payload.callback?.(false)\n return\n }\n\n // Add a new empty OpenAPI 3.1.0 document with minimal info and icon\n await store.addDocument({\n name: payload.name,\n document: {\n openapi: '3.1.0',\n info: { title: payload.name, version: '1.0.0' },\n paths: {\n '/': {\n get: {},\n },\n },\n 'x-scalar-icon': payload.icon,\n },\n })\n\n // Notify success via callback\n payload.callback?.(true)\n}\n\n/**\n * Deletes a document from the workspace by its name.\n *\n * Safely no-ops if the store is null.\n */\nexport const deleteDocument = (store: WorkspaceStore | null, payload: DocumentEvents['document:delete:document']) => {\n if (!store) {\n return\n }\n\n store.deleteDocument(payload.name)\n}\n\nexport const documentMutatorsFactory = ({\n document,\n store,\n}: {\n document: WorkspaceDocument | null\n store: WorkspaceStore | null\n}) => {\n return {\n updateDocumentInfo: (payload: DocumentEvents['document:update:info']) => updateDocumentInfo(document, payload),\n updateWatchMode: (payload: DocumentEvents['document:update:watch-mode']) => updateWatchMode(document, payload),\n updateDocumentIcon: (payload: DocumentEvents['document:update:icon']) => updateDocumentIcon(document, payload),\n createEmptyDocument: (payload: DocumentEvents['document:create:empty-document']) =>\n createEmptyDocument(store, payload),\n deleteDocument: (payload: DocumentEvents['document:delete:document']) => deleteDocument(store, payload),\n }\n}\n"],
|
|
5
|
+
"mappings": "AAEA,SAAS,oBAAoB;AAW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;AAAA,IAC7G,iBAAiB,CAAC,YAA0D,gBAAgB,UAAU,OAAO;AAAA,IAC7G,oBAAoB,CAAC,YAAoD,mBAAmB,UAAU,OAAO;AAAA,IAC7G,qBAAqB,CAAC,YACpB,oBAAoB,OAAO,OAAO;AAAA,IACpC,gBAAgB,CAAC,YAAwD,eAAe,OAAO,OAAO;AAAA,EACxG;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -13,6 +13,13 @@ type Event<T extends keyof EnvironmentEvents> = Omit<EnvironmentEvents[T], 'coll
|
|
|
13
13
|
* @returns the parsed environment that was added or updated or undefined if the collection is not found
|
|
14
14
|
*/
|
|
15
15
|
export declare const upsertEnvironment: (workspace: Workspace | null, collection: WorkspaceDocument | Workspace | null, { environmentName, payload, oldEnvironmentName }: Event<"environment:upsert:environment">) => XScalarEnvironment | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Deletes an environment from the given collection and handles active environment state.
|
|
18
|
+
*
|
|
19
|
+
* @param workspace - The workspace object, or null if unavailable.
|
|
20
|
+
* @param collection - The workspace document or workspace object, or null if unavailable.
|
|
21
|
+
* @param environmentName - The name of the environment to delete.
|
|
22
|
+
*/
|
|
16
23
|
export declare const deleteEnvironment: (workspace: Workspace | null, collection: WorkspaceDocument | Workspace | null, { environmentName }: Event<"environment:delete:environment">) => void;
|
|
17
24
|
/**
|
|
18
25
|
* Adds OR updates an environment variable to the document or workspace.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../src/mutators/environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAEzE,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7D,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,kBAAkB,EAGxB,MAAM,qDAAqD,CAAA;AAG5D,KAAK,KAAK,CAAC,CAAC,SAAS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