@tablestore/tablestore-agent-cli 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dashboard-runtime/dashboard/.next/BUILD_ID +1 -1
- package/dist/dashboard-runtime/dashboard/.next/app-path-routes-manifest.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/build-manifest.json +3 -3
- package/dist/dashboard-runtime/dashboard/.next/prerender-manifest.json +27 -27
- package/dist/dashboard-runtime/dashboard/.next/required-server-files.json +4 -4
- package/dist/dashboard-runtime/dashboard/.next/routes-manifest.json +6 -6
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page/app-paths-manifest.json +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/next-font-manifest.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page.js +8 -8
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page_client-reference-manifest.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.html +1 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.meta +2 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.rsc +24 -27
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/!KGRhc2hib2FyZCk/chat/__PAGE__.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/!KGRhc2hib2FyZCk/chat.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_full.segment.rsc +24 -27
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.html +1 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.meta +2 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.rsc +24 -27
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk/knowledge-base/create/__PAGE__.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk/knowledge-base/create.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk/knowledge-base.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_full.segment.rsc +24 -27
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.html +1 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.meta +2 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.rsc +23 -26
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/!KGRhc2hib2FyZCk/knowledge-base/__PAGE__.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/!KGRhc2hib2FyZCk/knowledge-base.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_full.segment.rsc +23 -26
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.html +1 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.meta +2 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.rsc +21 -25
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk/llm-providers/new/__PAGE__.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk/llm-providers/new.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk/llm-providers.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_full.segment.rsc +21 -25
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.meta +2 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.rsc +23 -27
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/!KGRhc2hib2FyZCk/llm-providers/__PAGE__.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/!KGRhc2hib2FyZCk/llm-providers.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_full.segment.rsc +23 -27
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.html +1 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.meta +2 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.rsc +26 -28
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk/memory/create/__PAGE__.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk/memory/create.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_full.segment.rsc +26 -28
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.html +1 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.meta +2 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.rsc +24 -27
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk/memory/__PAGE__.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_full.segment.rsc +24 -27
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.rsc +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_full.segment.rsc +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/projects.html +1 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/{instances.meta → projects.meta} +5 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/projects.rsc +34 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/{instances.segments/!KGRhc2hib2FyZCk/instances → projects.segments/!KGRhc2hib2FyZCk/projects}/__PAGE__.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/{instances.segments/!KGRhc2hib2FyZCk/instances.segment.rsc → projects.segments/!KGRhc2hib2FyZCk/projects.segment.rsc} +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/projects.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/projects.segments/_full.segment.rsc +34 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/{instances.segments → projects.segments}/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/{instances.segments → projects.segments}/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/projects.segments/_tree.segment.rsc +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app-paths-manifest.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0a7o_lg._.js → [root-of-the-server]__07jfil8._.js} +21 -16
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0bfezi5._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0vj8eh_._.js → [root-of-the-server]__0f990w9._.js} +21 -16
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0g9--xh._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0r4amj5._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12lk-nv._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12sqoa8._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{0p91_next_dist_esm_build_templates_app-page_0ybndzm.js → 0p91_next_dist_esm_build_templates_app-page_0c9pavn.js} +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0_bm190._.js → [root-of-the-server]__0ct6ysu._.js} +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0getqb1._.js → [root-of-the-server]__0k7~7-.._.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0y8rrcu._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0.a5w1p._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0476v7r._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ce~2ba._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0z0rlpq._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_11fl7_r._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard__next-internal_server_app_(dashboard)_projects_page_actions_0b8.3qe.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_065m1.j._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0o4a.29._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0suis9l._.js +6 -2
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0y49vhd._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_10dsqx~._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_projects_error_tsx_0lm0vqh._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_projects_loading_tsx_0c1mchn._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/middleware-build-manifest.js +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/next-font-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/next-font-manifest.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/pages/404.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/pages/500.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0-ps54o0cl-hh.js → 0-.-yvgh3s-60.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0212ujx60nooy.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ja2he~jl53.n.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0s3mvx9_dr13c.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0g_uneyk~9dg0.js → 0sg6z8.ci0l2b.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0u-_fvx_r85sr.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0~5hi.pq6~znn.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{13lz27klh_al4.js → 16lab3t3ovnyq.js} +1 -1
- package/dist/dashboard-runtime/dashboard/package.json +3 -1
- package/dist/dashboard-runtime/dashboard/server.js +1 -1
- package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-dialog.tsx +2 -2
- package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-form.tsx +62 -9
- package/dist/dashboard-runtime/dashboard/src/components/instance/edit-instance-dialog.tsx +19 -5
- package/dist/dashboard-runtime/dashboard/src/components/layout/breadcrumb-bar.tsx +1 -0
- package/dist/dashboard-runtime/dashboard/src/components/layout/instance-switcher.tsx +41 -8
- package/dist/dashboard-runtime/dashboard/src/components/qa/qa-chat-panel.tsx +35 -3
- package/dist/dashboard-runtime/dashboard/src/hooks/use-instances.ts +32 -10
- package/dist/dashboard-runtime/dashboard/src/lib/server/sdk-client.ts +62 -16
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +0 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +0 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts +17 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts.map +1 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js +39 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js.map +1 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +33 -17
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +159 -207
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js +2 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js +2 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +10 -6
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +37 -42
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts +5 -3
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +92 -30
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/package.json +2 -2
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.js +89 -11
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +0 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +0 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts +17 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts.map +1 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js +39 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js.map +1 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +33 -17
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +159 -207
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js +2 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js +2 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +10 -6
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +37 -42
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts +5 -3
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +92 -30
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/package.json +2 -2
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.js +89 -11
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/index.js +0 -2
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/client.js +0 -672
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/config.js +0 -70
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/core.js +0 -30
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/event_listeners.js +0 -199
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/filter.js +0 -204
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/http/node.js +0 -146
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/http/xhr.js +0 -113
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/http.js +0 -81
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/long.js +0 -21
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/metadata.js +0 -65
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/build_proto.sh +0 -4
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/decoder.js +0 -677
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/encoder.js +0 -1593
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_coded_stream.js +0 -631
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_consts.js +0 -44
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_crc8.js +0 -79
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_stream.js +0 -209
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plian_buffer_builder.js +0 -252
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/sql.fbs +0 -36
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/sql_generated.js +0 -961
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore.proto +0 -676
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore_compiled_proto.js +0 -54728
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore_filter.proto +0 -45
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore_search.proto +0 -1010
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/request.js +0 -235
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/retry/default_retry_policy.js +0 -74
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/retry/retry_util.js +0 -94
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/search.js +0 -209
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/sequential_executor.js +0 -240
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/signer.js +0 -70
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/sql.js +0 -111
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/util-browser.js +0 -756
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/util.js +0 -602
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/package.json +0 -39
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/instances/page/app-paths-manifest.json +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/instances/page_client-reference-manifest.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.html +0 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.rsc +0 -38
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/_full.segment.rsc +0 -38
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/_tree.segment.rsc +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0hr5-78._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0v1vjve._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard__next-internal_server_app_(dashboard)_instances_page_actions_0h2z.wc.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_instances_error_tsx_0n991op._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_instances_loading_tsx_0vo~r9q._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0--ug1fajm138.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0014~.2un25~~.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/067_.vm1v8kg3.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0jw5s5e8qwbpx.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0l75a30.ubt1z.js +0 -1
- package/dist/dashboard-runtime/node_modules/@protobufjs/aspromise/index.js +0 -52
- package/dist/dashboard-runtime/node_modules/@protobufjs/aspromise/package.json +0 -21
- package/dist/dashboard-runtime/node_modules/@protobufjs/base64/index.js +0 -139
- package/dist/dashboard-runtime/node_modules/@protobufjs/base64/package.json +0 -21
- package/dist/dashboard-runtime/node_modules/@protobufjs/eventemitter/index.js +0 -76
- package/dist/dashboard-runtime/node_modules/@protobufjs/eventemitter/package.json +0 -21
- package/dist/dashboard-runtime/node_modules/@protobufjs/float/index.js +0 -335
- package/dist/dashboard-runtime/node_modules/@protobufjs/float/package.json +0 -26
- package/dist/dashboard-runtime/node_modules/@protobufjs/inquire/index.js +0 -17
- package/dist/dashboard-runtime/node_modules/@protobufjs/inquire/package.json +0 -21
- package/dist/dashboard-runtime/node_modules/@protobufjs/pool/index.js +0 -48
- package/dist/dashboard-runtime/node_modules/@protobufjs/pool/package.json +0 -21
- package/dist/dashboard-runtime/node_modules/@protobufjs/utf8/index.js +0 -105
- package/dist/dashboard-runtime/node_modules/@protobufjs/utf8/package.json +0 -21
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/flatbuffers/LICENSE.txt +0 -202
- package/dist/dashboard-runtime/node_modules/flatbuffers/js/flatbuffers.js +0 -1259
- package/dist/dashboard-runtime/node_modules/flatbuffers/js/flatbuffers.mjs +0 -1259
- package/dist/dashboard-runtime/node_modules/flatbuffers/package.json +0 -34
- package/dist/dashboard-runtime/node_modules/flatbuffers/readme.md +0 -58
- package/dist/dashboard-runtime/node_modules/int64-buffer/int64-buffer.js +0 -293
- package/dist/dashboard-runtime/node_modules/int64-buffer/package.json +0 -57
- package/dist/dashboard-runtime/node_modules/protobufjs/LICENSE +0 -39
- package/dist/dashboard-runtime/node_modules/protobufjs/README.md +0 -905
- package/dist/dashboard-runtime/node_modules/protobufjs/bin/pbjs +0 -6
- package/dist/dashboard-runtime/node_modules/protobufjs/bin/pbts +0 -6
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/LICENSE +0 -33
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/README.md +0 -174
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/bin/pbjs +0 -6
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/bin/pbts +0 -6
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/index.d.ts +0 -3
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/index.js +0 -3
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/LICENSE +0 -21
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/README.md +0 -23
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/plugin.js +0 -21
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/publish.js +0 -705
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc.json +0 -18
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/package.json +0 -10
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/package.standalone.json +0 -32
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbjs.d.ts +0 -9
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbjs.js +0 -330
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbts.d.ts +0 -9
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbts.js +0 -197
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/json-module.js +0 -38
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/json.js +0 -8
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/proto.js +0 -326
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/proto2.js +0 -10
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/proto3.js +0 -10
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/static-module.js +0 -29
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/static.js +0 -711
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/util.js +0 -183
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/amd.js +0 -7
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/closure.js +0 -7
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/commonjs.js +0 -7
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/default.js +0 -15
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/es6.js +0 -5
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/README.md +0 -31
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/README.md +0 -31
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.js +0 -7326
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.min.js +0 -8
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.min.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/README.md +0 -31
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.js +0 -2714
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.min.js +0 -8
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.js +0 -8968
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.min.js +0 -8
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.min.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/ext/debug/README.md +0 -4
- package/dist/dashboard-runtime/node_modules/protobufjs/ext/debug/index.js +0 -71
- package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/README.md +0 -72
- package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/index.d.ts +0 -191
- package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/index.js +0 -1052
- package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/test.js +0 -54
- package/dist/dashboard-runtime/node_modules/protobufjs/google/LICENSE +0 -27
- package/dist/dashboard-runtime/node_modules/protobufjs/google/README.md +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/google/api/annotations.json +0 -83
- package/dist/dashboard-runtime/node_modules/protobufjs/google/api/annotations.proto +0 -11
- package/dist/dashboard-runtime/node_modules/protobufjs/google/api/http.json +0 -86
- package/dist/dashboard-runtime/node_modules/protobufjs/google/api/http.proto +0 -31
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/api.json +0 -118
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/api.proto +0 -34
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/descriptor.json +0 -739
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/descriptor.proto +0 -286
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/source_context.json +0 -20
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/source_context.proto +0 -7
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/type.json +0 -202
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/type.proto +0 -89
- package/dist/dashboard-runtime/node_modules/protobufjs/index.d.ts +0 -2739
- package/dist/dashboard-runtime/node_modules/protobufjs/index.js +0 -4
- package/dist/dashboard-runtime/node_modules/protobufjs/light.d.ts +0 -2
- package/dist/dashboard-runtime/node_modules/protobufjs/light.js +0 -4
- package/dist/dashboard-runtime/node_modules/protobufjs/minimal.d.ts +0 -2
- package/dist/dashboard-runtime/node_modules/protobufjs/minimal.js +0 -4
- package/dist/dashboard-runtime/node_modules/protobufjs/node_modules/.bin/pbjs +0 -16
- package/dist/dashboard-runtime/node_modules/protobufjs/node_modules/.bin/pbts +0 -16
- package/dist/dashboard-runtime/node_modules/protobufjs/package.json +0 -122
- package/dist/dashboard-runtime/node_modules/protobufjs/scripts/postinstall.js +0 -35
- package/dist/dashboard-runtime/node_modules/protobufjs/src/common.js +0 -399
- package/dist/dashboard-runtime/node_modules/protobufjs/src/converter.js +0 -293
- package/dist/dashboard-runtime/node_modules/protobufjs/src/decoder.js +0 -128
- package/dist/dashboard-runtime/node_modules/protobufjs/src/encoder.js +0 -100
- package/dist/dashboard-runtime/node_modules/protobufjs/src/enum.js +0 -181
- package/dist/dashboard-runtime/node_modules/protobufjs/src/field.js +0 -374
- package/dist/dashboard-runtime/node_modules/protobufjs/src/index-light.js +0 -104
- package/dist/dashboard-runtime/node_modules/protobufjs/src/index-minimal.js +0 -36
- package/dist/dashboard-runtime/node_modules/protobufjs/src/index.js +0 -12
- package/dist/dashboard-runtime/node_modules/protobufjs/src/mapfield.js +0 -126
- package/dist/dashboard-runtime/node_modules/protobufjs/src/message.js +0 -139
- package/dist/dashboard-runtime/node_modules/protobufjs/src/method.js +0 -160
- package/dist/dashboard-runtime/node_modules/protobufjs/src/namespace.js +0 -434
- package/dist/dashboard-runtime/node_modules/protobufjs/src/object.js +0 -243
- package/dist/dashboard-runtime/node_modules/protobufjs/src/oneof.js +0 -203
- package/dist/dashboard-runtime/node_modules/protobufjs/src/parse.js +0 -820
- package/dist/dashboard-runtime/node_modules/protobufjs/src/reader.js +0 -411
- package/dist/dashboard-runtime/node_modules/protobufjs/src/reader_buffer.js +0 -51
- package/dist/dashboard-runtime/node_modules/protobufjs/src/root.js +0 -363
- package/dist/dashboard-runtime/node_modules/protobufjs/src/roots.js +0 -18
- package/dist/dashboard-runtime/node_modules/protobufjs/src/rpc/service.js +0 -142
- package/dist/dashboard-runtime/node_modules/protobufjs/src/rpc.js +0 -36
- package/dist/dashboard-runtime/node_modules/protobufjs/src/service.js +0 -167
- package/dist/dashboard-runtime/node_modules/protobufjs/src/tokenize.js +0 -403
- package/dist/dashboard-runtime/node_modules/protobufjs/src/type.js +0 -589
- package/dist/dashboard-runtime/node_modules/protobufjs/src/types.js +0 -196
- package/dist/dashboard-runtime/node_modules/protobufjs/src/typescript.jsdoc +0 -15
- package/dist/dashboard-runtime/node_modules/protobufjs/src/util/longbits.js +0 -200
- package/dist/dashboard-runtime/node_modules/protobufjs/src/util/minimal.js +0 -421
- package/dist/dashboard-runtime/node_modules/protobufjs/src/util.js +0 -212
- package/dist/dashboard-runtime/node_modules/protobufjs/src/verifier.js +0 -177
- package/dist/dashboard-runtime/node_modules/protobufjs/src/wrappers.js +0 -102
- package/dist/dashboard-runtime/node_modules/protobufjs/src/writer.js +0 -465
- package/dist/dashboard-runtime/node_modules/protobufjs/src/writer_buffer.js +0 -85
- package/dist/dashboard-runtime/node_modules/protobufjs/tsconfig.json +0 -7
- package/dist/dashboard-runtime/node_modules/tablestore/index.js +0 -2
- package/dist/dashboard-runtime/node_modules/tablestore/lib/client.js +0 -672
- package/dist/dashboard-runtime/node_modules/tablestore/lib/config.js +0 -70
- package/dist/dashboard-runtime/node_modules/tablestore/lib/core.js +0 -30
- package/dist/dashboard-runtime/node_modules/tablestore/lib/event_listeners.js +0 -199
- package/dist/dashboard-runtime/node_modules/tablestore/lib/filter.js +0 -204
- package/dist/dashboard-runtime/node_modules/tablestore/lib/http/node.js +0 -146
- package/dist/dashboard-runtime/node_modules/tablestore/lib/http/xhr.js +0 -113
- package/dist/dashboard-runtime/node_modules/tablestore/lib/http.js +0 -81
- package/dist/dashboard-runtime/node_modules/tablestore/lib/long.js +0 -21
- package/dist/dashboard-runtime/node_modules/tablestore/lib/metadata.js +0 -65
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/build_proto.sh +0 -4
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/decoder.js +0 -677
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/encoder.js +0 -1593
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_coded_stream.js +0 -631
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_consts.js +0 -44
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_crc8.js +0 -79
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_stream.js +0 -209
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plian_buffer_builder.js +0 -252
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/sql.fbs +0 -36
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/sql_generated.js +0 -961
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore.proto +0 -676
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore_compiled_proto.js +0 -54728
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore_filter.proto +0 -45
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore_search.proto +0 -1010
- package/dist/dashboard-runtime/node_modules/tablestore/lib/request.js +0 -235
- package/dist/dashboard-runtime/node_modules/tablestore/lib/retry/default_retry_policy.js +0 -74
- package/dist/dashboard-runtime/node_modules/tablestore/lib/retry/retry_util.js +0 -94
- package/dist/dashboard-runtime/node_modules/tablestore/lib/search.js +0 -209
- package/dist/dashboard-runtime/node_modules/tablestore/lib/sequential_executor.js +0 -240
- package/dist/dashboard-runtime/node_modules/tablestore/lib/signer.js +0 -70
- package/dist/dashboard-runtime/node_modules/tablestore/lib/sql.js +0 -111
- package/dist/dashboard-runtime/node_modules/tablestore/lib/util-browser.js +0 -756
- package/dist/dashboard-runtime/node_modules/tablestore/lib/util.js +0 -602
- package/dist/dashboard-runtime/node_modules/tablestore/package.json +0 -39
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
- /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/build-manifest.json +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/react-loadable-manifest.json +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/server-reference-manifest.json +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page.js.map +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{w-uHfh2BKcsjuH1pgOcYM → 5v9SZKIfkbolPwH_qGQog}/_buildManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{w-uHfh2BKcsjuH1pgOcYM → 5v9SZKIfkbolPwH_qGQog}/_clientMiddlewareManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{w-uHfh2BKcsjuH1pgOcYM → 5v9SZKIfkbolPwH_qGQog}/_ssgManifest.js +0 -0
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
var TableStore = require('./core');
|
|
2
|
-
|
|
3
|
-
TableStore.Config = TableStore.util.inherit({
|
|
4
|
-
|
|
5
|
-
constructor: function Config(options) {
|
|
6
|
-
if (options === undefined) options = {};
|
|
7
|
-
|
|
8
|
-
TableStore.util.each.call(this, this.keys, function (key, value) {
|
|
9
|
-
var optionVal = options[key];
|
|
10
|
-
if (typeof (options[key]) === 'string') {
|
|
11
|
-
optionVal = options[key].replace(/^\s+/g, '');
|
|
12
|
-
}
|
|
13
|
-
this.set(key, optionVal, value);
|
|
14
|
-
});
|
|
15
|
-
},
|
|
16
|
-
|
|
17
|
-
clear: function clear() {
|
|
18
|
-
/*jshint forin:false */
|
|
19
|
-
TableStore.util.each.call(this, this.keys, function (key) {
|
|
20
|
-
delete this[key];
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
// reset credential provider
|
|
24
|
-
this.set('credentials', undefined);
|
|
25
|
-
this.set('credentialProvider', undefined);
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
getCredentials: function getCredentials() {
|
|
29
|
-
return {
|
|
30
|
-
accessKeyId: this.accessKeyId,
|
|
31
|
-
secretAccessKey: this.secretAccessKey || this.accessKeySecret,
|
|
32
|
-
securityToken: this.stsToken || this.securityToken
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Sets a property on the configuration object, allowing for a
|
|
38
|
-
* default value
|
|
39
|
-
* @api private
|
|
40
|
-
*/
|
|
41
|
-
set: function set(property, value, defaultValue) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
if (defaultValue === undefined) {
|
|
44
|
-
defaultValue = this.keys[property];
|
|
45
|
-
}
|
|
46
|
-
if (typeof defaultValue === 'function') {
|
|
47
|
-
this[property] = defaultValue.call(this);
|
|
48
|
-
} else {
|
|
49
|
-
this[property] = defaultValue;
|
|
50
|
-
}
|
|
51
|
-
} else {
|
|
52
|
-
this[property] = value;
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
keys: {
|
|
57
|
-
accessKeyId: null,
|
|
58
|
-
secretAccessKey: null,
|
|
59
|
-
accessKeySecret: null, //the same with secretAccessKey
|
|
60
|
-
stsToken: null,
|
|
61
|
-
securityToken: null, // the same with stsToken
|
|
62
|
-
logger: null,
|
|
63
|
-
endpoint: undefined,
|
|
64
|
-
httpOptions: {},//timeout,maxSockets。default maxSockets = 300
|
|
65
|
-
maxRetries: undefined,
|
|
66
|
-
instancename: undefined,
|
|
67
|
-
computeChecksums: true,
|
|
68
|
-
extraHeaders: null,
|
|
69
|
-
}
|
|
70
|
-
});
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The main TableStore namespace
|
|
3
|
-
*/
|
|
4
|
-
var TableStore = {};
|
|
5
|
-
module.exports = TableStore;
|
|
6
|
-
require('./util');
|
|
7
|
-
require('./metadata');
|
|
8
|
-
require('./long');
|
|
9
|
-
require('./protocol/plain_buffer_consts');
|
|
10
|
-
require('./protocol/plain_buffer_crc8');
|
|
11
|
-
require('./protocol/plain_buffer_stream');
|
|
12
|
-
require('./protocol/plain_buffer_coded_stream');
|
|
13
|
-
require('./protocol/plian_buffer_builder');
|
|
14
|
-
require('./filter');
|
|
15
|
-
require('./protocol/encoder');
|
|
16
|
-
require('./protocol/decoder');
|
|
17
|
-
require('./metadata');
|
|
18
|
-
require('./config');
|
|
19
|
-
require('./http');
|
|
20
|
-
require('./sequential_executor');
|
|
21
|
-
require('./event_listeners');
|
|
22
|
-
require('./request');
|
|
23
|
-
require('./signer');
|
|
24
|
-
TableStore.events = new TableStore.SequentialExecutor();
|
|
25
|
-
require('./http/node');
|
|
26
|
-
require('./retry/retry_util');
|
|
27
|
-
require('./retry/default_retry_policy');
|
|
28
|
-
require('./client');
|
|
29
|
-
require('./search');
|
|
30
|
-
require('./sql');
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
var TableStore = require('./core');
|
|
2
|
-
require('./sequential_executor');
|
|
3
|
-
|
|
4
|
-
TableStore.EventListeners = {
|
|
5
|
-
Core: {}
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
TableStore.EventListeners = {
|
|
9
|
-
Core: new TableStore.SequentialExecutor().addNamedListeners(function (add, addAsync) {
|
|
10
|
-
|
|
11
|
-
add('SET_CONTENT_LENGTH', 'afterBuild', function SET_CONTENT_LENGTH(req) {
|
|
12
|
-
if (req.httpRequest.headers['Content-Length'] === undefined) {
|
|
13
|
-
var length = TableStore.util.string.byteLength(req.httpRequest.body);
|
|
14
|
-
req.httpRequest.headers['Content-Length'] = length;
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
add('SET_HTTP_HOST', 'afterBuild', function SET_HTTP_HOST(req) {
|
|
19
|
-
req.httpRequest.headers['Host'] = req.httpRequest.endpoint.host;
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
addAsync('SIGN', 'sign', function SIGN(req, done) {
|
|
23
|
-
var credentials = req.config.getCredentials();
|
|
24
|
-
|
|
25
|
-
try {
|
|
26
|
-
var date = TableStore.util.date.getDate();
|
|
27
|
-
var signer = new TableStore.Signer(req.httpRequest);
|
|
28
|
-
|
|
29
|
-
// add new authorization
|
|
30
|
-
signer.addAuthorization(credentials, date);
|
|
31
|
-
} catch (e) {
|
|
32
|
-
req.response.error = e;
|
|
33
|
-
}
|
|
34
|
-
done();
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
add('VALIDATE_RESPONSE', 'validateResponse', function VALIDATE_RESPONSE(resp) {
|
|
38
|
-
if (resp.httpResponse.statusCode < 300) {
|
|
39
|
-
resp.data = {};
|
|
40
|
-
resp.error = null;
|
|
41
|
-
} else {
|
|
42
|
-
resp.data = null;
|
|
43
|
-
resp.error = TableStore.util.error(new Error(),
|
|
44
|
-
{ code: 'UnknownError', message: 'An unknown error occurred.' });
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
addAsync('SEND', 'send', function SEND(resp, done) {
|
|
49
|
-
function callback(httpResp) {
|
|
50
|
-
resp.httpResponse.stream = httpResp;
|
|
51
|
-
resp.httpResponse._abortCallback = done;
|
|
52
|
-
|
|
53
|
-
httpResp.on('headers', function onHeaders(statusCode, headers) {
|
|
54
|
-
resp.request.emit('httpHeaders', [statusCode, headers, resp]);
|
|
55
|
-
|
|
56
|
-
if (!resp.request.httpRequest._streaming) {
|
|
57
|
-
if (TableStore.HttpClient.streamsApiVersion === 2) { // streams2 API check
|
|
58
|
-
httpResp.on('readable', function onReadable() {
|
|
59
|
-
var data = httpResp.read();
|
|
60
|
-
if (data !== null) {
|
|
61
|
-
resp.request.emit('httpData', [data, resp]);
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
} else { // legacy streams API
|
|
65
|
-
httpResp.on('data', function onData(data) {
|
|
66
|
-
resp.request.emit('httpData', [data, resp]);
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
httpResp.on('end', function onEnd() {
|
|
73
|
-
resp.request.emit('httpDone');
|
|
74
|
-
done();
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
function progress(httpResp) {
|
|
79
|
-
httpResp.on('sendProgress', function onSendProgress(progress) {
|
|
80
|
-
resp.request.emit('httpUploadProgress', [progress, resp]);
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
httpResp.on('receiveProgress', function onReceiveProgress(progress) {
|
|
84
|
-
resp.request.emit('httpDownloadProgress', [progress, resp]);
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
function error(err) {
|
|
89
|
-
resp.error = TableStore.util.error(err, {
|
|
90
|
-
code: 'NetworkingError',
|
|
91
|
-
region: resp.request.httpRequest.region,
|
|
92
|
-
hostname: resp.request.httpRequest.endpoint.hostname,
|
|
93
|
-
retryable: true
|
|
94
|
-
});
|
|
95
|
-
resp.request.emit('httpError', [resp.error, resp], function () {
|
|
96
|
-
done();
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
resp.error = null;
|
|
101
|
-
resp.data = null;
|
|
102
|
-
|
|
103
|
-
var http = TableStore.HttpClient.getInstance();
|
|
104
|
-
var httpOptions = resp.request.config.httpOptions || {};
|
|
105
|
-
//this.httpRequest.debug();
|
|
106
|
-
var s = http.handleRequest(this.httpRequest, httpOptions, callback, error);
|
|
107
|
-
progress(s);
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
add('HTTP_HEADERS', 'httpHeaders', function HTTP_HEADERS(statusCode, headers, resp) {
|
|
111
|
-
resp.httpResponse.statusCode = statusCode;
|
|
112
|
-
resp.httpResponse.headers = headers;
|
|
113
|
-
resp.httpResponse.body = new TableStore.util.Buffer('');
|
|
114
|
-
resp.httpResponse.buffers = [];
|
|
115
|
-
resp.httpResponse.numBytes = 0;
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
add('HTTP_DATA', 'httpData', function HTTP_DATA(chunk, resp) {
|
|
119
|
-
if (chunk) {
|
|
120
|
-
resp.httpResponse.numBytes += chunk.length;
|
|
121
|
-
|
|
122
|
-
var total = resp.httpResponse.headers['content-length'];
|
|
123
|
-
var progress = { loaded: resp.httpResponse.numBytes, total: total };
|
|
124
|
-
resp.request.emit('httpDownloadProgress', [progress, resp]);
|
|
125
|
-
|
|
126
|
-
resp.httpResponse.buffers.push(new TableStore.util.Buffer(chunk));
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
add('HTTP_DONE', 'httpDone', function HTTP_DONE(resp) {
|
|
131
|
-
// convert buffers array into single buffer
|
|
132
|
-
if (resp.httpResponse.buffers && resp.httpResponse.buffers.length > 0) {
|
|
133
|
-
var body = TableStore.util.buffer.concat(resp.httpResponse.buffers);
|
|
134
|
-
resp.httpResponse.body = body;
|
|
135
|
-
}
|
|
136
|
-
delete resp.httpResponse.numBytes;
|
|
137
|
-
delete resp.httpResponse.buffers;
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
add('RETRY_CHECK', 'retry', function FINALIZE_ERROR(resp) {
|
|
141
|
-
if (resp.error) {
|
|
142
|
-
resp.error.retryable = TableStore.DefaultRetryPolicy.shouldRetry(resp.retryCount, resp.error, resp.request.operation);
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
|
|
146
|
-
addAsync('RESET_RETRY_STATE', 'afterRetry', function RESET_RETRY_STATE(resp, done) {
|
|
147
|
-
var delay, willRetry = false;
|
|
148
|
-
|
|
149
|
-
if (resp.error) {
|
|
150
|
-
delay = TableStore.DefaultRetryPolicy.getRetryDelay(resp.retryCount, resp.error);
|
|
151
|
-
var maxRetryTimes = TableStore.DefaultRetryPolicy.maxRetryTimes;
|
|
152
|
-
if (resp.error.retryable && resp.retryCount < maxRetryTimes) {
|
|
153
|
-
resp.retryCount++;
|
|
154
|
-
willRetry = true;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
if (willRetry) {
|
|
159
|
-
resp.error = null;
|
|
160
|
-
setTimeout(done, delay);
|
|
161
|
-
} else {
|
|
162
|
-
done();
|
|
163
|
-
}
|
|
164
|
-
});
|
|
165
|
-
|
|
166
|
-
}),
|
|
167
|
-
|
|
168
|
-
Logger: new TableStore.SequentialExecutor().addNamedListeners(function (add) {
|
|
169
|
-
add('LOG_REQUEST', 'complete', function LOG_REQUEST(resp) {
|
|
170
|
-
var req = resp.request;
|
|
171
|
-
var logger = req.config.logger;
|
|
172
|
-
if (!logger) return;
|
|
173
|
-
|
|
174
|
-
function buildMessage() {
|
|
175
|
-
var time = TableStore.util.date.getDate().getTime();
|
|
176
|
-
var delta = (time - req.startTime.getTime()) / 1000;
|
|
177
|
-
var ansi = logger.isTTY ? true : false;
|
|
178
|
-
var status = resp.httpResponse.statusCode;
|
|
179
|
-
var params = require('util').inspect(req.params, true, true);
|
|
180
|
-
|
|
181
|
-
var message = '';
|
|
182
|
-
if (ansi) message += '\x1B[33m';
|
|
183
|
-
message += '[TableStore ' + req.service.serviceIdentifier + ' ' + status;
|
|
184
|
-
message += ' ' + delta.toString() + 's ' + resp.retryCount + ' retries]';
|
|
185
|
-
if (ansi) message += '\x1B[0;1m';
|
|
186
|
-
message += ' ' + req.operation + '(' + params + ')';
|
|
187
|
-
if (ansi) message += '\x1B[0m';
|
|
188
|
-
return message;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
var message = buildMessage();
|
|
192
|
-
if (typeof logger.log === 'function') {
|
|
193
|
-
logger.log(message);
|
|
194
|
-
} else if (typeof logger.write === 'function') {
|
|
195
|
-
logger.write(message + '\n');
|
|
196
|
-
}
|
|
197
|
-
});
|
|
198
|
-
}),
|
|
199
|
-
};
|
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
var TableStore = require('./core');
|
|
2
|
-
var tsFilterProtos = require('./protocol/tablestore_compiled_proto.js').filter.proto;
|
|
3
|
-
var inherit = TableStore.util.inherit;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
TableStore.LogicalOperator = {
|
|
7
|
-
NOT: tsFilterProtos.LogicalOperator.LO_NOT,
|
|
8
|
-
AND: tsFilterProtos.LogicalOperator.LO_AND,
|
|
9
|
-
OR: tsFilterProtos.LogicalOperator.LO_OR,
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
TableStore.ColumnConditionType = {
|
|
13
|
-
COMPOSITE_COLUMN_CONDITION: 0,
|
|
14
|
-
SINGLE_COLUMN_CONDITION: 1
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
TableStore.ComparatorType = {
|
|
18
|
-
EQUAL: tsFilterProtos.ComparatorType.CT_EQUAL,
|
|
19
|
-
NOT_EQUAL: tsFilterProtos.ComparatorType.CT_NOT_EQUAL,
|
|
20
|
-
GREATER_THAN: tsFilterProtos.ComparatorType.CT_GREATER_THAN,
|
|
21
|
-
GREATER_EQUAL: tsFilterProtos.ComparatorType.CT_GREATER_EQUAL,
|
|
22
|
-
LESS_THAN: tsFilterProtos.ComparatorType.CT_LESS_THAN,
|
|
23
|
-
LESS_EQUAL: tsFilterProtos.ComparatorType.CT_LESS_EQUAL
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
TableStore.RowExistenceExpectation = {
|
|
27
|
-
IGNORE: 0,
|
|
28
|
-
EXPECT_EXIST: 1,
|
|
29
|
-
EXPECT_NOT_EXIST: 2
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
TableStore.ColumnCondition = inherit({});
|
|
33
|
-
|
|
34
|
-
TableStore.CompositeCondition = inherit(TableStore.ColumnCondition, {
|
|
35
|
-
constructor: function (combinator) {
|
|
36
|
-
this.sub_conditions = [];
|
|
37
|
-
this.setCombinator(combinator);
|
|
38
|
-
},
|
|
39
|
-
getType: function () {
|
|
40
|
-
return tsFilterProtos.FilterType.FT_COMPOSITE_COLUMN_VALUE;//TableStore.ColumnConditionType.COMPOSITE_COLUMN_CONDITION
|
|
41
|
-
},
|
|
42
|
-
setCombinator: function (combinator) {
|
|
43
|
-
var isValidateValue = false;
|
|
44
|
-
for (pro in TableStore.LogicalOperator) {
|
|
45
|
-
if (TableStore.LogicalOperator[pro] === combinator) {
|
|
46
|
-
isValidateValue = true;
|
|
47
|
-
break;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
if (!isValidateValue) {
|
|
52
|
-
throw new Error("Expect input combinator should be one of TableStore.LogicalOperator");
|
|
53
|
-
}
|
|
54
|
-
this.combinator = combinator;
|
|
55
|
-
},
|
|
56
|
-
getCombinator: function () {
|
|
57
|
-
return combinator;
|
|
58
|
-
},
|
|
59
|
-
addSubCondition: function (condition) {
|
|
60
|
-
if (!condition instanceof TableStore.ColumnCondition) {
|
|
61
|
-
throw new Error("The input condition should be an instance of TableStore.ColumnCondition");
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
this.sub_conditions.push(condition);
|
|
65
|
-
},
|
|
66
|
-
clearSubCondition: function () {
|
|
67
|
-
this.sub_conditions = [];
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
TableStore.SingleColumnCondition = inherit(TableStore.ColumnCondition, {
|
|
72
|
-
constructor: function (columnName, columnValue, comparator, passIfMissing, latestVersionOnly) {
|
|
73
|
-
if (passIfMissing === undefined) {
|
|
74
|
-
passIfMissing = true;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
if (latestVersionOnly === undefined) {
|
|
78
|
-
latestVersionOnly = true;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
this.columnName = columnName;
|
|
82
|
-
this.columnValue = columnValue;
|
|
83
|
-
|
|
84
|
-
this.comparator = null;
|
|
85
|
-
this.passIfMissing = null;
|
|
86
|
-
this.latestVersionOnly = null;
|
|
87
|
-
|
|
88
|
-
this.setComparator(comparator);
|
|
89
|
-
this.setPassIfMissing(passIfMissing);
|
|
90
|
-
this.setLatestVersionOnly(latestVersionOnly);
|
|
91
|
-
},
|
|
92
|
-
getType: function () {
|
|
93
|
-
return tsFilterProtos.FilterType.FT_SINGLE_COLUMN_VALUE; //TableStore.ColumnConditionType.SINGLE_COLUMN_CONDITION;
|
|
94
|
-
},
|
|
95
|
-
setPassIfMissing: function (passIfMissing) {
|
|
96
|
-
/*
|
|
97
|
-
设置```passIfMissing```
|
|
98
|
-
|
|
99
|
-
由于OTS一行的属性列不固定,有可能存在有condition条件的列在该行不存在的情况,这时
|
|
100
|
-
参数控制在这种情况下对该行的检查结果。
|
|
101
|
-
如果设置为True,则若列在该行中不存在,则检查条件通过。
|
|
102
|
-
如果设置为False,则若列在该行中不存在,则检查条件失败。
|
|
103
|
-
默认值为True。
|
|
104
|
-
*/
|
|
105
|
-
if (!typeof (passIfMissing) === 'boolean') {
|
|
106
|
-
throw new Error("The input passIfMissing should be an instance of Bool");
|
|
107
|
-
}
|
|
108
|
-
this.passIfMissing = passIfMissing;
|
|
109
|
-
},
|
|
110
|
-
getPassIfMissing: function () {
|
|
111
|
-
return this.passIfMissing;
|
|
112
|
-
},
|
|
113
|
-
setLatestVersionOnly: function (latestVersionOnly) {
|
|
114
|
-
if (!typeof (latestVersionOnly) === 'boolean') {
|
|
115
|
-
throw new Error("The input passIfMissing should be an instance of Bool");
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
this.latestVersionOnly = latestVersionOnly;
|
|
119
|
-
},
|
|
120
|
-
getLatestVersionOnly: function () {
|
|
121
|
-
return this.latestVersionOnly;
|
|
122
|
-
},
|
|
123
|
-
setColumnName: function (columnName) {
|
|
124
|
-
this.columnName = columnName;
|
|
125
|
-
},
|
|
126
|
-
getColumnName: function () {
|
|
127
|
-
return this.columnName;
|
|
128
|
-
},
|
|
129
|
-
setColumnValue: function (columnValue) {
|
|
130
|
-
this.columnValue = columnValue
|
|
131
|
-
},
|
|
132
|
-
getColumnValue: function () {
|
|
133
|
-
return this.columnValue;
|
|
134
|
-
},
|
|
135
|
-
setComparator: function (comparator) {
|
|
136
|
-
var isValidateValue = false;
|
|
137
|
-
for (pro in TableStore.ComparatorType) {
|
|
138
|
-
if (TableStore.ComparatorType[pro] === comparator) {
|
|
139
|
-
isValidateValue = true;
|
|
140
|
-
break;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
if (!isValidateValue) {
|
|
145
|
-
throw new Error("Expect input comparator should be one of TableStore.ComparatorType");
|
|
146
|
-
}
|
|
147
|
-
this.comparator = comparator;
|
|
148
|
-
},
|
|
149
|
-
getComparator: function () {
|
|
150
|
-
return this.comparator;
|
|
151
|
-
}
|
|
152
|
-
});
|
|
153
|
-
|
|
154
|
-
TableStore.Condition = inherit({
|
|
155
|
-
constructor: function (rowExistenceExpectation, columnCondition) {
|
|
156
|
-
this.rowExistenceExpectation = null;
|
|
157
|
-
this.columnCondition = null;
|
|
158
|
-
if (undefined === columnCondition) {
|
|
159
|
-
columnCondition = null;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
this.setRowExistenceExpectation(rowExistenceExpectation)
|
|
163
|
-
if (columnCondition != null) {
|
|
164
|
-
this.setColumnCondition(columnCondition);
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
setRowExistenceExpectation: function (rowExistenceExpectation) {
|
|
168
|
-
var isValidateValue = false;
|
|
169
|
-
for (pro in TableStore.RowExistenceExpectation) {
|
|
170
|
-
if (TableStore.RowExistenceExpectation[pro] === rowExistenceExpectation) {
|
|
171
|
-
isValidateValue = true;
|
|
172
|
-
break;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
if (!isValidateValue) {
|
|
176
|
-
throw new Error("Expect input rowExistenceExpectation should be one of TableStore.RowExistenceExpectation");
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
this.rowExistenceExpectation = rowExistenceExpectation;
|
|
180
|
-
},
|
|
181
|
-
getRowExistenceExpectation: function () {
|
|
182
|
-
return this.rowExistenceExpectation;
|
|
183
|
-
},
|
|
184
|
-
|
|
185
|
-
setColumnCondition: function (columnCondition) {
|
|
186
|
-
if (!columnCondition instanceof TableStore.ColumnCondition) {
|
|
187
|
-
throw new Error("The input columnCondition should be an instance of TableStore.ColumnCondition");
|
|
188
|
-
}
|
|
189
|
-
this.columnCondition = columnCondition;
|
|
190
|
-
},
|
|
191
|
-
getColumnCondition: function () {
|
|
192
|
-
this.columnCondition;
|
|
193
|
-
}
|
|
194
|
-
});
|
|
195
|
-
|
|
196
|
-
TableStore.ColumnPaginationFilter = inherit({
|
|
197
|
-
constructor: function (limit, offset) {
|
|
198
|
-
this.limit = limit === undefined ? 1 : limit;
|
|
199
|
-
this.offset = offset === undefined ? 0 : offset;;
|
|
200
|
-
},
|
|
201
|
-
getType: function () {
|
|
202
|
-
return tsFilterProtos.FilterType.FT_COLUMN_PAGINATION; //TableStore.ColumnConditionType.SINGLE_COLUMN_CONDITION;
|
|
203
|
-
}
|
|
204
|
-
});
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
var TableStore = require('../core');
|
|
2
|
-
var Stream = require('stream').Stream;
|
|
3
|
-
var WritableStream = require('stream').Writable;
|
|
4
|
-
var ReadableStream = require('stream').Readable;
|
|
5
|
-
require('../http');
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @api private
|
|
9
|
-
*/
|
|
10
|
-
TableStore.NodeHttpClient = TableStore.util.inherit({
|
|
11
|
-
handleRequest: function handleRequest(httpRequest, httpOptions, callback, errCallback) {
|
|
12
|
-
var endpoint = httpRequest.endpoint;
|
|
13
|
-
var pathPrefix = '';
|
|
14
|
-
if (!httpOptions) httpOptions = {};
|
|
15
|
-
|
|
16
|
-
var useSSL = endpoint.protocol === 'https:';
|
|
17
|
-
var http = useSSL ? require('https') : require('http');
|
|
18
|
-
if (httpOptions.maxSockets) {
|
|
19
|
-
http.globalAgent.maxSockets = httpOptions.maxSockets;
|
|
20
|
-
} else {
|
|
21
|
-
http.globalAgent.maxSockets = 300;
|
|
22
|
-
}
|
|
23
|
-
var options = {
|
|
24
|
-
host: endpoint.hostname,
|
|
25
|
-
port: endpoint.port,
|
|
26
|
-
method: httpRequest.method,
|
|
27
|
-
headers: httpRequest.headers,
|
|
28
|
-
path: pathPrefix + httpRequest.path
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
if (useSSL && !httpOptions.agent) {
|
|
32
|
-
options.agent = this.sslAgent();
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
TableStore.util.update(options, httpOptions);
|
|
36
|
-
delete options.proxy; // proxy isn't an HTTP option
|
|
37
|
-
delete options.timeout; // timeout isn't an HTTP option
|
|
38
|
-
delete options.maxSockets; // maxSockets isn't an HTTP option
|
|
39
|
-
|
|
40
|
-
var stream = http.request(options, function (httpResp) {
|
|
41
|
-
callback(httpResp);
|
|
42
|
-
httpResp.emit('headers', httpResp.statusCode, httpResp.headers);
|
|
43
|
-
});
|
|
44
|
-
httpRequest.stream = stream; // attach stream to httpRequest
|
|
45
|
-
|
|
46
|
-
// timeout support
|
|
47
|
-
stream.setTimeout(httpOptions.timeout || 0);
|
|
48
|
-
stream.once('timeout', function () {
|
|
49
|
-
var msg = 'Connection timed out after ' + httpOptions.timeout + 'ms';
|
|
50
|
-
errCallback(TableStore.util.error(new Error(msg), { code: 'TimeoutError' }));
|
|
51
|
-
|
|
52
|
-
// HACK - abort the connection without tripping our error handler
|
|
53
|
-
// since we already raised our TimeoutError. Otherwise the connection
|
|
54
|
-
// comes back with ECONNRESET, which is not a helpful error message
|
|
55
|
-
stream.removeListener('error', errCallback);
|
|
56
|
-
stream.on('error', function () { });
|
|
57
|
-
stream.abort();
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
stream.on('error', errCallback);
|
|
61
|
-
this.writeBody(stream, httpRequest);
|
|
62
|
-
return stream;
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
writeBody: function writeBody(stream, httpRequest) {
|
|
66
|
-
var body = httpRequest.body;
|
|
67
|
-
|
|
68
|
-
if (body && WritableStream && ReadableStream) { // progress support
|
|
69
|
-
if (!(body instanceof Stream)) body = this.bufferToStream(body);
|
|
70
|
-
body.pipe(this.progressStream(stream, httpRequest));
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
if (body instanceof Stream) {
|
|
74
|
-
body.pipe(stream);
|
|
75
|
-
} else if (body) {
|
|
76
|
-
stream.end(body);
|
|
77
|
-
} else {
|
|
78
|
-
stream.end();
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
|
|
82
|
-
sslAgent: function sslAgent() {
|
|
83
|
-
var https = require('https');
|
|
84
|
-
|
|
85
|
-
if (!TableStore.NodeHttpClient.sslAgent) {
|
|
86
|
-
TableStore.NodeHttpClient.sslAgent = new https.Agent({ rejectUnauthorized: true });
|
|
87
|
-
TableStore.NodeHttpClient.sslAgent.setMaxListeners(0);
|
|
88
|
-
|
|
89
|
-
// delegate maxSockets to globalAgent
|
|
90
|
-
Object.defineProperty(TableStore.NodeHttpClient.sslAgent, 'maxSockets', {
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function () { return https.globalAgent.maxSockets; }
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
return TableStore.NodeHttpClient.sslAgent;
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
progressStream: function progressStream(stream, httpRequest) {
|
|
99
|
-
var numBytes = 0;
|
|
100
|
-
var totalBytes = httpRequest.headers['Content-Length'];
|
|
101
|
-
var writer = new WritableStream();
|
|
102
|
-
writer._write = function (chunk, encoding, callback) {
|
|
103
|
-
if (chunk) {
|
|
104
|
-
numBytes += chunk.length;
|
|
105
|
-
stream.emit('sendProgress', {
|
|
106
|
-
loaded: numBytes, total: totalBytes
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
callback();
|
|
110
|
-
};
|
|
111
|
-
return writer;
|
|
112
|
-
},
|
|
113
|
-
|
|
114
|
-
bufferToStream: function bufferToStream(buffer) {
|
|
115
|
-
if (!TableStore.util.Buffer.isBuffer(buffer)) buffer = new TableStore.util.Buffer(buffer);
|
|
116
|
-
|
|
117
|
-
var readable = new ReadableStream();
|
|
118
|
-
var pos = 0;
|
|
119
|
-
readable._read = function (size) {
|
|
120
|
-
if (pos >= buffer.length) return readable.push(null);
|
|
121
|
-
|
|
122
|
-
var end = pos + size;
|
|
123
|
-
if (end > buffer.length) end = buffer.length;
|
|
124
|
-
readable.push(buffer.slice(pos, end));
|
|
125
|
-
pos = end;
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
return readable;
|
|
129
|
-
},
|
|
130
|
-
|
|
131
|
-
emitter: null
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @!ignore
|
|
136
|
-
*/
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* @api private
|
|
140
|
-
*/
|
|
141
|
-
TableStore.HttpClient.prototype = TableStore.NodeHttpClient.prototype;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* @api private
|
|
145
|
-
*/
|
|
146
|
-
TableStore.HttpClient.streamsApiVersion = ReadableStream ? 2 : 1;
|