nolo-cli 0.259.0-alpha.1 → 0.260.0-alpha.1
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/README.md +1 -1
- package/{_executeModel-MTM4BJK3.js → _executeModel-EO6JFCOF.js} +97 -83
- package/accountResolver-NGICIMEE.js +1 -1
- package/{action-C6IQAKN4.js → action-WIA56QT4.js} +12 -10
- package/{addContentAction-53364YDW.js → addContentAction-OCMWZLYG.js} +14 -13
- package/{addDialogAgentAction-U5DD5EN5.js → addDialogAgentAction-ER2NZ7BC.js} +20 -24
- package/{agentDeleteCommand-53NN3VSK.js → agentDeleteCommand-KSXSNPAU.js} +184 -146
- package/{agentEmailCommands-KOGGIT6I.js → agentEmailCommands-NXRWS7NS.js} +142 -126
- package/{agentGrantCommands-L6O2HVJI.js → agentGrantCommands-D2S7LCTU.js} +8 -5
- package/{agentListCommands-62UYUQDI.js → agentListCommands-PFXGZZ3Y.js} +87 -68
- package/{agentMachineCommands-W6TNJXEA.js → agentMachineCommands-2Q55CSL4.js} +68 -59
- package/{agentProviderCommands-QLTABYR7.js → agentProviderCommands-EUNS7Y2Z.js} +10 -7
- package/{agentPullCommand-2EYJ5ENC.js → agentPullCommand-S2VMPSWL.js} +9 -6
- package/agentRecordCommands-FUFI526H.js +210 -0
- package/agentRun-ZNMUPDHF.js +250 -0
- package/agentRunCommand-ISVQ2UYC.js +248 -0
- package/{agentRunControl-LXMADX3N.js → agentRunControl-NEK44LDM.js} +19 -12
- package/{agentRuntimeLocal-YGNJMQW3.js → agentRuntimeLocal-SST4EPLT.js} +62 -49
- package/{agentSlice-3HHYUQLM.js → agentSlice-4ZJJJN4M.js} +15 -18
- package/appConfigCommands-MPHS6FHD.js +417 -0
- package/{appDeleteCommands-5COJ6CSG.js → appDeleteCommands-W26WGENW.js} +68 -58
- package/{appDeployCommands-3JPAT3XO.js → appDeployCommands-ER7IOF5E.js} +74 -59
- package/{appDeployStatusCommands-RHZKF3G4.js → appDeployStatusCommands-VKLL3A77.js} +68 -58
- package/{appGetCommands-73DXOAQW.js → appGetCommands-P6GXJNUD.js} +74 -58
- package/{appListCommands-HD5LOQ3G.js → appListCommands-ACA2IZZM.js} +74 -58
- package/appMigrateCommands-OGF4E2W6.js +230 -0
- package/appSourceCommands-GAHVBRUM.js +279 -0
- package/{authCommand-V6EOMZX6.js → authCommand-PXE7NZTQ.js} +26 -40
- package/{authCommands-T5FODCEG.js → authCommands-AZPYXTUB.js} +20 -17
- package/{builtinSkillRegistry-EDHD2UHU.js → builtinSkillRegistry-6XUWMAV5.js} +8 -6
- package/{chromeOpsCommands-3SSTDFRF.js → chromeOpsCommands-7UKKUOBU.js} +68 -18
- package/{chunk-KLMBM6P6.js → chunk-2CKFROQS.js} +2454 -1115
- package/{chunk-MJBLXJMP.js → chunk-2I4R6ZRV.js} +12 -9
- package/{chunk-FXEPZKNJ.js → chunk-2MIZHEND.js} +506 -64
- package/{chunk-TLE77UJ5.js → chunk-2OROOEOQ.js} +0 -1
- package/{chunk-6RSNVJGO.js → chunk-2ZBPWX7N.js} +4 -4
- package/chunk-35JIFLIG.js +30 -0
- package/{chunk-ZYPXOQS2.js → chunk-3EPED3UO.js} +1 -1
- package/{chunk-DNNPARJK.js → chunk-3QMN3T6L.js} +50 -37
- package/{chunk-DMPZMYH4.js → chunk-3R4AYHJR.js} +13 -1
- package/{chunk-HPDLPEUG.js → chunk-42JZNSAY.js} +267 -234
- package/{chunk-223KZUJ6.js → chunk-4HZCBA4Q.js} +18 -15
- package/{chunk-C5A54QS7.js → chunk-4INJGWE3.js} +18 -5
- package/chunk-4IVMDQBA.js +261 -0
- package/chunk-4Y6CZ2N4.js +82 -0
- package/{chunk-OKAXQFON.js → chunk-52BNL6GP.js} +4 -4
- package/{chunk-KZ4A7EIV.js → chunk-56OAS5RZ.js} +1 -1
- package/{chunk-QGFLVQ6E.js → chunk-6KUTNAPU.js} +4 -14
- package/{chunk-MNFUKRRU.js → chunk-6XAAKRJB.js} +7 -7
- package/{chunk-P27E22MA.js → chunk-6Z6DGDPI.js} +1 -1
- package/chunk-72VWN4VK.js +51 -0
- package/{chunk-L4XST72F.js → chunk-75FZ2Z7C.js} +16027 -17392
- package/{chunk-ADYWV732.js → chunk-76B6YUQS.js} +264 -177
- package/{chunk-MXA54TQM.js → chunk-76K4GTY5.js} +1 -1
- package/{chunk-VNHZJEQN.js → chunk-7HUCUD2I.js} +3 -3
- package/chunk-7LR2IFUH.js +100 -0
- package/{chunk-S73EPYNC.js → chunk-7LS5ATRP.js} +20 -6
- package/{chunk-Y2TCTNUD.js → chunk-7QO6YSA4.js} +4 -4
- package/{chunk-DBJODIZ6.js → chunk-7RYH7YIY.js} +19 -27
- package/{chunk-KHYSFS3W.js → chunk-A454UXB6.js} +148 -73
- package/chunk-AMNZPQCY.js +635 -0
- package/chunk-AMTF6FJD.js +356 -0
- package/{chunk-4MXYCQBS.js → chunk-AQNWWJLH.js} +2 -56
- package/{chunk-WSLL7VV4.js → chunk-B4NA5UJR.js} +9 -9
- package/{chunk-LHCGKAFO.js → chunk-BKP325XS.js} +184 -112
- package/{chunk-PENRYZ4D.js → chunk-BPB3T5EU.js} +4 -7
- package/{chunk-46FETNLF.js → chunk-BTIFQBYW.js} +7 -6
- package/{chunk-2JHGUL5K.js → chunk-BVYHE6QD.js} +2 -2
- package/{chunk-KXOPLLFP.js → chunk-CA7LGAHV.js} +69 -9
- package/{chunk-2FZVXOFX.js → chunk-CEIWXKHP.js} +112 -200
- package/{chunk-AIFQKNPP.js → chunk-CL33RFD7.js} +1 -1
- package/{chunk-MPGR4ZNR.js → chunk-CRGPRAJ4.js} +46 -42
- package/{chunk-P4R5KXU7.js → chunk-CW6LRDSF.js} +5 -5
- package/{chunk-R3TUHCSJ.js → chunk-CZHIOBBK.js} +8 -3
- package/chunk-D3ONA3FP.js +762 -0
- package/chunk-D3SAQ6T7.js +1697 -0
- package/{chunk-PIVTQRX6.js → chunk-DDKA6V6X.js} +111 -12
- package/{chunk-KQHEGELM.js → chunk-DEAII55O.js} +16 -6
- package/{chunk-J55F3IEZ.js → chunk-DKJQEFNG.js} +1 -1
- package/chunk-DLXL4NSL.js +1179 -0
- package/{chunk-EJQE5HB7.js → chunk-DSBRIUX5.js} +4 -2
- package/{chunk-XRGBJHZX.js → chunk-E36V7MPY.js} +9 -5
- package/{chunk-4YPH5KRA.js → chunk-EDKMRDET.js} +1 -1
- package/chunk-EJHLDJWZ.js +58 -0
- package/{chunk-6B2OBX5B.js → chunk-EMFZXJTN.js} +15 -47
- package/chunk-ER6NTALN.js +34 -0
- package/chunk-EUHMI5KG.js +101 -0
- package/{chunk-YQLAFJRQ.js → chunk-FBNVJ2TO.js} +1 -1
- package/{chunk-Q2EERN52.js → chunk-FF5ZRKW7.js} +12 -7
- package/{chunk-YFEK7ACQ.js → chunk-FGD4NMTP.js} +4 -4
- package/{chunk-6XIE5ZGI.js → chunk-FGFJUFPS.js} +5 -6
- package/chunk-FI4DPLR7.js +902 -0
- package/chunk-FKVLQNGJ.js +25 -0
- package/{chunk-JCQ3WCQ3.js → chunk-FOC4TORM.js} +69 -3
- package/{chunk-JPXACKSW.js → chunk-G22P2J7O.js} +30 -81
- package/{chunk-7WHCIA5V.js → chunk-G5IAIGGD.js} +3 -8
- package/{chunk-5BIDJVNX.js → chunk-G5JGA5YM.js} +180 -31
- package/{chunk-57V4PADY.js → chunk-GMBWWBSJ.js} +781 -449
- package/{chunk-WS36XPJD.js → chunk-GYFKKTDI.js} +82 -6
- package/{chunk-KT7S7ANZ.js → chunk-GZ4I5EMM.js} +9 -9
- package/{chunk-324FWHUA.js → chunk-HHXF57CL.js} +12 -3
- package/chunk-HJTI7RZV.js +94 -0
- package/{chunk-QXTEEEIN.js → chunk-HPIY372N.js} +7 -7
- package/{chunk-Q2MPKE4B.js → chunk-HVRG27HI.js} +76 -26
- package/{chunk-HDKMVYNJ.js → chunk-I3NWAILT.js} +6 -4
- package/{chunk-JZO7KUF3.js → chunk-IM7HCFB4.js} +313 -275
- package/{chunk-UWWOWTW2.js → chunk-INN2PBW7.js} +1 -1
- package/chunk-IV6VUVLJ.js +88 -0
- package/chunk-J42X32PV.js +472 -0
- package/{chunk-UA3QTA2S.js → chunk-JHQNWV2C.js} +4441 -2569
- package/{chunk-R7XWZDOH.js → chunk-JUMQJSQF.js} +1423 -282
- package/{chunk-BIDSIRTS.js → chunk-JUNYPVL6.js} +10 -16
- package/chunk-JVEKCQAP.js +222 -0
- package/{chunk-KVMLM5VD.js → chunk-KAHYBAEN.js} +211 -472
- package/chunk-KDDXC2IH.js +148 -0
- package/chunk-KGKTN2NX.js +25 -0
- package/chunk-KGWE224L.js +246 -0
- package/chunk-L3UFGEDU.js +17157 -0
- package/{chunk-CBIGMWMI.js → chunk-LHJB4BXJ.js} +1 -1
- package/{chunk-7OVOZRZF.js → chunk-LIH7WSX5.js} +23 -379
- package/chunk-LJOPY4TL.js +443 -0
- package/{chunk-TRRXYFTR.js → chunk-LOFRSJX2.js} +1 -0
- package/{chunk-SQL7YNED.js → chunk-LPXBBC32.js} +71 -5
- package/chunk-LXP53WGF.js +168 -0
- package/chunk-MDAYRIP7.js +1889 -0
- package/chunk-MRACVEPZ.js +7 -0
- package/chunk-NHLLXINQ.js +8 -0
- package/{chunk-FP37ELBT.js → chunk-NTBTVKKB.js} +17 -25
- package/{chunk-LVZVSLKO.js → chunk-O7ZY6SUK.js} +5 -22
- package/{chunk-2C5VN7NH.js → chunk-P4XAHM4B.js} +1 -1
- package/chunk-PL5RKESU.js +40 -0
- package/{chunk-MHKPUGPD.js → chunk-PQ3QZMJK.js} +20 -4
- package/chunk-Q5FJJ6XI.js +103 -0
- package/{createAgentAutomationAction-GRZ6XY7Q.js → chunk-QKM55LP2.js} +3 -160
- package/{chunk-6YX2RAQN.js → chunk-QZCLCAYC.js} +89 -164
- package/{chunk-FE7G6DSP.js → chunk-R72QWIFO.js} +14 -4
- package/{chunk-JLZJL3WC.js → chunk-RDZ5OIAT.js} +370 -39
- package/{chunk-5RGU3J7P.js → chunk-REAE2SZK.js} +0 -1
- package/chunk-RF576RYE.js +117 -0
- package/chunk-RI7SXDJW.js +1317 -0
- package/{chunk-FEIVARWR.js → chunk-RIOAPUGV.js} +238 -25
- package/{chunk-2CT2J3O6.js → chunk-RL6H2A2Z.js} +2493 -4055
- package/{chunk-BZLGPM5B.js → chunk-RNLKWUVY.js} +7 -12
- package/{chunk-J7JRCOIW.js → chunk-RWXHGPWJ.js} +1 -1
- package/chunk-S7BF2OGX.js +432 -0
- package/{chunk-6VEO7Z3Y.js → chunk-SD4MBKZ7.js} +6 -6
- package/{chunk-KWNVPY6M.js → chunk-SGEBRBF3.js} +7 -4
- package/{chunk-6SOWMEAY.js → chunk-SR57FDTX.js} +2 -258
- package/{chunk-CEKRIR22.js → chunk-SU4NCTW4.js} +1 -1
- package/{chunk-Y2GWUBNS.js → chunk-SX6PDLBZ.js} +279 -149
- package/{chunk-XNNBXUEM.js → chunk-T4WU747C.js} +5 -5
- package/{chunk-53W5BXLN.js → chunk-TCOHWKDM.js} +54 -55
- package/{chunk-QIGQFON2.js → chunk-TXMFSGRY.js} +1 -1
- package/{chunk-UUCYUN6Y.js → chunk-UB7NV7NN.js} +1 -1
- package/{chunk-NCFKHYDM.js → chunk-UOLGGEEC.js} +774 -119
- package/{chunk-4EACJPZI.js → chunk-USFG4EWQ.js} +51 -42
- package/{chunk-LLUBUHNT.js → chunk-UYZOBSSO.js} +5 -9
- package/{chunk-XPETQ4MR.js → chunk-VDC3BW24.js} +24 -10
- package/chunk-VH356OQ3.js +425 -0
- package/{chunk-U6QNVOR5.js → chunk-VKM7DOYB.js} +130 -6
- package/{chunk-CJOOF4L5.js → chunk-VPAO5WQX.js} +17 -14
- package/{chunk-OYUMJMC5.js → chunk-W2RQYNPI.js} +5 -0
- package/{chunk-6BMTKYAO.js → chunk-W2Z5E2R7.js} +126 -698
- package/{chunk-4ZCTKB27.js → chunk-W5GKF5ZW.js} +1 -0
- package/{chunk-NUHQO3RB.js → chunk-WIVVNJUS.js} +1 -1
- package/chunk-WLJNHFEB.js +1710 -0
- package/chunk-WMBJDXMY.js +408 -0
- package/chunk-WSQLCWLQ.js +201 -0
- package/{chunk-YN23INFZ.js → chunk-WXD6Y7DW.js} +23 -2
- package/{chunk-OOVOAG4Q.js → chunk-WY6DMHMG.js} +1 -1
- package/{chunk-6K32PBRY.js → chunk-XJW6SLBZ.js} +3 -3
- package/{chunk-7BIJFGKS.js → chunk-XQFDCRG3.js} +105 -51
- package/chunk-XT6C2QZW.js +46 -0
- package/{chunk-5YS6QHGT.js → chunk-Y7THFNVJ.js} +9 -9
- package/{chunk-ZEZC7IIM.js → chunk-YFSM2366.js} +35 -35
- package/{chunk-RD3QLZQV.js → chunk-YM5XULB2.js} +324 -2
- package/{chunk-FZENZCIA.js → chunk-YNP3ITPU.js} +19 -12
- package/{chunk-U35UUM5K.js → chunk-YOUSQIIK.js} +1 -1
- package/{chunk-RIWKZT7E.js → chunk-YRPIUIEQ.js} +11 -9
- package/{chunk-IYLUK67R.js → chunk-YU235GGN.js} +25 -8
- package/chunk-YWEZSBLL.js +790 -0
- package/chunk-Z3KTXWWB.js +76 -0
- package/{chunk-YLAHYLDQ.js → chunk-ZC3CMUKU.js} +2 -89
- package/chunk-ZD7OULYZ.js +368 -0
- package/{chunk-5P3PPQVP.js → chunk-ZQAADXSF.js} +1 -1
- package/{chunk-HQUGB2HM.js → chunk-ZTCMXPIS.js} +62 -50
- package/{cliAgentConfigHelpers-BXHQ3PXP.js → cliAgentConfigHelpers-KMXS7JP5.js} +20 -14
- package/{cliAuthorityBrokerClient-TFNXJLXL.js → cliAuthorityBrokerClient-3SKOA7OZ.js} +3 -1
- package/cliAuthorityBrokerProcess-DCCUT4YQ.js +34 -0
- package/{cliEnvHelpers-CNMP3RDX.js → cliEnvHelpers-YDGDHIEE.js} +5 -2
- package/{cliExecutor-K6FDZTQ2.js → cliExecutor-Z62UBJ5S.js} +12 -6
- package/cliLocalAgentRecordReader-X2YHEBWI.js +113 -0
- package/cloudAutomationCommands-C6Q3BFRB.js +310 -0
- package/{commandRegistry-IFYQLPGM.js → commandRegistry-TYYYTW5E.js} +260 -121
- package/{contentThunks-QCFCD2X3.js → contentThunks-E6BJ5YSX.js} +45 -43
- package/{cooldownCommands-WDOI5VD7.js → cooldownCommands-FPAFS7XG.js} +1 -1
- package/createAgentAutomationAction-L3NLCIIW.js +172 -0
- package/{createDialogAction-ZAJERW62.js → createDialogAction-QSWKRPWQ.js} +46 -42
- package/{createPageAction-QCVBMP4C.js → createPageAction-ZVVUT4CZ.js} +49 -45
- package/{db-VR74ADGC.js → db-KTQ3LL2Q.js} +3 -3
- package/{dbSlice-RWPSVHBC.js → dbSlice-SEVKNA7A.js} +21 -16
- package/deleteDbKey-43MTK2DI.js +86 -0
- package/{dialogCommands-4IEQUALS.js → dialogCommands-UVMTIFSA.js} +80 -66
- package/{dialogMessageRecord-OAV77LT7.js → dialogMessageRecord-2HJTEXQX.js} +1 -1
- package/{dialogNotifyCommand-IASQGEMW.js → dialogNotifyCommand-LMWF7EQI.js} +22 -14
- package/dialogPortabilityCommands-PAMLEBST.js +3036 -0
- package/{dialogSlice-XFYID6KE.js → dialogSlice-VHPXENDZ.js} +43 -42
- package/{dialogTraceCommand-Y67NRFCV.js → dialogTraceCommand-SO2WKAXW.js} +83 -69
- package/{dialogUsageCommand-WJ3U6KZU.js → dialogUsageCommand-EUO6JXTD.js} +6 -3
- package/{docCreateCommands-QLRIWRQE.js → docCreateCommands-H4RLIUNX.js} +68 -59
- package/{docDeleteCommands-XPRYA532.js → docDeleteCommands-OVAKCBMT.js} +68 -59
- package/{docReadCommands-EXQI7ETH.js → docReadCommands-KFISIUVA.js} +67 -58
- package/{docStore-MWFUKZL2.js → docStore-X7BEA735.js} +16 -17
- package/{docUpdateCommands-EFBFQV77.js → docUpdateCommands-VOEER36L.js} +68 -59
- package/{ebookDownloaderAgentCommand-DYSKF5ZY.js → ebookDownloaderAgentCommand-2DHPGEOQ.js} +14 -17
- package/{fetchMessages-TQEUZD7H.js → fetchMessages-RGPIYEPZ.js} +2 -2
- package/{getPricing-5BLZRPTM.js → getPricing-BK6CUBAE.js} +8 -4
- package/{handleSendMessageAction-GG3TR62X.js → handleSendMessageAction-GQ2KKOET.js} +265 -119
- package/{hostCredentialCreate-26S6DDJ5.js → hostCredentialCreate-PJAIKZQP.js} +138 -122
- package/index.js +35 -21
- package/{keys-RWF7UCB4.js → keys-FXEGMKSG.js} +2 -2
- package/localAutomationCommands-UU66LOWB.js +198 -0
- package/localAutomationRuntime-SW4R42SZ.js +60 -0
- package/{localDialogRead-BJJT3TF5.js → localDialogRead-W2EVXISA.js} +2 -2
- package/{localRuntimeAdapter-VREWZWPC.js → localRuntimeAdapter-WRBLXFUZ.js} +136 -119
- package/localRuntimeAuthority-3YDFZD3L.js +44 -0
- package/{localRuntimeDb-ZJFGNHML.js → localRuntimeDb-CJWJK47G.js} +1 -1
- package/{machineCommands-CL5XK5UC.js → machineCommands-JFYED66N.js} +251 -357
- package/{machineInfo-LWHTEBHJ.js → machineInfo-BJIU3WQ5.js} +4 -2
- package/machineWsRunDispatch-CZUV2FXE.js +227 -0
- package/{mcpLocalAuthorizeCommand-RBXJDE6J.js → mcpLocalAuthorizeCommand-HLU72QME.js} +40 -22
- package/mcpLocalManageCommands-OHHU6F5C.js +212 -0
- package/{memberThunks-43B7UYC5.js → memberThunks-FJW4GPM5.js} +102 -22
- package/{memoryCommands-BC6REPQB.js → memoryCommands-2RLHDMU2.js} +25 -34
- package/{models-ZX2BYIMB.js → models-TOXYINNM.js} +3 -2
- package/{offlineMarxistsAgentCommand-XVXUE6G5.js → offlineMarxistsAgentCommand-WZBJBCPZ.js} +16 -22
- package/package.json +3 -3
- package/parityCommands-7EWR34P3.js +613 -0
- package/{projectArchive-OC63TWTD.js → projectArchive-JIVRMXVV.js} +49 -45
- package/{providerPresetApply-NTJUINI6.js → providerPresetApply-IRJ56XIZ.js} +12 -16
- package/{providerRegistry-W45SLUV6.js → providerRegistry-26PAUYH2.js} +3 -13
- package/{read-KG6INYUT.js → read-6YR57D6V.js} +11 -10
- package/{readDocTool-N3GA52JR.js → readDocTool-NKOGL2MW.js} +5 -1
- package/{readlineWorkspace-2NO6D6IZ.js → readlineWorkspace-V26AN2FL.js} +926 -572
- package/{rememberExplicit-CPAPONSI.js → rememberExplicit-7KX4HXQC.js} +4 -4
- package/remove-BF33RCTH.js +32 -0
- package/{removeDialogAgentAction-EEVSOQOJ.js → removeDialogAgentAction-GWHBWF4W.js} +22 -26
- package/{runAgentClientLoop-U7V32UTD.js → runAgentClientLoop-EKD2EEEA.js} +117 -82
- package/{runtimeDoctorCommands-V3M3JTUV.js → runtimeDoctorCommands-IALUR5BZ.js} +23 -16
- package/{secretCommands-KVVZS7A6.js → secretCommands-CSTQYB6T.js} +2 -2
- package/{setDialogExtraReferencesAction-DNO5POHA.js → setDialogExtraReferencesAction-RL6FGO7T.js} +16 -17
- package/{setPrimaryDialogAgentAction-QABBEO4C.js → setPrimaryDialogAgentAction-XJASBB3K.js} +23 -27
- package/{settingThunks-DVKG4X4S.js → settingThunks-ZT7ZYXXL.js} +170 -497
- package/{skillDiscovery-5GEGWJ6N.js → skillDiscovery-IUEZZG2B.js} +3 -3
- package/{spaceCommands-7QKXKBDQ.js → spaceCommands-65WQHVOI.js} +68 -57
- package/spacePruneCommand-PTMRUWYJ.js +233 -0
- package/{store-Z53ICFL3.js → store-WSAVTR32.js} +3 -1
- package/{streamAgentChatTurn-UAGFOXNJ.js → streamAgentChatTurn-B5NICHZW.js} +225 -137
- package/{switchDialogAgentAction-KYWJSGOO.js → switchDialogAgentAction-X6DFOIAX.js} +19 -23
- package/{tableCommands-EFA754RE.js → tableCommands-6E77VD73.js} +28 -49
- package/{toolApiClient-N5PYW2R3.js → toolApiClient-GTTWEV6P.js} +15 -4
- package/{tools-2Q2LBDUC.js → tools-UMCPIQX6.js} +73 -63
- package/{tuiRestart-4QDWLHYZ.js → tuiRestart-O7UDLNQU.js} +20 -13
- package/tuiSummaryLlmCaller-7APIUIIV.js +52 -0
- package/{updateCommands-GJGRS6JK.js → updateCommands-DXDIAQFS.js} +12 -7
- package/{updateDialogTitleAction-GGNTTI5L.js → updateDialogTitleAction-HZLKWVKM.js} +57 -58
- package/{usageCommand-WI6SQOPB.js → usageCommand-WYLNBDHB.js} +6 -8
- package/{usageRebuildCommand-WQRLLZAT.js → usageRebuildCommand-AEUPY2PE.js} +11 -15
- package/{windowsSelfUpdate-C7LGVWYX.js → windowsSelfUpdate-SXSVXK4X.js} +2 -2
- package/workContext-ZAW6VXT7.js +18 -0
- package/workContextQueryProjection-CACY5VFE.js +23 -0
- package/{workloadLifecycle-DYX5ZMAT.js → workloadLifecycle-P2SJVV3S.js} +1 -1
- package/agentFavoriteCommands-7LOP3HUD.js +0 -186
- package/agentRecordCommands-TPE7NSZ6.js +0 -194
- package/agentRunCommand-DMVGBPLI.js +0 -232
- package/chunk-2MBTWINN.js +0 -89
- package/chunk-523DITKR.js +0 -32
- package/chunk-BUDVRYES.js +0 -2213
- package/chunk-BZMDWGQQ.js +0 -47
- package/chunk-GAHJLSDO.js +0 -107
- package/chunk-GYX6XTAI.js +0 -84
- package/chunk-HNUWUO75.js +0 -93
- package/chunk-HSBHS6KT.js +0 -33401
- package/chunk-KG27JIG4.js +0 -136
- package/chunk-OB4FBZXJ.js +0 -364
- package/chunk-OKH74FML.js +0 -3746
- package/chunk-OLZBQWZU.js +0 -6
- package/chunk-OOV5JN25.js +0 -1317
- package/chunk-OQFOE4SJ.js +0 -405
- package/chunk-PXYBUFDB.js +0 -53
- package/chunk-R3FZHW4Q.js +0 -103
- package/chunk-R3MV2GII.js +0 -106
- package/chunk-SCAC3NM5.js +0 -11751
- package/chunk-SR4FE5VD.js +0 -9
- package/chunk-SYTHYBMI.js +0 -3558
- package/chunk-UKZX3NHN.js +0 -48
- package/chunk-UVLYNWIE.js +0 -74
- package/chunk-VQX5JJNI.js +0 -861
- package/chunk-X4O7FJF5.js +0 -160
- package/chunk-YJPK35HB.js +0 -175
- package/chunk-YNIYE47Z.js +0 -105
- package/chunk-Z4PCXPUE.js +0 -127
- package/chunk-ZR5IVL4N.js +0 -862
- package/chunk-ZTHAJU3O.js +0 -2537
- package/cliAuthorityBrokerProcess-5ZFBTHLB.js +0 -22
- package/cliLocalAgentRecordReader-34UKRBLY.js +0 -104
- package/deleteFile-ECU6FU5C.js +0 -55
- package/localRuntimeAuthority-UF2DAQ3F.js +0 -28
- package/machineWsRunDispatch-TBVOYOAH.js +0 -209
- package/markdownToSlate-PXYAIBVL.js +0 -8
- package/tuiSummaryLlmCaller-HROLGN4F.js +0 -45
- package/webapi-QVV65DQF.js +0 -2487
- package/workContext-Y3ADAPZU.js +0 -14
- package/{chunk-USGHJSGO.js → chunk-GX2MFKF3.js} +3 -3
- package/{chunk-PHREU2KZ.js → chunk-WX266G2C.js} +0 -0
- package/{chunk-DXWGFL2Z.js → chunk-YY7IGJMN.js} +3 -3
|
@@ -2,16 +2,19 @@ import {
|
|
|
2
2
|
deleteDialog,
|
|
3
3
|
runtime_default,
|
|
4
4
|
toast
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RL6H2A2Z.js";
|
|
6
6
|
import {
|
|
7
7
|
getAllMemberSpaces,
|
|
8
8
|
getCurrentSpaceId,
|
|
9
9
|
getCurrentSpaceIdRaw,
|
|
10
10
|
updateCurrentSpaceIfMatch
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WXD6Y7DW.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./chunk-
|
|
13
|
+
createAsyncThunk
|
|
14
|
+
} from "./chunk-AMNZPQCY.js";
|
|
15
|
+
import {
|
|
16
|
+
formatLocalIso
|
|
17
|
+
} from "./chunk-PL5RKESU.js";
|
|
15
18
|
import {
|
|
16
19
|
UNCATEGORIZED_ID,
|
|
17
20
|
addContentAction,
|
|
@@ -23,26 +26,28 @@ import {
|
|
|
23
26
|
patchIndividualContentRecord,
|
|
24
27
|
readContentRecordForSpaceSync,
|
|
25
28
|
syncContentRecordSpaceId
|
|
26
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BTIFQBYW.js";
|
|
27
30
|
import {
|
|
28
31
|
createSpaceKey,
|
|
29
32
|
normalizeSpaceId
|
|
30
33
|
} from "./chunk-UAD2WT54.js";
|
|
31
34
|
import {
|
|
32
35
|
patch,
|
|
36
|
+
protectedSyncStateKey,
|
|
33
37
|
read,
|
|
34
38
|
readAndWait,
|
|
35
39
|
remove,
|
|
40
|
+
unwrapDbResult,
|
|
36
41
|
uploadFileAction,
|
|
37
42
|
upsertSSREntity,
|
|
38
43
|
write
|
|
39
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-76B6YUQS.js";
|
|
40
45
|
import {
|
|
41
46
|
resolveFileCategory
|
|
42
47
|
} from "./chunk-3PVYUPXK.js";
|
|
43
48
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./chunk-
|
|
49
|
+
emitUserDataUpdated
|
|
50
|
+
} from "./chunk-GYFKKTDI.js";
|
|
46
51
|
import {
|
|
47
52
|
DEVICE_LOCAL_OWNER_ID,
|
|
48
53
|
getRuntimeServerContext,
|
|
@@ -50,19 +55,17 @@ import {
|
|
|
50
55
|
resolveReplicationServers,
|
|
51
56
|
scheduleDeleteReplication,
|
|
52
57
|
scheduleWriteReplication
|
|
53
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-42JZNSAY.js";
|
|
54
59
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
60
|
+
require_react,
|
|
61
|
+
selectIdentityUserId
|
|
62
|
+
} from "./chunk-YM5XULB2.js";
|
|
57
63
|
import {
|
|
58
64
|
getIsDesktopApp
|
|
59
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-I3NWAILT.js";
|
|
60
66
|
import {
|
|
61
67
|
createClientLogger
|
|
62
68
|
} from "./chunk-QQ56R7KS.js";
|
|
63
|
-
import {
|
|
64
|
-
selectIdentityUserId
|
|
65
|
-
} from "./chunk-PXYBUFDB.js";
|
|
66
69
|
import {
|
|
67
70
|
asRecordOrEmpty
|
|
68
71
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -74,7 +77,7 @@ import {
|
|
|
74
77
|
} from "./chunk-BV3FLP2L.js";
|
|
75
78
|
import {
|
|
76
79
|
isSystemAdmin
|
|
77
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-ZQAADXSF.js";
|
|
78
81
|
import {
|
|
79
82
|
SEPARATOR,
|
|
80
83
|
createKey,
|
|
@@ -84,7 +87,7 @@ import {
|
|
|
84
87
|
metaKey,
|
|
85
88
|
rowKey,
|
|
86
89
|
splitKey
|
|
87
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-DLXL4NSL.js";
|
|
88
91
|
import {
|
|
89
92
|
ulid
|
|
90
93
|
} from "./chunk-OJKUU3LP.js";
|
|
@@ -94,15 +97,15 @@ import {
|
|
|
94
97
|
import {
|
|
95
98
|
asTrimmedNonEmptyStringArray
|
|
96
99
|
} from "./chunk-I42VC5KR.js";
|
|
97
|
-
import {
|
|
98
|
-
asOptionalPositiveFiniteNumber
|
|
99
|
-
} from "./chunk-U6VC4MU4.js";
|
|
100
100
|
import {
|
|
101
101
|
asTrimmedString
|
|
102
102
|
} from "./chunk-3EUW3WEO.js";
|
|
103
103
|
import {
|
|
104
104
|
asOptionalFiniteNumber
|
|
105
105
|
} from "./chunk-WWC7I6TA.js";
|
|
106
|
+
import {
|
|
107
|
+
asOptionalPositiveFiniteNumber
|
|
108
|
+
} from "./chunk-U6VC4MU4.js";
|
|
106
109
|
import {
|
|
107
110
|
isRecord
|
|
108
111
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -115,7 +118,6 @@ import {
|
|
|
115
118
|
|
|
116
119
|
// packages/render/table/tableStore.ts
|
|
117
120
|
var import_react = __toESM(require_react(), 1);
|
|
118
|
-
var import_formatISO2 = __toESM(require_formatISO(), 1);
|
|
119
121
|
import { ulid as ulid3 } from "ulid";
|
|
120
122
|
|
|
121
123
|
// packages/core/logger.ts
|
|
@@ -151,6 +153,7 @@ var mergeTableRows = (...rowLists) => {
|
|
|
151
153
|
return Array.from(merged.values());
|
|
152
154
|
};
|
|
153
155
|
var TABLE_SYNC_ENVELOPE = "table-sync-v1";
|
|
156
|
+
var MAX_TABLE_SYNC_PAGES = 100;
|
|
154
157
|
var getLatestTableMeta = (snapshots) => {
|
|
155
158
|
let latestMeta = null;
|
|
156
159
|
for (const snapshot of snapshots) {
|
|
@@ -179,12 +182,18 @@ var loadLocalTableRows = async (db, tenantId, tableId) => {
|
|
|
179
182
|
}
|
|
180
183
|
return rows;
|
|
181
184
|
};
|
|
182
|
-
var
|
|
185
|
+
var fetchTableRowsPage = async (server, tenantId, tableId, headers, fetchImpl, cursor, externalSignal) => {
|
|
186
|
+
if (externalSignal?.aborted) {
|
|
187
|
+
throw new Error(`\u52A0\u8F7D\u8868 ${tableId} \u884C\u5DF2\u53D6\u6D88`);
|
|
188
|
+
}
|
|
183
189
|
const controller = new AbortController();
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
)
|
|
190
|
+
let timedOut = false;
|
|
191
|
+
const onExternalAbort = () => controller.abort();
|
|
192
|
+
externalSignal?.addEventListener("abort", onExternalAbort, { once: true });
|
|
193
|
+
const timeoutId = setTimeout(() => {
|
|
194
|
+
timedOut = true;
|
|
195
|
+
controller.abort();
|
|
196
|
+
}, TABLE_ROWS_FETCH_TIMEOUT_MS);
|
|
188
197
|
try {
|
|
189
198
|
const res = await fetchImpl(`${server}/rpc/listTableRows`, {
|
|
190
199
|
method: "POST",
|
|
@@ -194,7 +203,8 @@ var fetchTableRowsFromServer = async (server, tenantId, tableId, headers, fetchI
|
|
|
194
203
|
tenantId,
|
|
195
204
|
tableId,
|
|
196
205
|
includeDeleted: true,
|
|
197
|
-
envelope: TABLE_SYNC_ENVELOPE
|
|
206
|
+
envelope: TABLE_SYNC_ENVELOPE,
|
|
207
|
+
...cursor ? { cursor } : {}
|
|
198
208
|
}),
|
|
199
209
|
signal: controller.signal
|
|
200
210
|
});
|
|
@@ -221,14 +231,20 @@ var fetchTableRowsFromServer = async (server, tenantId, tableId, headers, fetchI
|
|
|
221
231
|
if (!data || typeof data !== "object" || !Array.isArray(data.rows)) {
|
|
222
232
|
throw new Error("\u670D\u52A1\u5668\u8FD4\u56DE\u683C\u5F0F\u9519\u8BEF\uFF1A\u9884\u671F\u4E3A\u6570\u7EC4");
|
|
223
233
|
}
|
|
234
|
+
const nextCursor = typeof data.nextCursor === "string" && data.nextCursor.length > 0 ? data.nextCursor : void 0;
|
|
224
235
|
return {
|
|
225
236
|
rows: data.rows,
|
|
226
237
|
deletedRows: Array.isArray(data.deletedRows) ? data.deletedRows : [],
|
|
227
238
|
tableMeta: data.tableMeta ?? null,
|
|
228
|
-
complete: data.complete === true
|
|
239
|
+
complete: data.complete === true && !nextCursor,
|
|
240
|
+
snapshotConsistent: data.snapshotConsistent === true && !nextCursor,
|
|
241
|
+
...nextCursor ? { nextCursor } : {}
|
|
229
242
|
};
|
|
230
243
|
} catch (err2) {
|
|
231
244
|
if (isAbortError(err2)) {
|
|
245
|
+
if (externalSignal?.aborted && !timedOut) {
|
|
246
|
+
throw new Error(`\u52A0\u8F7D\u8868 ${tableId} \u884C\u5DF2\u53D6\u6D88`);
|
|
247
|
+
}
|
|
232
248
|
throw new Error(
|
|
233
249
|
`\u52A0\u8F7D\u8868 ${tableId} \u884C\u8D85\u65F6\uFF1A${server} \u5728 ${TABLE_ROWS_FETCH_TIMEOUT_MS / 1e3}s \u5185\u65E0\u54CD\u5E94`
|
|
234
250
|
);
|
|
@@ -236,14 +252,74 @@ var fetchTableRowsFromServer = async (server, tenantId, tableId, headers, fetchI
|
|
|
236
252
|
throw err2;
|
|
237
253
|
} finally {
|
|
238
254
|
clearTimeout(timeoutId);
|
|
255
|
+
externalSignal?.removeEventListener("abort", onExternalAbort);
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
var fetchTableRowsFromServer = async (server, tenantId, tableId, headers, fetchImpl = fetch, externalSignal) => {
|
|
259
|
+
const expectedPrefix = rowKey.single(tenantId, tableId, "");
|
|
260
|
+
const allRows = [];
|
|
261
|
+
const allDeletedRows = [];
|
|
262
|
+
const seenCursors = /* @__PURE__ */ new Set();
|
|
263
|
+
let latestTableMeta = null;
|
|
264
|
+
let cursor;
|
|
265
|
+
for (let page = 0; page < MAX_TABLE_SYNC_PAGES; page++) {
|
|
266
|
+
const pageResult = await fetchTableRowsPage(
|
|
267
|
+
server,
|
|
268
|
+
tenantId,
|
|
269
|
+
tableId,
|
|
270
|
+
headers,
|
|
271
|
+
fetchImpl,
|
|
272
|
+
cursor,
|
|
273
|
+
externalSignal
|
|
274
|
+
);
|
|
275
|
+
allRows.push(...pageResult.rows);
|
|
276
|
+
allDeletedRows.push(...pageResult.deletedRows);
|
|
277
|
+
if (pageResult.tableMeta) {
|
|
278
|
+
latestTableMeta = pageResult.tableMeta;
|
|
279
|
+
}
|
|
280
|
+
if (pageResult.complete || !pageResult.nextCursor) {
|
|
281
|
+
return {
|
|
282
|
+
rows: allRows,
|
|
283
|
+
deletedRows: allDeletedRows,
|
|
284
|
+
tableMeta: latestTableMeta,
|
|
285
|
+
complete: pageResult.complete && !pageResult.nextCursor,
|
|
286
|
+
// Multi-page traversal without explicit server snapshot token is NEVER a consistent point-in-time snapshot (C1).
|
|
287
|
+
snapshotConsistent: page === 0 && pageResult.snapshotConsistent === true && !pageResult.nextCursor
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
const nextCursor = pageResult.nextCursor;
|
|
291
|
+
if (!nextCursor.startsWith(expectedPrefix) || nextCursor.length <= expectedPrefix.length || seenCursors.has(nextCursor) || cursor !== void 0 && nextCursor <= cursor) {
|
|
292
|
+
throw new Error(`\u52A0\u8F7D\u8868 ${tableId} \u884C\u5206\u9875\u6E38\u6807\u5F02\u5E38\uFF1A\u6E38\u6807\u8D8A\u754C\u6216\u672A\u524D\u8FDB`);
|
|
293
|
+
}
|
|
294
|
+
seenCursors.add(nextCursor);
|
|
295
|
+
cursor = nextCursor;
|
|
239
296
|
}
|
|
297
|
+
return {
|
|
298
|
+
rows: allRows,
|
|
299
|
+
deletedRows: allDeletedRows,
|
|
300
|
+
tableMeta: latestTableMeta,
|
|
301
|
+
complete: false
|
|
302
|
+
};
|
|
240
303
|
};
|
|
241
|
-
|
|
304
|
+
async function hasPendingRowSyncState(db, actorId, rowDbKey) {
|
|
305
|
+
if (!db || typeof db.get !== "function" || !actorId) return false;
|
|
306
|
+
try {
|
|
307
|
+
const state3 = await db.get(protectedSyncStateKey(actorId, rowDbKey));
|
|
308
|
+
if (!state3 || typeof state3 !== "object") return false;
|
|
309
|
+
return Array.isArray(state3.outbox) && state3.outbox.length > 0 || state3.workingCopy !== null;
|
|
310
|
+
} catch {
|
|
311
|
+
return false;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
var cacheMergedTableRows = async (db, mergedRows, actorId) => {
|
|
242
315
|
if (!db) return;
|
|
243
316
|
await Promise.all(
|
|
244
317
|
mergedRows.map(async (mergedRow) => {
|
|
245
318
|
if (!mergedRow?.dbKey) return;
|
|
246
319
|
try {
|
|
320
|
+
if (await hasPendingRowSyncState(db, actorId, mergedRow.dbKey)) {
|
|
321
|
+
return;
|
|
322
|
+
}
|
|
247
323
|
const localRow = await db.get(mergedRow.dbKey).catch(() => null);
|
|
248
324
|
if (!localRow) {
|
|
249
325
|
await db.put(mergedRow.dbKey, mergedRow);
|
|
@@ -264,7 +340,7 @@ var cacheMergedTableRows = async (db, mergedRows) => {
|
|
|
264
340
|
})
|
|
265
341
|
);
|
|
266
342
|
};
|
|
267
|
-
var clearStaleLocalRows = async (db, localRows, authoritativeRows) => {
|
|
343
|
+
var clearStaleLocalRows = async (db, localRows, authoritativeRows, actorId) => {
|
|
268
344
|
if (!db || typeof db.del !== "function") return;
|
|
269
345
|
const authoritativeKeys = new Set(
|
|
270
346
|
authoritativeRows.map((row) => row?.dbKey).filter((dbKey) => typeof dbKey === "string" && dbKey.length > 0)
|
|
@@ -273,6 +349,7 @@ var clearStaleLocalRows = async (db, localRows, authoritativeRows) => {
|
|
|
273
349
|
localRows.map(async (row) => {
|
|
274
350
|
const dbKey = row?.dbKey;
|
|
275
351
|
if (typeof dbKey !== "string" || authoritativeKeys.has(dbKey)) return;
|
|
352
|
+
if (await hasPendingRowSyncState(db, actorId, dbKey)) return;
|
|
276
353
|
try {
|
|
277
354
|
await db.del(dbKey);
|
|
278
355
|
} catch {
|
|
@@ -295,7 +372,8 @@ var fetchAndCacheTableRows = async ({
|
|
|
295
372
|
tableId,
|
|
296
373
|
token,
|
|
297
374
|
remoteServers = [],
|
|
298
|
-
fetchImpl = fetch
|
|
375
|
+
fetchImpl = fetch,
|
|
376
|
+
signal
|
|
299
377
|
}) => {
|
|
300
378
|
const headers = {
|
|
301
379
|
"Content-Type": "application/json"
|
|
@@ -308,7 +386,7 @@ var fetchAndCacheTableRows = async ({
|
|
|
308
386
|
const localRows = await loadLocalTableRows(db, tenantId, tableId);
|
|
309
387
|
const remoteResults = await Promise.allSettled(
|
|
310
388
|
serversToQuery.map(
|
|
311
|
-
(server) => fetchTableRowsFromServer(server, tenantId, tableId, headers, fetchImpl)
|
|
389
|
+
(server) => fetchTableRowsFromServer(server, tenantId, tableId, headers, fetchImpl, signal)
|
|
312
390
|
)
|
|
313
391
|
);
|
|
314
392
|
const fulfilledRemoteSnapshots = remoteResults.filter(
|
|
@@ -330,14 +408,27 @@ var fetchAndCacheTableRows = async ({
|
|
|
330
408
|
});
|
|
331
409
|
const authoritativeRemoteRows = remoteRowLists.flat();
|
|
332
410
|
const tableDeleted = allRemoteSnapshotsComplete && Boolean(getLatestTableMeta(fulfilledRemoteSnapshots)?.deletedAt);
|
|
333
|
-
|
|
334
|
-
|
|
411
|
+
const allRemoteSnapshotsConsistent = allRemoteSnapshotsComplete && fulfilledRemoteSnapshots.every((snapshot) => snapshot.snapshotConsistent === true);
|
|
412
|
+
if (allRemoteSnapshotsConsistent) {
|
|
413
|
+
await clearStaleLocalRows(db, localRows, authoritativeRemoteRows, tenantId);
|
|
414
|
+
}
|
|
415
|
+
const authoritativeRemoteKeys = allRemoteSnapshotsConsistent ? new Set(
|
|
416
|
+
authoritativeRemoteRows.map((remoteRow) => remoteRow?.dbKey).filter((dbKey) => typeof dbKey === "string" && dbKey.length > 0)
|
|
417
|
+
) : null;
|
|
418
|
+
const pendingProtectedKeys = /* @__PURE__ */ new Set();
|
|
419
|
+
for (const row of localRows) {
|
|
420
|
+
if (typeof row?.dbKey === "string" && await hasPendingRowSyncState(db, tenantId, row.dbKey)) {
|
|
421
|
+
pendingProtectedKeys.add(row.dbKey);
|
|
422
|
+
}
|
|
335
423
|
}
|
|
336
|
-
const localRowsForMerge =
|
|
337
|
-
(row) =>
|
|
424
|
+
const localRowsForMerge = authoritativeRemoteKeys ? localRows.filter(
|
|
425
|
+
(row) => typeof row?.dbKey === "string" && (authoritativeRemoteKeys.has(row.dbKey) || pendingProtectedKeys.has(row.dbKey))
|
|
338
426
|
) : localRows;
|
|
339
|
-
const
|
|
340
|
-
|
|
427
|
+
const filteredRemoteRowLists = remoteRowLists.map(
|
|
428
|
+
(list) => list.filter((row) => typeof row?.dbKey !== "string" || !pendingProtectedKeys.has(row.dbKey))
|
|
429
|
+
);
|
|
430
|
+
const mergedRows = mergeTableRows(localRowsForMerge, ...filteredRemoteRowLists);
|
|
431
|
+
await cacheMergedTableRows(db, mergedRows, tenantId);
|
|
341
432
|
return tableDeleted ? [] : mergedRows.filter((row) => !row?.deletedAt);
|
|
342
433
|
};
|
|
343
434
|
|
|
@@ -461,7 +552,6 @@ function addColumnOptionInMeta(meta, input, deps) {
|
|
|
461
552
|
}
|
|
462
553
|
|
|
463
554
|
// packages/render/table/createTableAction.ts
|
|
464
|
-
var import_formatISO = __toESM(require_formatISO(), 1);
|
|
465
555
|
import { ulid as ulid2 } from "ulid";
|
|
466
556
|
|
|
467
557
|
// packages/create/space/resolveCreationSpaceId.ts
|
|
@@ -571,7 +661,7 @@ var createTableAction = async ({
|
|
|
571
661
|
const spaceId = resolveCreationSpaceId(customSpaceId, getCurrentSpaceId());
|
|
572
662
|
const tableId = ulid2();
|
|
573
663
|
const now = /* @__PURE__ */ new Date();
|
|
574
|
-
const nowIso = (
|
|
664
|
+
const nowIso = formatLocalIso(now);
|
|
575
665
|
const dbKey = metaKey(userId, tableId);
|
|
576
666
|
const defaultTitle = runtime_default.t("space:newTable", {
|
|
577
667
|
defaultValue: "\u65B0\u5EFA\u8868\u683C"
|
|
@@ -654,7 +744,7 @@ var createTableAction = async ({
|
|
|
654
744
|
).unwrap();
|
|
655
745
|
}
|
|
656
746
|
if (typeof window !== "undefined") {
|
|
657
|
-
|
|
747
|
+
emitUserDataUpdated();
|
|
658
748
|
}
|
|
659
749
|
return dbKey;
|
|
660
750
|
};
|
|
@@ -757,6 +847,70 @@ var deleteTableAction = async ({ dbKey }, {
|
|
|
757
847
|
return dbKey;
|
|
758
848
|
};
|
|
759
849
|
|
|
850
|
+
// packages/render/table/inferTableColumns.ts
|
|
851
|
+
var TABLE_SYSTEM_ROW_FIELDS = /* @__PURE__ */ new Set([
|
|
852
|
+
"dbKey",
|
|
853
|
+
"tenantId",
|
|
854
|
+
"tableId",
|
|
855
|
+
"rowId",
|
|
856
|
+
"type",
|
|
857
|
+
"userId",
|
|
858
|
+
"authorName",
|
|
859
|
+
"authorAvatar",
|
|
860
|
+
"ownerId",
|
|
861
|
+
"createdAt",
|
|
862
|
+
"updatedAt",
|
|
863
|
+
"deletedAt"
|
|
864
|
+
]);
|
|
865
|
+
var ISO_DATETIME_RE = /^\d{4}-\d{2}-\d{2}(?:[T ]\d{2}:\d{2}(?::\d{2}(?:\.\d{1,6})?)?(?:Z|[+-]\d{2}:?\d{2})?)?$/;
|
|
866
|
+
function classifyScalarValue(value) {
|
|
867
|
+
if (value === null || value === void 0) return null;
|
|
868
|
+
if (typeof value === "boolean") return "boolean";
|
|
869
|
+
if (typeof value === "number" && Number.isFinite(value)) return "number";
|
|
870
|
+
if (typeof value === "string") {
|
|
871
|
+
const trimmed = value.trim();
|
|
872
|
+
if (!trimmed) return null;
|
|
873
|
+
if (ISO_DATETIME_RE.test(trimmed) && !Number.isNaN(Date.parse(trimmed))) {
|
|
874
|
+
return "datetime";
|
|
875
|
+
}
|
|
876
|
+
return "text";
|
|
877
|
+
}
|
|
878
|
+
return "text";
|
|
879
|
+
}
|
|
880
|
+
function mergeInferredKind(prev, next) {
|
|
881
|
+
if (next === null) return prev;
|
|
882
|
+
if (prev === null) return next;
|
|
883
|
+
if (prev === next) return prev;
|
|
884
|
+
return "text";
|
|
885
|
+
}
|
|
886
|
+
function inferColumnsFromRows(rows, options = {}) {
|
|
887
|
+
const generateId = options.generateId ?? ulid;
|
|
888
|
+
const maxRows = options.maxRows ?? 600;
|
|
889
|
+
const fieldKinds = /* @__PURE__ */ new Map();
|
|
890
|
+
const limit = Math.min(rows.length, maxRows);
|
|
891
|
+
for (let i = 0; i < limit; i++) {
|
|
892
|
+
const row = rows[i];
|
|
893
|
+
if (!row || typeof row !== "object" || Array.isArray(row)) continue;
|
|
894
|
+
for (const [field, value] of Object.entries(row)) {
|
|
895
|
+
if (!field || field === "__proto__" || field === "prototype" || field === "constructor" || TABLE_SYSTEM_ROW_FIELDS.has(field)) {
|
|
896
|
+
continue;
|
|
897
|
+
}
|
|
898
|
+
const prev = fieldKinds.get(field) ?? null;
|
|
899
|
+
fieldKinds.set(field, mergeInferredKind(prev, classifyScalarValue(value)));
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
const columns = [];
|
|
903
|
+
for (const [name, kind] of fieldKinds.entries()) {
|
|
904
|
+
columns.push({
|
|
905
|
+
id: generateId(),
|
|
906
|
+
name,
|
|
907
|
+
label: name,
|
|
908
|
+
type: kind ?? "text"
|
|
909
|
+
});
|
|
910
|
+
}
|
|
911
|
+
return columns;
|
|
912
|
+
}
|
|
913
|
+
|
|
760
914
|
// packages/render/table/tableStore.ts
|
|
761
915
|
async function safeDispatch(dispatch, action) {
|
|
762
916
|
if (!dispatch) return void 0;
|
|
@@ -857,8 +1011,11 @@ var initTable = createTableCommand(
|
|
|
857
1011
|
throw new Error("dispatch is required to initialize table");
|
|
858
1012
|
}
|
|
859
1013
|
const readAction = await dispatch(readAndWait(dbKey));
|
|
860
|
-
|
|
861
|
-
|
|
1014
|
+
let meta;
|
|
1015
|
+
try {
|
|
1016
|
+
meta = unwrapDbResult(readAction) || readAction;
|
|
1017
|
+
} catch {
|
|
1018
|
+
}
|
|
862
1019
|
if (meta && typeof meta === "object" && ("columns" in meta || "displayName" in meta || "tableId" in meta)) {
|
|
863
1020
|
setState((s) => {
|
|
864
1021
|
if (!isCurrentTableTarget(s, tenantId, tableId)) return s;
|
|
@@ -978,7 +1135,7 @@ var addRow = createTableCommand(
|
|
|
978
1135
|
});
|
|
979
1136
|
try {
|
|
980
1137
|
const { dbKey, rowId } = rowKey.create(tenantId, tableId);
|
|
981
|
-
const nowIso = (
|
|
1138
|
+
const nowIso = formatLocalIso(/* @__PURE__ */ new Date());
|
|
982
1139
|
const row = {
|
|
983
1140
|
dbKey,
|
|
984
1141
|
tenantId,
|
|
@@ -1039,7 +1196,7 @@ var deleteRow = createTableCommand(
|
|
|
1039
1196
|
if (!row) {
|
|
1040
1197
|
throw new Error(`\u5F53\u524D\u8868\u4E2D\u627E\u4E0D\u5230\u8981\u5220\u9664\u7684\u884C\uFF1A${dbKey}`);
|
|
1041
1198
|
}
|
|
1042
|
-
const nowIso = (
|
|
1199
|
+
const nowIso = formatLocalIso(/* @__PURE__ */ new Date());
|
|
1043
1200
|
const tombstoneRow = {
|
|
1044
1201
|
...row,
|
|
1045
1202
|
deletedAt: nowIso,
|
|
@@ -1117,7 +1274,7 @@ var addColumn = createTableCommand(
|
|
|
1117
1274
|
const result = addColumnToMeta(
|
|
1118
1275
|
meta,
|
|
1119
1276
|
{ columnName },
|
|
1120
|
-
{ id: ulid3(), nowIso: (
|
|
1277
|
+
{ id: ulid3(), nowIso: formatLocalIso(/* @__PURE__ */ new Date()) }
|
|
1121
1278
|
);
|
|
1122
1279
|
if (!result.ok) {
|
|
1123
1280
|
throw new Error(result.error);
|
|
@@ -1158,7 +1315,7 @@ var deleteColumn = createTableCommand(
|
|
|
1158
1315
|
meta,
|
|
1159
1316
|
state.rows,
|
|
1160
1317
|
{ columnName },
|
|
1161
|
-
{ nowIso: (
|
|
1318
|
+
{ nowIso: formatLocalIso(/* @__PURE__ */ new Date()) }
|
|
1162
1319
|
);
|
|
1163
1320
|
if (!result.ok) {
|
|
1164
1321
|
throw new Error(result.error);
|
|
@@ -1200,7 +1357,7 @@ var reorderColumn = createTableCommand(
|
|
|
1200
1357
|
const result = reorderColumnInMeta(
|
|
1201
1358
|
meta,
|
|
1202
1359
|
{ fromIndex, toIndex },
|
|
1203
|
-
{ nowIso: (
|
|
1360
|
+
{ nowIso: formatLocalIso(/* @__PURE__ */ new Date()) }
|
|
1204
1361
|
);
|
|
1205
1362
|
if (!result.ok) {
|
|
1206
1363
|
throw new Error(result.error);
|
|
@@ -1241,7 +1398,7 @@ var renameColumnLabel = createTableCommand(
|
|
|
1241
1398
|
const result = renameColumnLabelInMeta(
|
|
1242
1399
|
meta,
|
|
1243
1400
|
{ columnId, label: newLabel },
|
|
1244
|
-
{ nowIso: (
|
|
1401
|
+
{ nowIso: formatLocalIso(/* @__PURE__ */ new Date()) }
|
|
1245
1402
|
);
|
|
1246
1403
|
if (!result.ok) {
|
|
1247
1404
|
throw new Error(result.error);
|
|
@@ -1279,7 +1436,7 @@ var updateColumnWidth = createTableCommand(
|
|
|
1279
1436
|
const result = updateColumnWidthInMeta(
|
|
1280
1437
|
meta,
|
|
1281
1438
|
{ columnId, width },
|
|
1282
|
-
{ nowIso: (
|
|
1439
|
+
{ nowIso: formatLocalIso(/* @__PURE__ */ new Date()) }
|
|
1283
1440
|
);
|
|
1284
1441
|
if (!result.ok) {
|
|
1285
1442
|
throw new Error(result.error);
|
|
@@ -1317,7 +1474,7 @@ var addColumnOption = createTableCommand(
|
|
|
1317
1474
|
const result = addColumnOptionInMeta(
|
|
1318
1475
|
meta,
|
|
1319
1476
|
{ columnId, option },
|
|
1320
|
-
{ nowIso: (
|
|
1477
|
+
{ nowIso: formatLocalIso(/* @__PURE__ */ new Date()) }
|
|
1321
1478
|
);
|
|
1322
1479
|
if (!result.ok) {
|
|
1323
1480
|
throw new Error(result.error);
|
|
@@ -1359,7 +1516,7 @@ var renameTable = createTableCommand(
|
|
|
1359
1516
|
if (!meta || meta.tenantId !== tenantId || meta.tableId !== tableId) {
|
|
1360
1517
|
throw new Error("\u5F53\u524D\u6CA1\u6709\u52A0\u8F7D\u5BF9\u5E94\u7684\u8868\u5B9A\u4E49");
|
|
1361
1518
|
}
|
|
1362
|
-
const nowIso = (
|
|
1519
|
+
const nowIso = formatLocalIso(/* @__PURE__ */ new Date());
|
|
1363
1520
|
setState((s) => ({ ...s, error: null }));
|
|
1364
1521
|
try {
|
|
1365
1522
|
if (dispatch) {
|
|
@@ -1403,7 +1560,7 @@ var updateTableIcon = createTableCommand(
|
|
|
1403
1560
|
if (!meta || meta.tenantId !== tenantId || meta.tableId !== tableId) {
|
|
1404
1561
|
throw new Error("\u5F53\u524D\u6CA1\u6709\u52A0\u8F7D\u5BF9\u5E94\u7684\u8868\u5B9A\u4E49");
|
|
1405
1562
|
}
|
|
1406
|
-
const nowIso = (
|
|
1563
|
+
const nowIso = formatLocalIso(/* @__PURE__ */ new Date());
|
|
1407
1564
|
setState((s) => ({ ...s, error: null }));
|
|
1408
1565
|
try {
|
|
1409
1566
|
if (dispatch) {
|
|
@@ -1444,7 +1601,7 @@ var updateCell = createTableCommand(
|
|
|
1444
1601
|
const { dbKey, columnName, value } = args;
|
|
1445
1602
|
setState((s) => ({ ...s, error: null }));
|
|
1446
1603
|
try {
|
|
1447
|
-
const nowIso = (
|
|
1604
|
+
const nowIso = formatLocalIso(/* @__PURE__ */ new Date());
|
|
1448
1605
|
if (dispatch) {
|
|
1449
1606
|
await safeDispatch(
|
|
1450
1607
|
dispatch,
|
|
@@ -1478,6 +1635,60 @@ var updateCell = createTableCommand(
|
|
|
1478
1635
|
}
|
|
1479
1636
|
}
|
|
1480
1637
|
);
|
|
1638
|
+
var repairTableSchema = createTableCommand(
|
|
1639
|
+
"table/repairTableSchema",
|
|
1640
|
+
async (args, { dispatch } = {}) => {
|
|
1641
|
+
const { tenantId, tableId } = args;
|
|
1642
|
+
const targetDbKey = metaKey(tenantId, tableId);
|
|
1643
|
+
const meta = state.currentTable;
|
|
1644
|
+
const sourceRows = args.rows ?? state.rows;
|
|
1645
|
+
const inferredColumns = inferColumnsFromRows(sourceRows);
|
|
1646
|
+
if (inferredColumns.length === 0) {
|
|
1647
|
+
throw new Error("\u5F53\u524D\u8868\u4E2D\u6CA1\u6709\u53EF\u7528\u4E8E\u63A8\u65AD\u5217\u5B9A\u4E49\u7684\u4E1A\u52A1\u5B57\u6BB5\u3002");
|
|
1648
|
+
}
|
|
1649
|
+
const nowIso = formatLocalIso(/* @__PURE__ */ new Date());
|
|
1650
|
+
const metaChanges = {
|
|
1651
|
+
dbKey: targetDbKey,
|
|
1652
|
+
tenantId,
|
|
1653
|
+
tableId,
|
|
1654
|
+
type: "table" /* TABLE */,
|
|
1655
|
+
schemaVersion: meta?.schemaVersion ?? 1,
|
|
1656
|
+
columns: inferredColumns,
|
|
1657
|
+
columnCount: inferredColumns.length,
|
|
1658
|
+
updatedAt: nowIso
|
|
1659
|
+
};
|
|
1660
|
+
setState((s) => ({ ...s, error: null }));
|
|
1661
|
+
try {
|
|
1662
|
+
if (dispatch) {
|
|
1663
|
+
await safeDispatch(
|
|
1664
|
+
dispatch,
|
|
1665
|
+
patch({
|
|
1666
|
+
dbKey: targetDbKey,
|
|
1667
|
+
changes: metaChanges
|
|
1668
|
+
})
|
|
1669
|
+
);
|
|
1670
|
+
}
|
|
1671
|
+
const nextMeta = {
|
|
1672
|
+
...meta ?? {},
|
|
1673
|
+
...metaChanges,
|
|
1674
|
+
displayName: meta?.displayName ?? tableId,
|
|
1675
|
+
views: meta?.views ?? [],
|
|
1676
|
+
triggers: meta?.triggers ?? [],
|
|
1677
|
+
createdAt: meta?.createdAt ?? nowIso
|
|
1678
|
+
};
|
|
1679
|
+
setState((s) => ({
|
|
1680
|
+
...s,
|
|
1681
|
+
currentTable: nextMeta,
|
|
1682
|
+
isInitialized: true
|
|
1683
|
+
}));
|
|
1684
|
+
return nextMeta;
|
|
1685
|
+
} catch (e) {
|
|
1686
|
+
const msg = e?.message || "\u4FEE\u590D\u8868\u7ED3\u6784\u5931\u8D25";
|
|
1687
|
+
setState((s) => ({ ...s, error: msg }));
|
|
1688
|
+
throw e;
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
);
|
|
1481
1692
|
|
|
1482
1693
|
// packages/create/space/content/deleteContentFromSpaceAction.ts
|
|
1483
1694
|
var nextSpaceUpdatedAt = (value) => {
|
|
@@ -1513,12 +1724,12 @@ var ENTITY_DELETE_STRATEGIES = {
|
|
|
1513
1724
|
await dispatch(deleteTable({ dbKey: key })).unwrap();
|
|
1514
1725
|
},
|
|
1515
1726
|
file: async (key, { thunkAPI }) => {
|
|
1516
|
-
const {
|
|
1517
|
-
await
|
|
1727
|
+
const { removeAction } = await import("./remove-BF33RCTH.js");
|
|
1728
|
+
await removeAction(key, thunkAPI);
|
|
1518
1729
|
},
|
|
1519
1730
|
image: async (key, { thunkAPI }) => {
|
|
1520
|
-
const {
|
|
1521
|
-
await
|
|
1731
|
+
const { removeAction } = await import("./remove-BF33RCTH.js");
|
|
1732
|
+
await removeAction(key, thunkAPI);
|
|
1522
1733
|
},
|
|
1523
1734
|
agent: async (key, { dispatch, userId, sourceServerOrigin }) => {
|
|
1524
1735
|
const parts = splitKey(key);
|
|
@@ -1544,7 +1755,7 @@ var ENTITY_DELETE_STRATEGIES = {
|
|
|
1544
1755
|
}
|
|
1545
1756
|
};
|
|
1546
1757
|
var deleteContentFromSpaceAction = async (input, thunkAPI) => {
|
|
1547
|
-
const { contentKey, sourceServerOrigin } = input;
|
|
1758
|
+
const { contentKey, sourceServerOrigin, skipEntityDelete } = input;
|
|
1548
1759
|
const spaceId = normalizeSpaceId(input.spaceId);
|
|
1549
1760
|
const { dispatch, getState } = thunkAPI;
|
|
1550
1761
|
const accountUserId = selectIdentityUserId(getState());
|
|
@@ -1578,6 +1789,14 @@ var deleteContentFromSpaceAction = async (input, thunkAPI) => {
|
|
|
1578
1789
|
}
|
|
1579
1790
|
})
|
|
1580
1791
|
).unwrap();
|
|
1792
|
+
if (skipEntityDelete) {
|
|
1793
|
+
return {
|
|
1794
|
+
contentKey,
|
|
1795
|
+
spaceId,
|
|
1796
|
+
updatedSpaceData,
|
|
1797
|
+
entityRemoveError: null
|
|
1798
|
+
};
|
|
1799
|
+
}
|
|
1581
1800
|
const userId = isDeviceLocalSpaceBody(spaceData) ? DEVICE_LOCAL_OWNER_ID : String(accountUserId ?? "");
|
|
1582
1801
|
let entityRemoveError = null;
|
|
1583
1802
|
const contentType = String(contentInfo.type || "").toLowerCase();
|
|
@@ -2171,83 +2390,6 @@ var updateContentCategoryAction = async (input, thunkAPI) => {
|
|
|
2171
2390
|
return { spaceId, updatedSpaceData };
|
|
2172
2391
|
};
|
|
2173
2392
|
|
|
2174
|
-
// packages/create/space/content/deleteMultipleContentAction.ts
|
|
2175
|
-
var logger4 = createClientLogger("delete-multiple-content");
|
|
2176
|
-
var deleteMultipleContentAction = async (input, thunkAPI) => {
|
|
2177
|
-
const { contentKeys, spaceId } = input;
|
|
2178
|
-
if (!contentKeys || contentKeys.length === 0) {
|
|
2179
|
-
logger4.warn("deleteMultipleContentAction called with no contentKeys.");
|
|
2180
|
-
return { spaceId, updatedSpaceData: null };
|
|
2181
|
-
}
|
|
2182
|
-
const { dispatch, getState } = thunkAPI;
|
|
2183
|
-
const state3 = getState();
|
|
2184
|
-
const userId = selectIdentityUserId(state3);
|
|
2185
|
-
logger4.info(
|
|
2186
|
-
{ count: contentKeys.length, spaceId, userId },
|
|
2187
|
-
"Initiating deleteMultipleContentAction"
|
|
2188
|
-
);
|
|
2189
|
-
const spaceKey = createSpaceKey.space(spaceId);
|
|
2190
|
-
const spaceData = await dispatch(
|
|
2191
|
-
read({
|
|
2192
|
-
dbKey: spaceKey
|
|
2193
|
-
})
|
|
2194
|
-
).unwrap();
|
|
2195
|
-
if (!spaceData) {
|
|
2196
|
-
logger4.error({ spaceKey }, "Space data not found for batch delete");
|
|
2197
|
-
throw new Error("\u7A7A\u95F4\u4E0D\u5B58\u5728");
|
|
2198
|
-
}
|
|
2199
|
-
if (!userId || !spaceData.members.includes(userId)) {
|
|
2200
|
-
logger4.warn({ userId, spaceId }, "Unauthorized attempt for batch delete");
|
|
2201
|
-
throw new Error("\u65E0\u6743\u4FEE\u6539\u6B64\u7A7A\u95F4");
|
|
2202
|
-
}
|
|
2203
|
-
const changes = {
|
|
2204
|
-
contents: contentKeys.reduce(
|
|
2205
|
-
(acc, key) => {
|
|
2206
|
-
acc[key] = null;
|
|
2207
|
-
return acc;
|
|
2208
|
-
},
|
|
2209
|
-
{}
|
|
2210
|
-
)
|
|
2211
|
-
};
|
|
2212
|
-
try {
|
|
2213
|
-
await dispatch(patch({ dbKey: spaceKey, changes })).unwrap();
|
|
2214
|
-
logger4.info(
|
|
2215
|
-
{ spaceKey, count: contentKeys.length },
|
|
2216
|
-
"Successfully batched patch to remove content references"
|
|
2217
|
-
);
|
|
2218
|
-
} catch (patchError) {
|
|
2219
|
-
logger4.error(
|
|
2220
|
-
{ error: patchError, spaceKey },
|
|
2221
|
-
"Failed to batch patch space data. Aborting."
|
|
2222
|
-
);
|
|
2223
|
-
throw new Error(`\u66F4\u65B0\u7A7A\u95F4\u5F15\u7528\u5931\u8D25: ${patchError.message}`);
|
|
2224
|
-
}
|
|
2225
|
-
const removePromises = contentKeys.map(
|
|
2226
|
-
(key) => dispatch(remove(key)).unwrap()
|
|
2227
|
-
);
|
|
2228
|
-
const results = await Promise.allSettled(removePromises);
|
|
2229
|
-
results.forEach((result, index) => {
|
|
2230
|
-
if (result.status === "fulfilled") {
|
|
2231
|
-
logger4.info({ contentKey: contentKeys[index] }, "Entity removed");
|
|
2232
|
-
} else {
|
|
2233
|
-
logger4.error(
|
|
2234
|
-
{ contentKey: contentKeys[index], error: result.reason },
|
|
2235
|
-
"Failed to remove an entity"
|
|
2236
|
-
);
|
|
2237
|
-
}
|
|
2238
|
-
});
|
|
2239
|
-
const finalSpaceData = await dispatch(
|
|
2240
|
-
read({
|
|
2241
|
-
dbKey: spaceKey
|
|
2242
|
-
})
|
|
2243
|
-
).unwrap();
|
|
2244
|
-
logger4.info({ spaceId }, "Finished batch delete and refetched space data.");
|
|
2245
|
-
return {
|
|
2246
|
-
spaceId,
|
|
2247
|
-
updatedSpaceData: finalSpaceData
|
|
2248
|
-
};
|
|
2249
|
-
};
|
|
2250
|
-
|
|
2251
2393
|
// packages/create/space/content/spaceFileVersions.ts
|
|
2252
2394
|
var normalizeFileName = (name) => typeof name === "string" ? name.trim().normalize("NFC") : "";
|
|
2253
2395
|
var versionsOf = (entryKey, entry) => {
|
|
@@ -2494,7 +2636,7 @@ var uploadOnce = async (payload, thunkAPI, userId) => {
|
|
|
2494
2636
|
return null;
|
|
2495
2637
|
});
|
|
2496
2638
|
if (typeof window !== "undefined") {
|
|
2497
|
-
|
|
2639
|
+
emitUserDataUpdated();
|
|
2498
2640
|
}
|
|
2499
2641
|
return {
|
|
2500
2642
|
...result,
|
|
@@ -2717,17 +2859,6 @@ var deleteContentFromSpace = createAsyncThunk(
|
|
|
2717
2859
|
return payload;
|
|
2718
2860
|
}
|
|
2719
2861
|
);
|
|
2720
|
-
var deleteMultipleContent = createAsyncThunk(
|
|
2721
|
-
"space/deleteMultipleContent",
|
|
2722
|
-
async (arg, thunkAPI) => {
|
|
2723
|
-
const payload = await deleteMultipleContentAction(arg, thunkAPI);
|
|
2724
|
-
syncCurrentSpaceIfNormalizedMatch(
|
|
2725
|
-
payload.spaceId,
|
|
2726
|
-
payload.updatedSpaceData
|
|
2727
|
-
);
|
|
2728
|
-
return payload;
|
|
2729
|
-
}
|
|
2730
|
-
);
|
|
2731
2862
|
var uploadAndAddFileToSpace = createAsyncThunk(
|
|
2732
2863
|
"space/uploadAndAddFileToSpace",
|
|
2733
2864
|
async (arg, thunkAPI) => {
|
|
@@ -2813,7 +2944,6 @@ export {
|
|
|
2813
2944
|
moveContentToSpace,
|
|
2814
2945
|
unlinkSpaceContent,
|
|
2815
2946
|
deleteContentFromSpace,
|
|
2816
|
-
deleteMultipleContent,
|
|
2817
2947
|
uploadAndAddFileToSpace,
|
|
2818
2948
|
restoreSpaceFileVersion,
|
|
2819
2949
|
updateContentTitle,
|