{"_id":"@ahmttyydn/workspace-store","_rev":"7-87f3df9b07d57a85ca221b2ffba5d350","name":"@ahmttyydn/workspace-store","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.0":{"name":"@ahmttyydn/workspace-store","version":"1.0.0","keywords":["workspace","store","openapi","scalar"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/workspace-store@1.0.0","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/scalar/scalar","bugs":{"url":"https://github.com/scalar/scalar/issues/new/choose"},"dist":{"shasum":"5486a1be0565caf4909eb9c0688a588e06dbbfcc","tarball":"https://registry.npmjs.org/@ahmttyydn/workspace-store/-/workspace-store-1.0.0.tgz","fileCount":636,"integrity":"sha512-u1fRE9kgKiztjk0jI3r8jaWPPxcKeUK6+8NtjZ5Y0m8ptyvcwY2zBr4GX4jR6RorHZX4F5xbkRgZxjeznMLoFg==","signatures":[{"sig":"MEUCIQCP0SApZSdoiUKzJyLuEq/4fvUMXFSkrizV7egPKGXlZAIgSfUEEDNqgo/ba0+AxyUG8zGSQqSkT50+61HKQKPGiSI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8153614},"type":"module","_from":"file:ahmttyydn-workspace-store-1.0.0.tgz","engines":{"node":">=22"},"exports":{"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","default":"./dist/client.js"},"./events":{"types":"./dist/events/index.d.ts","import":"./dist/events/index.js","default":"./dist/events/index.js"},"./server":{"types":"./dist/server.d.ts","import":"./dist/server.js","default":"./dist/server.js"},"./resolve":{"types":"./dist/resolve.d.ts","import":"./dist/resolve.js","default":"./dist/resolve.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.js","default":"./dist/schemas.js"},"./mutators":{"types":"./dist/mutators/index.d.ts","import":"./dist/mutators/index.js","default":"./dist/mutators/index.js"},"./helpers/*":{"types":"./dist/helpers/*.d.ts","import":"./dist/helpers/*.js","default":"./dist/helpers/*.js"},"./schemas/*":{"types":"./dist/schemas/*.d.ts","import":"./dist/schemas/*.js","default":"./dist/schemas/*.js"},"./navigation":{"types":"./dist/navigation/index.d.ts","import":"./dist/navigation/index.js","default":"./dist/navigation/index.js"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","default":"./dist/persistence/index.js"},"./entities/auth":{"types":"./dist/entities/auth/index.d.ts","import":"./dist/entities/auth/index.js","default":"./dist/entities/auth/index.js"},"./plugins/client":{"types":"./dist/plugins/client/index.d.ts","import":"./dist/plugins/client/index.js","default":"./dist/plugins/client/index.js"},"./plugins/bundler":{"types":"./dist/plugins/bundler/index.d.ts","import":"./dist/plugins/bundler/index.js","default":"./dist/plugins/bundler/index.js"},"./request-example":{"types":"./dist/request-example/index.d.ts","import":"./dist/request-example/index.js","default":"./dist/request-example/index.js"},"./workspace-plugin":{"types":"./dist/workspace-plugin.d.ts","import":"./dist/workspace-plugin.js","default":"./dist/workspace-plugin.js"},"./entities/history/*":{"types":"./dist/entities/history/*.d.ts","import":"./dist/entities/history/*.js","default":"./dist/entities/history/*.js"},"./schemas/extensions/tag":{"types":"./dist/schemas/extensions/tag/index.d.ts","import":"./dist/schemas/extensions/tag/index.js","default":"./dist/schemas/extensions/tag/index.js"},"./schemas/extensions/security":{"types":"./dist/schemas/extensions/security/index.d.ts","import":"./dist/schemas/extensions/security/index.js","default":"./dist/schemas/extensions/security/index.js"},"./schemas/extensions/operation":{"types":"./dist/schemas/extensions/operation/index.d.ts","import":"./dist/schemas/extensions/operation/index.js","default":"./dist/schemas/extensions/operation/index.js"},"./schemas/extensions/workspace":{"types":"./dist/schemas/extensions/workspace/index.d.ts","import":"./dist/schemas/extensions/workspace/index.js","default":"./dist/schemas/extensions/workspace/index.js"},"./schemas/v3.1/strict/type-guards":{"types":"./dist/schemas/v3.1/strict/type-guards.d.ts","import":"./dist/schemas/v3.1/strict/type-guards.js","default":"./dist/schemas/v3.1/strict/type-guards.js"},"./schemas/v3.1/strict/openapi-document":{"types":"./dist/schemas/v3.1/strict/openapi-document.d.ts","import":"./dist/schemas/v3.1/strict/openapi-document.js","default":"./dist/schemas/v3.1/strict/openapi-document.js"}},"scripts":{"test":"vitest","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","types:check":"tsc --noEmit","generate-json-schemas":"tsx ./scripts/generate-json-schemas.ts","generate-openapi-types":"tsx ./scripts/generate-openapi-types.ts"},"_npmUser":{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"},"_resolved":"/private/var/folders/6s/_0b0836n1t9dc5prz2rp43h80000gn/T/a5fff2da873444df8b2004c6a7c4f161/ahmttyydn-workspace-store-1.0.0.tgz","_integrity":"sha512-u1fRE9kgKiztjk0jI3r8jaWPPxcKeUK6+8NtjZ5Y0m8ptyvcwY2zBr4GX4jR6RorHZX4F5xbkRgZxjeznMLoFg==","repository":{"url":"git+https://github.com/scalar/scalar.git","type":"git","directory":"packages/workspace-store"},"_npmVersion":"11.6.2","description":"Store interface for openapi documents","directories":{},"_nodeVersion":"24.11.1","dependencies":{"vue":"^3.5.30","yaml":"^2.8.0","js-base64":"^3.7.8","type-fest":"^5.3.1","github-slugger":"2.0.0","@scalar/typebox":"0.1.3","@ahmttyydn/types":"1.0.0","@ahmttyydn/helpers":"1.0.0","@ahmttyydn/snippetz":"1.0.0","@ahmttyydn/json-magic":"1.0.0","@ahmttyydn/validation":"1.0.0","@ahmttyydn/openapi-upgrader":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.0.0","vitest":"4.1.0","fastify":"^5.8.1","fake-indexeddb":"6.2.3","@google-cloud/storage":"7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/workspace-store_1.0.0_1775418731971_0.40211775651494097","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ahmttyydn/workspace-store","version":"1.0.1","keywords":["workspace","store","openapi","scalar"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/workspace-store@1.0.1","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"0afa3e5e0150a33f3a6f64421d4035d451b4b7c5","tarball":"https://registry.npmjs.org/@ahmttyydn/workspace-store/-/workspace-store-1.0.1.tgz","fileCount":636,"integrity":"sha512-lFsnG8SGtE79Hj7gTbTsaB1kESiq9gXAlTPEaePO65RSVR7tDfhJCn3aS+qscdqEO/B5s5afkDVgqTuXb+UveQ==","signatures":[{"sig":"MEQCICJU+qy5tpOgY/R9hQisq13Y7FMBk+01HpE/fGinQ4+jAiB0NhU3yS0/BmXImFI12CJIi6rhgyUfUvbo+AMk7O3dMA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fworkspace-store@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8153617},"type":"module","_from":"file:ahmttyydn-workspace-store-1.0.1.tgz","engines":{"node":">=22"},"exports":{"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","default":"./dist/client.js"},"./events":{"types":"./dist/events/index.d.ts","import":"./dist/events/index.js","default":"./dist/events/index.js"},"./server":{"types":"./dist/server.d.ts","import":"./dist/server.js","default":"./dist/server.js"},"./resolve":{"types":"./dist/resolve.d.ts","import":"./dist/resolve.js","default":"./dist/resolve.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.js","default":"./dist/schemas.js"},"./mutators":{"types":"./dist/mutators/index.d.ts","import":"./dist/mutators/index.js","default":"./dist/mutators/index.js"},"./helpers/*":{"types":"./dist/helpers/*.d.ts","import":"./dist/helpers/*.js","default":"./dist/helpers/*.js"},"./schemas/*":{"types":"./dist/schemas/*.d.ts","import":"./dist/schemas/*.js","default":"./dist/schemas/*.js"},"./navigation":{"types":"./dist/navigation/index.d.ts","import":"./dist/navigation/index.js","default":"./dist/navigation/index.js"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","default":"./dist/persistence/index.js"},"./entities/auth":{"types":"./dist/entities/auth/index.d.ts","import":"./dist/entities/auth/index.js","default":"./dist/entities/auth/index.js"},"./plugins/client":{"types":"./dist/plugins/client/index.d.ts","import":"./dist/plugins/client/index.js","default":"./dist/plugins/client/index.js"},"./plugins/bundler":{"types":"./dist/plugins/bundler/index.d.ts","import":"./dist/plugins/bundler/index.js","default":"./dist/plugins/bundler/index.js"},"./request-example":{"types":"./dist/request-example/index.d.ts","import":"./dist/request-example/index.js","default":"./dist/request-example/index.js"},"./workspace-plugin":{"types":"./dist/workspace-plugin.d.ts","import":"./dist/workspace-plugin.js","default":"./dist/workspace-plugin.js"},"./entities/history/*":{"types":"./dist/entities/history/*.d.ts","import":"./dist/entities/history/*.js","default":"./dist/entities/history/*.js"},"./schemas/extensions/tag":{"types":"./dist/schemas/extensions/tag/index.d.ts","import":"./dist/schemas/extensions/tag/index.js","default":"./dist/schemas/extensions/tag/index.js"},"./schemas/extensions/security":{"types":"./dist/schemas/extensions/security/index.d.ts","import":"./dist/schemas/extensions/security/index.js","default":"./dist/schemas/extensions/security/index.js"},"./schemas/extensions/operation":{"types":"./dist/schemas/extensions/operation/index.d.ts","import":"./dist/schemas/extensions/operation/index.js","default":"./dist/schemas/extensions/operation/index.js"},"./schemas/extensions/workspace":{"types":"./dist/schemas/extensions/workspace/index.d.ts","import":"./dist/schemas/extensions/workspace/index.js","default":"./dist/schemas/extensions/workspace/index.js"},"./schemas/v3.1/strict/type-guards":{"types":"./dist/schemas/v3.1/strict/type-guards.d.ts","import":"./dist/schemas/v3.1/strict/type-guards.js","default":"./dist/schemas/v3.1/strict/type-guards.js"},"./schemas/v3.1/strict/openapi-document":{"types":"./dist/schemas/v3.1/strict/openapi-document.d.ts","import":"./dist/schemas/v3.1/strict/openapi-document.js","default":"./dist/schemas/v3.1/strict/openapi-document.js"}},"scripts":{"test":"vitest","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","types:check":"tsc --noEmit","generate-json-schemas":"tsx ./scripts/generate-json-schemas.ts","generate-openapi-types":"tsx ./scripts/generate-openapi-types.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:eec96777-73f1-4937-b04b-19d945f166a3"}},"_resolved":"/tmp/25dc9c7e928ef4a00a25313397c2460a/ahmttyydn-workspace-store-1.0.1.tgz","_integrity":"sha512-lFsnG8SGtE79Hj7gTbTsaB1kESiq9gXAlTPEaePO65RSVR7tDfhJCn3aS+qscdqEO/B5s5afkDVgqTuXb+UveQ==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/workspace-store"},"_npmVersion":"11.11.0","description":"Store interface for openapi documents","directories":{},"_nodeVersion":"24.14.1","dependencies":{"vue":"^3.5.30","yaml":"^2.8.0","js-base64":"^3.7.8","type-fest":"^5.3.1","github-slugger":"2.0.0","@scalar/typebox":"0.1.3","@ahmttyydn/types":"1.0.1","@ahmttyydn/helpers":"1.0.1","@ahmttyydn/snippetz":"1.0.1","@ahmttyydn/json-magic":"1.0.1","@ahmttyydn/validation":"1.0.1","@ahmttyydn/openapi-upgrader":"1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.0.0","vitest":"4.1.0","fastify":"^5.8.1","fake-indexeddb":"6.2.3","@google-cloud/storage":"7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/workspace-store_1.0.1_1775438322114_0.7165331602973737","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@ahmttyydn/workspace-store","version":"1.0.2","keywords":["workspace","store","openapi","scalar"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/workspace-store@1.0.2","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"5b9dea9e7596930970a265a6f03477adc5e02531","tarball":"https://registry.npmjs.org/@ahmttyydn/workspace-store/-/workspace-store-1.0.2.tgz","fileCount":636,"integrity":"sha512-l3963pLI7BI3V+aTI+o90eN9lLc+4OKr6r3L2I0JVvd4/OLbY8q9wGFrCl+v2gJTbrApy3x4cavNzk7FPeUpHg==","signatures":[{"sig":"MEUCIQDOrhat4OSNwl3NhRB/jJdRCbnH1QICmR85BD85gtXz5AIgFi4ZCtYW67L5KX3XF0EcP6VU4oyWRB3VgkbWU0h0eMI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fworkspace-store@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8153617},"type":"module","_from":"file:ahmttyydn-workspace-store-1.0.2.tgz","engines":{"node":">=22"},"exports":{"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","default":"./dist/client.js"},"./events":{"types":"./dist/events/index.d.ts","import":"./dist/events/index.js","default":"./dist/events/index.js"},"./server":{"types":"./dist/server.d.ts","import":"./dist/server.js","default":"./dist/server.js"},"./resolve":{"types":"./dist/resolve.d.ts","import":"./dist/resolve.js","default":"./dist/resolve.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.js","default":"./dist/schemas.js"},"./mutators":{"types":"./dist/mutators/index.d.ts","import":"./dist/mutators/index.js","default":"./dist/mutators/index.js"},"./helpers/*":{"types":"./dist/helpers/*.d.ts","import":"./dist/helpers/*.js","default":"./dist/helpers/*.js"},"./schemas/*":{"types":"./dist/schemas/*.d.ts","import":"./dist/schemas/*.js","default":"./dist/schemas/*.js"},"./navigation":{"types":"./dist/navigation/index.d.ts","import":"./dist/navigation/index.js","default":"./dist/navigation/index.js"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","default":"./dist/persistence/index.js"},"./entities/auth":{"types":"./dist/entities/auth/index.d.ts","import":"./dist/entities/auth/index.js","default":"./dist/entities/auth/index.js"},"./plugins/client":{"types":"./dist/plugins/client/index.d.ts","import":"./dist/plugins/client/index.js","default":"./dist/plugins/client/index.js"},"./plugins/bundler":{"types":"./dist/plugins/bundler/index.d.ts","import":"./dist/plugins/bundler/index.js","default":"./dist/plugins/bundler/index.js"},"./request-example":{"types":"./dist/request-example/index.d.ts","import":"./dist/request-example/index.js","default":"./dist/request-example/index.js"},"./workspace-plugin":{"types":"./dist/workspace-plugin.d.ts","import":"./dist/workspace-plugin.js","default":"./dist/workspace-plugin.js"},"./entities/history/*":{"types":"./dist/entities/history/*.d.ts","import":"./dist/entities/history/*.js","default":"./dist/entities/history/*.js"},"./schemas/extensions/tag":{"types":"./dist/schemas/extensions/tag/index.d.ts","import":"./dist/schemas/extensions/tag/index.js","default":"./dist/schemas/extensions/tag/index.js"},"./schemas/extensions/security":{"types":"./dist/schemas/extensions/security/index.d.ts","import":"./dist/schemas/extensions/security/index.js","default":"./dist/schemas/extensions/security/index.js"},"./schemas/extensions/operation":{"types":"./dist/schemas/extensions/operation/index.d.ts","import":"./dist/schemas/extensions/operation/index.js","default":"./dist/schemas/extensions/operation/index.js"},"./schemas/extensions/workspace":{"types":"./dist/schemas/extensions/workspace/index.d.ts","import":"./dist/schemas/extensions/workspace/index.js","default":"./dist/schemas/extensions/workspace/index.js"},"./schemas/v3.1/strict/type-guards":{"types":"./dist/schemas/v3.1/strict/type-guards.d.ts","import":"./dist/schemas/v3.1/strict/type-guards.js","default":"./dist/schemas/v3.1/strict/type-guards.js"},"./schemas/v3.1/strict/openapi-document":{"types":"./dist/schemas/v3.1/strict/openapi-document.d.ts","import":"./dist/schemas/v3.1/strict/openapi-document.js","default":"./dist/schemas/v3.1/strict/openapi-document.js"}},"scripts":{"test":"vitest","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","types:check":"tsc --noEmit","generate-json-schemas":"tsx ./scripts/generate-json-schemas.ts","generate-openapi-types":"tsx ./scripts/generate-openapi-types.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:eec96777-73f1-4937-b04b-19d945f166a3"}},"_resolved":"/tmp/263afa87f46e3cb2fbb5aa1fcee13a4f/ahmttyydn-workspace-store-1.0.2.tgz","_integrity":"sha512-l3963pLI7BI3V+aTI+o90eN9lLc+4OKr6r3L2I0JVvd4/OLbY8q9wGFrCl+v2gJTbrApy3x4cavNzk7FPeUpHg==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/workspace-store"},"_npmVersion":"11.11.0","description":"Store interface for openapi documents","directories":{},"_nodeVersion":"24.14.1","dependencies":{"vue":"^3.5.30","yaml":"^2.8.0","js-base64":"^3.7.8","type-fest":"^5.3.1","github-slugger":"2.0.0","@scalar/typebox":"0.1.3","@ahmttyydn/types":"1.0.2","@ahmttyydn/helpers":"1.0.2","@ahmttyydn/snippetz":"1.0.2","@ahmttyydn/json-magic":"1.0.2","@ahmttyydn/validation":"1.0.2","@ahmttyydn/openapi-upgrader":"1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.0.0","vitest":"4.1.0","fastify":"^5.8.1","fake-indexeddb":"6.2.3","@google-cloud/storage":"7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/workspace-store_1.0.2_1775439157888_0.8873373311084043","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@ahmttyydn/workspace-store","version":"1.0.4","keywords":["workspace","store","openapi","scalar"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/workspace-store@1.0.4","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"a22c4992dbeb834219d5bbc9f8f729b904d4f172","tarball":"https://registry.npmjs.org/@ahmttyydn/workspace-store/-/workspace-store-1.0.4.tgz","fileCount":636,"integrity":"sha512-WUaFVgcacay3NB72OOn8VmCtDY80TDy3BsxTJNzGa8+STHnTTIieD0yqvuxvUGt73s1Oi0lylaxd1t5eTnyrhA==","signatures":[{"sig":"MEQCIBTziKVKuOSPxyaWDG1j7CYDyqCDoKxE2DqG0kDg8HZaAiBMZ8fcKsNKki74vCQSD6qZbO5JRuvquGLCR3mfGcAcWg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fworkspace-store@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8153617},"type":"module","_from":"file:ahmttyydn-workspace-store-1.0.4.tgz","engines":{"node":">=22"},"exports":{"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","default":"./dist/client.js"},"./events":{"types":"./dist/events/index.d.ts","import":"./dist/events/index.js","default":"./dist/events/index.js"},"./server":{"types":"./dist/server.d.ts","import":"./dist/server.js","default":"./dist/server.js"},"./resolve":{"types":"./dist/resolve.d.ts","import":"./dist/resolve.js","default":"./dist/resolve.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.js","default":"./dist/schemas.js"},"./mutators":{"types":"./dist/mutators/index.d.ts","import":"./dist/mutators/index.js","default":"./dist/mutators/index.js"},"./helpers/*":{"types":"./dist/helpers/*.d.ts","import":"./dist/helpers/*.js","default":"./dist/helpers/*.js"},"./schemas/*":{"types":"./dist/schemas/*.d.ts","import":"./dist/schemas/*.js","default":"./dist/schemas/*.js"},"./navigation":{"types":"./dist/navigation/index.d.ts","import":"./dist/navigation/index.js","default":"./dist/navigation/index.js"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","default":"./dist/persistence/index.js"},"./entities/auth":{"types":"./dist/entities/auth/index.d.ts","import":"./dist/entities/auth/index.js","default":"./dist/entities/auth/index.js"},"./plugins/client":{"types":"./dist/plugins/client/index.d.ts","import":"./dist/plugins/client/index.js","default":"./dist/plugins/client/index.js"},"./plugins/bundler":{"types":"./dist/plugins/bundler/index.d.ts","import":"./dist/plugins/bundler/index.js","default":"./dist/plugins/bundler/index.js"},"./request-example":{"types":"./dist/request-example/index.d.ts","import":"./dist/request-example/index.js","default":"./dist/request-example/index.js"},"./workspace-plugin":{"types":"./dist/workspace-plugin.d.ts","import":"./dist/workspace-plugin.js","default":"./dist/workspace-plugin.js"},"./entities/history/*":{"types":"./dist/entities/history/*.d.ts","import":"./dist/entities/history/*.js","default":"./dist/entities/history/*.js"},"./schemas/extensions/tag":{"types":"./dist/schemas/extensions/tag/index.d.ts","import":"./dist/schemas/extensions/tag/index.js","default":"./dist/schemas/extensions/tag/index.js"},"./schemas/extensions/security":{"types":"./dist/schemas/extensions/security/index.d.ts","import":"./dist/schemas/extensions/security/index.js","default":"./dist/schemas/extensions/security/index.js"},"./schemas/extensions/operation":{"types":"./dist/schemas/extensions/operation/index.d.ts","import":"./dist/schemas/extensions/operation/index.js","default":"./dist/schemas/extensions/operation/index.js"},"./schemas/extensions/workspace":{"types":"./dist/schemas/extensions/workspace/index.d.ts","import":"./dist/schemas/extensions/workspace/index.js","default":"./dist/schemas/extensions/workspace/index.js"},"./schemas/v3.1/strict/type-guards":{"types":"./dist/schemas/v3.1/strict/type-guards.d.ts","import":"./dist/schemas/v3.1/strict/type-guards.js","default":"./dist/schemas/v3.1/strict/type-guards.js"},"./schemas/v3.1/strict/openapi-document":{"types":"./dist/schemas/v3.1/strict/openapi-document.d.ts","import":"./dist/schemas/v3.1/strict/openapi-document.js","default":"./dist/schemas/v3.1/strict/openapi-document.js"}},"scripts":{"test":"vitest","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","types:check":"tsc --noEmit","generate-json-schemas":"tsx ./scripts/generate-json-schemas.ts","generate-openapi-types":"tsx ./scripts/generate-openapi-types.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:eec96777-73f1-4937-b04b-19d945f166a3"}},"_resolved":"/tmp/b5493b61003ea6249ba3f073e4c3ec9d/ahmttyydn-workspace-store-1.0.4.tgz","_integrity":"sha512-WUaFVgcacay3NB72OOn8VmCtDY80TDy3BsxTJNzGa8+STHnTTIieD0yqvuxvUGt73s1Oi0lylaxd1t5eTnyrhA==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/workspace-store"},"_npmVersion":"11.11.0","description":"Store interface for openapi documents","directories":{},"_nodeVersion":"24.14.1","dependencies":{"vue":"^3.5.30","yaml":"^2.8.0","js-base64":"^3.7.8","type-fest":"^5.3.1","github-slugger":"2.0.0","@scalar/typebox":"0.1.3","@ahmttyydn/types":"1.0.4","@ahmttyydn/helpers":"1.0.4","@ahmttyydn/snippetz":"1.0.4","@ahmttyydn/json-magic":"1.0.4","@ahmttyydn/validation":"1.0.4","@ahmttyydn/openapi-upgrader":"1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.0.0","vitest":"4.1.0","fastify":"^5.8.1","fake-indexeddb":"6.2.3","@google-cloud/storage":"7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/workspace-store_1.0.4_1775441073715_0.37034065999836385","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@ahmttyydn/workspace-store","version":"1.0.6","keywords":["workspace","store","openapi","scalar"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/workspace-store@1.0.6","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"4bf479075d6630dcd7913edf19331da2d14d7d1d","tarball":"https://registry.npmjs.org/@ahmttyydn/workspace-store/-/workspace-store-1.0.6.tgz","fileCount":636,"integrity":"sha512-QahRmIWvcqgYLse15dntIuR/Kqcx7F92pHcgXN0coVMELYac3Sq1XqM1wBPsI0OASk2T4kgoqfLzVhCzOhNt+g==","signatures":[{"sig":"MEUCIQCpPB/djHNgQwsDdfnNWp5mLzKL0KNMk83b3mJU9tRSZQIgaZIMM7hlzANbKlSYhi2nHDToogXO6AkbsKI8EmNYiDA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fworkspace-store@1.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8153617},"type":"module","_from":"file:ahmttyydn-workspace-store-1.0.6.tgz","engines":{"node":">=22"},"exports":{"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","default":"./dist/client.js"},"./events":{"types":"./dist/events/index.d.ts","import":"./dist/events/index.js","default":"./dist/events/index.js"},"./server":{"types":"./dist/server.d.ts","import":"./dist/server.js","default":"./dist/server.js"},"./resolve":{"types":"./dist/resolve.d.ts","import":"./dist/resolve.js","default":"./dist/resolve.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.js","default":"./dist/schemas.js"},"./mutators":{"types":"./dist/mutators/index.d.ts","import":"./dist/mutators/index.js","default":"./dist/mutators/index.js"},"./helpers/*":{"types":"./dist/helpers/*.d.ts","import":"./dist/helpers/*.js","default":"./dist/helpers/*.js"},"./schemas/*":{"types":"./dist/schemas/*.d.ts","import":"./dist/schemas/*.js","default":"./dist/schemas/*.js"},"./navigation":{"types":"./dist/navigation/index.d.ts","import":"./dist/navigation/index.js","default":"./dist/navigation/index.js"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","default":"./dist/persistence/index.js"},"./entities/auth":{"types":"./dist/entities/auth/index.d.ts","import":"./dist/entities/auth/index.js","default":"./dist/entities/auth/index.js"},"./plugins/client":{"types":"./dist/plugins/client/index.d.ts","import":"./dist/plugins/client/index.js","default":"./dist/plugins/client/index.js"},"./plugins/bundler":{"types":"./dist/plugins/bundler/index.d.ts","import":"./dist/plugins/bundler/index.js","default":"./dist/plugins/bundler/index.js"},"./request-example":{"types":"./dist/request-example/index.d.ts","import":"./dist/request-example/index.js","default":"./dist/request-example/index.js"},"./workspace-plugin":{"types":"./dist/workspace-plugin.d.ts","import":"./dist/workspace-plugin.js","default":"./dist/workspace-plugin.js"},"./entities/history/*":{"types":"./dist/entities/history/*.d.ts","import":"./dist/entities/history/*.js","default":"./dist/entities/history/*.js"},"./schemas/extensions/tag":{"types":"./dist/schemas/extensions/tag/index.d.ts","import":"./dist/schemas/extensions/tag/index.js","default":"./dist/schemas/extensions/tag/index.js"},"./schemas/extensions/security":{"types":"./dist/schemas/extensions/security/index.d.ts","import":"./dist/schemas/extensions/security/index.js","default":"./dist/schemas/extensions/security/index.js"},"./schemas/extensions/operation":{"types":"./dist/schemas/extensions/operation/index.d.ts","import":"./dist/schemas/extensions/operation/index.js","default":"./dist/schemas/extensions/operation/index.js"},"./schemas/extensions/workspace":{"types":"./dist/schemas/extensions/workspace/index.d.ts","import":"./dist/schemas/extensions/workspace/index.js","default":"./dist/schemas/extensions/workspace/index.js"},"./schemas/v3.1/strict/type-guards":{"types":"./dist/schemas/v3.1/strict/type-guards.d.ts","import":"./dist/schemas/v3.1/strict/type-guards.js","default":"./dist/schemas/v3.1/strict/type-guards.js"},"./schemas/v3.1/strict/openapi-document":{"types":"./dist/schemas/v3.1/strict/openapi-document.d.ts","import":"./dist/schemas/v3.1/strict/openapi-document.js","default":"./dist/schemas/v3.1/strict/openapi-document.js"}},"scripts":{"test":"vitest","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","types:check":"tsc --noEmit","generate-json-schemas":"tsx ./scripts/generate-json-schemas.ts","generate-openapi-types":"tsx ./scripts/generate-openapi-types.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:eec96777-73f1-4937-b04b-19d945f166a3"}},"_resolved":"/tmp/28ce75ac5f203b41d0289bd08ae6c519/ahmttyydn-workspace-store-1.0.6.tgz","_integrity":"sha512-QahRmIWvcqgYLse15dntIuR/Kqcx7F92pHcgXN0coVMELYac3Sq1XqM1wBPsI0OASk2T4kgoqfLzVhCzOhNt+g==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/workspace-store"},"_npmVersion":"11.11.0","description":"Store interface for openapi documents","directories":{},"_nodeVersion":"24.14.1","dependencies":{"vue":"^3.5.30","yaml":"^2.8.0","js-base64":"^3.7.8","type-fest":"^5.3.1","github-slugger":"2.0.0","@scalar/typebox":"0.1.3","@ahmttyydn/types":"1.0.6","@ahmttyydn/helpers":"1.0.6","@ahmttyydn/snippetz":"1.0.6","@ahmttyydn/json-magic":"1.0.6","@ahmttyydn/validation":"1.0.6","@ahmttyydn/openapi-upgrader":"1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.0.0","vitest":"4.1.0","fastify":"^5.8.1","fake-indexeddb":"6.2.3","@google-cloud/storage":"7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/workspace-store_1.0.6_1775488440302_0.670961858440166","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@ahmttyydn/workspace-store","version":"1.0.8","keywords":["workspace","store","openapi","scalar"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/workspace-store@1.0.8","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"2c53d0a2018fb34a5830ea2ec1af5c08764e8122","tarball":"https://registry.npmjs.org/@ahmttyydn/workspace-store/-/workspace-store-1.0.8.tgz","fileCount":636,"integrity":"sha512-fqklAc4xpWcV+P3k46yA3MLDMCOCLGguXLQHH4ydWPIKzh974dqWAj4WXyq94lllsnAnzF+nnDUuioHlOIjShg==","signatures":[{"sig":"MEYCIQC1esusJH551xUXQtdiQj2yHcQXq6EhqXYuV2STfc+4ZgIhAN+npWWYEJP1v/KwKX6zNX1AALp3T797kSliKJ4TsUkK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fworkspace-store@1.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8153617},"type":"module","_from":"file:ahmttyydn-workspace-store-1.0.8.tgz","engines":{"node":">=22"},"exports":{"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","default":"./dist/client.js"},"./events":{"types":"./dist/events/index.d.ts","import":"./dist/events/index.js","default":"./dist/events/index.js"},"./server":{"types":"./dist/server.d.ts","import":"./dist/server.js","default":"./dist/server.js"},"./resolve":{"types":"./dist/resolve.d.ts","import":"./dist/resolve.js","default":"./dist/resolve.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.js","default":"./dist/schemas.js"},"./mutators":{"types":"./dist/mutators/index.d.ts","import":"./dist/mutators/index.js","default":"./dist/mutators/index.js"},"./helpers/*":{"types":"./dist/helpers/*.d.ts","import":"./dist/helpers/*.js","default":"./dist/helpers/*.js"},"./schemas/*":{"types":"./dist/schemas/*.d.ts","import":"./dist/schemas/*.js","default":"./dist/schemas/*.js"},"./navigation":{"types":"./dist/navigation/index.d.ts","import":"./dist/navigation/index.js","default":"./dist/navigation/index.js"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","default":"./dist/persistence/index.js"},"./entities/auth":{"types":"./dist/entities/auth/index.d.ts","import":"./dist/entities/auth/index.js","default":"./dist/entities/auth/index.js"},"./plugins/client":{"types":"./dist/plugins/client/index.d.ts","import":"./dist/plugins/client/index.js","default":"./dist/plugins/client/index.js"},"./plugins/bundler":{"types":"./dist/plugins/bundler/index.d.ts","import":"./dist/plugins/bundler/index.js","default":"./dist/plugins/bundler/index.js"},"./request-example":{"types":"./dist/request-example/index.d.ts","import":"./dist/request-example/index.js","default":"./dist/request-example/index.js"},"./workspace-plugin":{"types":"./dist/workspace-plugin.d.ts","import":"./dist/workspace-plugin.js","default":"./dist/workspace-plugin.js"},"./entities/history/*":{"types":"./dist/entities/history/*.d.ts","import":"./dist/entities/history/*.js","default":"./dist/entities/history/*.js"},"./schemas/extensions/tag":{"types":"./dist/schemas/extensions/tag/index.d.ts","import":"./dist/schemas/extensions/tag/index.js","default":"./dist/schemas/extensions/tag/index.js"},"./schemas/extensions/security":{"types":"./dist/schemas/extensions/security/index.d.ts","import":"./dist/schemas/extensions/security/index.js","default":"./dist/schemas/extensions/security/index.js"},"./schemas/extensions/operation":{"types":"./dist/schemas/extensions/operation/index.d.ts","import":"./dist/schemas/extensions/operation/index.js","default":"./dist/schemas/extensions/operation/index.js"},"./schemas/extensions/workspace":{"types":"./dist/schemas/extensions/workspace/index.d.ts","import":"./dist/schemas/extensions/workspace/index.js","default":"./dist/schemas/extensions/workspace/index.js"},"./schemas/v3.1/strict/type-guards":{"types":"./dist/schemas/v3.1/strict/type-guards.d.ts","import":"./dist/schemas/v3.1/strict/type-guards.js","default":"./dist/schemas/v3.1/strict/type-guards.js"},"./schemas/v3.1/strict/openapi-document":{"types":"./dist/schemas/v3.1/strict/openapi-document.d.ts","import":"./dist/schemas/v3.1/strict/openapi-document.js","default":"./dist/schemas/v3.1/strict/openapi-document.js"}},"scripts":{"test":"vitest","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","types:check":"tsc --noEmit","generate-json-schemas":"tsx ./scripts/generate-json-schemas.ts","generate-openapi-types":"tsx ./scripts/generate-openapi-types.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:eec96777-73f1-4937-b04b-19d945f166a3"}},"_resolved":"/tmp/60e679371834d957cdeddc52c8213ff9/ahmttyydn-workspace-store-1.0.8.tgz","_integrity":"sha512-fqklAc4xpWcV+P3k46yA3MLDMCOCLGguXLQHH4ydWPIKzh974dqWAj4WXyq94lllsnAnzF+nnDUuioHlOIjShg==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/workspace-store"},"_npmVersion":"11.11.0","description":"Store interface for openapi documents","directories":{},"_nodeVersion":"24.14.1","dependencies":{"vue":"^3.5.30","yaml":"^2.8.0","js-base64":"^3.7.8","type-fest":"^5.3.1","github-slugger":"2.0.0","@scalar/typebox":"0.1.3","@ahmttyydn/types":"1.0.8","@ahmttyydn/helpers":"1.0.8","@ahmttyydn/snippetz":"1.0.8","@ahmttyydn/json-magic":"1.0.8","@ahmttyydn/validation":"1.0.8","@ahmttyydn/openapi-upgrader":"1.0.8"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.0.0","vitest":"4.1.0","fastify":"^5.8.1","fake-indexeddb":"6.2.3","@google-cloud/storage":"7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/workspace-store_1.0.8_1775513432946_0.6280155909601641","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@ahmttyydn/workspace-store","description":"Store interface for openapi documents","license":"MIT","author":{"name":"Scalar","url":"https://github.com/scalar"},"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"repository":{"type":"git","url":"git+https://github.com/ahmtydn/scalar.git","directory":"packages/workspace-store"},"keywords":["workspace","store","openapi","scalar"],"version":"1.0.9","engines":{"node":">=22"},"type":"module","exports":{"./client":{"import":"./dist/client.js","types":"./dist/client.d.ts","default":"./dist/client.js"},"./entities/auth":{"import":"./dist/entities/auth/index.js","types":"./dist/entities/auth/index.d.ts","default":"./dist/entities/auth/index.js"},"./entities/history/*":{"import":"./dist/entities/history/*.js","types":"./dist/entities/history/*.d.ts","default":"./dist/entities/history/*.js"},"./events":{"import":"./dist/events/index.js","types":"./dist/events/index.d.ts","default":"./dist/events/index.js"},"./helpers/*":{"import":"./dist/helpers/*.js","types":"./dist/helpers/*.d.ts","default":"./dist/helpers/*.js"},"./mutators":{"import":"./dist/mutators/index.js","types":"./dist/mutators/index.d.ts","default":"./dist/mutators/index.js"},"./navigation":{"import":"./dist/navigation/index.js","types":"./dist/navigation/index.d.ts","default":"./dist/navigation/index.js"},"./persistence":{"import":"./dist/persistence/index.js","types":"./dist/persistence/index.d.ts","default":"./dist/persistence/index.js"},"./plugins/bundler":{"import":"./dist/plugins/bundler/index.js","types":"./dist/plugins/bundler/index.d.ts","default":"./dist/plugins/bundler/index.js"},"./plugins/client":{"import":"./dist/plugins/client/index.js","types":"./dist/plugins/client/index.d.ts","default":"./dist/plugins/client/index.js"},"./request-example":{"import":"./dist/request-example/index.js","types":"./dist/request-example/index.d.ts","default":"./dist/request-example/index.js"},"./resolve":{"import":"./dist/resolve.js","types":"./dist/resolve.d.ts","default":"./dist/resolve.js"},"./schemas":{"import":"./dist/schemas.js","types":"./dist/schemas.d.ts","default":"./dist/schemas.js"},"./schemas/*":{"import":"./dist/schemas/*.js","types":"./dist/schemas/*.d.ts","default":"./dist/schemas/*.js"},"./schemas/extensions/operation":{"import":"./dist/schemas/extensions/operation/index.js","types":"./dist/schemas/extensions/operation/index.d.ts","default":"./dist/schemas/extensions/operation/index.js"},"./schemas/extensions/security":{"import":"./dist/schemas/extensions/security/index.js","types":"./dist/schemas/extensions/security/index.d.ts","default":"./dist/schemas/extensions/security/index.js"},"./schemas/extensions/tag":{"import":"./dist/schemas/extensions/tag/index.js","types":"./dist/schemas/extensions/tag/index.d.ts","default":"./dist/schemas/extensions/tag/index.js"},"./schemas/extensions/workspace":{"import":"./dist/schemas/extensions/workspace/index.js","types":"./dist/schemas/extensions/workspace/index.d.ts","default":"./dist/schemas/extensions/workspace/index.js"},"./schemas/v3.1/strict/openapi-document":{"import":"./dist/schemas/v3.1/strict/openapi-document.js","types":"./dist/schemas/v3.1/strict/openapi-document.d.ts","default":"./dist/schemas/v3.1/strict/openapi-document.js"},"./schemas/v3.1/strict/type-guards":{"import":"./dist/schemas/v3.1/strict/type-guards.js","types":"./dist/schemas/v3.1/strict/type-guards.d.ts","default":"./dist/schemas/v3.1/strict/type-guards.js"},"./server":{"import":"./dist/server.js","types":"./dist/server.d.ts","default":"./dist/server.js"},"./workspace-plugin":{"import":"./dist/workspace-plugin.js","types":"./dist/workspace-plugin.d.ts","default":"./dist/workspace-plugin.js"}},"dependencies":{"@scalar/typebox":"0.1.3","github-slugger":"2.0.0","js-base64":"^3.7.8","type-fest":"^5.3.1","vue":"^3.5.30","yaml":"^2.8.0","@ahmttyydn/helpers":"1.0.9","@ahmttyydn/json-magic":"1.0.9","@ahmttyydn/openapi-upgrader":"1.0.9","@ahmttyydn/types":"1.0.9","@ahmttyydn/validation":"1.0.9","@ahmttyydn/snippetz":"1.0.9"},"devDependencies":{"@google-cloud/storage":"7.16.0","fake-indexeddb":"6.2.3","fastify":"^5.8.1","vite":"8.0.0","vitest":"4.1.0"},"scripts":{"build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","generate-json-schemas":"tsx ./scripts/generate-json-schemas.ts","generate-openapi-types":"tsx ./scripts/generate-openapi-types.ts","test":"vitest","types:check":"tsc --noEmit"},"_id":"@ahmttyydn/workspace-store@1.0.9","_integrity":"sha512-bHX4kHiJCjKvdemdr04yr33hMZ2jrFDje0KdyqvHjR4iYVZkCjIHepHKRF/JlEYCXCm8YlUJTT431N6P53jeDA==","_resolved":"/tmp/bbafb0113316bbc9a2ec4c873db88f20/ahmttyydn-workspace-store-1.0.9.tgz","_from":"file:ahmttyydn-workspace-store-1.0.9.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-bHX4kHiJCjKvdemdr04yr33hMZ2jrFDje0KdyqvHjR4iYVZkCjIHepHKRF/JlEYCXCm8YlUJTT431N6P53jeDA==","shasum":"755e73ac9f6def0a6a8adaf222e8a238daca1dc6","tarball":"https://registry.npmjs.org/@ahmttyydn/workspace-store/-/workspace-store-1.0.9.tgz","fileCount":636,"unpackedSize":8153617,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fworkspace-store@1.0.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDd0Mkd+LNDANwI/EuxO4umVBVPXH67pEgYldzplhhGpQIhAJrH86Iw/xlkIYvSA+PrJlKrkFXrSw/r6QXVWss2okke"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:eec96777-73f1-4937-b04b-19d945f166a3"}},"directories":{},"maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/workspace-store_1.0.9_1775514706525_0.4483840091058391"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-05T19:52:11.880Z","modified":"2026-04-06T22:31:47.039Z","1.0.0":"2026-04-05T19:52:12.151Z","1.0.1":"2026-04-06T01:18:42.290Z","1.0.2":"2026-04-06T01:32:38.056Z","1.0.4":"2026-04-06T02:04:33.892Z","1.0.6":"2026-04-06T15:14:00.526Z","1.0.8":"2026-04-06T22:10:33.223Z","1.0.9":"2026-04-06T22:31:46.750Z"},"bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"author":{"name":"Scalar","url":"https://github.com/scalar"},"license":"MIT","homepage":"https://github.com/ahmtydn/scalar","keywords":["workspace","store","openapi","scalar"],"repository":{"type":"git","url":"git+https://github.com/ahmtydn/scalar.git","directory":"packages/workspace-store"},"description":"Store interface for openapi documents","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"readme":"# @ahmttyydn/workspace-store\n\nA powerful data store for managing OpenAPI documents. This package provides a flexible solution for handling multiple OpenAPI documents in a workspace environment\n\n## Server-Side workspace store\n\nServer side data store which enables document chunking to reduce initial loading time specially when working with large openapi documents\n\n#### Usage\nCreate a new store in SSR mode\n\n```ts\n// Create the store\nconst store = await createServerWorkspaceStore({\n  baseUrl: 'example.com',\n  mode: 'ssr',\n  meta: { 'x-scalar-active-document': 'document-name' },\n  documents: [\n    {\n      name: 'document-name',\n      meta: {},\n      document: {\n        openapi: '3.1.1',\n        info: {\n          title: 'Hello World',\n          version: '1.0.0',\n        },\n        components: {\n          schemas: {\n            Person: {\n              type: 'object',\n              properties: {\n                name: { type: 'string' },\n              },\n            },\n            User: {\n              $ref: '#/components/schemas/Person',\n            },\n          },\n        },\n      },\n    },\n  ],\n})\n\n// Add a new document to the store\nawait store.addDocument({\n  openapi: '3.1.1',\n  info: {\n    title: 'Hello World',\n    version: '1.0.0',\n  },\n  components: {\n    schemas: {\n      Person: {\n        type: 'object',\n        properties: {\n          name: { type: 'string' },\n        },\n      },\n      User: {\n        $ref: '#/components/schemas/Person',\n      },\n    },\n  },\n}, {\n  name: 'document-2',\n  \"x-scalar-selected-server\": \"server1\"\n})\n\n// Get the workspace\n// Workspace is going to keep all the sparse documents\nconst workspace = store.getWorkspace()\n\n// Get chucks using json pointers\nconst chunk = store.get('#/document-name/components/schemas/Person')\n\n```\n\n\nCreate a new store in static mode\n\n```ts\n// Create the store\nconst store = await createServerWorkspaceStore({\n  directory: 'assets',\n  mode: 'static',\n  meta: { 'x-scalar-active-document': 'document-name' },\n  documents: [\n    {\n      name: 'document-name',\n      meta: {},\n      document: {\n        openapi: '3.1.1',\n        info: {\n          title: 'Hello World',\n          version: '1.0.0',\n        },\n        components: {\n          schemas: {\n            Person: {\n              type: 'object',\n              properties: {\n                name: { type: 'string' },\n              },\n            },\n            User: {\n              $ref: '#/components/schemas/Person',\n            },\n          },\n        },\n      },\n    },\n  ],\n})\n\n// Add a new document to the store\nawait store.addDocument({\n  openapi: '3.1.1',\n  info: {\n    title: 'Hello World',\n    version: '1.0.0',\n  },\n  components: {\n    schemas: {\n      Person: {\n        type: 'object',\n        properties: {\n          name: { type: 'string' },\n        },\n      },\n      User: {\n        $ref: '#/components/schemas/Person',\n      },\n    },\n  },\n}, {\n  name: 'document-2',\n  \"x-scalar-selected-server\": \"server1\"\n})\n\n// Generate the workspace file system\n// This will write in the filesystem the workspace and all the chucks\n// which can be resolved by the consumer\nconst workspace = await store.generateWorkspaceChunks()\n```\n\n### Load documents from external sources\n```ts\n// Initialize the store with documents from external sources\nconst store = await createServerWorkspaceStore({\n  mode: 'static',\n  documents: [\n    {\n      name: 'remoteFile',\n      url: 'http://localhost/document.json'\n    },\n    {\n      name: 'fsFile',\n      path: './document.json'\n    }\n  ]\n})\n\n// Output: { openapi: 'x.x.x', ... }\nconsole.log(store.getWorkspace().documents.remoteFile)\n\n// Output: { openapi: 'x.x.x', ... }\nconsole.log(store.getWorkspace().documents.fsFile)\n```\n\n## Client-Side Workspace Store\n\nA reactive workspace store for managing OpenAPI documents with automatic reference resolution and chunked loading capabilities. Works seamlessly with server-side stores to handle large documents efficiently.\n\n#### Usage\n\n```ts\n\n// Initialize a new workspace store with default document\nconst store = createWorkspaceStore({\n  documents: [\n    {\n      name: 'default',\n      document: {\n        info: {\n          title: 'OpenApi document',\n          version: '1.0.0',\n        },\n      },\n    },\n  ],\n  meta: {\n    'x-scalar-active-document': 'default',\n  },\n})\n\n// Add another OpenAPI document to the workspace\nawait store.addDocument({\n  document: {\n    info: {\n      title: 'OpenApi document',\n      version: '1.0.0',\n    },\n  },\n  name: 'document',\n})\n\n// Get the currently active document\nstore.workspace.activeDocument\n\n// Retrieve a specific document by name\nstore.workspace.documents['document']\n\n// Update global workspace settings\nstore.update('x-scalar-color-mode', true)\n\n// Update settings for the active document\nstore.updateDocument('active', \"x-scalar-watch-mode\", '<value>')\n\n// Resolve and load document chunks including any $ref references\nawait store.resolve(['paths', '/users', 'get'])\n```\n\n#### Load documents from external sources\n\nYou can only initialize the store with object literals but if you want to add documents from external sources you can use the addDocument function\n\n```ts\nconst store = createWorkspaceStore()\n\n// Load a document into the store from a remote url\nawait store.addDocument({\n  name: 'default',\n  url: 'http://localhost/document.json'\n})\n\n// Output: { openapi: 'x.x.x', ... }\nconsole.log(store.workspace.documents.default)\n```\n\n#### Document Persistence and Export\n\nThe workspace store provides several methods for managing document persistence and exporting:\n\n##### Export Document\n\nExport the specified document in JSON or YAML format:\n\n```ts\n// Export the specified document as JSON\nconst jsonString = store.exportDocument('documentName', 'json')\n\n// Export the specified document as YAML\nconst yamlString = store.exportDocument('documentName', 'yaml')\n```\n\nThe download method returns the original, unmodified document (before any reactive wrapping) to preserve the initial structure without external references or modifications.\n\n##### Save Document Changes\n\nPersist the current state of the specified document back to the intermediate document (local saved version of the document):\n\n```ts\n// Save the specified document state\nconst excludedDiffs = store.saveDocument('documentName')\n\n// Check if any changes were excluded from being applied\nif (excludedDiffs) {\n  console.log('Some changes were excluded:', excludedDiffs)\n}\n```\n\nThe `saveDocument` method takes the current reactive document state and persists it. It returns an array of diffs that were excluded from being applied or undefined if no specified document is available.\n\n##### Revert Document Changes\n\nRevert the specified document to its most recent local saved state, discarding all unsaved changes:\n\n```ts\n// Revert the specified document to its original state\nstore.revertDocumentChanges('documentName')\n```\n\nThe `revertDocumentChanges` method restores the specified document to its initial state by copying the original document (before any modifications) back to the specified document.\n\n**Warning:** This operation will discard all unsaved changes to the specified document.\n\n##### Complete Example\n\n```ts\nconst store = createWorkspaceStore({\n  documents: [\n    {\n      name: 'api',\n      document: {\n        openapi: '3.0.0',\n        info: { title: 'My API', version: '1.0.0' },\n        paths: {},\n      },\n    },\n  ],\n})\n\n// Make some changes to the document\nstore.workspace.documents['api'].info.title = 'Updated API Title'\n\n// This will restore the original title since we did not commit the changes yet\nstore.revertDocumentChanges()\n```\n\n### Workspace State Persistence\n\nThe workspace store provides methods to persist and restore the complete workspace state, including all documents, configurations, and metadata. This is useful for saving work between sessions or sharing workspace configurations.\n\n```ts\nconst client = createWorkspaceStore()\n// Get the current workspace state\nconst currentWorkspaceState = client.exportWorkspace()\n\n// Persist on some kind of storage\n\n// Reload the workspace state\nclient.loadWorkspace(currentWorkspaceState)\n```\n\n### Replace the Entire Document\n\nWhen you have a new or updated OpenAPI document and want to overwrite the existing one—regardless of which parts have changed—you can use the `replaceDocument` method. This method efficiently and atomically updates the entire document in place, ensuring that only the necessary changes are applied for optimal performance.\n\n```ts\nconst client = createWorkspaceStore({\n  documents: [\n    {\n      name: 'document-name',\n      document: {\n        openapi: '3.1.0',\n        info: {\n          title: 'Document Title',\n          version: '1.0.0',\n        },\n        paths: {},\n        components: {\n          schemas: {},\n        },\n        servers: [],\n      },\n    },\n  ],\n})\n\n// Update the document with the new changes\nclient.replaceDocument('document-name', {\n  openapi: '3.1.0',\n  info: {\n    title: 'Updated Document',\n    version: '1.0.0',\n  },\n  paths: {},\n  components: {\n    schemas: {},\n  },\n  servers: [],\n})\n```\n\n### Create workspace from specification\n\nCreate the workspace from a specification object\n\n```ts\nawait store.importWorkspaceFromSpecification({\n  workspace: 'draft',\n  info: { title: 'My Workspace' },\n  documents: {\n    api: { $ref: '/examples/api.yaml' },\n    petstore: { $ref: '/examples/petstore.yaml' },\n  },\n  overrides: {\n    api: {\n      servers: [\n        {\n          url: 'http://localhost:9090',\n        },\n      ],\n    },\n  },\n  'x-scalar-color-mode': true,\n})\n```\n\n### Override specific fields from the document and it's metadata\n\nThis feature is helpful when you want to override specific fields in a document without altering the original source. Overrides allow you to customize certain values in-memory, ensuring the original document remains unchanged.\n\n```ts\nconst store = createWorkspaceStore()\nawait store.addDocument({\n  name: 'default',\n  document: {\n    openapi: '3.1.0',\n    info: {\n      title: 'Document Title',\n      version: '1.0.0',\n    },\n    paths: {},\n    components: {\n      schemas: {},\n    },\n    servers: [],\n  },\n  // Override the servers field\n  overrides: {\n    servers: [\n      {\n        url: 'http://localhost:8080',\n        description: 'Default dev server'\n      }\n    ]\n  }\n})\n```\n\nWhen you override specific fields, those changes are applied only in-memory and will never be written back to the original document. The original source remains unchanged, and any modifications made through overrides are isolated to the current session.\n\n### Rebase document origin with the updated remote origin\n\nRebases a document in the workspace with a new origin, resolving conflicts if provided.\n\n```ts\n// Example: Rebase a document with a new origin and resolve conflicts\nconst conflicts = store.rebaseDocument('api', newOriginDoc)\nif (conflicts && conflicts.length > 0) {\n  // User resolves conflicts here...\n  store.rebaseDocument('api', newOriginDoc, userResolvedConflicts)\n}\n```","readmeFilename":"README.md"}