@xano/sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +788 -0
- package/LICENSE +21 -0
- package/README.md +541 -0
- package/dist/.build-fingerprint +1 -0
- package/dist/agent-file-refresh-ZEMK33AX.js +38 -0
- package/dist/answer-shape-K67TAAPY.js +33 -0
- package/dist/backend-dir-2U53CIAL.js +39 -0
- package/dist/backend-slot-7QXW2QYC.js +28 -0
- package/dist/bin.d.ts +1 -0
- package/dist/bin.js +255 -0
- package/dist/branch-NCRNWQBQ.js +61 -0
- package/dist/branch-commands-ACIRCEQJ.js +79 -0
- package/dist/bundle.d.ts +223 -0
- package/dist/bundle.js +153 -0
- package/dist/capture-WAXPD7DR.js +41 -0
- package/dist/chunk-27GWNP2I.js +23 -0
- package/dist/chunk-2CMJZDCL.js +177 -0
- package/dist/chunk-2EZ3ZJZZ.js +302 -0
- package/dist/chunk-2GNFDZA2.js +390 -0
- package/dist/chunk-2MNLRIOX.js +11 -0
- package/dist/chunk-2TFRR6JV.js +104 -0
- package/dist/chunk-2ZUEE4EK.js +408 -0
- package/dist/chunk-36JUQZVQ.js +22 -0
- package/dist/chunk-3DRXWLJ5.js +83 -0
- package/dist/chunk-3JDU4VRL.js +137 -0
- package/dist/chunk-3KZCLN4Z.js +241 -0
- package/dist/chunk-3LDULPRE.js +168 -0
- package/dist/chunk-3M4LFYNQ.js +111 -0
- package/dist/chunk-3XI5CTUE.js +22 -0
- package/dist/chunk-3YW23UFH.js +50 -0
- package/dist/chunk-45UIT5T2.js +862 -0
- package/dist/chunk-4BW2SG2N.js +46 -0
- package/dist/chunk-4KHEMC32.js +79 -0
- package/dist/chunk-4POWHT2K.js +321 -0
- package/dist/chunk-4Q2GN7NW.js +192 -0
- package/dist/chunk-5A2PLKZB.js +70 -0
- package/dist/chunk-5FBYXK5P.js +159 -0
- package/dist/chunk-5HVXPTU4.js +323 -0
- package/dist/chunk-5QU2P5CA.js +304 -0
- package/dist/chunk-5V5XU32D.js +191 -0
- package/dist/chunk-5ZSO4T2G.js +10 -0
- package/dist/chunk-622HUCZT.js +10 -0
- package/dist/chunk-65HWOMGV.js +177 -0
- package/dist/chunk-6ELFRN3P.js +365 -0
- package/dist/chunk-6HO3NCSJ.js +1055 -0
- package/dist/chunk-6IUMKYWI.js +457 -0
- package/dist/chunk-6KEB3C3U.js +65 -0
- package/dist/chunk-6MR5TI5V.js +987 -0
- package/dist/chunk-6NNTNXN7.js +157 -0
- package/dist/chunk-6PBR37LN.js +97 -0
- package/dist/chunk-6QXLMMT3.js +155 -0
- package/dist/chunk-6ZGJCBZS.js +224 -0
- package/dist/chunk-73IVBKMA.js +250 -0
- package/dist/chunk-7G3CTU7I.js +286 -0
- package/dist/chunk-A3UDOZB6.js +222 -0
- package/dist/chunk-A6E77GDW.js +85 -0
- package/dist/chunk-AHJWCYQO.js +660 -0
- package/dist/chunk-AKNCFVKZ.js +36 -0
- package/dist/chunk-AM4FKL4J.js +237 -0
- package/dist/chunk-AN6BL47T.js +26 -0
- package/dist/chunk-AOSYVMUS.js +147 -0
- package/dist/chunk-APWXY5SL.js +182 -0
- package/dist/chunk-AWEIIR2U.js +218 -0
- package/dist/chunk-AWQ7BQTQ.js +73 -0
- package/dist/chunk-BAUZOWGX.js +393 -0
- package/dist/chunk-BHACRS6R.js +940 -0
- package/dist/chunk-BWPNT55T.js +680 -0
- package/dist/chunk-C6RIMRU4.js +187 -0
- package/dist/chunk-CGVQZXYG.js +263 -0
- package/dist/chunk-CIMQZRRE.js +162 -0
- package/dist/chunk-CJHQKJU4.js +113 -0
- package/dist/chunk-CTMO46PK.js +1897 -0
- package/dist/chunk-D53J55C5.js +106 -0
- package/dist/chunk-D7VGG3WS.js +90 -0
- package/dist/chunk-DAD3ONIS.js +245 -0
- package/dist/chunk-DGWHAVRG.js +162 -0
- package/dist/chunk-DX4QR4B2.js +483 -0
- package/dist/chunk-EHP3WPEG.js +21 -0
- package/dist/chunk-ELP2HMXC.js +432 -0
- package/dist/chunk-ERVIASGL.js +21 -0
- package/dist/chunk-ET4Y4XCB.js +865 -0
- package/dist/chunk-ETO6LGLD.js +4750 -0
- package/dist/chunk-EUUUMY7J.js +24 -0
- package/dist/chunk-FQJ2TTHP.js +218 -0
- package/dist/chunk-FQOF7E2E.js +133 -0
- package/dist/chunk-FWD7AL6N.js +21 -0
- package/dist/chunk-FXFV3KU6.js +138 -0
- package/dist/chunk-FXRQOWTE.js +171 -0
- package/dist/chunk-G554NZNI.js +210 -0
- package/dist/chunk-GSGDWJB5.js +13 -0
- package/dist/chunk-H2V3N23D.js +66 -0
- package/dist/chunk-H5C7MBCR.js +159 -0
- package/dist/chunk-HHN734BU.js +371 -0
- package/dist/chunk-HRVBLCVJ.js +243 -0
- package/dist/chunk-HVRUQXGD.js +1264 -0
- package/dist/chunk-I4F5TCJH.js +130 -0
- package/dist/chunk-IDOTCMDV.js +57 -0
- package/dist/chunk-IGOLHKWF.js +427 -0
- package/dist/chunk-JGE7CAWB.js +148 -0
- package/dist/chunk-JTUKLCXS.js +92 -0
- package/dist/chunk-JZGVVJSI.js +66 -0
- package/dist/chunk-K4WX6UUU.js +923 -0
- package/dist/chunk-K5BBGTYZ.js +217 -0
- package/dist/chunk-K6RXBGUB.js +427 -0
- package/dist/chunk-KTSDSD36.js +165 -0
- package/dist/chunk-L5JYN3NM.js +1038 -0
- package/dist/chunk-LIEOKXKD.js +354 -0
- package/dist/chunk-LLNZGEFK.js +51 -0
- package/dist/chunk-LPECSJ2J.js +55 -0
- package/dist/chunk-LQCMKAJ7.js +413 -0
- package/dist/chunk-LRN4ZJCQ.js +1145 -0
- package/dist/chunk-MJ4ZVHKN.js +17 -0
- package/dist/chunk-MXHSQOC4.js +3061 -0
- package/dist/chunk-N5GKCWE5.js +367 -0
- package/dist/chunk-NA3PXMEF.js +10 -0
- package/dist/chunk-NAQDMEHV.js +76 -0
- package/dist/chunk-NWKXM5RD.js +109 -0
- package/dist/chunk-NZOWWHU5.js +196 -0
- package/dist/chunk-OHX6MIUZ.js +184 -0
- package/dist/chunk-OOXWYAA4.js +15 -0
- package/dist/chunk-OPHB5ORL.js +1990 -0
- package/dist/chunk-OXA6PSZT.js +1725 -0
- package/dist/chunk-P2HAGF6H.js +73 -0
- package/dist/chunk-PTHVMXZI.js +3036 -0
- package/dist/chunk-PZ5AY32C.js +10 -0
- package/dist/chunk-Q325JKYB.js +189 -0
- package/dist/chunk-Q7DGTQ5G.js +255 -0
- package/dist/chunk-QCNYHBL7.js +601 -0
- package/dist/chunk-QO6BVGS5.js +145 -0
- package/dist/chunk-QXTKSOFI.js +76 -0
- package/dist/chunk-ROY4YAEQ.js +66 -0
- package/dist/chunk-RTJRZFFY.js +447 -0
- package/dist/chunk-SAVJUS2X.js +128 -0
- package/dist/chunk-SFLHVCKX.js +173 -0
- package/dist/chunk-STSFNCY4.js +127 -0
- package/dist/chunk-SWBF2LTK.js +170 -0
- package/dist/chunk-T5KELPAR.js +109 -0
- package/dist/chunk-TFFGOFVZ.js +1481 -0
- package/dist/chunk-TLHIFK4M.js +256 -0
- package/dist/chunk-TLQE7ZN3.js +156 -0
- package/dist/chunk-TPHWJ7UG.js +1981 -0
- package/dist/chunk-TRJCALW3.js +291 -0
- package/dist/chunk-TTEIYD5P.js +133 -0
- package/dist/chunk-U64O2MXY.js +407 -0
- package/dist/chunk-UCQ2VUTG.js +630 -0
- package/dist/chunk-UTI5G6OJ.js +44 -0
- package/dist/chunk-UVHDMMIP.js +188 -0
- package/dist/chunk-UZ6QQWJT.js +120 -0
- package/dist/chunk-VAX3UZOY.js +686 -0
- package/dist/chunk-W3HBUKFO.js +57 -0
- package/dist/chunk-WKQLGKCL.js +2823 -0
- package/dist/chunk-WQFNASK4.js +560 -0
- package/dist/chunk-WRBKLYSJ.js +224 -0
- package/dist/chunk-WTPZRR4I.js +17 -0
- package/dist/chunk-WZDJ2LLX.js +2385 -0
- package/dist/chunk-X2NL4KUO.js +14 -0
- package/dist/chunk-X4DVXBFY.js +38 -0
- package/dist/chunk-X677DMZM.js +7050 -0
- package/dist/chunk-XBKMWY7F.js +612 -0
- package/dist/chunk-XNCP4KYO.js +78 -0
- package/dist/chunk-XVBGLISP.js +35 -0
- package/dist/chunk-XW6KISBB.js +1192 -0
- package/dist/chunk-YGZHHAAB.js +8156 -0
- package/dist/chunk-YHEFQUQB.js +186 -0
- package/dist/chunk-YLDALTWZ.js +653 -0
- package/dist/chunk-YU4HSQW7.js +229 -0
- package/dist/chunk-ZDPP6RKB.js +27 -0
- package/dist/chunk-ZFDZKNGG.js +194 -0
- package/dist/chunk-ZIY7RNUT.js +49 -0
- package/dist/chunk-ZYJP6BOO.js +30 -0
- package/dist/cli.d.ts +1111 -0
- package/dist/cli.js +165 -0
- package/dist/codegen-command-VR2GWR6C.js +173 -0
- package/dist/codegen.d.ts +115 -0
- package/dist/codegen.js +19 -0
- package/dist/commands-GJMJ4XYZ.js +76 -0
- package/dist/completion-ZQLO6PB6.js +738 -0
- package/dist/config-MBYGCAFK.js +136 -0
- package/dist/deploy-command-JVZPWHMK.js +180 -0
- package/dist/deploy-source-3W45CXMP.js +81 -0
- package/dist/dev-env-sync-HN44K4D5.js +188 -0
- package/dist/diagnostics-UEAAHWVF.js +30 -0
- package/dist/display-name-hint-ABBPVQIR.js +46 -0
- package/dist/emit-CyhBDxli.d.ts +7007 -0
- package/dist/env-example-refresh-ET5HMMDW.js +126 -0
- package/dist/env-pull-command-TNMNB3CV.js +323 -0
- package/dist/env-target-O4HRKTGZ.js +40 -0
- package/dist/env-var-command-ZIRDCAZA.js +427 -0
- package/dist/ephemeral-P7F3PMAD.js +54 -0
- package/dist/ephemeral-command-CLJJKOFT.js +592 -0
- package/dist/ephemeral-state-PYCBSOGX.js +61 -0
- package/dist/file-lock-PT74GWYW.js +10 -0
- package/dist/generate-command-AYEOLA26.js +510 -0
- package/dist/gitignore-3SJ3WNRG.js +51 -0
- package/dist/guards-4EBNCZDC.js +162 -0
- package/dist/hosted-file-PSHJB3HX.js +28 -0
- package/dist/impersonate-command-5JAS3WSV.js +152 -0
- package/dist/import-EQSFU6JC.js +19 -0
- package/dist/index.d.ts +5470 -0
- package/dist/index.js +371 -0
- package/dist/init-command-X2FR4UAK.js +125 -0
- package/dist/init-modules-RY7UHAOL.js +50 -0
- package/dist/init-web-M4YZSZK6.js +42 -0
- package/dist/internal.d.ts +179 -0
- package/dist/internal.js +2634 -0
- package/dist/io-RC56QSN5.js +26 -0
- package/dist/keep-data-merge-7MPLVAVI.js +1119 -0
- package/dist/lambda-config-reconcile-OUZ4OYAB.js +116 -0
- package/dist/landed-753YLJ5H.js +40 -0
- package/dist/landing-record-SU52SKXU.js +61 -0
- package/dist/live-diff-YONW2VI3.js +65 -0
- package/dist/local-engine-choice-CH5X3W7E.js +79 -0
- package/dist/local-engine-command-Z3OL7VOD.js +766 -0
- package/dist/local-engine-config-5U3SC434.js +39 -0
- package/dist/local-engine-deploy-PCQ4SNPB.js +39 -0
- package/dist/local-engine-process-EHTE5LLU.js +63 -0
- package/dist/local-engine-state-A4FTRFAF.js +32 -0
- package/dist/local-engine-update-check-6L645VBL.js +162 -0
- package/dist/lock-MRRHW5GS.js +87 -0
- package/dist/lock-commands-2QG25HL7.js +963 -0
- package/dist/login-command-QPYRWOXZ.js +538 -0
- package/dist/logout-command-WOIQLDP6.js +56 -0
- package/dist/loop-ALIZLOSX.js +191 -0
- package/dist/marketplace-command-K5YL42NO.js +977 -0
- package/dist/marketplace-resolve-LY32JES5.js +40 -0
- package/dist/meta-client-YXGPW53C.js +244 -0
- package/dist/module-manifest-JFGHU2TC.js +38 -0
- package/dist/near-key.d.ts +13 -0
- package/dist/near-key.js +8 -0
- package/dist/node.d.ts +95 -0
- package/dist/node.js +969 -0
- package/dist/operation-outcome-TZSESNC7.js +51 -0
- package/dist/output-target-AL3I44GG.js +47 -0
- package/dist/package-manager-PRAHUSCN.js +34 -0
- package/dist/plan-disclosure-6G4MLZKD.js +114 -0
- package/dist/plugin-contributions-WRNY5ABG.js +28 -0
- package/dist/plugin-prompt-4VA3B4FF.js +20 -0
- package/dist/plugin-questions-JTSYA74Q.js +24 -0
- package/dist/plugin.d.ts +396 -0
- package/dist/plugin.js +1 -0
- package/dist/preflight-command-2T5Z36MI.js +321 -0
- package/dist/profile-command-AH3PIM4X.js +800 -0
- package/dist/profile-pointer-GRWJU3YD.js +31 -0
- package/dist/profile-select-74TRDEPD.js +23 -0
- package/dist/project-dependency-KSH63ODT.js +35 -0
- package/dist/project-sdk-REPPOIBD.js +24 -0
- package/dist/promote-command-PCWT5N6S.js +140 -0
- package/dist/prompt-II3F3LND.js +27 -0
- package/dist/publish-command-TTDUUJI5.js +414 -0
- package/dist/pull-command-VBO7C4S3.js +161 -0
- package/dist/pull-superseded-GJWLG7XO.js +20 -0
- package/dist/release-command-N4ZPKMHR.js +146 -0
- package/dist/release-ns-command-3KFDMZ6G.js +1745 -0
- package/dist/response-HlXahv4K.d.ts +925 -0
- package/dist/retry-command-AS5EVREX.js +34 -0
- package/dist/routes-manifest-SNWUVBT6.js +43 -0
- package/dist/runtime-XETHVF33.js +14 -0
- package/dist/scaffold.d.ts +1911 -0
- package/dist/scaffold.js +107 -0
- package/dist/secrets-file-LVZD6IIM.js +56 -0
- package/dist/secrets-fill-command-TTCPSVXN.js +218 -0
- package/dist/seed-VU7C3QYS.js +46 -0
- package/dist/sent-writes-N7X4OVXT.js +22 -0
- package/dist/source-resolve-S2XA3XZF.js +83 -0
- package/dist/static-host-B2Y6AG3W.js +352 -0
- package/dist/status-command-RUDXTF7I.js +554 -0
- package/dist/store-6VNCD4D7.js +20 -0
- package/dist/store-ARM6VMO5.js +98 -0
- package/dist/store-DuYfzKlW.d.ts +3144 -0
- package/dist/suggest-6FOOYKHG.js +12 -0
- package/dist/sveltekit.d.ts +154 -0
- package/dist/sveltekit.js +109 -0
- package/dist/sync-contributions-UCEROO26.js +415 -0
- package/dist/table-ENAVMITR.js +42 -0
- package/dist/tables-command-GUPXXSB5.js +156 -0
- package/dist/tenant-IIHPOHGP.js +42 -0
- package/dist/tenant-command-D5HGI2X4.js +965 -0
- package/dist/test-command-TIKZMDPZ.js +476 -0
- package/dist/tests-BGGIOK3L.js +26 -0
- package/dist/token-NICJUTMT.js +72 -0
- package/dist/toolchain-hooks-GHKLUJOH.js +96 -0
- package/dist/toolchain-modules-5EAZUONB.js +24 -0
- package/dist/tracked-backend-EIBUMDZA.js +80 -0
- package/dist/update-check-2W2NLDTC.js +136 -0
- package/dist/upgrade-command-QHNFWM7O.js +531 -0
- package/dist/verify-rollout-DRCK5TDD.js +61 -0
- package/dist/whoami-command-STGINTXH.js +51 -0
- package/dist/workspace-2CLHU2LK.js +93 -0
- package/dist/workspace-binding-56PIIPCP.js +54 -0
- package/dist/workspace-command-JEXQETJD.js +535 -0
- package/dist/workspace-env-F2RFMSC5.js +70 -0
- package/dist/workspace-export-OJSH2HIW.js +21 -0
- package/dist/writable-VA7OISSK.js +25 -0
- package/dist/xano-ICFUSPFR.js +42 -0
- package/dist/xanosdk-import-GN42TO2B.js +56 -0
- package/dist/xanosdk-project-S6DXJONQ.js +41 -0
- package/dist/xdo-CxDr2Q1C.d.ts +1371 -0
- package/guides/README.md +33 -0
- package/guides/authoring.md +921 -0
- package/guides/cli.md +401 -0
- package/guides/codegen.md +177 -0
- package/guides/codes.md +404 -0
- package/guides/coverage.md +74 -0
- package/guides/deploying.md +1525 -0
- package/guides/environment.md +400 -0
- package/guides/marketplace.md +415 -0
- package/guides/module-contract.md +558 -0
- package/guides/object-kinds.md +433 -0
- package/guides/project-structure.md +43 -0
- package/guides/scaffold.md +351 -0
- package/guides/typed-frontend.md +242 -0
- package/llms/client.md +63 -0
- package/llms/errors.md +56 -0
- package/llms/fields.md +176 -0
- package/llms/filters.md +183 -0
- package/llms/kinds-agent-mcp.md +30 -0
- package/llms/kinds-core.md +100 -0
- package/llms/kinds-knowledge.md +20 -0
- package/llms/kinds-realtime.md +76 -0
- package/llms/lambda.md +94 -0
- package/llms/legacy.md +44 -0
- package/llms/lock.md +40 -0
- package/llms/object-kinds.md +34 -0
- package/llms/statements-calls.md +62 -0
- package/llms/statements-catalog.md +320 -0
- package/llms/statements-data.md +66 -0
- package/llms/statements-runtime.md +68 -0
- package/llms/tests.md +59 -0
- package/llms/toolchain.md +16 -0
- package/llms/triggers.md +36 -0
- package/llms/values.md +29 -0
- package/llms-full.txt +2085 -0
- package/llms.txt +493 -0
- package/manifest.json +11224 -0
- package/package.json +162 -0
- package/types/lambda-globals.d.ts +129 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import {
|
|
2
|
+
bundleEnvNames,
|
|
3
|
+
refreshEnvExample,
|
|
4
|
+
rerenderEnvExample
|
|
5
|
+
} from "./chunk-W3HBUKFO.js";
|
|
6
|
+
import "./chunk-X677DMZM.js";
|
|
7
|
+
import "./chunk-LRN4ZJCQ.js";
|
|
8
|
+
import "./chunk-RTJRZFFY.js";
|
|
9
|
+
import "./chunk-65HWOMGV.js";
|
|
10
|
+
import "./chunk-TPHWJ7UG.js";
|
|
11
|
+
import "./chunk-AOSYVMUS.js";
|
|
12
|
+
import "./chunk-CJHQKJU4.js";
|
|
13
|
+
import "./chunk-3DRXWLJ5.js";
|
|
14
|
+
import "./chunk-X4DVXBFY.js";
|
|
15
|
+
import "./chunk-TRJCALW3.js";
|
|
16
|
+
import "./chunk-LIEOKXKD.js";
|
|
17
|
+
import "./chunk-D7VGG3WS.js";
|
|
18
|
+
import "./chunk-2TFRR6JV.js";
|
|
19
|
+
import "./chunk-HRVBLCVJ.js";
|
|
20
|
+
import "./chunk-YHEFQUQB.js";
|
|
21
|
+
import "./chunk-ETO6LGLD.js";
|
|
22
|
+
import "./chunk-ZIY7RNUT.js";
|
|
23
|
+
import "./chunk-DAD3ONIS.js";
|
|
24
|
+
import "./chunk-HHN734BU.js";
|
|
25
|
+
import "./chunk-LPECSJ2J.js";
|
|
26
|
+
import "./chunk-6NNTNXN7.js";
|
|
27
|
+
import "./chunk-QCNYHBL7.js";
|
|
28
|
+
import "./chunk-2ZUEE4EK.js";
|
|
29
|
+
import "./chunk-AN6BL47T.js";
|
|
30
|
+
import "./chunk-ET4Y4XCB.js";
|
|
31
|
+
import "./chunk-SWBF2LTK.js";
|
|
32
|
+
import "./chunk-UZ6QQWJT.js";
|
|
33
|
+
import "./chunk-A3UDOZB6.js";
|
|
34
|
+
import "./chunk-2MNLRIOX.js";
|
|
35
|
+
import "./chunk-3M4LFYNQ.js";
|
|
36
|
+
import "./chunk-AM4FKL4J.js";
|
|
37
|
+
import "./chunk-Q325JKYB.js";
|
|
38
|
+
import "./chunk-STSFNCY4.js";
|
|
39
|
+
import "./chunk-I4F5TCJH.js";
|
|
40
|
+
import "./chunk-5QU2P5CA.js";
|
|
41
|
+
import "./chunk-ZYJP6BOO.js";
|
|
42
|
+
import "./chunk-QO6BVGS5.js";
|
|
43
|
+
import "./chunk-JZGVVJSI.js";
|
|
44
|
+
import "./chunk-7G3CTU7I.js";
|
|
45
|
+
import "./chunk-6PBR37LN.js";
|
|
46
|
+
import "./chunk-T5KELPAR.js";
|
|
47
|
+
import "./chunk-622HUCZT.js";
|
|
48
|
+
import "./chunk-NAQDMEHV.js";
|
|
49
|
+
import "./chunk-5A2PLKZB.js";
|
|
50
|
+
import "./chunk-AHJWCYQO.js";
|
|
51
|
+
import "./chunk-DX4QR4B2.js";
|
|
52
|
+
import "./chunk-6QXLMMT3.js";
|
|
53
|
+
import "./chunk-ZFDZKNGG.js";
|
|
54
|
+
import "./chunk-FWD7AL6N.js";
|
|
55
|
+
import "./chunk-2GNFDZA2.js";
|
|
56
|
+
import "./chunk-JTUKLCXS.js";
|
|
57
|
+
import "./chunk-4KHEMC32.js";
|
|
58
|
+
import "./chunk-U64O2MXY.js";
|
|
59
|
+
import "./chunk-ROY4YAEQ.js";
|
|
60
|
+
import "./chunk-P2HAGF6H.js";
|
|
61
|
+
import "./chunk-TLQE7ZN3.js";
|
|
62
|
+
import "./chunk-WRBKLYSJ.js";
|
|
63
|
+
import "./chunk-3LDULPRE.js";
|
|
64
|
+
import "./chunk-XW6KISBB.js";
|
|
65
|
+
import "./chunk-AWQ7BQTQ.js";
|
|
66
|
+
import "./chunk-EUUUMY7J.js";
|
|
67
|
+
import "./chunk-YLDALTWZ.js";
|
|
68
|
+
import "./chunk-5FBYXK5P.js";
|
|
69
|
+
import "./chunk-LLNZGEFK.js";
|
|
70
|
+
import "./chunk-QXTKSOFI.js";
|
|
71
|
+
import "./chunk-X2NL4KUO.js";
|
|
72
|
+
import "./chunk-3KZCLN4Z.js";
|
|
73
|
+
import "./chunk-FXFV3KU6.js";
|
|
74
|
+
import "./chunk-OPHB5ORL.js";
|
|
75
|
+
import "./chunk-UCQ2VUTG.js";
|
|
76
|
+
import "./chunk-DGWHAVRG.js";
|
|
77
|
+
import "./chunk-27GWNP2I.js";
|
|
78
|
+
import "./chunk-3YW23UFH.js";
|
|
79
|
+
import "./chunk-JGE7CAWB.js";
|
|
80
|
+
import "./chunk-PTHVMXZI.js";
|
|
81
|
+
import "./chunk-MXHSQOC4.js";
|
|
82
|
+
import "./chunk-6IUMKYWI.js";
|
|
83
|
+
import "./chunk-2CMJZDCL.js";
|
|
84
|
+
import "./chunk-CTMO46PK.js";
|
|
85
|
+
import "./chunk-ZDPP6RKB.js";
|
|
86
|
+
import "./chunk-K5BBGTYZ.js";
|
|
87
|
+
import "./chunk-LQCMKAJ7.js";
|
|
88
|
+
import "./chunk-YGZHHAAB.js";
|
|
89
|
+
import "./chunk-XVBGLISP.js";
|
|
90
|
+
import "./chunk-6HO3NCSJ.js";
|
|
91
|
+
import "./chunk-5V5XU32D.js";
|
|
92
|
+
import "./chunk-GSGDWJB5.js";
|
|
93
|
+
import "./chunk-HVRUQXGD.js";
|
|
94
|
+
import "./chunk-ERVIASGL.js";
|
|
95
|
+
import "./chunk-4POWHT2K.js";
|
|
96
|
+
import "./chunk-H2V3N23D.js";
|
|
97
|
+
import "./chunk-3JDU4VRL.js";
|
|
98
|
+
import "./chunk-WTPZRR4I.js";
|
|
99
|
+
import "./chunk-UTI5G6OJ.js";
|
|
100
|
+
import "./chunk-2EZ3ZJZZ.js";
|
|
101
|
+
import "./chunk-6MR5TI5V.js";
|
|
102
|
+
import "./chunk-5ZSO4T2G.js";
|
|
103
|
+
import "./chunk-XNCP4KYO.js";
|
|
104
|
+
import "./chunk-AKNCFVKZ.js";
|
|
105
|
+
import "./chunk-YU4HSQW7.js";
|
|
106
|
+
import "./chunk-TFFGOFVZ.js";
|
|
107
|
+
import "./chunk-EHP3WPEG.js";
|
|
108
|
+
import "./chunk-L5JYN3NM.js";
|
|
109
|
+
import "./chunk-Q7DGTQ5G.js";
|
|
110
|
+
import "./chunk-G554NZNI.js";
|
|
111
|
+
import "./chunk-N5GKCWE5.js";
|
|
112
|
+
import "./chunk-OXA6PSZT.js";
|
|
113
|
+
import "./chunk-VAX3UZOY.js";
|
|
114
|
+
import "./chunk-NZOWWHU5.js";
|
|
115
|
+
import "./chunk-4BW2SG2N.js";
|
|
116
|
+
import "./chunk-TTEIYD5P.js";
|
|
117
|
+
import "./chunk-CIMQZRRE.js";
|
|
118
|
+
import "./chunk-OHX6MIUZ.js";
|
|
119
|
+
import "./chunk-36JUQZVQ.js";
|
|
120
|
+
import "./chunk-PZ5AY32C.js";
|
|
121
|
+
export {
|
|
122
|
+
bundleEnvNames,
|
|
123
|
+
refreshEnvExample,
|
|
124
|
+
rerenderEnvExample
|
|
125
|
+
};
|
|
126
|
+
//# sourceMappingURL=env-example-refresh-ET5HMMDW.js.map
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import {
|
|
2
|
+
confirm
|
|
3
|
+
} from "./chunk-65HWOMGV.js";
|
|
4
|
+
import {
|
|
5
|
+
exportWorkspaceBundle
|
|
6
|
+
} from "./chunk-CJHQKJU4.js";
|
|
7
|
+
import "./chunk-3DRXWLJ5.js";
|
|
8
|
+
import "./chunk-X4DVXBFY.js";
|
|
9
|
+
import {
|
|
10
|
+
envValuesOf
|
|
11
|
+
} from "./chunk-45UIT5T2.js";
|
|
12
|
+
import "./chunk-HRVBLCVJ.js";
|
|
13
|
+
import {
|
|
14
|
+
refuseIfTracked,
|
|
15
|
+
requireSecretPathGitignored
|
|
16
|
+
} from "./chunk-YHEFQUQB.js";
|
|
17
|
+
import {
|
|
18
|
+
WORKSPACE_ENV_BASENAME,
|
|
19
|
+
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
20
|
+
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
21
|
+
WORKSPACE_ENV_FILE,
|
|
22
|
+
namesInEnvExample,
|
|
23
|
+
readWorkspaceEnvFile,
|
|
24
|
+
renderWorkspaceEnvFile
|
|
25
|
+
} from "./chunk-DAD3ONIS.js";
|
|
26
|
+
import {
|
|
27
|
+
NothingTrackedError,
|
|
28
|
+
memoCredential,
|
|
29
|
+
refuseProfileForLocal,
|
|
30
|
+
selectBackend
|
|
31
|
+
} from "./chunk-HHN734BU.js";
|
|
32
|
+
import "./chunk-LPECSJ2J.js";
|
|
33
|
+
import "./chunk-6NNTNXN7.js";
|
|
34
|
+
import {
|
|
35
|
+
resolveSource
|
|
36
|
+
} from "./chunk-QCNYHBL7.js";
|
|
37
|
+
import "./chunk-2ZUEE4EK.js";
|
|
38
|
+
import "./chunk-AN6BL47T.js";
|
|
39
|
+
import {
|
|
40
|
+
getAccessToken
|
|
41
|
+
} from "./chunk-ET4Y4XCB.js";
|
|
42
|
+
import "./chunk-SWBF2LTK.js";
|
|
43
|
+
import "./chunk-UZ6QQWJT.js";
|
|
44
|
+
import "./chunk-A3UDOZB6.js";
|
|
45
|
+
import "./chunk-2MNLRIOX.js";
|
|
46
|
+
import "./chunk-3M4LFYNQ.js";
|
|
47
|
+
import "./chunk-AM4FKL4J.js";
|
|
48
|
+
import {
|
|
49
|
+
requireBackendSlot
|
|
50
|
+
} from "./chunk-STSFNCY4.js";
|
|
51
|
+
import "./chunk-5QU2P5CA.js";
|
|
52
|
+
import "./chunk-ZYJP6BOO.js";
|
|
53
|
+
import "./chunk-QO6BVGS5.js";
|
|
54
|
+
import "./chunk-JZGVVJSI.js";
|
|
55
|
+
import "./chunk-7G3CTU7I.js";
|
|
56
|
+
import "./chunk-6PBR37LN.js";
|
|
57
|
+
import "./chunk-T5KELPAR.js";
|
|
58
|
+
import "./chunk-622HUCZT.js";
|
|
59
|
+
import {
|
|
60
|
+
contextFlags
|
|
61
|
+
} from "./chunk-NAQDMEHV.js";
|
|
62
|
+
import {
|
|
63
|
+
resolveBackendDir
|
|
64
|
+
} from "./chunk-5A2PLKZB.js";
|
|
65
|
+
import "./chunk-AHJWCYQO.js";
|
|
66
|
+
import "./chunk-DX4QR4B2.js";
|
|
67
|
+
import "./chunk-6QXLMMT3.js";
|
|
68
|
+
import "./chunk-ZFDZKNGG.js";
|
|
69
|
+
import "./chunk-FWD7AL6N.js";
|
|
70
|
+
import "./chunk-2GNFDZA2.js";
|
|
71
|
+
import "./chunk-JTUKLCXS.js";
|
|
72
|
+
import "./chunk-4KHEMC32.js";
|
|
73
|
+
import "./chunk-ROY4YAEQ.js";
|
|
74
|
+
import "./chunk-TLQE7ZN3.js";
|
|
75
|
+
import "./chunk-WRBKLYSJ.js";
|
|
76
|
+
import "./chunk-3LDULPRE.js";
|
|
77
|
+
import "./chunk-XW6KISBB.js";
|
|
78
|
+
import "./chunk-AWQ7BQTQ.js";
|
|
79
|
+
import "./chunk-EUUUMY7J.js";
|
|
80
|
+
import "./chunk-YLDALTWZ.js";
|
|
81
|
+
import "./chunk-5FBYXK5P.js";
|
|
82
|
+
import {
|
|
83
|
+
atomicWrite
|
|
84
|
+
} from "./chunk-LLNZGEFK.js";
|
|
85
|
+
import "./chunk-QXTKSOFI.js";
|
|
86
|
+
import "./chunk-X2NL4KUO.js";
|
|
87
|
+
import "./chunk-UCQ2VUTG.js";
|
|
88
|
+
import "./chunk-DGWHAVRG.js";
|
|
89
|
+
import {
|
|
90
|
+
UsageError,
|
|
91
|
+
detail,
|
|
92
|
+
info,
|
|
93
|
+
isMachineOutput,
|
|
94
|
+
relForwardSlash,
|
|
95
|
+
step,
|
|
96
|
+
success,
|
|
97
|
+
warn,
|
|
98
|
+
writeJson
|
|
99
|
+
} from "./chunk-PTHVMXZI.js";
|
|
100
|
+
import "./chunk-2CMJZDCL.js";
|
|
101
|
+
import "./chunk-5V5XU32D.js";
|
|
102
|
+
import {
|
|
103
|
+
isRepresentableName,
|
|
104
|
+
safeNames
|
|
105
|
+
} from "./chunk-GSGDWJB5.js";
|
|
106
|
+
import "./chunk-ERVIASGL.js";
|
|
107
|
+
import "./chunk-4POWHT2K.js";
|
|
108
|
+
import "./chunk-H2V3N23D.js";
|
|
109
|
+
import "./chunk-UTI5G6OJ.js";
|
|
110
|
+
import "./chunk-2EZ3ZJZZ.js";
|
|
111
|
+
import "./chunk-6MR5TI5V.js";
|
|
112
|
+
import {
|
|
113
|
+
shellQuote
|
|
114
|
+
} from "./chunk-5ZSO4T2G.js";
|
|
115
|
+
import "./chunk-XNCP4KYO.js";
|
|
116
|
+
import "./chunk-YU4HSQW7.js";
|
|
117
|
+
import "./chunk-TFFGOFVZ.js";
|
|
118
|
+
import "./chunk-L5JYN3NM.js";
|
|
119
|
+
import "./chunk-G554NZNI.js";
|
|
120
|
+
import "./chunk-N5GKCWE5.js";
|
|
121
|
+
import "./chunk-OXA6PSZT.js";
|
|
122
|
+
import "./chunk-VAX3UZOY.js";
|
|
123
|
+
import "./chunk-NZOWWHU5.js";
|
|
124
|
+
import "./chunk-4BW2SG2N.js";
|
|
125
|
+
import "./chunk-TTEIYD5P.js";
|
|
126
|
+
import "./chunk-CIMQZRRE.js";
|
|
127
|
+
import "./chunk-OHX6MIUZ.js";
|
|
128
|
+
import "./chunk-36JUQZVQ.js";
|
|
129
|
+
import "./chunk-PZ5AY32C.js";
|
|
130
|
+
|
|
131
|
+
// src/emit/env-pull-command.ts
|
|
132
|
+
import { existsSync } from "fs";
|
|
133
|
+
import { dirname, join } from "path";
|
|
134
|
+
var HELP = { command: "env", subcommand: "pull" };
|
|
135
|
+
function describeChange(before, after) {
|
|
136
|
+
const had = before ?? {};
|
|
137
|
+
const names = new Set(Object.keys(had));
|
|
138
|
+
return {
|
|
139
|
+
added: Object.keys(after).filter((n) => !names.has(n)),
|
|
140
|
+
// A name whose value is the same on both sides is not "replaced" — saying
|
|
141
|
+
// so turned an identical pull into a confirmation about nothing.
|
|
142
|
+
replaced: Object.keys(after).filter((n) => names.has(n) && had[n] !== after[n]),
|
|
143
|
+
lost: Object.keys(had).filter((n) => !Object.hasOwn(after, n))
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
async function runEnvPullCommand(args, opts = {}) {
|
|
147
|
+
const cwd = opts.deps?.cwd ?? process.cwd();
|
|
148
|
+
const deps = { ...opts.deps, cwd };
|
|
149
|
+
const slot = requireBackendSlot("env", "pull", "from");
|
|
150
|
+
const credential = memoCredential(() => getAccessToken(args));
|
|
151
|
+
const source = await selectBackend(slot, args.from, { credential, deps }).catch((err) => {
|
|
152
|
+
if (err instanceof NothingTrackedError) {
|
|
153
|
+
throw new UsageError(
|
|
154
|
+
`${err.message} Or fill in ${WORKSPACE_ENV_FILE} by hand from ${WORKSPACE_ENV_EXAMPLE_FILE}.`,
|
|
155
|
+
{ hintFor: err.hintFor }
|
|
156
|
+
);
|
|
157
|
+
}
|
|
158
|
+
throw err;
|
|
159
|
+
});
|
|
160
|
+
if (source.kind === "file") {
|
|
161
|
+
throw new Error("Internal: `env pull` resolved a bundle file as its source.");
|
|
162
|
+
}
|
|
163
|
+
refuseProfileForLocal(args.profile, [source.kind], slot);
|
|
164
|
+
const backendDir = resolveBackendDir(cwd, args.backendDir, (m) => new UsageError(
|
|
165
|
+
`${m} \`env pull\` writes backend values into the directory it is given.`,
|
|
166
|
+
{ hintFor: HELP }
|
|
167
|
+
));
|
|
168
|
+
const path = join(cwd, backendDir, WORKSPACE_ENV_BASENAME);
|
|
169
|
+
const rel = relForwardSlash(cwd, path) || WORKSPACE_ENV_FILE;
|
|
170
|
+
if (!existsSync(dirname(path))) {
|
|
171
|
+
throw new UsageError(
|
|
172
|
+
`No ${backendDir}/ directory, so there is nowhere to put ${rel}. Run this from a project that has one \u2014 \`xanosdk init\` writes it, \`xanosdk pull${contextFlags()}\` refreshes it, and \`--backend-dir <path>\` names it when this project keeps its backend somewhere discovery cannot find it.`,
|
|
173
|
+
{ hintFor: HELP }
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
refuseIfTracked(path, rel, HELP);
|
|
177
|
+
const resolved = await resolveSource(source, credential, deps);
|
|
178
|
+
step(`Reading env from ${resolved.target.label}`);
|
|
179
|
+
const bundle = await exportWorkspaceBundle(resolved.bearer, {
|
|
180
|
+
...resolved.target,
|
|
181
|
+
label: `Reading env from ${resolved.target.label}`,
|
|
182
|
+
// The no-leak guarantee has to hold on the failure path too.
|
|
183
|
+
safeErrors: true
|
|
184
|
+
}).catch(async (err) => {
|
|
185
|
+
const { unansweredRead, actualKind } = await import("./source-resolve-S2XA3XZF.js");
|
|
186
|
+
throw unansweredRead(err, `read the env of ${resolved.target.label}`, actualKind(resolved));
|
|
187
|
+
});
|
|
188
|
+
const values = Object.fromEntries(envValuesOf(bundle));
|
|
189
|
+
let existing;
|
|
190
|
+
let unreadable = false;
|
|
191
|
+
try {
|
|
192
|
+
existing = readWorkspaceEnvFile(path);
|
|
193
|
+
} catch {
|
|
194
|
+
unreadable = true;
|
|
195
|
+
}
|
|
196
|
+
const change = describeChange(existing, values);
|
|
197
|
+
const { declaredEnvNames, readableDeclaredEnvNames } = await import("./pull-command-VBO7C4S3.js");
|
|
198
|
+
const declared = readableDeclaredEnvNames(dirname(path)) ?? [
|
|
199
|
+
.../* @__PURE__ */ new Set([...declaredEnvNames(dirname(path)), ...namesInEnvExample(join(dirname(path), WORKSPACE_ENV_EXAMPLE_BASENAME))])
|
|
200
|
+
];
|
|
201
|
+
const valueless = declared.filter((n) => isRepresentableName(n) && !Object.hasOwn(values, n));
|
|
202
|
+
const sayValueless = () => {
|
|
203
|
+
if (valueless.length === 0) return;
|
|
204
|
+
const one = valueless.length === 1;
|
|
205
|
+
const to = args.from !== void 0 ? ` --to ${shellQuote(args.from)}` : "";
|
|
206
|
+
warn(
|
|
207
|
+
`${sentenceLabel(resolved)} holds no value for ${safeNames(valueless)}, which this project declares \u2014 so ${rel} has none for ${one ? "it" : "them"} either, and a deploy has nothing to send.`,
|
|
208
|
+
"env-pull.declared-missing",
|
|
209
|
+
[
|
|
210
|
+
...valueless.map(
|
|
211
|
+
(n) => `Set it on the backend (the value on stdin), then pull again: \`xanosdk env set ${n}${to}${contextFlags(args)}\``
|
|
212
|
+
),
|
|
213
|
+
`Or add ${one ? "it" : "them"} to ${rel} by hand.`
|
|
214
|
+
]
|
|
215
|
+
);
|
|
216
|
+
};
|
|
217
|
+
if (existing !== void 0 && existsSync(path) && change.added.length === 0 && change.replaced.length === 0 && change.lost.length === 0) {
|
|
218
|
+
success(`${rel} is already up to date with ${sourceLabel(resolved)} \u2014 nothing to write.`);
|
|
219
|
+
sayValueless();
|
|
220
|
+
if (isMachineOutput(args)) {
|
|
221
|
+
writeJson({
|
|
222
|
+
path: rel,
|
|
223
|
+
source: resolved.provenance,
|
|
224
|
+
written: false,
|
|
225
|
+
upToDate: true,
|
|
226
|
+
names: Object.keys(values),
|
|
227
|
+
omitted: [],
|
|
228
|
+
dropped: []
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
if (args.yes !== true && existsSync(path)) {
|
|
234
|
+
info(`${rel} will be REPLACED with the env of ${sourceLabel(resolved)}:`);
|
|
235
|
+
if (unreadable) detail(`the current ${rel} could not be parsed; it will be replaced wholesale`);
|
|
236
|
+
if (change.added.length > 0) detail(`added: ${safeNames(change.added)}`);
|
|
237
|
+
if (change.replaced.length > 0) detail(`value replaced: ${safeNames(change.replaced)}`);
|
|
238
|
+
if (change.lost.length > 0) detail(`present locally and will be LOST: ${safeNames(change.lost)}`);
|
|
239
|
+
if (Object.keys(values).length === 0) {
|
|
240
|
+
detail(`${sentenceLabel(resolved)} declares no env vars \u2014 the file will be written empty.`);
|
|
241
|
+
}
|
|
242
|
+
const { yesRerun } = await import("./retry-command-AS5EVREX.js");
|
|
243
|
+
const { rerun, note } = yesRerun(args, "env pull");
|
|
244
|
+
const ok = await confirm(`Overwrite ${rel}?`, {
|
|
245
|
+
flag: "--yes",
|
|
246
|
+
refusal: { details: { path: rel, written: false, wouldLose: change.lost.length }, rerun, note }
|
|
247
|
+
});
|
|
248
|
+
if (!ok) {
|
|
249
|
+
info("Nothing was written.");
|
|
250
|
+
if (isMachineOutput(args)) {
|
|
251
|
+
writeJson({ path: rel, source: resolved.provenance, written: false, upToDate: false, names: [], omitted: [], dropped: [] });
|
|
252
|
+
}
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
requireSecretPathGitignored(path, HELP);
|
|
257
|
+
refuseIfTracked(path, rel, HELP);
|
|
258
|
+
const { content, omitted } = renderWorkspaceEnvFile(
|
|
259
|
+
values,
|
|
260
|
+
{ source: sourceLabel(resolved), at: (/* @__PURE__ */ new Date()).toISOString() },
|
|
261
|
+
backendDir,
|
|
262
|
+
existsSync(join(dirname(path), WORKSPACE_ENV_EXAMPLE_BASENAME))
|
|
263
|
+
);
|
|
264
|
+
atomicWrite(path, content, { mode: 384 });
|
|
265
|
+
const written = Object.keys(values).length - omitted.length;
|
|
266
|
+
success(`Wrote ${written} env value${written === 1 ? "" : "s"} to ${rel} from ${sourceLabel(resolved)}.`);
|
|
267
|
+
sayValueless();
|
|
268
|
+
const dropped = change.lost.filter((n) => !valueless.includes(n));
|
|
269
|
+
if (dropped.length > 0) {
|
|
270
|
+
const one = dropped.length === 1;
|
|
271
|
+
warn(
|
|
272
|
+
`Dropped ${dropped.length} key${one ? "" : "s"} that ${one ? "was" : "were"} only in the local ${rel}: ${safeNames(dropped)}. ${sentenceLabel(resolved)} holds no value for ${one ? "it" : "them"}.`,
|
|
273
|
+
"env-pull.dropped-keys"
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
const badNames = omitted.filter((n) => !isRepresentableName(n));
|
|
277
|
+
const badValues = omitted.filter((n) => isRepresentableName(n));
|
|
278
|
+
if (badValues.length > 0) {
|
|
279
|
+
warn(
|
|
280
|
+
`${safeNames(badValues)} could not be written: the dotenv format carries no newlines or edge whitespace in a value. Pass ${badValues.length === 1 ? "it" : "each"} at deploy time with \`--env-var NAME=...\` \u2014 the value is still in the backend.`,
|
|
281
|
+
"env-pull.unwritable-value"
|
|
282
|
+
);
|
|
283
|
+
}
|
|
284
|
+
if (badNames.length > 0) {
|
|
285
|
+
const one = badNames.length === 1;
|
|
286
|
+
const to = args.from !== void 0 ? ` --to ${shellQuote(args.from)}` : "";
|
|
287
|
+
const typeable = badNames.every((n) => !/[\u0000-\u001F\u007F]/.test(n));
|
|
288
|
+
const unset = typeable ? ` with ${badNames.map((n) => `\`xanosdk env unset ${shellQuote(n)}${to}${contextFlags(args)}\``).join(", ")}` : "";
|
|
289
|
+
warn(
|
|
290
|
+
`${badNames.map((n) => `"${safeNames([n])}"`).join(", ")} could not be written: ${one ? "it is not a usable env var name" : "they are not usable env var names"} \u2014 a name is letters, digits and \`_\`, and does not start with a digit. No deploy can supply ${one ? "it" : "them"} either. Remove ${one ? "it" : "them"} from ${sourceLabel(resolved)}${unset}, and set the value again under a usable name with \`printf %s "$VALUE" | xanosdk env set NAME${to}${contextFlags(args)}\`.`,
|
|
291
|
+
"env-pull.invalid-name"
|
|
292
|
+
);
|
|
293
|
+
}
|
|
294
|
+
if (isMachineOutput(args)) {
|
|
295
|
+
const skipped = new Set(omitted);
|
|
296
|
+
writeJson({
|
|
297
|
+
path: rel,
|
|
298
|
+
source: resolved.provenance,
|
|
299
|
+
written: true,
|
|
300
|
+
// Always present, so a reader tests one key rather than its absence.
|
|
301
|
+
upToDate: false,
|
|
302
|
+
names: Object.keys(values).filter((n) => !skipped.has(n)),
|
|
303
|
+
omitted,
|
|
304
|
+
// Keys the file held that the source does not declare, now gone from it.
|
|
305
|
+
dropped: change.lost
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
function sourceLabel(resolved) {
|
|
310
|
+
if (resolved.provenance === "workspace") return "your workspace";
|
|
311
|
+
if (resolved.provenance === "local-engine") return "your local engine";
|
|
312
|
+
return resolved.provenance;
|
|
313
|
+
}
|
|
314
|
+
function sentenceLabel(resolved) {
|
|
315
|
+
const label = sourceLabel(resolved);
|
|
316
|
+
return label.startsWith("your ") ? `Y${label.slice(1)}` : label;
|
|
317
|
+
}
|
|
318
|
+
export {
|
|
319
|
+
runEnvPullCommand,
|
|
320
|
+
sentenceLabel,
|
|
321
|
+
sourceLabel
|
|
322
|
+
};
|
|
323
|
+
//# sourceMappingURL=env-pull-command-TNMNB3CV.js.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import {
|
|
2
|
+
otherCredentialRefusal,
|
|
3
|
+
reachableFirst,
|
|
4
|
+
resolveEphemeralName
|
|
5
|
+
} from "./chunk-SWBF2LTK.js";
|
|
6
|
+
import "./chunk-5QU2P5CA.js";
|
|
7
|
+
import "./chunk-ZYJP6BOO.js";
|
|
8
|
+
import "./chunk-QO6BVGS5.js";
|
|
9
|
+
import "./chunk-JZGVVJSI.js";
|
|
10
|
+
import "./chunk-622HUCZT.js";
|
|
11
|
+
import "./chunk-NAQDMEHV.js";
|
|
12
|
+
import "./chunk-FWD7AL6N.js";
|
|
13
|
+
import "./chunk-TLQE7ZN3.js";
|
|
14
|
+
import "./chunk-XW6KISBB.js";
|
|
15
|
+
import "./chunk-AWQ7BQTQ.js";
|
|
16
|
+
import "./chunk-EUUUMY7J.js";
|
|
17
|
+
import "./chunk-YLDALTWZ.js";
|
|
18
|
+
import "./chunk-5FBYXK5P.js";
|
|
19
|
+
import "./chunk-LLNZGEFK.js";
|
|
20
|
+
import "./chunk-QXTKSOFI.js";
|
|
21
|
+
import "./chunk-X2NL4KUO.js";
|
|
22
|
+
import "./chunk-PTHVMXZI.js";
|
|
23
|
+
import "./chunk-UTI5G6OJ.js";
|
|
24
|
+
import "./chunk-2EZ3ZJZZ.js";
|
|
25
|
+
import "./chunk-6MR5TI5V.js";
|
|
26
|
+
import "./chunk-5ZSO4T2G.js";
|
|
27
|
+
import "./chunk-XNCP4KYO.js";
|
|
28
|
+
import "./chunk-TFFGOFVZ.js";
|
|
29
|
+
import "./chunk-NZOWWHU5.js";
|
|
30
|
+
import "./chunk-4BW2SG2N.js";
|
|
31
|
+
import "./chunk-CIMQZRRE.js";
|
|
32
|
+
import "./chunk-OHX6MIUZ.js";
|
|
33
|
+
import "./chunk-36JUQZVQ.js";
|
|
34
|
+
import "./chunk-PZ5AY32C.js";
|
|
35
|
+
export {
|
|
36
|
+
otherCredentialRefusal,
|
|
37
|
+
reachableFirst,
|
|
38
|
+
resolveEphemeralName
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=env-target-O4HRKTGZ.js.map
|