@objectstack/spec 19.0.0-next.0 → 19.0.0-next.2
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 +823 -0
- package/api-surface/ai.json +14 -12
- package/api-surface/root.json +1 -0
- package/api-surface/system.json +3 -0
- package/api-surface/ui.json +23 -0
- package/dist/.build-input-hash +1 -1
- package/dist/.build-input-hash-dts +1 -1
- package/dist/{action.zod-C0sxiAxv.d.mts → action.zod-CeKgumBf.d.mts} +61 -47
- package/dist/{action.zod-C0sxiAxv.d.ts → action.zod-CeKgumBf.d.ts} +61 -47
- package/dist/ai/index.d.mts +134 -97
- package/dist/ai/index.d.ts +134 -97
- package/dist/ai/index.js +243 -235
- package/dist/ai/index.mjs +16 -16
- package/dist/{analytics.zod-RrXIXfht.d.ts → analytics.zod-BJZ7gRax.d.ts} +1 -1
- package/dist/{analytics.zod-D4rVI-pc.d.mts → analytics.zod-JA6BprEn.d.mts} +1 -1
- package/dist/api/index.d.mts +119 -91
- package/dist/api/index.d.ts +119 -91
- package/dist/api/index.js +443 -436
- package/dist/api/index.js.map +1 -1
- package/dist/api/index.mjs +186 -179
- package/dist/api/index.mjs.map +1 -1
- package/dist/api-assembled/index.d.mts +1 -1
- package/dist/api-assembled/index.d.ts +1 -1
- package/dist/api-assembled/index.js +69 -70
- package/dist/api-assembled/index.js.map +1 -1
- package/dist/api-assembled/index.mjs +58 -59
- package/dist/api-assembled/index.mjs.map +1 -1
- package/dist/{authoring-key-lint-BkrypywU.d.mts → authoring-key-lint-Dv2Ox1zY.d.mts} +1 -1
- package/dist/{authoring-key-lint-BkrypywU.d.ts → authoring-key-lint-Dv2Ox1zY.d.ts} +1 -1
- package/dist/automation/index.d.mts +2 -2
- package/dist/automation/index.d.ts +2 -2
- package/dist/automation/index.js +217 -217
- package/dist/automation/index.mjs +18 -18
- package/dist/{automation-api.zod-Yd1FzTqU.d.mts → automation-api.zod-B76bIIwC.d.mts} +150 -32
- package/dist/{automation-api.zod-DAwMo17_.d.ts → automation-api.zod-D96sTEHC.d.ts} +150 -32
- package/dist/{book.zod-D2tH8dPz.d.mts → book.zod-BKqd3teh.d.mts} +39 -7
- package/dist/{book.zod-D2tH8dPz.d.ts → book.zod-BKqd3teh.d.ts} +39 -7
- package/dist/browser/api-assembled/index.js +72 -73
- package/dist/browser/api-assembled/index.js.map +1 -1
- package/dist/browser/api-assembled/index.mjs +61 -62
- package/dist/browser/api-assembled/index.mjs.map +1 -1
- package/dist/browser/data/index.js +770 -770
- package/dist/browser/data/index.mjs +30 -30
- package/dist/browser/index.js +193 -183
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +63 -57
- package/dist/browser/index.mjs.map +1 -1
- package/dist/browser/kernel/index.js +367 -364
- package/dist/browser/kernel/index.js.map +1 -1
- package/dist/browser/kernel/index.mjs +69 -66
- package/dist/browser/kernel/index.mjs.map +1 -1
- package/dist/browser/system/index.js +564 -557
- package/dist/browser/system/index.js.map +1 -1
- package/dist/browser/system/index.mjs +80 -81
- package/dist/browser/system/index.mjs.map +1 -1
- package/dist/{chunk-MX55DOYA.js → chunk-24QIYZXX.js} +336 -336
- package/dist/chunk-24QIYZXX.js.map +1 -0
- package/dist/{chunk-PTWLDS43.js → chunk-265G7VEA.js} +151 -142
- package/dist/chunk-265G7VEA.js.map +1 -0
- package/dist/{chunk-PGCIAI3Z.js → chunk-2FHS4NT5.js} +18 -18
- package/dist/chunk-2FHS4NT5.js.map +1 -0
- package/dist/{chunk-774KNYAD.js → chunk-2QMHEYSC.js} +21 -21
- package/dist/chunk-2QMHEYSC.js.map +1 -0
- package/dist/{chunk-4FELAS5S.mjs → chunk-2V34E6EW.mjs} +43 -43
- package/dist/chunk-2V34E6EW.mjs.map +1 -0
- package/dist/{chunk-TZ4ULGJQ.mjs → chunk-2WDA3ZXM.mjs} +12 -12
- package/dist/chunk-2WDA3ZXM.mjs.map +1 -0
- package/dist/{chunk-TPD46XW3.js → chunk-2WEQSNGS.js} +14 -14
- package/dist/chunk-2WEQSNGS.js.map +1 -0
- package/dist/chunk-2XCFRB5T.js +10 -0
- package/dist/chunk-2XCFRB5T.js.map +1 -0
- package/dist/{chunk-Z4FJFDUQ.js → chunk-2YBQTCS3.js} +7 -7
- package/dist/chunk-2YBQTCS3.js.map +1 -0
- package/dist/{chunk-JDDD347E.js → chunk-342NJ64V.js} +535 -236
- package/dist/chunk-342NJ64V.js.map +1 -0
- package/dist/{chunk-WCCSBWRI.mjs → chunk-345YI4SJ.mjs} +73 -68
- package/dist/chunk-345YI4SJ.mjs.map +1 -0
- package/dist/{chunk-UBNKCP2W.mjs → chunk-3M6TVMZP.mjs} +27 -18
- package/dist/chunk-3M6TVMZP.mjs.map +1 -0
- package/dist/{chunk-RPRFY36Y.js → chunk-3PVEXEFW.js} +6 -4
- package/dist/chunk-3PVEXEFW.js.map +1 -0
- package/dist/{chunk-3EE2IZAV.mjs → chunk-3XPHTLEW.mjs} +12 -12
- package/dist/chunk-3XPHTLEW.mjs.map +1 -0
- package/dist/{chunk-3E5JF2SE.mjs → chunk-3Z6PEXQW.mjs} +15 -10
- package/dist/chunk-3Z6PEXQW.mjs.map +1 -0
- package/dist/{chunk-3OQ6CREO.mjs → chunk-43ZPBQU7.mjs} +13 -13
- package/dist/chunk-43ZPBQU7.mjs.map +1 -0
- package/dist/chunk-45ONCIIB.mjs +8 -0
- package/dist/chunk-45ONCIIB.mjs.map +1 -0
- package/dist/{chunk-YX7AY4AA.js → chunk-472N5IBA.js} +81 -81
- package/dist/chunk-472N5IBA.js.map +1 -0
- package/dist/{chunk-6QO6OU4V.js → chunk-47UGD3JH.js} +28 -28
- package/dist/chunk-47UGD3JH.js.map +1 -0
- package/dist/{chunk-33PIW4QF.mjs → chunk-4EKDTFMR.mjs} +131 -131
- package/dist/chunk-4EKDTFMR.mjs.map +1 -0
- package/dist/{chunk-XZAH3BQ6.mjs → chunk-57FL6GWV.mjs} +8 -8
- package/dist/chunk-57FL6GWV.mjs.map +1 -0
- package/dist/{chunk-GWK6344A.js → chunk-5GSHAB6R.js} +138 -129
- package/dist/chunk-5GSHAB6R.js.map +1 -0
- package/dist/{chunk-KUVAGGX3.mjs → chunk-5OELBY6Y.mjs} +7 -7
- package/dist/chunk-5OELBY6Y.mjs.map +1 -0
- package/dist/{chunk-SNDIHURW.mjs → chunk-5PGDVLSM.mjs} +16 -10
- package/dist/chunk-5PGDVLSM.mjs.map +1 -0
- package/dist/{chunk-A6BF5TT3.mjs → chunk-5ROIZXUG.mjs} +23 -23
- package/dist/chunk-5ROIZXUG.mjs.map +1 -0
- package/dist/{chunk-MNHAIPMF.js → chunk-62QQPZIA.js} +23 -23
- package/dist/chunk-62QQPZIA.js.map +1 -0
- package/dist/{chunk-MIACKBA3.mjs → chunk-65B57LOO.mjs} +24 -24
- package/dist/chunk-65B57LOO.mjs.map +1 -0
- package/dist/{chunk-WHRQKUDZ.mjs → chunk-66HDMJAT.mjs} +31 -31
- package/dist/chunk-66HDMJAT.mjs.map +1 -0
- package/dist/{chunk-TYF2QLPX.mjs → chunk-6IUGF7KX.mjs} +82 -82
- package/dist/chunk-6IUGF7KX.mjs.map +1 -0
- package/dist/{chunk-U72AP4VJ.js → chunk-6MLKWWOH.js} +6 -6
- package/dist/chunk-6MLKWWOH.js.map +1 -0
- package/dist/{chunk-GE6MTUET.mjs → chunk-6OPYEAIR.mjs} +4 -4
- package/dist/chunk-6OPYEAIR.mjs.map +1 -0
- package/dist/{chunk-MMOOCANW.js → chunk-6TKG25QE.js} +24 -24
- package/dist/chunk-6TKG25QE.js.map +1 -0
- package/dist/{chunk-S52QMKGL.js → chunk-743EY5IX.js} +4 -4
- package/dist/chunk-743EY5IX.js.map +1 -0
- package/dist/{chunk-4CBCGWNW.mjs → chunk-7LCNAO47.mjs} +3 -3
- package/dist/chunk-7LCNAO47.mjs.map +1 -0
- package/dist/{chunk-ICHYJOLU.js → chunk-7N7ROPK7.js} +6 -6
- package/dist/chunk-7N7ROPK7.js.map +1 -0
- package/dist/{chunk-ZUP2E2TP.mjs → chunk-7QOSGTFW.mjs} +4 -4
- package/dist/{chunk-ZUP2E2TP.mjs.map → chunk-7QOSGTFW.mjs.map} +1 -1
- package/dist/{chunk-A5AC7B2W.js → chunk-A2FTZFCG.js} +172 -172
- package/dist/chunk-A2FTZFCG.js.map +1 -0
- package/dist/{chunk-EVA62AMB.mjs → chunk-A5ONZDEG.mjs} +10 -10
- package/dist/chunk-A5ONZDEG.mjs.map +1 -0
- package/dist/{chunk-D7BEDZEK.mjs → chunk-ADN626GH.mjs} +39 -23
- package/dist/chunk-ADN626GH.mjs.map +1 -0
- package/dist/{chunk-SPVTB6OA.mjs → chunk-AH5JBFZE.mjs} +4 -4
- package/dist/{chunk-SPVTB6OA.mjs.map → chunk-AH5JBFZE.mjs.map} +1 -1
- package/dist/{chunk-6ROA34RI.js → chunk-AXJYITTX.js} +14 -14
- package/dist/{chunk-6ROA34RI.js.map → chunk-AXJYITTX.js.map} +1 -1
- package/dist/{chunk-GVX5MHZI.mjs → chunk-B5JWDQD6.mjs} +7 -7
- package/dist/chunk-B5JWDQD6.mjs.map +1 -0
- package/dist/{chunk-AQBVDHVW.mjs → chunk-B7X3JOJX.mjs} +684 -401
- package/dist/chunk-B7X3JOJX.mjs.map +1 -0
- package/dist/{chunk-WE6GUSU3.js → chunk-BCH7QIRX.js} +26 -26
- package/dist/chunk-BCH7QIRX.js.map +1 -0
- package/dist/{chunk-4WFTCJEM.js → chunk-BJHX3SZO.js} +3 -3
- package/dist/chunk-BJHX3SZO.js.map +1 -0
- package/dist/{chunk-QG3IDJ7C.mjs → chunk-BOJQLKOS.mjs} +28 -28
- package/dist/chunk-BOJQLKOS.mjs.map +1 -0
- package/dist/{chunk-Y7NPZ4EW.mjs → chunk-BPQ6CZXD.mjs} +3 -3
- package/dist/{chunk-Y7NPZ4EW.mjs.map → chunk-BPQ6CZXD.mjs.map} +1 -1
- package/dist/{chunk-CFALRZ3V.mjs → chunk-BSOJPN2M.mjs} +11 -11
- package/dist/chunk-BSOJPN2M.mjs.map +1 -0
- package/dist/{chunk-X2MBSHFH.js → chunk-BVLZMWNC.js} +9 -9
- package/dist/chunk-BVLZMWNC.js.map +1 -0
- package/dist/{chunk-BRV5MQQQ.js → chunk-CDJUPKNG.js} +11 -11
- package/dist/chunk-CDJUPKNG.js.map +1 -0
- package/dist/{chunk-IWJAOEWA.js → chunk-CNKORRIE.js} +62 -41
- package/dist/chunk-CNKORRIE.js.map +1 -0
- package/dist/{chunk-C6DHYIEI.mjs → chunk-DCRGLBRG.mjs} +139 -127
- package/dist/chunk-DCRGLBRG.mjs.map +1 -0
- package/dist/{chunk-UVPOHGJG.js → chunk-DOJZWVH5.js} +9 -7
- package/dist/chunk-DOJZWVH5.js.map +1 -0
- package/dist/{chunk-UPYDVQSI.js → chunk-DQ4ULZJS.js} +224 -113
- package/dist/chunk-DQ4ULZJS.js.map +1 -0
- package/dist/{chunk-K7KTQQWH.js → chunk-DR6IQTNM.js} +203 -199
- package/dist/chunk-DR6IQTNM.js.map +1 -0
- package/dist/{chunk-TXQEKYFZ.mjs → chunk-DSJMW4WT.mjs} +4 -4
- package/dist/chunk-DSJMW4WT.mjs.map +1 -0
- package/dist/{chunk-S24GQRN2.mjs → chunk-ELL2QFGJ.mjs} +14 -14
- package/dist/chunk-ELL2QFGJ.mjs.map +1 -0
- package/dist/chunk-EULWFNR3.js +10 -0
- package/dist/chunk-EULWFNR3.js.map +1 -0
- package/dist/{chunk-CNXOA4YT.mjs → chunk-FBNDK5HA.mjs} +12 -12
- package/dist/chunk-FBNDK5HA.mjs.map +1 -0
- package/dist/{chunk-ITY5VKH6.mjs → chunk-FELC52DA.mjs} +28 -29
- package/dist/chunk-FELC52DA.mjs.map +1 -0
- package/dist/{chunk-VVNVAPCT.js → chunk-FHGIXIPK.js} +11 -11
- package/dist/chunk-FHGIXIPK.js.map +1 -0
- package/dist/{chunk-ULFXCYYX.mjs → chunk-FQ34X5VZ.mjs} +6 -4
- package/dist/chunk-FQ34X5VZ.mjs.map +1 -0
- package/dist/{chunk-BTMZST4I.mjs → chunk-FQZTDT3Z.mjs} +9 -9
- package/dist/chunk-FQZTDT3Z.mjs.map +1 -0
- package/dist/{chunk-4UPBHV2C.js → chunk-FR6BFJ43.js} +236 -236
- package/dist/chunk-FR6BFJ43.js.map +1 -0
- package/dist/{chunk-GPUPVYDT.js → chunk-G6KDZIJX.js} +36 -38
- package/dist/chunk-G6KDZIJX.js.map +1 -0
- package/dist/{chunk-VDHDB5E5.js → chunk-G6ZKZRQQ.js} +12 -12
- package/dist/chunk-G6ZKZRQQ.js.map +1 -0
- package/dist/{chunk-W3QHJHRO.mjs → chunk-H5N377JC.mjs} +21 -21
- package/dist/chunk-H5N377JC.mjs.map +1 -0
- package/dist/{chunk-BGK2G2IY.js → chunk-H6FTJUUH.js} +32 -32
- package/dist/chunk-H6FTJUUH.js.map +1 -0
- package/dist/{chunk-WZSQF2CK.mjs → chunk-H7F52QG5.mjs} +74 -69
- package/dist/chunk-H7F52QG5.mjs.map +1 -0
- package/dist/{chunk-YSYNUOWR.mjs → chunk-HBY22TD2.mjs} +114 -102
- package/dist/chunk-HBY22TD2.mjs.map +1 -0
- package/dist/{chunk-TXLEGSVW.mjs → chunk-HX7ZMP4L.mjs} +240 -382
- package/dist/chunk-HX7ZMP4L.mjs.map +1 -0
- package/dist/{chunk-ICJO2Q7Q.js → chunk-HYBOFIJA.js} +60 -60
- package/dist/{chunk-ICJO2Q7Q.js.map → chunk-HYBOFIJA.js.map} +1 -1
- package/dist/{chunk-T2MUJ7ER.mjs → chunk-HZXOSCF2.mjs} +4 -4
- package/dist/chunk-HZXOSCF2.mjs.map +1 -0
- package/dist/{chunk-QHHDZAO5.js → chunk-I7HLIVEK.js} +805 -508
- package/dist/chunk-I7HLIVEK.js.map +1 -0
- package/dist/{chunk-7Z4DBGCU.mjs → chunk-IJJQK5MG.mjs} +13 -13
- package/dist/chunk-IJJQK5MG.mjs.map +1 -0
- package/dist/{chunk-QCCXUZLD.mjs → chunk-J3AMFYF2.mjs} +6 -6
- package/dist/chunk-J3AMFYF2.mjs.map +1 -0
- package/dist/{chunk-52BDGT4K.js → chunk-JF3WGQR5.js} +58 -58
- package/dist/chunk-JF3WGQR5.js.map +1 -0
- package/dist/{chunk-UTQQKCXM.js → chunk-JKI4IYPV.js} +64 -64
- package/dist/chunk-JKI4IYPV.js.map +1 -0
- package/dist/{chunk-E5K3EF3K.js → chunk-JOYJ6IDT.js} +6 -6
- package/dist/chunk-JOYJ6IDT.js.map +1 -0
- package/dist/{chunk-UOD6YQ4N.js → chunk-JRMFKKMP.js} +446 -66
- package/dist/chunk-JRMFKKMP.js.map +1 -0
- package/dist/{chunk-PQX6RIRU.mjs → chunk-JXELXFFH.mjs} +201 -201
- package/dist/chunk-JXELXFFH.mjs.map +1 -0
- package/dist/{chunk-2FFYK6YO.mjs → chunk-KBRXSE2I.mjs} +3 -3
- package/dist/{chunk-2FFYK6YO.mjs.map → chunk-KBRXSE2I.mjs.map} +1 -1
- package/dist/{chunk-7HDRSJHN.js → chunk-KCAJ5VRI.js} +9 -9
- package/dist/{chunk-7HDRSJHN.js.map → chunk-KCAJ5VRI.js.map} +1 -1
- package/dist/{chunk-YZHENOSH.js → chunk-KIC3M6C6.js} +10 -10
- package/dist/chunk-KIC3M6C6.js.map +1 -0
- package/dist/{chunk-M2EZ3A4S.js → chunk-KMEPQQKF.js} +152 -69
- package/dist/chunk-KMEPQQKF.js.map +1 -0
- package/dist/{chunk-EOQLOZSE.js → chunk-KNZNIUTF.js} +41 -41
- package/dist/chunk-KNZNIUTF.js.map +1 -0
- package/dist/{chunk-QU6UYLSZ.mjs → chunk-KOJNUPRF.mjs} +444 -147
- package/dist/chunk-KOJNUPRF.mjs.map +1 -0
- package/dist/{chunk-FANOVHHW.js → chunk-KPUDPZ55.js} +86 -40
- package/dist/chunk-KPUDPZ55.js.map +1 -0
- package/dist/{chunk-PMBQ2NHZ.mjs → chunk-KXIOIRQJ.mjs} +35 -35
- package/dist/chunk-KXIOIRQJ.mjs.map +1 -0
- package/dist/chunk-L2LXHH27.js +12 -0
- package/dist/chunk-L2LXHH27.js.map +1 -0
- package/dist/{chunk-4C27O42G.mjs → chunk-L4XZC7FC.mjs} +14 -14
- package/dist/chunk-L4XZC7FC.mjs.map +1 -0
- package/dist/{chunk-IHEE4BFE.mjs → chunk-L5CWRXOP.mjs} +6 -6
- package/dist/chunk-L5CWRXOP.mjs.map +1 -0
- package/dist/{chunk-SPKTB6U3.mjs → chunk-L75UUAWF.mjs} +38 -38
- package/dist/chunk-L75UUAWF.mjs.map +1 -0
- package/dist/{chunk-QX6DNDXC.js → chunk-LQOSNW4U.js} +16 -10
- package/dist/chunk-LQOSNW4U.js.map +1 -0
- package/dist/{chunk-CWCKEVYN.mjs → chunk-LW2CFVUU.mjs} +16 -16
- package/dist/chunk-LW2CFVUU.mjs.map +1 -0
- package/dist/{chunk-4PEZRYLI.mjs → chunk-MJLIEMYP.mjs} +19 -10
- package/dist/chunk-MJLIEMYP.mjs.map +1 -0
- package/dist/{chunk-SYNYSUYM.js → chunk-MKBAFZ4O.js} +109 -109
- package/dist/chunk-MKBAFZ4O.js.map +1 -0
- package/dist/{chunk-7ZA4QJPU.mjs → chunk-MLNBSGCJ.mjs} +7 -6
- package/dist/chunk-MLNBSGCJ.mjs.map +1 -0
- package/dist/{chunk-UFBQL6WP.js → chunk-MNW6XSQE.js} +10 -9
- package/dist/chunk-MNW6XSQE.js.map +1 -0
- package/dist/{chunk-U6GGL6HY.js → chunk-MQXN6BVD.js} +4 -4
- package/dist/{chunk-U6GGL6HY.js.map → chunk-MQXN6BVD.js.map} +1 -1
- package/dist/{chunk-N3BM5RDF.js → chunk-MYFRMYRN.js} +13 -13
- package/dist/{chunk-N3BM5RDF.js.map → chunk-MYFRMYRN.js.map} +1 -1
- package/dist/{chunk-NMZMOJZ2.mjs → chunk-N3QB4PAL.mjs} +8 -8
- package/dist/chunk-N3QB4PAL.mjs.map +1 -0
- package/dist/{chunk-PQIISJGQ.mjs → chunk-NE5B5FGF.mjs} +13 -13
- package/dist/chunk-NE5B5FGF.mjs.map +1 -0
- package/dist/{chunk-NUW3VRKQ.js → chunk-NT74OZGI.js} +30 -30
- package/dist/chunk-NT74OZGI.js.map +1 -0
- package/dist/{chunk-7HTZXVD6.js → chunk-NWRBX2XI.js} +204 -198
- package/dist/chunk-NWRBX2XI.js.map +1 -0
- package/dist/{chunk-N4WQY3CG.mjs → chunk-O2LNZ5L4.mjs} +9 -8
- package/dist/chunk-O2LNZ5L4.mjs.map +1 -0
- package/dist/{chunk-6RQVVQ6D.js → chunk-O3OVMS2O.js} +433 -433
- package/dist/chunk-O3OVMS2O.js.map +1 -0
- package/dist/{chunk-PN7YK7OO.mjs → chunk-OGDAKCQF.mjs} +11 -11
- package/dist/chunk-OGDAKCQF.mjs.map +1 -0
- package/dist/{chunk-UFF6Z4JW.mjs → chunk-OQVJZTWV.mjs} +21 -21
- package/dist/chunk-OQVJZTWV.mjs.map +1 -0
- package/dist/{chunk-P4HABIG7.js → chunk-OW6RHBKK.js} +4 -4
- package/dist/{chunk-P4HABIG7.js.map → chunk-OW6RHBKK.js.map} +1 -1
- package/dist/{chunk-O4DSTBUM.mjs → chunk-P4KMEY4R.mjs} +27 -27
- package/dist/chunk-P4KMEY4R.mjs.map +1 -0
- package/dist/{chunk-I77JYRUA.mjs → chunk-PBSHTM6S.mjs} +809 -212
- package/dist/chunk-PBSHTM6S.mjs.map +1 -0
- package/dist/{chunk-GAX5WZGN.js → chunk-PO42YEDO.js} +8 -8
- package/dist/chunk-PO42YEDO.js.map +1 -0
- package/dist/{chunk-XKGHFPQ2.js → chunk-Q4E6RIVM.js} +7 -7
- package/dist/chunk-Q4E6RIVM.js.map +1 -0
- package/dist/chunk-Q4OHPYM6.mjs +9 -0
- package/dist/chunk-Q4OHPYM6.mjs.map +1 -0
- package/dist/{chunk-RJ2VVP4G.mjs → chunk-Q4SSRUCA.mjs} +107 -28
- package/dist/chunk-Q4SSRUCA.mjs.map +1 -0
- package/dist/{chunk-A66ZLOIR.js → chunk-QHLUI7YD.js} +52 -38
- package/dist/chunk-QHLUI7YD.js.map +1 -0
- package/dist/{chunk-RA6SWGZM.js → chunk-QK7C57YS.js} +29 -29
- package/dist/chunk-QK7C57YS.js.map +1 -0
- package/dist/{chunk-CU6RJWC3.mjs → chunk-QOJINZTG.mjs} +6 -6
- package/dist/chunk-QOJINZTG.mjs.map +1 -0
- package/dist/{chunk-7F6S3F66.js → chunk-QTOT7HA4.js} +49 -49
- package/dist/chunk-QTOT7HA4.js.map +1 -0
- package/dist/{chunk-LFXDDPGH.mjs → chunk-R3ECCQ4E.mjs} +52 -52
- package/dist/chunk-R3ECCQ4E.mjs.map +1 -0
- package/dist/{chunk-YC4SKQCQ.mjs → chunk-RHY4J27B.mjs} +41 -28
- package/dist/chunk-RHY4J27B.mjs.map +1 -0
- package/dist/{chunk-C54ZAXVX.js → chunk-RKLBZ6II.js} +53 -40
- package/dist/chunk-RKLBZ6II.js.map +1 -0
- package/dist/{chunk-VTXABMWV.mjs → chunk-RQH4LJQU.mjs} +23 -23
- package/dist/chunk-RQH4LJQU.mjs.map +1 -0
- package/dist/chunk-RWTRRKMP.mjs +7 -0
- package/dist/chunk-RWTRRKMP.mjs.map +1 -0
- package/dist/{chunk-X2MBSCN4.mjs → chunk-RY62PSNP.mjs} +4 -4
- package/dist/chunk-RY62PSNP.mjs.map +1 -0
- package/dist/{chunk-GWQGAKKI.js → chunk-SAQ2IMCJ.js} +45 -45
- package/dist/chunk-SAQ2IMCJ.js.map +1 -0
- package/dist/{chunk-SKBGU646.js → chunk-SDD5LC2V.js} +13 -13
- package/dist/chunk-SDD5LC2V.js.map +1 -0
- package/dist/{chunk-FDNMKRHU.js → chunk-SEIQJ2OC.js} +14 -14
- package/dist/{chunk-FDNMKRHU.js.map → chunk-SEIQJ2OC.js.map} +1 -1
- package/dist/{chunk-ZVW5V7GO.js → chunk-SIBZHK7I.js} +23 -23
- package/dist/chunk-SIBZHK7I.js.map +1 -0
- package/dist/{chunk-2CQYPBCG.js → chunk-SQVOO7ZJ.js} +4 -4
- package/dist/chunk-SQVOO7ZJ.js.map +1 -0
- package/dist/{chunk-G4635SRW.mjs → chunk-SZ6W2CPY.mjs} +11 -11
- package/dist/chunk-SZ6W2CPY.mjs.map +1 -0
- package/dist/{chunk-KJEE6ZO6.js → chunk-TBM6PTXQ.js} +852 -249
- package/dist/chunk-TBM6PTXQ.js.map +1 -0
- package/dist/{chunk-PVT4IL37.js → chunk-U5QHD2XK.js} +279 -437
- package/dist/chunk-U5QHD2XK.js.map +1 -0
- package/dist/{chunk-ZRRGPEBH.mjs → chunk-UG7FBPW6.mjs} +6 -6
- package/dist/chunk-UG7FBPW6.mjs.map +1 -0
- package/dist/{chunk-S5AUYYDT.js → chunk-UGR6G2SC.js} +15 -10
- package/dist/chunk-UGR6G2SC.js.map +1 -0
- package/dist/{chunk-XBBKOVOI.mjs → chunk-UGXW2VQU.mjs} +401 -39
- package/dist/chunk-UGXW2VQU.mjs.map +1 -0
- package/dist/{chunk-U5TFUF7Y.js → chunk-UHREVGBN.js} +171 -159
- package/dist/chunk-UHREVGBN.js.map +1 -0
- package/dist/{chunk-3BWMUCTC.mjs → chunk-UJ3JWAUN.mjs} +47 -26
- package/dist/chunk-UJ3JWAUN.mjs.map +1 -0
- package/dist/{chunk-WQP25G7T.mjs → chunk-UTQ4HZ7U.mjs} +9 -9
- package/dist/chunk-UTQ4HZ7U.mjs.map +1 -0
- package/dist/{chunk-DMEI6XOF.mjs → chunk-UWMTZWHD.mjs} +24 -24
- package/dist/{chunk-DMEI6XOF.mjs.map → chunk-UWMTZWHD.mjs.map} +1 -1
- package/dist/{chunk-VXZGQ75C.mjs → chunk-V726PR4Q.mjs} +7 -7
- package/dist/chunk-V726PR4Q.mjs.map +1 -0
- package/dist/{chunk-KIWGUX4N.js → chunk-V7W4A52I.js} +88 -88
- package/dist/chunk-V7W4A52I.js.map +1 -0
- package/dist/{chunk-OC5X2IDT.mjs → chunk-VLHQWHV4.mjs} +5 -5
- package/dist/{chunk-OC5X2IDT.mjs.map → chunk-VLHQWHV4.mjs.map} +1 -1
- package/dist/{chunk-7JIBAOSC.js → chunk-VY2J6S4K.js} +46 -46
- package/dist/chunk-VY2J6S4K.js.map +1 -0
- package/dist/{chunk-ZRZWNIFH.js → chunk-W2ABFAGA.js} +6 -6
- package/dist/chunk-W2ABFAGA.js.map +1 -0
- package/dist/{chunk-B5XBSDVW.mjs → chunk-WAN42LAT.mjs} +49 -35
- package/dist/chunk-WAN42LAT.mjs.map +1 -0
- package/dist/{chunk-6DQP6GLV.js → chunk-WEO6CJMB.js} +12 -12
- package/dist/chunk-WEO6CJMB.js.map +1 -0
- package/dist/{chunk-KTJSDIPC.mjs → chunk-WFBOHXZ3.mjs} +4 -4
- package/dist/{chunk-KTJSDIPC.mjs.map → chunk-WFBOHXZ3.mjs.map} +1 -1
- package/dist/{chunk-DTRYIDF2.js → chunk-WQB3QFOZ.js} +49 -33
- package/dist/chunk-WQB3QFOZ.js.map +1 -0
- package/dist/{chunk-4OQCPGVV.mjs → chunk-WVVGYIJG.mjs} +73 -27
- package/dist/chunk-WVVGYIJG.mjs.map +1 -0
- package/dist/{chunk-4YZVKTO3.js → chunk-XF4443VW.js} +6 -6
- package/dist/chunk-XF4443VW.js.map +1 -0
- package/dist/{chunk-7WHIBXDB.js → chunk-XGFNEAYY.js} +167 -158
- package/dist/chunk-XGFNEAYY.js.map +1 -0
- package/dist/{chunk-3V3YOHSL.mjs → chunk-XKTBIXK2.mjs} +20 -20
- package/dist/chunk-XKTBIXK2.mjs.map +1 -0
- package/dist/{chunk-HS7OOUES.js → chunk-XLUBDFSO.js} +12 -12
- package/dist/chunk-XLUBDFSO.js.map +1 -0
- package/dist/{chunk-NL6Q26D2.js → chunk-XPYP45R7.js} +5 -5
- package/dist/chunk-XPYP45R7.js.map +1 -0
- package/dist/{chunk-FFAEHISC.js → chunk-XQCG5WPZ.js} +48 -48
- package/dist/chunk-XQCG5WPZ.js.map +1 -0
- package/dist/{chunk-AZQ5YRB5.mjs → chunk-XV5WQSTF.mjs} +5 -5
- package/dist/chunk-XV5WQSTF.mjs.map +1 -0
- package/dist/{chunk-EWATZQGO.mjs → chunk-Y6EVXQ2F.mjs} +120 -120
- package/dist/chunk-Y6EVXQ2F.mjs.map +1 -0
- package/dist/{chunk-3AUIRDRY.js → chunk-YDQGFUT2.js} +49 -49
- package/dist/chunk-YDQGFUT2.js.map +1 -0
- package/dist/{chunk-U5UIWBV2.mjs → chunk-YO5AMK5R.mjs} +158 -47
- package/dist/chunk-YO5AMK5R.mjs.map +1 -0
- package/dist/{chunk-PM3RC6FT.mjs → chunk-ZHF5BB5T.mjs} +6 -6
- package/dist/chunk-ZHF5BB5T.mjs.map +1 -0
- package/dist/{chunk-YK42CDYP.mjs → chunk-ZJU6DHWK.mjs} +16 -16
- package/dist/chunk-ZJU6DHWK.mjs.map +1 -0
- package/dist/{chunk-DTLDEZHK.js → chunk-ZMMJ7ESH.js} +25 -25
- package/dist/chunk-ZMMJ7ESH.js.map +1 -0
- package/dist/{chunk-KQPRENJ2.mjs → chunk-ZPOHRP2B.mjs} +6 -6
- package/dist/chunk-ZPOHRP2B.mjs.map +1 -0
- package/dist/{chunk-AUDDNHMA.js → chunk-ZSBMGKIW.js} +8 -8
- package/dist/chunk-ZSBMGKIW.js.map +1 -0
- package/dist/{chunk-Q2ZZGHIE.js → chunk-ZUNJU2VY.js} +74 -74
- package/dist/chunk-ZUNJU2VY.js.map +1 -0
- package/dist/{chunk-N22JOPMN.js → chunk-ZZXBFBKD.js} +4 -4
- package/dist/chunk-ZZXBFBKD.js.map +1 -0
- package/dist/contracts/index.d.mts +73 -38
- package/dist/contracts/index.d.ts +73 -38
- package/dist/contracts/index.js +15 -15
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/index.mjs +15 -15
- package/dist/contracts/index.mjs.map +1 -1
- package/dist/data/index.d.mts +48 -34
- package/dist/data/index.d.ts +48 -34
- package/dist/data/index.js +769 -769
- package/dist/data/index.mjs +29 -29
- package/dist/{error-code-ledger.zod-DaEFJMm-.d.ts → error-code-ledger.zod-BiFhN0iM.d.ts} +2 -2
- package/dist/{error-code-ledger.zod-BgqW8Wbw.d.mts → error-code-ledger.zod-CqWGKUe1.d.mts} +2 -2
- package/dist/{eval-user.zod-DMFg3V9U.d.ts → eval-user.zod-CZQOScVF.d.ts} +1 -1
- package/dist/{eval-user.zod-C33AS6-Y.d.mts → eval-user.zod-l0KDWhAd.d.mts} +1 -1
- package/dist/{expression.zod-ZaoUfQ3r.d.mts → expression.zod-DifndxG3.d.mts} +7 -7
- package/dist/{expression.zod-ZaoUfQ3r.d.ts → expression.zod-DifndxG3.d.ts} +7 -7
- package/dist/{field.zod-CtlQOnyn.d.ts → field.zod-7Xga1EtD.d.ts} +39 -39
- package/dist/{field.zod-oaD3s4Wh.d.mts → field.zod-C6l8Uwg6.d.mts} +39 -39
- package/dist/identity/index.d.mts +3 -3
- package/dist/identity/index.d.ts +3 -3
- package/dist/identity/index.js +66 -66
- package/dist/identity/index.mjs +7 -7
- package/dist/index.d.mts +24 -17
- package/dist/index.d.ts +24 -17
- package/dist/index.js +190 -180
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +60 -54
- package/dist/index.mjs.map +1 -1
- package/dist/integration/index.js +30 -30
- package/dist/integration/index.mjs +6 -6
- package/dist/kernel/index.d.mts +219 -182
- package/dist/kernel/index.d.ts +219 -182
- package/dist/kernel/index.js +364 -361
- package/dist/kernel/index.js.map +1 -1
- package/dist/kernel/index.mjs +66 -63
- package/dist/kernel/index.mjs.map +1 -1
- package/dist/{knowledge-document.zod-n3J2TqeU.d.mts → knowledge-document.zod-DpXYvyJF.d.mts} +148 -154
- package/dist/{knowledge-document.zod-n3J2TqeU.d.ts → knowledge-document.zod-DpXYvyJF.d.ts} +148 -154
- package/dist/{manifest.zod-C1C4K352.d.ts → manifest.zod-Bc7efaw9.d.ts} +2 -70
- package/dist/{manifest.zod-DV9SGqsv.d.mts → manifest.zod-wFUT7K_S.d.mts} +2 -70
- package/dist/marketplace/index.d.mts +13 -13
- package/dist/marketplace/index.d.ts +13 -13
- package/dist/marketplace/index.js +58 -58
- package/dist/marketplace/index.js.map +1 -1
- package/dist/marketplace/index.mjs +21 -21
- package/dist/marketplace/index.mjs.map +1 -1
- package/dist/meta-spelling/index.js +10 -10
- package/dist/meta-spelling/index.mjs +2 -2
- package/dist/migrations/index.d.mts +6 -6
- package/dist/migrations/index.d.ts +6 -6
- package/dist/migrations/index.js +375 -58
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/index.mjs +369 -52
- package/dist/migrations/index.mjs.map +1 -1
- package/dist/{object.zod-Bw2PnE-u.d.mts → object.zod-B6qT2YtU.d.mts} +67 -51
- package/dist/{object.zod-Vf8BVwxs.d.ts → object.zod-DdOLdQCv.d.ts} +67 -51
- package/dist/{package-artifact.zod-C7W5B3fR.d.ts → package-artifact.zod-BJY6pjLO.d.mts} +20 -14
- package/dist/{package-artifact.zod-C7W5B3fR.d.mts → package-artifact.zod-BJY6pjLO.d.ts} +20 -14
- package/dist/{page.zod-CL1CoAq9.d.mts → page.zod-BYagA9Qj.d.mts} +1 -1
- package/dist/{page.zod-DPbFpZO6.d.ts → page.zod-BpwbeE4J.d.ts} +1 -1
- package/dist/{permission.zod-B7BK5E52.d.mts → permission.zod-DYglW7DF.d.mts} +7 -12
- package/dist/{permission.zod-B7BK5E52.d.ts → permission.zod-DYglW7DF.d.ts} +7 -12
- package/dist/{platform-capabilities-Dj6HkZ3q.d.ts → platform-capabilities-BfRgGVRT.d.ts} +11 -1
- package/dist/{platform-capabilities-iDPzUu54.d.mts → platform-capabilities-C5yGMIB5.d.mts} +11 -1
- package/dist/qa/index.js +5 -5
- package/dist/qa/index.js.map +1 -1
- package/dist/qa/index.mjs +3 -3
- package/dist/qa/index.mjs.map +1 -1
- package/dist/security/index.d.mts +2 -2
- package/dist/security/index.d.ts +2 -2
- package/dist/security/index.js +75 -75
- package/dist/security/index.mjs +15 -15
- package/dist/shared/index.d.mts +1 -1
- package/dist/shared/index.d.ts +1 -1
- package/dist/shared/index.js +109 -109
- package/dist/shared/index.js.map +1 -1
- package/dist/shared/index.mjs +39 -39
- package/dist/shared/index.mjs.map +1 -1
- package/dist/{skill.zod-B7M1VOUq.d.mts → skill.zod-VJRvG0NR.d.mts} +112 -25
- package/dist/{skill.zod-B7M1VOUq.d.ts → skill.zod-VJRvG0NR.d.ts} +112 -25
- package/dist/{stack.zod-C0UObPYh.d.mts → stack.zod-B1ka37DR.d.mts} +2323 -476
- package/dist/{stack.zod-Dosw3eDO.d.ts → stack.zod-JtHxjDe4.d.ts} +2323 -476
- package/dist/studio/index.d.mts +3 -2
- package/dist/studio/index.d.ts +3 -2
- package/dist/studio/index.js +32 -32
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/index.mjs +5 -5
- package/dist/studio/index.mjs.map +1 -1
- package/dist/system/index.d.mts +1166 -364
- package/dist/system/index.d.ts +1166 -364
- package/dist/system/index.js +561 -554
- package/dist/system/index.js.map +1 -1
- package/dist/system/index.mjs +77 -78
- package/dist/system/index.mjs.map +1 -1
- package/dist/{translation.zod-BbCNYwJe.d.mts → translation.zod-Dc0giDAS.d.mts} +162 -4
- package/dist/{translation.zod-BbCNYwJe.d.ts → translation.zod-Dc0giDAS.d.ts} +162 -4
- package/dist/ui/index.d.mts +245 -76
- package/dist/ui/index.d.ts +245 -76
- package/dist/ui/index.js +416 -361
- package/dist/ui/index.mjs +15 -16
- package/dist/{view.zod-DUsbt19u.d.mts → view.zod-DWDTmxES.d.mts} +590 -20
- package/dist/{view.zod-DUsbt19u.d.ts → view.zod-DWDTmxES.d.ts} +590 -20
- package/json-schema/.build-input-hash-schema +1 -1
- package/json-schema/ai/AIModelConfig.json +6 -14
- package/json-schema/ai/AIUsageRecord.json +2 -2
- package/json-schema/ai/Agent.json +8 -16
- package/json-schema/ai/AiContext.json +2 -2
- package/json-schema/ai/AiContextBody.json +2 -2
- package/json-schema/ai/AiContextRelated.json +2 -2
- package/json-schema/ai/AiContextRelatedWhere.json +2 -2
- package/json-schema/ai/AskQuestion.json +67 -0
- package/json-schema/ai/AskQuestionEnvelope.json +107 -0
- package/json-schema/ai/AskQuestionOption.json +30 -0
- package/json-schema/ai/BlueprintApp.json +2 -2
- package/json-schema/ai/BlueprintCondition.json +2 -2
- package/json-schema/ai/BlueprintDashboard.json +2 -2
- package/json-schema/ai/BlueprintField.json +2 -2
- package/json-schema/ai/BlueprintNavItem.json +2 -2
- package/json-schema/ai/BlueprintObject.json +2 -2
- package/json-schema/ai/BlueprintSeed.json +2 -2
- package/json-schema/ai/BlueprintSummaryOperations.json +2 -2
- package/json-schema/ai/BlueprintView.json +2 -2
- package/json-schema/ai/BlueprintWidgetCondition.json +2 -2
- package/json-schema/ai/BuildProgressFrame.json +2 -2
- package/json-schema/ai/BuildProgressPhase.json +2 -2
- package/json-schema/ai/CodeContent.json +2 -2
- package/json-schema/ai/ConversationAnalytics.json +2 -2
- package/json-schema/ai/ConversationContext.json +2 -2
- package/json-schema/ai/ConversationMessage.json +2 -2
- package/json-schema/ai/ConversationSession.json +2 -2
- package/json-schema/ai/ConversationSummary.json +2 -2
- package/json-schema/ai/DatasetNextStep.json +2 -2
- package/json-schema/ai/DatasetNextStepDecision.json +2 -2
- package/json-schema/ai/DatasetProvenance.json +2 -2
- package/json-schema/ai/DatasetTermCandidate.json +2 -2
- package/json-schema/ai/DatasetTermMatch.json +2 -2
- package/json-schema/ai/DatasetTermMatchedOn.json +2 -2
- package/json-schema/ai/DatasetToolCatalogDimension.json +2 -2
- package/json-schema/ai/DatasetToolCatalogEntry.json +2 -2
- package/json-schema/ai/DatasetToolCatalogMeasure.json +2 -2
- package/json-schema/ai/FileContent.json +2 -2
- package/json-schema/ai/FunctionCall.json +2 -2
- package/json-schema/ai/GetRecordContextInput.json +2 -2
- package/json-schema/ai/GetRecordContextOutput.json +2 -2
- package/json-schema/ai/ImageContent.json +2 -2
- package/json-schema/ai/KnowledgeChunk.json +2 -2
- package/json-schema/ai/KnowledgeDocument.json +3 -3
- package/json-schema/ai/KnowledgeHit.json +2 -2
- package/json-schema/ai/KnowledgeRefreshPolicy.json +6 -55
- package/json-schema/ai/KnowledgeSource.json +137 -253
- package/json-schema/ai/KnowledgeSplit.json +2 -2
- package/json-schema/ai/KnowledgeSplitStrategy.json +2 -2
- package/json-schema/ai/ListDatasetsInput.json +2 -2
- package/json-schema/ai/ListDatasetsOutput.json +2 -2
- package/json-schema/ai/MCPApprovalPolicy.json +2 -2
- package/json-schema/ai/MCPServerRef.json +2 -2
- package/json-schema/ai/MCPToolBinding.json +2 -2
- package/json-schema/ai/MCPTransport.json +2 -2
- package/json-schema/ai/McpActionNamespace.json +2 -2
- package/json-schema/ai/McpListedActionAddress.json +2 -2
- package/json-schema/ai/MessageContent.json +2 -2
- package/json-schema/ai/MessageContentType.json +2 -2
- package/json-schema/ai/MessagePruningEvent.json +2 -2
- package/json-schema/ai/MessageRole.json +2 -2
- package/json-schema/ai/ModelCapability.json +2 -2
- package/json-schema/ai/ModelConfig.json +2 -2
- package/json-schema/ai/ModelLimits.json +2 -2
- package/json-schema/ai/ModelPricing.json +2 -2
- package/json-schema/ai/ModelProvider.json +2 -2
- package/json-schema/ai/ModelRegistry.json +2 -2
- package/json-schema/ai/ModelRegistryEntry.json +2 -2
- package/json-schema/ai/ModelSelectionCriteria.json +2 -2
- package/json-schema/ai/ObjectKnowledgeSource.json +16 -7
- package/json-schema/ai/ObjectQuerySource.json +2 -2
- package/json-schema/ai/PromptTemplate.json +2 -2
- package/json-schema/ai/PromptVariable.json +2 -2
- package/json-schema/ai/QueryDatasetInput.json +2 -2
- package/json-schema/ai/QueryDatasetOutput.json +2 -2
- package/json-schema/ai/RecordCitation.json +2 -2
- package/json-schema/ai/RecordCitations.json +2 -2
- package/json-schema/ai/RecordContextBody.json +2 -2
- package/json-schema/ai/RecordContextData.json +2 -2
- package/json-schema/ai/RecordContextFieldEntry.json +2 -2
- package/json-schema/ai/RecordContextNote.json +2 -2
- package/json-schema/ai/RecordContextNoteKind.json +2 -2
- package/json-schema/ai/RecordContextOutlineEntry.json +2 -2
- package/json-schema/ai/RecordContextRelatedList.json +2 -2
- package/json-schema/ai/RecordContextRelatedRow.json +2 -2
- package/json-schema/ai/Skill.json +12 -2
- package/json-schema/ai/SkillTriggerCondition.json +2 -2
- package/json-schema/ai/SolutionBlueprint.json +2 -2
- package/json-schema/ai/SolutionBlueprintStrict.json +2 -2
- package/json-schema/ai/StructuredOutputConfig.json +2 -2
- package/json-schema/ai/StructuredOutputFormat.json +2 -2
- package/json-schema/ai/TextContent.json +2 -2
- package/json-schema/ai/TokenBudgetConfig.json +2 -2
- package/json-schema/ai/TokenBudgetStrategy.json +2 -2
- package/json-schema/ai/TokenUsage.json +2 -2
- package/json-schema/ai/TokenUsageStats.json +2 -2
- package/json-schema/ai/Tool.json +2 -2
- package/json-schema/ai/ToolCall.json +2 -2
- package/json-schema/ai/TransformPipelineStep.json +2 -2
- package/json-schema/api/AckMessage.json +2 -2
- package/json-schema/api/AiAgentCapabilities.json +2 -2
- package/json-schema/api/AiAgentChatRequest.json +2 -2
- package/json-schema/api/AiAgentSummary.json +2 -2
- package/json-schema/api/AiAgentsResponse.json +2 -2
- package/json-schema/api/AiAnswerArtifactDraft.json +2 -2
- package/json-schema/api/AiAnswerArtifactError.json +2 -2
- package/json-schema/api/AiAnswerArtifactErrorCode.json +2 -2
- package/json-schema/api/AiAnswerArtifactKind.json +2 -2
- package/json-schema/api/AiAnswerArtifactRefusalReason.json +2 -2
- package/json-schema/api/AiAnswerFeedback.json +2 -2
- package/json-schema/api/AiAnswerFeedbackError.json +2 -2
- package/json-schema/api/AiAnswerFeedbackErrorCode.json +2 -2
- package/json-schema/api/AiAnswerRating.json +2 -2
- package/json-schema/api/AiChatRequest.json +2 -2
- package/json-schema/api/AiChatResponse.json +2 -2
- package/json-schema/api/AiCompleteRequest.json +2 -2
- package/json-schema/api/AiConversation.json +2 -2
- package/json-schema/api/AiConversationMessage.json +2 -2
- package/json-schema/api/AiMessage.json +2 -2
- package/json-schema/api/AiModelsResponse.json +2 -2
- package/json-schema/api/AiPendingAction.json +2 -2
- package/json-schema/api/AiPendingActionStatus.json +2 -2
- package/json-schema/api/AiSavedQuestion.json +2 -2
- package/json-schema/api/AiSavedQuestionError.json +2 -2
- package/json-schema/api/AiSavedQuestionErrorCode.json +2 -2
- package/json-schema/api/AiSavedQuestionRefusalReason.json +2 -2
- package/json-schema/api/AiStreamChunk.json +2 -2
- package/json-schema/api/AnalyticsEndpoint.json +2 -2
- package/json-schema/api/AnalyticsMetadataResponse.json +3 -2
- package/json-schema/api/AnalyticsQueryRequest.json +2 -2
- package/json-schema/api/AnalyticsResultResponse.json +3 -2
- package/json-schema/api/AnalyticsSqlResponse.json +3 -2
- package/json-schema/api/ApiChangelogEntry.json +2 -2
- package/json-schema/api/ApiDocumentationConfig.json +2 -2
- package/json-schema/api/ApiEndpoint.json +2 -2
- package/json-schema/api/ApiError.json +3 -2
- package/json-schema/api/ApiMapping.json +2 -2
- package/json-schema/api/ApiRoutes.json +2 -2
- package/json-schema/api/ApiTestCollection.json +2 -2
- package/json-schema/api/ApiTestRequest.json +2 -2
- package/json-schema/api/AppDefinitionResponse.json +6 -5
- package/json-schema/api/AppMetadataBundleResponse.json +2 -2
- package/json-schema/api/ApproveAiPendingActionResponse.json +2 -2
- package/json-schema/api/AssembledInstalledPackage.json +1996 -528
- package/json-schema/api/AuditMetaItemRequest.json +2 -2
- package/json-schema/api/AuditMetaItemResponse.json +2 -2
- package/json-schema/api/AuthEndpoint.json +2 -2
- package/json-schema/api/AuthFamilies.json +2 -2
- package/json-schema/api/AuthFeaturesConfig.json +2 -2
- package/json-schema/api/AuthProvider.json +2 -2
- package/json-schema/api/AuthProviderInfo.json +2 -2
- package/json-schema/api/AutomationActionsResponse.json +2 -2
- package/json-schema/api/AutomationApiErrorCode.json +2 -2
- package/json-schema/api/AutomationFlowPathParams.json +2 -2
- package/json-schema/api/AutomationRunPathParams.json +2 -2
- package/json-schema/api/AutomationTriggerRequest.json +2 -2
- package/json-schema/api/AutomationTriggerResponse.json +2 -2
- package/json-schema/api/BasePresence.json +2 -2
- package/json-schema/api/BaseResponse.json +3 -2
- package/json-schema/api/BatchConfig.json +2 -2
- package/json-schema/api/BatchDataRequest.json +2 -2
- package/json-schema/api/BatchDataResponse.json +4 -2
- package/json-schema/api/BatchEndpointsConfig.json +2 -2
- package/json-schema/api/BatchLoadingStrategy.json +2 -2
- package/json-schema/api/BatchOperationResult.json +3 -2
- package/json-schema/api/BatchOperationType.json +2 -2
- package/json-schema/api/BatchOptions.json +2 -2
- package/json-schema/api/BatchRecord.json +2 -2
- package/json-schema/api/BatchUpdateRequest.json +2 -2
- package/json-schema/api/BatchUpdateResponse.json +4 -2
- package/json-schema/api/BuildProbeReport.json +2 -2
- package/json-schema/api/BulkDataEvent.json +2 -2
- package/json-schema/api/BulkDataEventType.json +2 -2
- package/json-schema/api/BulkRequest.json +2 -2
- package/json-schema/api/BulkResponse.json +4 -2
- package/json-schema/api/CacheControl.json +2 -2
- package/json-schema/api/CacheDirective.json +2 -2
- package/json-schema/api/CacheInvalidationRequest.json +2 -2
- package/json-schema/api/CacheInvalidationResponse.json +2 -2
- package/json-schema/api/CacheInvalidationTarget.json +2 -2
- package/json-schema/api/CapabilityDescriptor.json +2 -2
- package/json-schema/api/CheckPermissionRequest.json +2 -2
- package/json-schema/api/CheckPermissionResponse.json +2 -2
- package/json-schema/api/CloneDataResponse.json +2 -2
- package/json-schema/api/CloneFlowRequest.json +2 -2
- package/json-schema/api/CloneFlowResponse.json +3 -2
- package/json-schema/api/CodeGenerationTemplate.json +2 -2
- package/json-schema/api/CompleteChunkedUploadRequest.json +2 -2
- package/json-schema/api/CompleteChunkedUploadResponse.json +3 -2
- package/json-schema/api/CompleteUploadRequest.json +2 -2
- package/json-schema/api/ConceptListResponse.json +3 -2
- package/json-schema/api/ConflictResolutionStrategy.json +2 -2
- package/json-schema/api/CreateAiAnswerArtifactRequest.json +2 -2
- package/json-schema/api/CreateAiAnswerArtifactResponse.json +2 -2
- package/json-schema/api/CreateAiConversationRequest.json +2 -2
- package/json-schema/api/CreateAiSavedQuestionRequest.json +2 -2
- package/json-schema/api/CreateAiSavedQuestionResponse.json +2 -2
- package/json-schema/api/CreateDataRequest.json +2 -2
- package/json-schema/api/CreateDataResponse.json +2 -2
- package/json-schema/api/CreateFlowRequest.json +2 -2
- package/json-schema/api/CreateFlowResponse.json +3 -2
- package/json-schema/api/CreateImportJobRequest.json +2 -2
- package/json-schema/api/CreateImportJobResponse.json +2 -2
- package/json-schema/api/CreateManyDataRequest.json +2 -2
- package/json-schema/api/CreateManyDataResponse.json +2 -2
- package/json-schema/api/CreateRequest.json +2 -2
- package/json-schema/api/CrossObjectBatchDroppedFields.json +2 -2
- package/json-schema/api/CrossObjectBatchOperation.json +2 -2
- package/json-schema/api/CrossObjectBatchRequest.json +2 -2
- package/json-schema/api/CrossObjectBatchResponse.json +2 -2
- package/json-schema/api/CrudEndpointsConfig.json +2 -2
- package/json-schema/api/CrudOperation.json +2 -2
- package/json-schema/api/CursorMessage.json +2 -2
- package/json-schema/api/CursorPosition.json +2 -2
- package/json-schema/api/DataEvent.json +2 -2
- package/json-schema/api/DataEventType.json +2 -2
- package/json-schema/api/DataLoaderConfig.json +2 -2
- package/json-schema/api/DatasetCompareTo.json +2 -2
- package/json-schema/api/DatasetQueryBatchEntry.json +3 -2
- package/json-schema/api/DatasetQueryBatchRequest.json +2 -2
- package/json-schema/api/DatasetQueryBatchResponse.json +4 -2
- package/json-schema/api/DatasetSelection.json +2 -2
- package/json-schema/api/DatasetTotals.json +2 -2
- package/json-schema/api/DeduplicationStrategy.json +2 -2
- package/json-schema/api/DeleteDataRequest.json +2 -2
- package/json-schema/api/DeleteDataResponse.json +2 -2
- package/json-schema/api/DeleteFlowRequest.json +2 -2
- package/json-schema/api/DeleteFlowResponse.json +3 -2
- package/json-schema/api/DeleteManyDataRequest.json +2 -2
- package/json-schema/api/DeleteManyDataResponse.json +4 -2
- package/json-schema/api/DeleteManyRequest.json +2 -2
- package/json-schema/api/DeleteMetaItemRequest.json +2 -2
- package/json-schema/api/DeleteMetaItemResponse.json +2 -2
- package/json-schema/api/DeleteResponse.json +3 -2
- package/json-schema/api/DestructiveChangeIssue.json +2 -2
- package/json-schema/api/DeviceRequestResponse.json +2 -2
- package/json-schema/api/DeviceTokenResponse.json +2 -2
- package/json-schema/api/DiffMetaItemRequest.json +2 -2
- package/json-schema/api/DiffMetaItemResponse.json +2 -2
- package/json-schema/api/DisablePackageRequest.json +2 -2
- package/json-schema/api/DisablePackageResponse.json +4 -4
- package/json-schema/api/DiscardPackageDraftsResponse.json +2 -2
- package/json-schema/api/Discovery.json +2 -2
- package/json-schema/api/DiscoveryEnvironment.json +2 -2
- package/json-schema/api/DispatcherConfig.json +2 -2
- package/json-schema/api/DispatcherErrorCode.json +2 -2
- package/json-schema/api/DispatcherErrorResponse.json +2 -2
- package/json-schema/api/DispatcherRoute.json +2 -2
- package/json-schema/api/DocumentState.json +2 -2
- package/json-schema/api/DuplicatePackageResponse.json +2 -2
- package/json-schema/api/ETag.json +2 -2
- package/json-schema/api/EditMessage.json +2 -2
- package/json-schema/api/EditOperation.json +2 -2
- package/json-schema/api/EditOperationType.json +2 -2
- package/json-schema/api/EmailPasswordConfigPublic.json +2 -2
- package/json-schema/api/EnablePackageRequest.json +2 -2
- package/json-schema/api/EnablePackageResponse.json +4 -4
- package/json-schema/api/EndpointRegistry.json +2 -2
- package/json-schema/api/EnhancedApiError.json +2 -2
- package/json-schema/api/EnsureCustomizationPackageRequest.json +2 -2
- package/json-schema/api/EnsureCustomizationPackageResponse.json +2 -2
- package/json-schema/api/EnvironmentType.json +2 -2
- package/json-schema/api/ErrorCategory.json +2 -2
- package/json-schema/api/ErrorCode.json +3 -2
- package/json-schema/api/ErrorHandlingConfig.json +2 -2
- package/json-schema/api/ErrorMessage.json +2 -2
- package/json-schema/api/ErrorResponse.json +2 -2
- package/json-schema/api/EventMessage.json +2 -2
- package/json-schema/api/EventPattern.json +2 -2
- package/json-schema/api/EventSubscription.json +2 -2
- package/json-schema/api/ExportFormat.json +2 -2
- package/json-schema/api/ExportImportTemplate.json +2 -2
- package/json-schema/api/ExportRequest.json +2 -2
- package/json-schema/api/FieldError.json +2 -2
- package/json-schema/api/FieldErrorCode.json +2 -2
- package/json-schema/api/FieldMappingEntry.json +2 -2
- package/json-schema/api/FieldSortability.json +2 -2
- package/json-schema/api/FieldStillShownBy.json +2 -2
- package/json-schema/api/FileDownloadUrlResponse.json +3 -2
- package/json-schema/api/FileTypeValidation.json +2 -2
- package/json-schema/api/FileUploadResponse.json +3 -2
- package/json-schema/api/FindDataRequest.json +2 -2
- package/json-schema/api/FindDataResponse.json +2 -2
- package/json-schema/api/FindReferencesToMetaResponse.json +2 -2
- package/json-schema/api/FlowFailureDetails.json +3 -2
- package/json-schema/api/FlowInnerRefusal.json +3 -2
- package/json-schema/api/FlowRegistration.json +2 -2
- package/json-schema/api/FlowRegistrationRefusal.json +2 -2
- package/json-schema/api/GeneratedApiDocumentation.json +2 -2
- package/json-schema/api/GeneratedEndpoint.json +2 -2
- package/json-schema/api/GetAiAnswerFeedbackResponse.json +2 -2
- package/json-schema/api/GetAnalyticsMetaRequest.json +2 -2
- package/json-schema/api/GetAuthConfigResponse.json +2 -2
- package/json-schema/api/GetDataRequest.json +2 -2
- package/json-schema/api/GetDataResponse.json +2 -2
- package/json-schema/api/GetDiscoveryRequest.json +2 -2
- package/json-schema/api/GetDiscoveryResponse.json +2 -2
- package/json-schema/api/GetEffectivePermissionsRequest.json +2 -2
- package/json-schema/api/GetEffectivePermissionsResponse.json +4 -4
- package/json-schema/api/GetFieldLabelsRequest.json +2 -2
- package/json-schema/api/GetFieldLabelsResponse.json +2 -2
- package/json-schema/api/GetFlowRequest.json +2 -2
- package/json-schema/api/GetFlowResponse.json +3 -2
- package/json-schema/api/GetInstalledPackageRequest.json +2 -2
- package/json-schema/api/GetInstalledPackageResponse.json +1997 -528
- package/json-schema/api/GetLocalesRequest.json +2 -2
- package/json-schema/api/GetLocalesResponse.json +2 -2
- package/json-schema/api/GetMetaDiagnosticsResponse.json +2 -2
- package/json-schema/api/GetMetaItemCachedRequest.json +2 -2
- package/json-schema/api/GetMetaItemCachedResponse.json +2 -2
- package/json-schema/api/GetMetaItemLayeredRequest.json +2 -2
- package/json-schema/api/GetMetaItemLayeredResponse.json +2 -2
- package/json-schema/api/GetMetaItemRequest.json +2 -2
- package/json-schema/api/GetMetaItemResponse.json +2 -2
- package/json-schema/api/GetMetaItemsRequest.json +2 -2
- package/json-schema/api/GetMetaItemsResponse.json +2 -2
- package/json-schema/api/GetMetaTypesRequest.json +2 -2
- package/json-schema/api/GetMetaTypesResponse.json +13 -13
- package/json-schema/api/GetNotificationPreferencesRequest.json +2 -2
- package/json-schema/api/GetNotificationPreferencesResponse.json +2 -2
- package/json-schema/api/GetObjectPermissionsRequest.json +2 -2
- package/json-schema/api/GetObjectPermissionsResponse.json +5 -5
- package/json-schema/api/GetPackageCustomizationsRequest.json +2 -2
- package/json-schema/api/GetPackageCustomizationsResponse.json +2 -2
- package/json-schema/api/GetPackageRequest.json +2 -2
- package/json-schema/api/GetPackageResponse.json +4 -4
- package/json-schema/api/GetPresenceRequest.json +2 -2
- package/json-schema/api/GetPresenceResponse.json +2 -2
- package/json-schema/api/GetPresignedUrlRequest.json +2 -2
- package/json-schema/api/GetPublishedMetaItemResponse.json +2 -2
- package/json-schema/api/GetRecordFieldAccessResponse.json +2 -2
- package/json-schema/api/GetRunRequest.json +2 -2
- package/json-schema/api/GetRunResponse.json +3 -2
- package/json-schema/api/GetTranslationsRequest.json +2 -2
- package/json-schema/api/GetTranslationsResponse.json +133 -2
- package/json-schema/api/GetUiViewRequest.json +2 -2
- package/json-schema/api/GetUiViewResponse.json +36 -6
- package/json-schema/api/HistoryMetaItemRequest.json +2 -2
- package/json-schema/api/HistoryMetaItemResponse.json +2 -2
- package/json-schema/api/HttpFindQueryParams.json +2 -2
- package/json-schema/api/HttpMethod.json +2 -2
- package/json-schema/api/IdRequest.json +2 -2
- package/json-schema/api/ImportJobProgress.json +2 -2
- package/json-schema/api/ImportJobResults.json +3 -3
- package/json-schema/api/ImportJobStatus.json +2 -2
- package/json-schema/api/ImportJobSummary.json +2 -2
- package/json-schema/api/ImportMapping.json +2 -2
- package/json-schema/api/ImportRequest.json +2 -2
- package/json-schema/api/ImportResponse.json +3 -3
- package/json-schema/api/ImportRowResult.json +3 -3
- package/json-schema/api/ImportUnmanagedPackageRequest.json +2 -2
- package/json-schema/api/ImportUnmanagedPackageResponse.json +2 -2
- package/json-schema/api/ImportValidationConfig.json +2 -2
- package/json-schema/api/ImportValidationMode.json +2 -2
- package/json-schema/api/ImportValidationResult.json +3 -2
- package/json-schema/api/ImportWriteMode.json +2 -2
- package/json-schema/api/InitiateChunkedUploadRequest.json +2 -2
- package/json-schema/api/InitiateChunkedUploadResponse.json +3 -2
- package/json-schema/api/InstallPackageRequest.json +4 -4
- package/json-schema/api/InstallPackageResponse.json +4 -4
- package/json-schema/api/InstalledPackageAtEitherStage.json +1996 -528
- package/json-schema/api/ListAiConversationsRequest.json +2 -2
- package/json-schema/api/ListAiConversationsResponse.json +2 -2
- package/json-schema/api/ListAiPendingActionsRequest.json +2 -2
- package/json-schema/api/ListAiPendingActionsResponse.json +2 -2
- package/json-schema/api/ListAiSavedQuestionsResponse.json +2 -2
- package/json-schema/api/ListDraftsResponse.json +2 -2
- package/json-schema/api/ListImportJobsRequest.json +2 -2
- package/json-schema/api/ListImportJobsResponse.json +2 -2
- package/json-schema/api/ListInstalledPackagesRequest.json +2 -2
- package/json-schema/api/ListInstalledPackagesResponse.json +1997 -528
- package/json-schema/api/ListNotificationsRequest.json +2 -2
- package/json-schema/api/ListNotificationsResponse.json +2 -2
- package/json-schema/api/ListPackageCommitsResponse.json +2 -2
- package/json-schema/api/ListPackagesRequest.json +2 -2
- package/json-schema/api/ListPackagesResponse.json +4 -4
- package/json-schema/api/ListRecordResponse.json +3 -2
- package/json-schema/api/ListRunsRequest.json +2 -2
- package/json-schema/api/ListRunsResponse.json +3 -2
- package/json-schema/api/LoginRequest.json +2 -2
- package/json-schema/api/LoginType.json +2 -2
- package/json-schema/api/MarkAllNotificationsReadRequest.json +2 -2
- package/json-schema/api/MarkAllNotificationsReadResponse.json +2 -2
- package/json-schema/api/MarkNotificationsReadRequest.json +2 -2
- package/json-schema/api/MarkNotificationsReadResponse.json +2 -2
- package/json-schema/api/MePermissionsAnonymousResponse.json +2 -2
- package/json-schema/api/MePermissionsAuthenticatedResponse.json +4 -4
- package/json-schema/api/MePermissionsResponse.json +4 -4
- package/json-schema/api/MetadataAuthoringClient.json +2 -2
- package/json-schema/api/MetadataAuthoringSurface.json +2 -2
- package/json-schema/api/MetadataBulkRegisterRequest.json +2 -2
- package/json-schema/api/MetadataBulkResponse.json +3 -2
- package/json-schema/api/MetadataBulkUnregisterRequest.json +2 -2
- package/json-schema/api/MetadataCacheRequest.json +2 -2
- package/json-schema/api/MetadataCacheResponse.json +2 -2
- package/json-schema/api/MetadataConflictError.json +2 -2
- package/json-schema/api/MetadataDeleteResponse.json +3 -2
- package/json-schema/api/MetadataDependenciesResponse.json +3 -2
- package/json-schema/api/MetadataDependentsResponse.json +3 -2
- package/json-schema/api/MetadataEndpointsConfig.json +2 -2
- package/json-schema/api/MetadataEvent.json +2 -2
- package/json-schema/api/MetadataEventType.json +2 -2
- package/json-schema/api/MetadataExistsResponse.json +3 -2
- package/json-schema/api/MetadataExportRequest.json +2 -2
- package/json-schema/api/MetadataExportResponse.json +3 -2
- package/json-schema/api/MetadataImportRequest.json +2 -2
- package/json-schema/api/MetadataImportResponse.json +3 -2
- package/json-schema/api/MetadataItemResponse.json +3 -2
- package/json-schema/api/MetadataListResponse.json +3 -2
- package/json-schema/api/MetadataNamesResponse.json +3 -2
- package/json-schema/api/MetadataQueryRequest.json +5 -3
- package/json-schema/api/MetadataQueryResponse.json +3 -2
- package/json-schema/api/MetadataRegisterRequest.json +5 -3
- package/json-schema/api/MetadataTypeInfoResponse.json +10 -9
- package/json-schema/api/MetadataTypesResponse.json +3 -2
- package/json-schema/api/MetadataValidateRequest.json +2 -2
- package/json-schema/api/MetadataValidateResponse.json +3 -2
- package/json-schema/api/ModificationResult.json +3 -2
- package/json-schema/api/Notification.json +2 -2
- package/json-schema/api/NotificationPreferences.json +2 -2
- package/json-schema/api/ODataConfig.json +2 -2
- package/json-schema/api/ODataError.json +2 -2
- package/json-schema/api/ODataFilterFunction.json +2 -2
- package/json-schema/api/ODataMetadata.json +2 -2
- package/json-schema/api/ODataQuery.json +2 -2
- package/json-schema/api/ODataQueryAdapter.json +2 -2
- package/json-schema/api/ODataResponse.json +2 -2
- package/json-schema/api/ObjectDefinitionResponse.json +32 -16
- package/json-schema/api/ObjectSortability.json +2 -2
- package/json-schema/api/OneTimeTokenHandoffQuery.json +2 -2
- package/json-schema/api/OneTimeTokenVerifyRequest.json +2 -2
- package/json-schema/api/OneTimeTokenVerifyResponse.json +2 -2
- package/json-schema/api/OpenApiGenerationConfig.json +2 -2
- package/json-schema/api/OpenApiSecurityScheme.json +2 -2
- package/json-schema/api/OpenApiServer.json +2 -2
- package/json-schema/api/OpenApiSpec.json +2 -2
- package/json-schema/api/OperatorMapping.json +2 -2
- package/json-schema/api/OrganizationEditionChoice.json +2 -2
- package/json-schema/api/PackageApiErrorCode.json +2 -2
- package/json-schema/api/PackageExportBundle.json +2 -2
- package/json-schema/api/PackageExportManifest.json +2 -2
- package/json-schema/api/PackageInstallBody.json +4 -4
- package/json-schema/api/PackageInstallManifest.json +4 -4
- package/json-schema/api/PackageInstallRequest.json +4 -4
- package/json-schema/api/PackageInstallResponse.json +5 -4
- package/json-schema/api/PackagePathParams.json +2 -2
- package/json-schema/api/PackagePublishResult.json +2 -2
- package/json-schema/api/PackageRollbackRequest.json +2 -2
- package/json-schema/api/PackageUpgradeRequest.json +4 -4
- package/json-schema/api/PackageUpgradeResponse.json +3 -2
- package/json-schema/api/PingMessage.json +2 -2
- package/json-schema/api/PongMessage.json +2 -2
- package/json-schema/api/PresenceMessage.json +2 -2
- package/json-schema/api/PresenceState.json +2 -2
- package/json-schema/api/PresenceStatus.json +2 -2
- package/json-schema/api/PresenceUpdate.json +2 -2
- package/json-schema/api/PresignedUrlResponse.json +3 -2
- package/json-schema/api/ProvenanceWaiver.json +2 -2
- package/json-schema/api/PublicFormSubmitResponse.json +2 -2
- package/json-schema/api/PublishMetaItemRequest.json +2 -2
- package/json-schema/api/PublishMetaItemResponse.json +2 -2
- package/json-schema/api/PublishPackageDraftsRequest.json +2 -2
- package/json-schema/api/PublishPackageDraftsResponse.json +2 -2
- package/json-schema/api/PushDeliveryData.json +2 -2
- package/json-schema/api/PushRelayDelivery.json +2 -2
- package/json-schema/api/PushRelayError.json +2 -2
- package/json-schema/api/PushRelayErrorResponse.json +2 -2
- package/json-schema/api/PushRelayPayload.json +2 -2
- package/json-schema/api/PushRelayPriority.json +2 -2
- package/json-schema/api/PushRelayRequest.json +2 -2
- package/json-schema/api/PushRelayResponse.json +2 -2
- package/json-schema/api/PushRelayResult.json +2 -2
- package/json-schema/api/PushRelayResultStatus.json +2 -2
- package/json-schema/api/PushRoute.json +2 -2
- package/json-schema/api/QueryAdapterConfig.json +2 -2
- package/json-schema/api/QueryAdapterTarget.json +2 -2
- package/json-schema/api/QueryOptimizationConfig.json +2 -2
- package/json-schema/api/RawUploadResponse.json +3 -2
- package/json-schema/api/RealtimeConfig.json +2 -2
- package/json-schema/api/RealtimeConnectRequest.json +2 -2
- package/json-schema/api/RealtimeConnectResponse.json +2 -2
- package/json-schema/api/RealtimeDisconnectRequest.json +2 -2
- package/json-schema/api/RealtimeDisconnectResponse.json +2 -2
- package/json-schema/api/RealtimeEvent.json +2 -2
- package/json-schema/api/RealtimeEventType.json +2 -2
- package/json-schema/api/RealtimePresence.json +2 -2
- package/json-schema/api/RealtimeRecordAction.json +2 -2
- package/json-schema/api/RealtimeSubscribeRequest.json +2 -2
- package/json-schema/api/RealtimeSubscribeResponse.json +2 -2
- package/json-schema/api/RealtimeUnsubscribeRequest.json +2 -2
- package/json-schema/api/RealtimeUnsubscribeResponse.json +2 -2
- package/json-schema/api/ReassignOrphanedMetadataResponse.json +2 -2
- package/json-schema/api/RecordData.json +2 -2
- package/json-schema/api/RecordPageActivityRequest.json +2 -2
- package/json-schema/api/RecordPageApprovals.json +2 -2
- package/json-schema/api/RecordPageAttachmentsRequest.json +2 -2
- package/json-schema/api/RecordPageDiscussion.json +2 -2
- package/json-schema/api/RecordPageDiscussionReactions.json +2 -2
- package/json-schema/api/RecordPageExplainAnswer.json +2 -2
- package/json-schema/api/RecordPageExplainOperation.json +2 -2
- package/json-schema/api/RecordPagePartError.json +2 -2
- package/json-schema/api/RecordPagePartRefusal.json +2 -2
- package/json-schema/api/RecordPageRelatedAnswer.json +2 -2
- package/json-schema/api/RecordPageRelatedRefusal.json +2 -2
- package/json-schema/api/RecordPageRelatedRequest.json +2 -2
- package/json-schema/api/RecordPageRelatedRows.json +2 -2
- package/json-schema/api/RecordPageRequest.json +2 -2
- package/json-schema/api/RecordPageResponse.json +2 -2
- package/json-schema/api/RecordPageStreamRefusal.json +2 -2
- package/json-schema/api/RecordPageStreamRows.json +2 -2
- package/json-schema/api/RecordPageTimelineCount.json +2 -2
- package/json-schema/api/RecordPageTimelineRequest.json +2 -2
- package/json-schema/api/RecordUpdateStart.json +2 -2
- package/json-schema/api/RecordUpdateStartsRequest.json +2 -2
- package/json-schema/api/RecordUpdateStartsResponse.json +3 -2
- package/json-schema/api/RefreshTokenRequest.json +2 -2
- package/json-schema/api/RegisterDeviceRequest.json +2 -2
- package/json-schema/api/RegisterDeviceResponse.json +2 -2
- package/json-schema/api/RegisterRequest.json +2 -2
- package/json-schema/api/RejectAiPendingActionResponse.json +2 -2
- package/json-schema/api/RequestValidationConfig.json +2 -2
- package/json-schema/api/ResolveDependenciesRequest.json +4 -4
- package/json-schema/api/ResolveDependenciesResponse.json +3 -2
- package/json-schema/api/ResolvedBook.json +2 -2
- package/json-schema/api/ResolvedEntry.json +2 -2
- package/json-schema/api/ResolvedGroup.json +2 -2
- package/json-schema/api/ResponseEnvelopeConfig.json +2 -2
- package/json-schema/api/RestApiConfig.json +2 -2
- package/json-schema/api/RestApiEndpoint.json +2 -2
- package/json-schema/api/RestApiPluginConfig.json +2 -2
- package/json-schema/api/RestApiRouteCategory.json +2 -2
- package/json-schema/api/RestApiRouteRegistration.json +2 -2
- package/json-schema/api/RestQueryAdapter.json +2 -2
- package/json-schema/api/RestServerConfig.json +2 -2
- package/json-schema/api/ResumeFailureDetails.json +2 -2
- package/json-schema/api/RetryStrategy.json +2 -2
- package/json-schema/api/RevertPackageCommitResponse.json +2 -2
- package/json-schema/api/RollbackMetaItemRequest.json +2 -2
- package/json-schema/api/RollbackMetaItemResponse.json +2 -2
- package/json-schema/api/RollbackToPackageCommitResponse.json +2 -2
- package/json-schema/api/RouteCategory.json +2 -2
- package/json-schema/api/RouteDefinition.json +2 -2
- package/json-schema/api/RouteGenerationConfig.json +2 -2
- package/json-schema/api/RouteHealthEntry.json +2 -2
- package/json-schema/api/RouteHealthReport.json +2 -2
- package/json-schema/api/RouterConfig.json +2 -2
- package/json-schema/api/RunAiSavedQuestionResponse.json +2 -2
- package/json-schema/api/RuntimeAuthoringIssue.json +2 -2
- package/json-schema/api/RuntimeBuildIssue.json +2 -2
- package/json-schema/api/SaveMetaItemRequest.json +2 -2
- package/json-schema/api/SaveMetaItemResponse.json +2 -2
- package/json-schema/api/SearchAllHit.json +2 -2
- package/json-schema/api/SearchAllPageHit.json +2 -2
- package/json-schema/api/SearchAllResponse.json +2 -2
- package/json-schema/api/SeedAppliedIdList.json +2 -2
- package/json-schema/api/SeedAppliedLanded.json +2 -2
- package/json-schema/api/ServiceInfo.json +2 -2
- package/json-schema/api/ServiceSelfInfo.json +2 -2
- package/json-schema/api/ServiceStatus.json +2 -2
- package/json-schema/api/Session.json +2 -2
- package/json-schema/api/SessionResponse.json +3 -2
- package/json-schema/api/SessionUser.json +2 -2
- package/json-schema/api/SetAiAnswerFeedbackRequest.json +2 -2
- package/json-schema/api/SetAiAnswerFeedbackResponse.json +2 -2
- package/json-schema/api/SetPresenceRequest.json +2 -2
- package/json-schema/api/SetPresenceResponse.json +2 -2
- package/json-schema/api/SimpleCursorPosition.json +2 -2
- package/json-schema/api/SimplePresenceState.json +2 -2
- package/json-schema/api/SingleRecordResponse.json +3 -2
- package/json-schema/api/StandardErrorCode.json +2 -2
- package/json-schema/api/StandardSynonymWaiver.json +2 -2
- package/json-schema/api/SubscribeMessage.json +2 -2
- package/json-schema/api/Subscription.json +2 -2
- package/json-schema/api/SubscriptionEvent.json +2 -2
- package/json-schema/api/ToggleFlowRequest.json +2 -2
- package/json-schema/api/ToggleFlowResponse.json +3 -2
- package/json-schema/api/TransportProtocol.json +2 -2
- package/json-schema/api/TriggerFlowRequest.json +2 -2
- package/json-schema/api/TriggerFlowResponse.json +84 -2
- package/json-schema/api/UndoImportJobResponse.json +2 -2
- package/json-schema/api/UninstallPackageApiRequest.json +2 -2
- package/json-schema/api/UninstallPackageApiResponse.json +3 -2
- package/json-schema/api/UninstallPackageRequest.json +2 -2
- package/json-schema/api/UninstallPackageResponse.json +2 -2
- package/json-schema/api/UnregisterDeviceRequest.json +2 -2
- package/json-schema/api/UnregisterDeviceResponse.json +2 -2
- package/json-schema/api/UnsubscribeMessage.json +2 -2
- package/json-schema/api/UnsubscribeRequest.json +2 -2
- package/json-schema/api/UpdateAiConversationRequest.json +2 -2
- package/json-schema/api/UpdateDataRequest.json +2 -2
- package/json-schema/api/UpdateDataResponse.json +2 -2
- package/json-schema/api/UpdateFlowRequest.json +2 -2
- package/json-schema/api/UpdateFlowResponse.json +3 -2
- package/json-schema/api/UpdateManyDataRequest.json +2 -2
- package/json-schema/api/UpdateManyDataResponse.json +4 -2
- package/json-schema/api/UpdateManyRecord.json +2 -2
- package/json-schema/api/UpdateManyRequest.json +2 -2
- package/json-schema/api/UpdateNotificationPreferencesRequest.json +2 -2
- package/json-schema/api/UpdateNotificationPreferencesResponse.json +2 -2
- package/json-schema/api/UpdateRequest.json +2 -2
- package/json-schema/api/UploadArtifactRequest.json +2 -2
- package/json-schema/api/UploadArtifactResponse.json +3 -2
- package/json-schema/api/UploadChunkRequest.json +2 -2
- package/json-schema/api/UploadChunkResponse.json +3 -2
- package/json-schema/api/UploadProgress.json +3 -2
- package/json-schema/api/UploadScope.json +2 -2
- package/json-schema/api/UserProfileResponse.json +3 -2
- package/json-schema/api/ValidateDataIssue.json +2 -2
- package/json-schema/api/ValidateDataRequest.json +2 -2
- package/json-schema/api/ValidateDataResponse.json +2 -2
- package/json-schema/api/ValidationMode.json +2 -2
- package/json-schema/api/VersionDefinition.json +2 -2
- package/json-schema/api/VersionNegotiationResponse.json +2 -2
- package/json-schema/api/VersionStatus.json +2 -2
- package/json-schema/api/VersioningConfig.json +2 -2
- package/json-schema/api/VersioningStrategy.json +2 -2
- package/json-schema/api/WebSocketConfig.json +2 -2
- package/json-schema/api/WebSocketEvent.json +2 -2
- package/json-schema/api/WebSocketMessage.json +2 -2
- package/json-schema/api/WebSocketMessageType.json +2 -2
- package/json-schema/api/WebSocketPresenceStatus.json +2 -2
- package/json-schema/api/WebSocketServerConfig.json +2 -2
- package/json-schema/api/WellKnownCapabilities.json +2 -2
- package/json-schema/automation/ActionCategory.json +2 -2
- package/json-schema/automation/ActionDescriptor.json +2 -2
- package/json-schema/automation/ActionParadigm.json +2 -2
- package/json-schema/automation/ApiTriggerBodySignature.json +2 -2
- package/json-schema/automation/ApiTriggerSecretRef.json +2 -2
- package/json-schema/automation/ApiTriggerSignature.json +2 -2
- package/json-schema/automation/ApiTriggerTimestampedSignature.json +2 -2
- package/json-schema/automation/ApprovalDecision.json +2 -2
- package/json-schema/automation/ApprovalEscalation.json +2 -2
- package/json-schema/automation/ApprovalNodeApprover.json +2 -2
- package/json-schema/automation/ApprovalNodeConfig.json +2 -2
- package/json-schema/automation/ApproverType.json +2 -2
- package/json-schema/automation/AssignmentConfig.json +2 -2
- package/json-schema/automation/AssignmentExpressionValue.json +2 -2
- package/json-schema/automation/AssignmentRule.json +2 -2
- package/json-schema/automation/AssignmentRuleEntry.json +2 -2
- package/json-schema/automation/AssignmentStrategy.json +2 -2
- package/json-schema/automation/AssignmentTarget.json +2 -2
- package/json-schema/automation/AssignmentValue.json +2 -2
- package/json-schema/automation/BpmnDiagnostic.json +2 -2
- package/json-schema/automation/BpmnElementMapping.json +2 -2
- package/json-schema/automation/BpmnExportOptions.json +2 -2
- package/json-schema/automation/BpmnImportOptions.json +2 -2
- package/json-schema/automation/BpmnInteropResult.json +2 -2
- package/json-schema/automation/BpmnUnmappedStrategy.json +2 -2
- package/json-schema/automation/BpmnVersion.json +2 -2
- package/json-schema/automation/Checkpoint.json +2 -2
- package/json-schema/automation/ConcurrencyPolicy.json +2 -2
- package/json-schema/automation/CreateRecordConfig.json +2 -2
- package/json-schema/automation/DecisionCondition.json +2 -2
- package/json-schema/automation/DecisionConfig.json +2 -2
- package/json-schema/automation/DecisionOutputDef.json +2 -2
- package/json-schema/automation/DeleteRecordConfig.json +2 -2
- package/json-schema/automation/EndConfig.json +2 -2
- package/json-schema/automation/ExecutionError.json +2 -2
- package/json-schema/automation/ExecutionErrorSeverity.json +2 -2
- package/json-schema/automation/ExecutionLog.json +2 -2
- package/json-schema/automation/ExecutionStatus.json +2 -2
- package/json-schema/automation/ExecutionStepLog.json +2 -2
- package/json-schema/automation/ExecutionStepMetrics.json +2 -2
- package/json-schema/automation/ExecutionStepSkipReason.json +2 -2
- package/json-schema/automation/Flow.json +2 -2
- package/json-schema/automation/FlowCollectionSlot.json +2 -2
- package/json-schema/automation/FlowEdge.json +2 -2
- package/json-schema/automation/FlowFunctionEffect.json +2 -2
- package/json-schema/automation/FlowFunctionLoweredDeclaration.json +2 -2
- package/json-schema/automation/FlowNode.json +2 -2
- package/json-schema/automation/FlowNodeAction.json +2 -2
- package/json-schema/automation/FlowRecordFieldValue.json +2 -2
- package/json-schema/automation/FlowRegion.json +2 -2
- package/json-schema/automation/FlowRunGateSummary.json +2 -2
- package/json-schema/automation/FlowRunNodeSummary.json +2 -2
- package/json-schema/automation/FlowRunSummary.json +2 -2
- package/json-schema/automation/FlowValueSlot.json +2 -2
- package/json-schema/automation/FlowVariable.json +2 -2
- package/json-schema/automation/FlowVersionHistory.json +2 -2
- package/json-schema/automation/GetRecordConfig.json +2 -2
- package/json-schema/automation/HttpConfig.json +2 -2
- package/json-schema/automation/LoopConfig.json +2 -2
- package/json-schema/automation/MapConfig.json +2 -2
- package/json-schema/automation/NodeExecutorDescriptor.json +2 -2
- package/json-schema/automation/NotifyConfig.json +2 -2
- package/json-schema/automation/NotifyEmailFieldRecipient.json +2 -2
- package/json-schema/automation/ParallelBranch.json +2 -2
- package/json-schema/automation/ParallelConfig.json +2 -2
- package/json-schema/automation/RetryPolicy.json +2 -2
- package/json-schema/automation/SaveNoticeConfig.json +2 -2
- package/json-schema/automation/ScheduleOrganization.json +2 -2
- package/json-schema/automation/ScreenConfig.json +2 -2
- package/json-schema/automation/ScreenFieldConfig.json +2 -2
- package/json-schema/automation/ScriptConfig.json +2 -2
- package/json-schema/automation/SubflowConfig.json +2 -2
- package/json-schema/automation/TimeRelativeTrigger.json +2 -2
- package/json-schema/automation/TryCatchConfig.json +2 -2
- package/json-schema/automation/TryCatchErrorValue.json +2 -2
- package/json-schema/automation/UpdateRecordConfig.json +2 -2
- package/json-schema/automation/WaitEventType.json +2 -2
- package/json-schema/automation/WaitExecutorConfig.json +2 -2
- package/json-schema/automation/WaitResumePayload.json +2 -2
- package/json-schema/automation/WaitTimeoutBehavior.json +2 -2
- package/json-schema/automation/Webhook.json +2 -2
- package/json-schema/automation/WebhookTriggerType.json +2 -2
- package/json-schema/data/Address.json +2 -2
- package/json-schema/data/AddressValue.json +2 -2
- package/json-schema/data/AggregationFunction.json +2 -2
- package/json-schema/data/AggregationMetricType.json +2 -2
- package/json-schema/data/AggregationNode.json +2 -2
- package/json-schema/data/AggregationPipeline.json +2 -2
- package/json-schema/data/AggregationStage.json +2 -2
- package/json-schema/data/AnalyticsDateRange.json +2 -2
- package/json-schema/data/AnalyticsDateRangePreset.json +2 -2
- package/json-schema/data/AnalyticsQuery.json +2 -2
- package/json-schema/data/ApiMethod.json +2 -2
- package/json-schema/data/ApiOperation.json +2 -2
- package/json-schema/data/AutoPersistenceConfig.json +2 -2
- package/json-schema/data/BaseEngineOptions.json +2 -2
- package/json-schema/data/BodyActivityAppendInput.json +2 -2
- package/json-schema/data/BodyDoorRecordRef.json +2 -2
- package/json-schema/data/BodyMailSendInput.json +2 -2
- package/json-schema/data/CalendarDateValue.json +2 -2
- package/json-schema/data/ClockTimeValue.json +2 -2
- package/json-schema/data/ColumnApplyOn.json +2 -2
- package/json-schema/data/ComparisonOperator.json +2 -2
- package/json-schema/data/ConditionalValidation.json +2 -2
- package/json-schema/data/ConsistencyLevel.json +2 -2
- package/json-schema/data/ContextToken.json +2 -2
- package/json-schema/data/ContextTokenPlaceholder.json +2 -2
- package/json-schema/data/CrossFieldValidation.json +2 -2
- package/json-schema/data/Cube.json +2 -2
- package/json-schema/data/CubeJoin.json +2 -2
- package/json-schema/data/CurrencyConfig.json +2 -2
- package/json-schema/data/DataEngineAggregateOptions.json +2 -2
- package/json-schema/data/DataEngineCountOptions.json +2 -2
- package/json-schema/data/DataEngineDeleteOptions.json +2 -2
- package/json-schema/data/DataEngineFilter.json +2 -2
- package/json-schema/data/DataEngineInsertOptions.json +2 -2
- package/json-schema/data/DataEngineQueryOptions.json +2 -2
- package/json-schema/data/DataEngineSort.json +2 -2
- package/json-schema/data/DataEngineUpdateOptions.json +2 -2
- package/json-schema/data/DataTypeMapping.json +2 -2
- package/json-schema/data/Datasource.json +2 -2
- package/json-schema/data/DateGranularity.json +2 -2
- package/json-schema/data/DateMacroPlaceholder.json +2 -2
- package/json-schema/data/DateMacroToken.json +2 -2
- package/json-schema/data/Dimension.json +2 -2
- package/json-schema/data/DimensionType.json +2 -2
- package/json-schema/data/DocumentSchemaValidation.json +2 -2
- package/json-schema/data/DriverCapabilities.json +2 -2
- package/json-schema/data/DriverConfig.json +2 -2
- package/json-schema/data/DriverDefinition.json +2 -2
- package/json-schema/data/DriverOptions.json +2 -2
- package/json-schema/data/DriverSslToggle.json +2 -2
- package/json-schema/data/DriverType.json +2 -2
- package/json-schema/data/DroppedFieldsEvent.json +2 -2
- package/json-schema/data/EngineAggregateOptions.json +2 -2
- package/json-schema/data/EngineCountOptions.json +2 -2
- package/json-schema/data/EngineDeleteOptions.json +2 -2
- package/json-schema/data/EngineQueryOptions.json +2 -2
- package/json-schema/data/EngineUpdateOptions.json +2 -2
- package/json-schema/data/EqualityOperator.json +2 -2
- package/json-schema/data/ExpressionBody.json +2 -2
- package/json-schema/data/ExternalCatalog.json +2 -2
- package/json-schema/data/ExternalColumn.json +2 -2
- package/json-schema/data/ExternalDatasourceSettings.json +2 -2
- package/json-schema/data/ExternalTable.json +2 -2
- package/json-schema/data/FeedFilterMode.json +2 -2
- package/json-schema/data/FeedItemType.json +2 -2
- package/json-schema/data/Field.json +6 -6
- package/json-schema/data/FieldMaskingKeep.json +2 -2
- package/json-schema/data/FieldMaskingRule.json +2 -2
- package/json-schema/data/FieldNode.json +2 -2
- package/json-schema/data/FieldOperators.json +2 -2
- package/json-schema/data/FieldReference.json +2 -2
- package/json-schema/data/FieldType.json +2 -2
- package/json-schema/data/FileLikeValue.json +2 -2
- package/json-schema/data/FilePersistenceConfig.json +2 -2
- package/json-schema/data/FileReferenceIdValue.json +2 -2
- package/json-schema/data/FileRefusedValue.json +2 -2
- package/json-schema/data/FileValue.json +2 -2
- package/json-schema/data/FilterArray.json +2 -2
- package/json-schema/data/FilterCondition.json +2 -2
- package/json-schema/data/FormatValidation.json +2 -2
- package/json-schema/data/FullTextSearch.json +2 -2
- package/json-schema/data/GroupByNode.json +2 -2
- package/json-schema/data/Hook.json +2 -2
- package/json-schema/data/HookBody.json +2 -2
- package/json-schema/data/HookBodyCapability.json +2 -2
- package/json-schema/data/HookContext.json +2 -2
- package/json-schema/data/HookEvent.json +2 -2
- package/json-schema/data/HookRefusal.json +2 -2
- package/json-schema/data/HookText.json +2 -2
- package/json-schema/data/ImportFieldMapping.json +2 -2
- package/json-schema/data/Index.json +2 -2
- package/json-schema/data/InlineGridColumn.json +2 -2
- package/json-schema/data/InstantValue.json +2 -2
- package/json-schema/data/JSONValidation.json +2 -2
- package/json-schema/data/Lifecycle.json +3 -3
- package/json-schema/data/LifecycleClass.json +2 -2
- package/json-schema/data/LocalStoragePersistenceConfig.json +2 -2
- package/json-schema/data/LocationCoordinates.json +2 -2
- package/json-schema/data/LocationValue.json +2 -2
- package/json-schema/data/LookupFilterRecordReference.json +2 -2
- package/json-schema/data/Mapping.json +2 -2
- package/json-schema/data/Metric.json +2 -2
- package/json-schema/data/MongoConfig.json +2 -2
- package/json-schema/data/MssqlConfig.json +2 -2
- package/json-schema/data/MysqlConfig.json +2 -2
- package/json-schema/data/NoSQLDataTypeMapping.json +2 -2
- package/json-schema/data/NoSQLDatabaseType.json +2 -2
- package/json-schema/data/NoSQLDriverConfig.json +2 -2
- package/json-schema/data/NoSQLIndex.json +2 -2
- package/json-schema/data/NoSQLIndexType.json +2 -2
- package/json-schema/data/NoSQLOperationType.json +2 -2
- package/json-schema/data/NoSQLQueryOptions.json +2 -2
- package/json-schema/data/NoSQLTransactionOptions.json +2 -2
- package/json-schema/data/NormalizedFilter.json +2 -2
- package/json-schema/data/NowAnchor.json +2 -2
- package/json-schema/data/Object.json +31 -16
- package/json-schema/data/ObjectAccessConfig.json +2 -2
- package/json-schema/data/ObjectCapabilities.json +2 -2
- package/json-schema/data/ObjectDependencyGraph.json +2 -2
- package/json-schema/data/ObjectDependencyNode.json +2 -2
- package/json-schema/data/ObjectExtension.json +10 -10
- package/json-schema/data/ObjectExtensionFieldPlacement.json +2 -2
- package/json-schema/data/ObjectExtensionGroupPlacement.json +2 -2
- package/json-schema/data/ObjectExtensionListPlacement.json +2 -2
- package/json-schema/data/ObjectExtensionPlacement.json +2 -2
- package/json-schema/data/ObjectExtensionRelatedListEntry.json +2 -2
- package/json-schema/data/ObjectExtensionRelatedListEntryObject.json +2 -2
- package/json-schema/data/ObjectExternalBinding.json +2 -2
- package/json-schema/data/ObjectFieldGroup.json +2 -2
- package/json-schema/data/ObjectOwnershipEnum.json +2 -2
- package/json-schema/data/ObjectRequiredPermissions.json +2 -2
- package/json-schema/data/OracleConfig.json +2 -2
- package/json-schema/data/PerOperationRequiredPermissions.json +2 -2
- package/json-schema/data/PersistenceType.json +2 -2
- package/json-schema/data/Picklist.json +4 -4
- package/json-schema/data/PicklistExtension.json +4 -4
- package/json-schema/data/PicklistServedField.json +4 -4
- package/json-schema/data/PoolConfig.json +2 -2
- package/json-schema/data/PostgresConfig.json +2 -2
- package/json-schema/data/Query.json +2 -2
- package/json-schema/data/QueryFilter.json +2 -2
- package/json-schema/data/QueryPageWindow.json +2 -2
- package/json-schema/data/QueryPageWindowParam.json +2 -2
- package/json-schema/data/QueryTransportParams.json +2 -2
- package/json-schema/data/QueryWithTransport.json +2 -2
- package/json-schema/data/RangeOperator.json +2 -2
- package/json-schema/data/RecycleBinClearedReference.json +2 -2
- package/json-schema/data/RecycleBinEntry.json +2 -2
- package/json-schema/data/RecycleBinRetentionDays.json +2 -2
- package/json-schema/data/RecycleBinRetentionDaysEnv.json +2 -2
- package/json-schema/data/RecycleBinSnapshot.json +2 -2
- package/json-schema/data/RecycleBinSnapshotRow.json +2 -2
- package/json-schema/data/ReferenceIdValue.json +2 -2
- package/json-schema/data/ReferenceNameOnlyValue.json +2 -2
- package/json-schema/data/ReferenceResolution.json +2 -2
- package/json-schema/data/ReferenceResolutionError.json +2 -2
- package/json-schema/data/RelatedListEntry.json +2 -2
- package/json-schema/data/RelatedListEntryObject.json +2 -2
- package/json-schema/data/ReplicationConfig.json +2 -2
- package/json-schema/data/RowCrudActionOverride.json +2 -2
- package/json-schema/data/SQLDialect.json +2 -2
- package/json-schema/data/SQLDriverConfig.json +2 -2
- package/json-schema/data/SSLConfig.json +2 -2
- package/json-schema/data/SchemaMode.json +2 -2
- package/json-schema/data/ScriptBody.json +2 -2
- package/json-schema/data/ScriptValidation.json +2 -2
- package/json-schema/data/Seed.json +2 -2
- package/json-schema/data/SeedColumn.json +2 -2
- package/json-schema/data/SeedFileContent.json +2 -2
- package/json-schema/data/SeedFilePath.json +2 -2
- package/json-schema/data/SeedFileReference.json +2 -2
- package/json-schema/data/SeedIdentity.json +2 -2
- package/json-schema/data/SeedLoadResult.json +2 -2
- package/json-schema/data/SeedLoaderConfig.json +2 -2
- package/json-schema/data/SeedLoaderRequest.json +2 -2
- package/json-schema/data/SeedLoaderResult.json +2 -2
- package/json-schema/data/SeedMode.json +2 -2
- package/json-schema/data/SelectOption.json +4 -4
- package/json-schema/data/SetOperator.json +2 -2
- package/json-schema/data/ShardingConfig.json +2 -2
- package/json-schema/data/SortNode.json +2 -2
- package/json-schema/data/SpecialOperator.json +2 -2
- package/json-schema/data/SqlAutoMigrate.json +2 -2
- package/json-schema/data/SqliteConfig.json +2 -2
- package/json-schema/data/SqliteWasmConfig.json +2 -2
- package/json-schema/data/SqliteWasmPersistMode.json +2 -2
- package/json-schema/data/StateMachineValidation.json +2 -2
- package/json-schema/data/StringOperator.json +2 -2
- package/json-schema/data/TenancyConfig.json +2 -2
- package/json-schema/data/TimeUpdateInterval.json +2 -2
- package/json-schema/data/TransformType.json +2 -2
- package/json-schema/data/TursoConfig.json +2 -2
- package/json-schema/data/TursoTransportMode.json +2 -2
- package/json-schema/data/UniqueScope.json +2 -2
- package/json-schema/data/UnitConfig.json +2 -2
- package/json-schema/data/ValidationAdvisoryEvent.json +2 -2
- package/json-schema/data/ValidationRule.json +2 -2
- package/json-schema/identity/Account.json +2 -2
- package/json-schema/identity/EvalUser.json +2 -2
- package/json-schema/identity/Invitation.json +2 -2
- package/json-schema/identity/InvitationStatus.json +2 -2
- package/json-schema/identity/Member.json +2 -2
- package/json-schema/identity/Organization.json +2 -2
- package/json-schema/identity/Position.json +2 -2
- package/json-schema/identity/SCIMAddress.json +2 -2
- package/json-schema/identity/SCIMBulkOperation.json +2 -2
- package/json-schema/identity/SCIMBulkRequest.json +2 -2
- package/json-schema/identity/SCIMBulkResponse.json +2 -2
- package/json-schema/identity/SCIMBulkResponseOperation.json +2 -2
- package/json-schema/identity/SCIMEmail.json +2 -2
- package/json-schema/identity/SCIMEnterpriseUser.json +2 -2
- package/json-schema/identity/SCIMError.json +2 -2
- package/json-schema/identity/SCIMGroup.json +2 -2
- package/json-schema/identity/SCIMGroupReference.json +2 -2
- package/json-schema/identity/SCIMListResponse.json +2 -2
- package/json-schema/identity/SCIMMemberReference.json +2 -2
- package/json-schema/identity/SCIMMeta.json +2 -2
- package/json-schema/identity/SCIMName.json +2 -2
- package/json-schema/identity/SCIMPatchOperation.json +2 -2
- package/json-schema/identity/SCIMPatchRequest.json +2 -2
- package/json-schema/identity/SCIMPhoneNumber.json +2 -2
- package/json-schema/identity/SCIMUser.json +2 -2
- package/json-schema/identity/User.json +2 -2
- package/json-schema/identity/VerificationToken.json +2 -2
- package/json-schema/integration/Connector.json +2 -2
- package/json-schema/integration/ConnectorAction.json +2 -2
- package/json-schema/integration/ConnectorActionEffect.json +2 -2
- package/json-schema/integration/ConnectorAppCredentialVendor.json +2 -2
- package/json-schema/integration/ConnectorInstanceAPIKeyAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceAppCredentialAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceBasicAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceBearerAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceNoAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceOAuth2Auth.json +2 -2
- package/json-schema/integration/ConnectorInstanceOAuth2AuthorizationCodeAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceOAuth2ClientCredentialsAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceSignedAlipayV3Auth.json +2 -2
- package/json-schema/integration/ConnectorInstanceSignedAliyunAcs3Auth.json +2 -2
- package/json-schema/integration/ConnectorInstanceSignedAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceSignedTencentCloudTc3Auth.json +2 -2
- package/json-schema/integration/ConnectorOAuth2Grant.json +2 -2
- package/json-schema/integration/ConnectorRetryStrategy.json +2 -2
- package/json-schema/integration/ConnectorSigningScheme.json +2 -2
- package/json-schema/integration/ConnectorType.json +2 -2
- package/json-schema/integration/DeclarativeConnectorEntry.json +2 -2
- package/json-schema/integration/RetryConfig.json +2 -2
- package/json-schema/kernel/ArtifactChecksum.json +2 -2
- package/json-schema/kernel/ArtifactFileEntry.json +2 -2
- package/json-schema/kernel/ArtifactSignature.json +2 -2
- package/json-schema/kernel/AuthGateCode.json +2 -2
- package/json-schema/kernel/AuthGateScope.json +2 -2
- package/json-schema/kernel/BreakingChange.json +2 -2
- package/json-schema/kernel/CapabilityConformanceLevel.json +2 -2
- package/json-schema/kernel/ClusterCapabilityConfig.json +2 -2
- package/json-schema/kernel/ClusterDriver.json +2 -2
- package/json-schema/kernel/ClusterTenantIsolation.json +2 -2
- package/json-schema/kernel/CompatibilityLevel.json +2 -2
- package/json-schema/kernel/CompatibilityMatrixEntry.json +2 -2
- package/json-schema/kernel/DeadLetterQueueEntry.json +2 -2
- package/json-schema/kernel/DependencyConflict.json +2 -2
- package/json-schema/kernel/DependencyGraph.json +2 -2
- package/json-schema/kernel/DependencyGraphNode.json +2 -2
- package/json-schema/kernel/DependencyResolutionResult.json +2 -2
- package/json-schema/kernel/DependencyStatusEnum.json +2 -2
- package/json-schema/kernel/DeprecationNotice.json +2 -2
- package/json-schema/kernel/DisablePackageRequest.json +2 -2
- package/json-schema/kernel/DisablePackageResponse.json +4 -4
- package/json-schema/kernel/EnablePackageRequest.json +2 -2
- package/json-schema/kernel/EnablePackageResponse.json +4 -4
- package/json-schema/kernel/Event.json +2 -2
- package/json-schema/kernel/EventBusConfig.json +2 -2
- package/json-schema/kernel/EventClusterOptions.json +2 -2
- package/json-schema/kernel/EventDeliverySemantics.json +2 -2
- package/json-schema/kernel/EventHandler.json +2 -2
- package/json-schema/kernel/EventLogEntry.json +2 -2
- package/json-schema/kernel/EventMessageQueueConfig.json +2 -2
- package/json-schema/kernel/EventMetadata.json +2 -2
- package/json-schema/kernel/EventPersistence.json +2 -2
- package/json-schema/kernel/EventPriority.json +2 -2
- package/json-schema/kernel/EventQueueConfig.json +2 -2
- package/json-schema/kernel/EventReplayConfig.json +2 -2
- package/json-schema/kernel/EventRoute.json +2 -2
- package/json-schema/kernel/EventScope.json +2 -2
- package/json-schema/kernel/EventSourcingConfig.json +2 -2
- package/json-schema/kernel/EventTypeDefinition.json +2 -2
- package/json-schema/kernel/EventWebhookConfig.json +2 -2
- package/json-schema/kernel/ExecutionContext.json +2 -2
- package/json-schema/kernel/ExtensionPoint.json +2 -2
- package/json-schema/kernel/GetPackageRequest.json +2 -2
- package/json-schema/kernel/GetPackageResponse.json +4 -4
- package/json-schema/kernel/HotReloadConfig.json +2 -2
- package/json-schema/kernel/InstallMode.json +2 -2
- package/json-schema/kernel/InstallPackageRequest.json +4 -4
- package/json-schema/kernel/InstallPackageResponse.json +4 -4
- package/json-schema/kernel/InstalledPackage.json +4 -4
- package/json-schema/kernel/InstalledPackageSource.json +2 -2
- package/json-schema/kernel/KernelContext.json +2 -2
- package/json-schema/kernel/KernelSecurityPolicy.json +2 -2
- package/json-schema/kernel/ListPackagesRequest.json +2 -2
- package/json-schema/kernel/ListPackagesResponse.json +4 -4
- package/json-schema/kernel/Manifest.json +4 -4
- package/json-schema/kernel/ManifestPermissions.json +2 -2
- package/json-schema/kernel/MetadataBulkResult.json +2 -2
- package/json-schema/kernel/MetadataCategoryEnum.json +2 -2
- package/json-schema/kernel/MetadataDependency.json +2 -2
- package/json-schema/kernel/MetadataFallbackStrategy.json +2 -2
- package/json-schema/kernel/MetadataLock.json +2 -2
- package/json-schema/kernel/MetadataLockSource.json +2 -2
- package/json-schema/kernel/MetadataManagerConfig.json +2 -2
- package/json-schema/kernel/MetadataPluginConfig.json +2 -2
- package/json-schema/kernel/MetadataPluginManifest.json +2 -2
- package/json-schema/kernel/MetadataProvenance.json +2 -2
- package/json-schema/kernel/MetadataQuery.json +5 -3
- package/json-schema/kernel/MetadataQueryResult.json +2 -2
- package/json-schema/kernel/MetadataType.json +5 -3
- package/json-schema/kernel/MetadataTypeRegistryEntry.json +12 -10
- package/json-schema/kernel/MetadataValidationResult.json +2 -2
- package/json-schema/kernel/MultiVersionSupport.json +2 -2
- package/json-schema/kernel/NamespaceConflictError.json +2 -2
- package/json-schema/kernel/NamespaceRegistryEntry.json +2 -2
- package/json-schema/kernel/OclifPluginConfig.json +2 -2
- package/json-schema/kernel/OpsDomainModule.json +2 -2
- package/json-schema/kernel/OpsFilePath.json +2 -2
- package/json-schema/kernel/OpsPluginStructure.json +2 -2
- package/json-schema/kernel/OverrideDeclaration.json +2 -2
- package/json-schema/kernel/PackageArtifact.json +2 -2
- package/json-schema/kernel/PackageDependencyConflict.json +2 -2
- package/json-schema/kernel/PackageDependencyResolutionResult.json +2 -2
- package/json-schema/kernel/PackageStatusEnum.json +2 -2
- package/json-schema/kernel/PermissionAction.json +2 -2
- package/json-schema/kernel/PermissionScope.json +2 -2
- package/json-schema/kernel/PermissionSetAddress.json +2 -2
- package/json-schema/kernel/Plugin.json +2 -2
- package/json-schema/kernel/PluginCapability.json +2 -2
- package/json-schema/kernel/PluginCapabilityManifest.json +2 -2
- package/json-schema/kernel/PluginCompatibilityMatrix.json +2 -2
- package/json-schema/kernel/PluginDependency.json +2 -2
- package/json-schema/kernel/PluginDependencyResolutionResult.json +2 -2
- package/json-schema/kernel/PluginEngines.json +2 -2
- package/json-schema/kernel/PluginHealthCheck.json +2 -2
- package/json-schema/kernel/PluginHealthReport.json +2 -2
- package/json-schema/kernel/PluginHealthStatus.json +2 -2
- package/json-schema/kernel/PluginInstallConfig.json +2 -2
- package/json-schema/kernel/PluginIntegrity.json +2 -2
- package/json-schema/kernel/PluginInterface.json +2 -2
- package/json-schema/kernel/PluginLoadingEvent.json +2 -2
- package/json-schema/kernel/PluginLoadingState.json +2 -2
- package/json-schema/kernel/PluginMetadata.json +2 -2
- package/json-schema/kernel/PluginPackaging.json +2 -2
- package/json-schema/kernel/PluginPermission.json +2 -2
- package/json-schema/kernel/PluginPermissionSet.json +2 -2
- package/json-schema/kernel/PluginPermissions.json +2 -2
- package/json-schema/kernel/PluginProvenance.json +2 -2
- package/json-schema/kernel/PluginQualityMetrics.json +2 -2
- package/json-schema/kernel/PluginRegistryEntry.json +2 -2
- package/json-schema/kernel/PluginRuntime.json +2 -2
- package/json-schema/kernel/PluginSearchFilters.json +2 -2
- package/json-schema/kernel/PluginSecurityManifest.json +2 -2
- package/json-schema/kernel/PluginStartupResult.json +2 -2
- package/json-schema/kernel/PluginStateSnapshot.json +2 -2
- package/json-schema/kernel/PluginStatistics.json +2 -2
- package/json-schema/kernel/PluginTrustLevel.json +2 -2
- package/json-schema/kernel/PluginTrustScore.json +2 -2
- package/json-schema/kernel/PluginVendor.json +2 -2
- package/json-schema/kernel/PluginVersionMetadata.json +2 -2
- package/json-schema/kernel/ProtocolFeature.json +2 -2
- package/json-schema/kernel/ProtocolReference.json +2 -2
- package/json-schema/kernel/ProtocolVersion.json +2 -2
- package/json-schema/kernel/RealTimeNotificationConfig.json +2 -2
- package/json-schema/kernel/RequiredAction.json +2 -2
- package/json-schema/kernel/ResolvedDependency.json +2 -2
- package/json-schema/kernel/ResolvedPackageDependency.json +2 -2
- package/json-schema/kernel/ResourceType.json +2 -2
- package/json-schema/kernel/RuntimeConfig.json +2 -2
- package/json-schema/kernel/RuntimeMode.json +2 -2
- package/json-schema/kernel/SBOM.json +2 -2
- package/json-schema/kernel/SBOMEntry.json +2 -2
- package/json-schema/kernel/SandboxConfig.json +2 -2
- package/json-schema/kernel/ScopeConfig.json +2 -2
- package/json-schema/kernel/ScopeInfo.json +2 -2
- package/json-schema/kernel/SecurityPolicy.json +2 -2
- package/json-schema/kernel/SecurityScanResult.json +2 -2
- package/json-schema/kernel/SecurityVulnerability.json +2 -2
- package/json-schema/kernel/SemanticVersion.json +2 -2
- package/json-schema/kernel/ServiceClusterAnnotations.json +2 -2
- package/json-schema/kernel/ServiceClusterScope.json +2 -2
- package/json-schema/kernel/ServiceFactoryRegistration.json +2 -2
- package/json-schema/kernel/ServiceLeaderStrategy.json +2 -2
- package/json-schema/kernel/ServiceMetadata.json +2 -2
- package/json-schema/kernel/ServiceRegistryConfig.json +2 -2
- package/json-schema/kernel/ServiceScopeType.json +2 -2
- package/json-schema/kernel/TenantRuntimeContext.json +2 -2
- package/json-schema/kernel/UninstallPackageRequest.json +2 -2
- package/json-schema/kernel/UninstallPackageResponse.json +2 -2
- package/json-schema/kernel/ValidationError.json +2 -2
- package/json-schema/kernel/ValidationResult.json +2 -2
- package/json-schema/kernel/ValidationWarning.json +2 -2
- package/json-schema/kernel/VersionConstraint.json +2 -2
- package/json-schema/kernel/VulnerabilitySeverity.json +2 -2
- package/json-schema/marketplace/ArtifactDownloadResponse.json +2 -2
- package/json-schema/marketplace/ArtifactReference.json +2 -2
- package/json-schema/marketplace/CreatePackageRequest.json +2 -2
- package/json-schema/marketplace/CreatePackageVersionRequest.json +2 -2
- package/json-schema/marketplace/ListingStatus.json +2 -2
- package/json-schema/marketplace/MarketplaceBusinessFunction.json +2 -2
- package/json-schema/marketplace/MarketplaceBusinessFunctions.json +2 -2
- package/json-schema/marketplace/MarketplaceIndustries.json +2 -2
- package/json-schema/marketplace/MarketplaceIndustry.json +2 -2
- package/json-schema/marketplace/MarketplaceInstallRequest.json +2 -2
- package/json-schema/marketplace/MarketplaceInstallResponse.json +2 -2
- package/json-schema/marketplace/MarketplaceListing.json +2 -2
- package/json-schema/marketplace/MarketplaceSearchRequest.json +2 -2
- package/json-schema/marketplace/MarketplaceSearchResponse.json +2 -2
- package/json-schema/marketplace/MarketplaceSolutionType.json +2 -2
- package/json-schema/marketplace/Package.json +2 -2
- package/json-schema/marketplace/PackageDependency.json +2 -2
- package/json-schema/marketplace/PackageLocale.json +2 -2
- package/json-schema/marketplace/PackageManifest.json +2 -2
- package/json-schema/marketplace/PackageMaturity.json +2 -2
- package/json-schema/marketplace/PackagePublisher.json +2 -2
- package/json-schema/marketplace/PackageSubmission.json +2 -2
- package/json-schema/marketplace/PackageTranslation.json +2 -2
- package/json-schema/marketplace/PackageTranslations.json +2 -2
- package/json-schema/marketplace/PackageVersion.json +2 -2
- package/json-schema/marketplace/PackageVersionStatus.json +2 -2
- package/json-schema/marketplace/PackageVisibility.json +2 -2
- package/json-schema/marketplace/PricingModel.json +2 -2
- package/json-schema/marketplace/PublishPackageVersionRequest.json +2 -2
- package/json-schema/marketplace/Publisher.json +2 -2
- package/json-schema/marketplace/PublisherVerification.json +2 -2
- package/json-schema/marketplace/TemplateManifest.json +2 -2
- package/json-schema/marketplace/UpdatePackageRequest.json +2 -2
- package/json-schema/marketplace/UpdatePackageVersionRequest.json +2 -2
- package/json-schema/objectstack.json +15638 -7010
- package/json-schema/openapi.json +8 -1
- package/json-schema/qa/TestAction.json +2 -2
- package/json-schema/qa/TestActionType.json +2 -2
- package/json-schema/qa/TestAssertion.json +2 -2
- package/json-schema/qa/TestAssertionType.json +2 -2
- package/json-schema/qa/TestContext.json +2 -2
- package/json-schema/qa/TestScenario.json +2 -2
- package/json-schema/qa/TestStep.json +2 -2
- package/json-schema/qa/TestSuite.json +2 -2
- package/json-schema/security/AccessMatrix.json +2 -2
- package/json-schema/security/AccessMatrixEntry.json +2 -2
- package/json-schema/security/AdminScope.json +2 -2
- package/json-schema/security/AuthzPosture.json +2 -2
- package/json-schema/security/CapabilityDeclaration.json +2 -2
- package/json-schema/security/CriteriaSharingRule.json +2 -2
- package/json-schema/security/DeclaredQueueMember.json +2 -2
- package/json-schema/security/DefaultRowScope.json +2 -2
- package/json-schema/security/EffectiveObjectPermission.json +4 -4
- package/json-schema/security/ExplainDecision.json +2 -2
- package/json-schema/security/ExplainLayer.json +2 -2
- package/json-schema/security/ExplainMatchedRule.json +2 -2
- package/json-schema/security/ExplainOperation.json +2 -2
- package/json-schema/security/ExplainRecordAttribution.json +2 -2
- package/json-schema/security/ExplainRequest.json +2 -2
- package/json-schema/security/FieldPermission.json +3 -3
- package/json-schema/security/MembershipKey.json +2 -2
- package/json-schema/security/MembershipKeyName.json +2 -2
- package/json-schema/security/MembershipKeys.json +2 -2
- package/json-schema/security/OWDModel.json +2 -2
- package/json-schema/security/ObjectAccessScope.json +2 -2
- package/json-schema/security/ObjectPermission.json +4 -4
- package/json-schema/security/OrgScopingEntitlement.json +2 -2
- package/json-schema/security/PermissionSet.json +5 -5
- package/json-schema/security/PlatformGlobalObjects.json +2 -2
- package/json-schema/security/Queue.json +2 -2
- package/json-schema/security/QueueMemberType.json +2 -2
- package/json-schema/security/RLSEvaluationResult.json +2 -2
- package/json-schema/security/RLSOperation.json +2 -2
- package/json-schema/security/RLSUserContext.json +2 -2
- package/json-schema/security/RowLevelSecurityPolicy.json +2 -2
- package/json-schema/security/ShareRecipientType.json +2 -2
- package/json-schema/security/SharingLevel.json +2 -2
- package/json-schema/security/SharingRule.json +2 -2
- package/json-schema/security/SharingRuleType.json +2 -2
- package/json-schema/security/TenancyPosture.json +2 -2
- package/json-schema/security/TenantLayer0Verdict.json +2 -2
- package/json-schema/shared/BaseMetadataRecord.json +2 -2
- package/json-schema/shared/CorsConfig.json +2 -2
- package/json-schema/shared/CronExpressionInput.json +2 -2
- package/json-schema/shared/DurationMs.json +2 -2
- package/json-schema/shared/DurationSeconds.json +2 -2
- package/json-schema/shared/EpochMs.json +2 -2
- package/json-schema/shared/EvaluatedExpression.json +2 -2
- package/json-schema/shared/EvaluatedExpressionInput.json +2 -2
- package/json-schema/shared/Expression.json +2 -2
- package/json-schema/shared/ExpressionDialect.json +2 -2
- package/json-schema/shared/ExpressionInput.json +2 -2
- package/json-schema/shared/ExpressionMeta.json +2 -2
- package/json-schema/shared/FieldMapping.json +2 -2
- package/json-schema/shared/HttpMethod.json +2 -2
- package/json-schema/shared/HttpMethodSubset.json +2 -2
- package/json-schema/shared/HttpRequest.json +2 -2
- package/json-schema/shared/IsolationLevelEnum.json +2 -2
- package/json-schema/shared/MetadataFormat.json +2 -2
- package/json-schema/shared/MetadataItemName.json +2 -2
- package/json-schema/shared/MutationEventEnum.json +2 -2
- package/json-schema/shared/Predicate.json +2 -2
- package/json-schema/shared/PredicateInput.json +2 -2
- package/json-schema/shared/Protection.json +2 -2
- package/json-schema/shared/RateLimitConfig.json +2 -2
- package/json-schema/shared/SnakeCaseIdentifier.json +2 -2
- package/json-schema/shared/SortDirectionEnum.json +2 -2
- package/json-schema/shared/SortItem.json +2 -2
- package/json-schema/shared/StaticMount.json +2 -2
- package/json-schema/shared/SystemIdentifier.json +2 -2
- package/json-schema/shared/TemplateExpressionInput.json +2 -2
- package/json-schema/shared/ValueDomain.json +2 -2
- package/json-schema/studio/ActionContribution.json +2 -2
- package/json-schema/studio/ActionContributionLocation.json +2 -2
- package/json-schema/studio/CommandContribution.json +2 -2
- package/json-schema/studio/ERDiagramConfig.json +2 -2
- package/json-schema/studio/ERLayoutAlgorithm.json +2 -2
- package/json-schema/studio/ERNodeDisplay.json +2 -2
- package/json-schema/studio/FieldEditorConfig.json +2 -2
- package/json-schema/studio/FieldGroup.json +2 -2
- package/json-schema/studio/FieldPropertySection.json +2 -2
- package/json-schema/studio/FlowBuilderConfig.json +2 -2
- package/json-schema/studio/FlowCanvasEdge.json +2 -2
- package/json-schema/studio/FlowCanvasEdgeStyle.json +2 -2
- package/json-schema/studio/FlowCanvasNode.json +2 -2
- package/json-schema/studio/FlowLayoutAlgorithm.json +2 -2
- package/json-schema/studio/FlowLayoutDirection.json +2 -2
- package/json-schema/studio/FlowNodeRenderDescriptor.json +2 -2
- package/json-schema/studio/FlowNodeShape.json +2 -2
- package/json-schema/studio/MetadataIconContribution.json +2 -2
- package/json-schema/studio/MetadataViewerContribution.json +2 -2
- package/json-schema/studio/ObjectDesignerConfig.json +2 -2
- package/json-schema/studio/ObjectDesignerDefaultView.json +2 -2
- package/json-schema/studio/ObjectFilter.json +2 -2
- package/json-schema/studio/ObjectListDisplayMode.json +2 -2
- package/json-schema/studio/ObjectManagerConfig.json +2 -2
- package/json-schema/studio/ObjectPreviewConfig.json +2 -2
- package/json-schema/studio/ObjectPreviewTab.json +2 -2
- package/json-schema/studio/ObjectSortField.json +2 -2
- package/json-schema/studio/PanelContribution.json +2 -2
- package/json-schema/studio/PanelLocation.json +2 -2
- package/json-schema/studio/RelationshipDisplay.json +2 -2
- package/json-schema/studio/RelationshipMapperConfig.json +2 -2
- package/json-schema/studio/SidebarGroupContribution.json +2 -2
- package/json-schema/studio/StudioPluginContributions.json +2 -2
- package/json-schema/studio/StudioPluginManifest.json +2 -2
- package/json-schema/studio/ViewMode.json +2 -2
- package/json-schema/system/AccessControlConfig.json +2 -2
- package/json-schema/system/ActionResultDialogTranslation.json +2 -2
- package/json-schema/system/AddFieldOperation.json +6 -6
- package/json-schema/system/AdvancedAuthConfig.json +2 -2
- package/json-schema/system/AnalyzerConfig.json +2 -2
- package/json-schema/system/ApnsTransportConfig.json +2 -2
- package/json-schema/system/AppCompatibilityCheck.json +2 -2
- package/json-schema/system/AppInstallRequest.json +2 -2
- package/json-schema/system/AppInstallResult.json +2 -2
- package/json-schema/system/AppManifest.json +2 -2
- package/json-schema/system/AudienceConfig.json +2 -2
- package/json-schema/system/AuthConfig.json +2 -2
- package/json-schema/system/AuthPluginConfig.json +2 -2
- package/json-schema/system/AuthProviderConfig.json +2 -2
- package/json-schema/system/AwarenessEvent.json +2 -2
- package/json-schema/system/AwarenessSession.json +2 -2
- package/json-schema/system/AwarenessUpdate.json +2 -2
- package/json-schema/system/AwarenessUserState.json +2 -2
- package/json-schema/system/BackupConfig.json +2 -2
- package/json-schema/system/BackupRetention.json +2 -2
- package/json-schema/system/BackupStrategy.json +2 -2
- package/json-schema/system/BatchProgress.json +2 -2
- package/json-schema/system/Book.json +19 -2
- package/json-schema/system/BookAudience.json +19 -2
- package/json-schema/system/BookGroup.json +2 -2
- package/json-schema/system/BookInclude.json +2 -2
- package/json-schema/system/BookNode.json +2 -2
- package/json-schema/system/BucketConfig.json +2 -2
- package/json-schema/system/CRDTMergeResult.json +2 -2
- package/json-schema/system/CRDTState.json +2 -2
- package/json-schema/system/CRDTType.json +2 -2
- package/json-schema/system/CacheAvalanchePrevention.json +2 -2
- package/json-schema/system/CacheConfig.json +2 -2
- package/json-schema/system/CacheConsistency.json +2 -2
- package/json-schema/system/CacheInvalidation.json +2 -2
- package/json-schema/system/CacheStrategy.json +2 -2
- package/json-schema/system/CacheTier.json +2 -2
- package/json-schema/system/CacheWarmup.json +2 -2
- package/json-schema/system/ChangeSet.json +68 -38
- package/json-schema/system/CollaborationMode.json +2 -2
- package/json-schema/system/CollaborationSession.json +2 -2
- package/json-schema/system/CollaborationSessionConfig.json +2 -2
- package/json-schema/system/CollaborativeCursor.json +2 -2
- package/json-schema/system/ComplianceAuditRequirement.json +2 -2
- package/json-schema/system/ComplianceEncryptionRequirement.json +2 -2
- package/json-schema/system/ComplianceFramework.json +2 -2
- package/json-schema/system/ConsoleDestinationConfig.json +2 -2
- package/json-schema/system/CoreServiceName.json +2 -2
- package/json-schema/system/CounterOperation.json +2 -2
- package/json-schema/system/CoverageBreakdownEntry.json +2 -2
- package/json-schema/system/CreateObjectOperation.json +31 -16
- package/json-schema/system/CronSchedule.json +2 -2
- package/json-schema/system/CursorColorPreset.json +2 -2
- package/json-schema/system/CursorSelection.json +2 -2
- package/json-schema/system/CursorStyle.json +2 -2
- package/json-schema/system/CursorUpdate.json +2 -2
- package/json-schema/system/DataClassification.json +2 -2
- package/json-schema/system/DataClassificationPolicy.json +2 -2
- package/json-schema/system/DataMigrationFlag.json +2 -2
- package/json-schema/system/DatabaseLevelIsolationStrategy.json +2 -2
- package/json-schema/system/DatabaseProvider.json +2 -2
- package/json-schema/system/DeleteObjectOperation.json +2 -2
- package/json-schema/system/DemoStaff.json +2 -2
- package/json-schema/system/DeployBundle.json +2 -2
- package/json-schema/system/DeployDiff.json +2 -2
- package/json-schema/system/DeployManifest.json +2 -2
- package/json-schema/system/DeployStatusEnum.json +2 -2
- package/json-schema/system/DeployValidationIssue.json +2 -2
- package/json-schema/system/DeployValidationResult.json +2 -2
- package/json-schema/system/DevLogin.json +2 -2
- package/json-schema/system/DisasterRecoveryPlan.json +2 -2
- package/json-schema/system/DistributedCacheConfig.json +2 -2
- package/json-schema/system/Doc.json +2 -2
- package/json-schema/system/EmailAddressConfig.json +2 -2
- package/json-schema/system/EmailAndPasswordConfig.json +2 -2
- package/json-schema/system/EmailProvider.json +2 -2
- package/json-schema/system/EmailServiceConfig.json +2 -2
- package/json-schema/system/EmailTemplateDefinition.json +2 -2
- package/json-schema/system/EmailTemplateDefinitionVariable.json +2 -2
- package/json-schema/system/EmailVerificationConfig.json +2 -2
- package/json-schema/system/EncryptionAlgorithm.json +2 -2
- package/json-schema/system/EncryptionConfig.json +2 -2
- package/json-schema/system/ExecuteSqlOperation.json +2 -2
- package/json-schema/system/ExtendedLogLevel.json +2 -2
- package/json-schema/system/ExternalServiceDestinationConfig.json +2 -2
- package/json-schema/system/FacetConfig.json +2 -2
- package/json-schema/system/FailoverConfig.json +2 -2
- package/json-schema/system/FailoverMode.json +2 -2
- package/json-schema/system/FcmTransportConfig.json +2 -2
- package/json-schema/system/Feature.json +2 -2
- package/json-schema/system/FieldEncryption.json +2 -2
- package/json-schema/system/FieldTranslation.json +2 -2
- package/json-schema/system/FileDestinationConfig.json +2 -2
- package/json-schema/system/FileMetadata.json +2 -2
- package/json-schema/system/GCounter.json +2 -2
- package/json-schema/system/HistogramBucketConfig.json +2 -2
- package/json-schema/system/HttpDestinationConfig.json +2 -2
- package/json-schema/system/IntervalSchedule.json +2 -2
- package/json-schema/system/Job.json +2 -2
- package/json-schema/system/JobExecution.json +2 -2
- package/json-schema/system/JobExecutionStatus.json +2 -2
- package/json-schema/system/KernelServiceMap.json +2 -2
- package/json-schema/system/KernelServiceStatus.json +2 -2
- package/json-schema/system/KeyManagementProvider.json +2 -2
- package/json-schema/system/KeyRotationPolicy.json +2 -2
- package/json-schema/system/LWWRegister.json +2 -2
- package/json-schema/system/License.json +2 -2
- package/json-schema/system/LicenseMetricType.json +2 -2
- package/json-schema/system/LifecycleAction.json +2 -2
- package/json-schema/system/LifecyclePolicyConfig.json +2 -2
- package/json-schema/system/LifecyclePolicyRule.json +2 -2
- package/json-schema/system/Locale.json +2 -2
- package/json-schema/system/LogDestination.json +2 -2
- package/json-schema/system/LogDestinationType.json +2 -2
- package/json-schema/system/LogEnrichmentConfig.json +2 -2
- package/json-schema/system/LogEntry.json +2 -2
- package/json-schema/system/LogFormat.json +2 -2
- package/json-schema/system/LogLevel.json +2 -2
- package/json-schema/system/LoggerConfig.json +2 -2
- package/json-schema/system/LoggingConfig.json +2 -2
- package/json-schema/system/MaskingVisibilityRule.json +2 -2
- package/json-schema/system/MetadataCollectionInfo.json +2 -2
- package/json-schema/system/MetadataDiffResult.json +2 -2
- package/json-schema/system/MetadataFallbackStrategy.json +2 -2
- package/json-schema/system/MetadataFormat.json +2 -2
- package/json-schema/system/MetadataHistoryQueryOptions.json +2 -2
- package/json-schema/system/MetadataHistoryQueryResult.json +2 -2
- package/json-schema/system/MetadataHistoryRecord.json +2 -2
- package/json-schema/system/MetadataHistoryRetentionPolicy.json +2 -2
- package/json-schema/system/MetadataLoadOptions.json +2 -2
- package/json-schema/system/MetadataLoadResult.json +2 -2
- package/json-schema/system/MetadataLoaderContract.json +2 -2
- package/json-schema/system/MetadataManagerConfig.json +2 -2
- package/json-schema/system/MetadataRecord.json +2 -2
- package/json-schema/system/MetadataSaveOptions.json +2 -2
- package/json-schema/system/MetadataSaveResult.json +2 -2
- package/json-schema/system/MetadataScope.json +2 -2
- package/json-schema/system/MetadataSource.json +2 -2
- package/json-schema/system/MetadataState.json +2 -2
- package/json-schema/system/MetadataStats.json +2 -2
- package/json-schema/system/MetadataWatchEvent.json +2 -2
- package/json-schema/system/MetricAggregationConfig.json +2 -2
- package/json-schema/system/MetricAggregationType.json +2 -2
- package/json-schema/system/MetricDataPoint.json +2 -2
- package/json-schema/system/MetricDefinition.json +2 -2
- package/json-schema/system/MetricExportConfig.json +2 -2
- package/json-schema/system/MetricLabels.json +2 -2
- package/json-schema/system/MetricType.json +2 -2
- package/json-schema/system/MetricUnit.json +2 -2
- package/json-schema/system/MetricsConfig.json +2 -2
- package/json-schema/system/MiddlewareConfig.json +2 -2
- package/json-schema/system/MiddlewareType.json +2 -2
- package/json-schema/system/MigrationDependency.json +2 -2
- package/json-schema/system/MigrationJournalEvent.json +2 -2
- package/json-schema/system/MigrationOperation.json +35 -20
- package/json-schema/system/MigrationPlan.json +2 -2
- package/json-schema/system/MigrationStatement.json +2 -2
- package/json-schema/system/ModifyFieldOperation.json +2 -2
- package/json-schema/system/MultipartUploadConfig.json +2 -2
- package/json-schema/system/MutualTLSConfig.json +2 -2
- package/json-schema/system/NotificationChannel.json +2 -2
- package/json-schema/system/ORSet.json +2 -2
- package/json-schema/system/ORSetElement.json +2 -2
- package/json-schema/system/OTComponent.json +2 -2
- package/json-schema/system/OTOperation.json +2 -2
- package/json-schema/system/OTOperationType.json +2 -2
- package/json-schema/system/OTTransformResult.json +2 -2
- package/json-schema/system/ObjectMetadata.json +2 -2
- package/json-schema/system/ObjectStorageConfig.json +2 -2
- package/json-schema/system/ObjectTranslationData.json +25 -2
- package/json-schema/system/OidcProviderConfig.json +2 -2
- package/json-schema/system/OidcProvidersConfig.json +2 -2
- package/json-schema/system/OnceSchedule.json +2 -2
- package/json-schema/system/OpenTelemetryCompatibility.json +2 -2
- package/json-schema/system/OrganizationOwnershipAnchor.json +2 -2
- package/json-schema/system/OrganizationOwnershipBirthMarker.json +2 -2
- package/json-schema/system/OrganizationOwnershipCategory.json +2 -2
- package/json-schema/system/OrganizationOwnershipDeparture.json +2 -2
- package/json-schema/system/OrganizationOwnershipFate.json +2 -2
- package/json-schema/system/OrganizationOwnershipRowCondition.json +2 -2
- package/json-schema/system/OrganizationOwnershipSupplement.json +2 -2
- package/json-schema/system/OrganizationOwnershipSupplementEntry.json +2 -2
- package/json-schema/system/OtelExporterType.json +2 -2
- package/json-schema/system/PNCounter.json +2 -2
- package/json-schema/system/PackagePublishResult.json +2 -2
- package/json-schema/system/Plan.json +2 -2
- package/json-schema/system/PlatformTranslationBundle.json +143 -2
- package/json-schema/system/PlatformTranslationData.json +143 -2
- package/json-schema/system/PresignedUrlConfig.json +2 -2
- package/json-schema/system/PushDirectTransportConfig.json +2 -2
- package/json-schema/system/PushRelayTransportConfig.json +2 -2
- package/json-schema/system/PushServiceConfig.json +2 -2
- package/json-schema/system/PushVendor.json +2 -2
- package/json-schema/system/QueueConfig.json +2 -2
- package/json-schema/system/QuotaEnforcementResult.json +2 -2
- package/json-schema/system/RPO.json +2 -2
- package/json-schema/system/RTO.json +2 -2
- package/json-schema/system/RegistryConfig.json +2 -2
- package/json-schema/system/RegistrySyncPolicy.json +2 -2
- package/json-schema/system/RegistryUpstream.json +2 -2
- package/json-schema/system/RemoveFieldOperation.json +2 -2
- package/json-schema/system/RenameObjectOperation.json +2 -2
- package/json-schema/system/ResolvedBook.json +2 -2
- package/json-schema/system/ResolvedEntry.json +2 -2
- package/json-schema/system/ResolvedGroup.json +2 -2
- package/json-schema/system/ResolvedSettingValue.json +2 -2
- package/json-schema/system/RestrictionProfile.json +2 -2
- package/json-schema/system/RestrictionProfileNodeType.json +2 -2
- package/json-schema/system/RetryPolicy.json +2 -2
- package/json-schema/system/RouteHandlerMetadata.json +2 -2
- package/json-schema/system/RowLevelIsolationStrategy.json +2 -2
- package/json-schema/system/SamplingDecision.json +2 -2
- package/json-schema/system/SamplingStrategyType.json +2 -2
- package/json-schema/system/Schedule.json +2 -2
- package/json-schema/system/SchemaChange.json +2 -2
- package/json-schema/system/SchemaLevelIsolationStrategy.json +2 -2
- package/json-schema/system/SearchConfig.json +2 -2
- package/json-schema/system/SearchIndexConfig.json +2 -2
- package/json-schema/system/SearchProvider.json +2 -2
- package/json-schema/system/SecurityContextConfig.json +2 -2
- package/json-schema/system/SecurityEventCorrelation.json +2 -2
- package/json-schema/system/ServedTranslationData.json +133 -2
- package/json-schema/system/ServerRateLimitConfig.json +2 -2
- package/json-schema/system/ServiceConfig.json +2 -2
- package/json-schema/system/ServiceCriticality.json +2 -2
- package/json-schema/system/ServiceLevelIndicator.json +2 -2
- package/json-schema/system/ServiceLevelObjective.json +2 -2
- package/json-schema/system/SettingsActionResult.json +2 -2
- package/json-schema/system/SettingsChangeEvent.json +2 -2
- package/json-schema/system/SettingsManifest.json +2 -2
- package/json-schema/system/SettingsNamespacePayload.json +2 -2
- package/json-schema/system/Sha256Digest.json +2 -2
- package/json-schema/system/SocialProviderConfig.json +2 -2
- package/json-schema/system/Span.json +2 -2
- package/json-schema/system/SpanAttributeValue.json +2 -2
- package/json-schema/system/SpanAttributes.json +2 -2
- package/json-schema/system/SpanEvent.json +2 -2
- package/json-schema/system/SpanKind.json +2 -2
- package/json-schema/system/SpanLink.json +2 -2
- package/json-schema/system/SpanStatus.json +2 -2
- package/json-schema/system/Specifier.json +2 -2
- package/json-schema/system/SpecifierHandler.json +2 -2
- package/json-schema/system/SpecifierOption.json +2 -2
- package/json-schema/system/SpecifierScope.json +2 -2
- package/json-schema/system/SpecifierType.json +2 -2
- package/json-schema/system/SpecifierValueDomain.json +2 -2
- package/json-schema/system/StackEmailConfig.json +2 -2
- package/json-schema/system/StackEmailProviderOptions.json +2 -2
- package/json-schema/system/StackServerConfig.json +2 -2
- package/json-schema/system/StackServerSecurity.json +2 -2
- package/json-schema/system/StackSmsConfig.json +2 -2
- package/json-schema/system/StorageAcl.json +2 -2
- package/json-schema/system/StorageClass.json +2 -2
- package/json-schema/system/StorageConnection.json +2 -2
- package/json-schema/system/StorageProvider.json +2 -2
- package/json-schema/system/StorageScope.json +2 -2
- package/json-schema/system/StructuredLogEntry.json +2 -2
- package/json-schema/system/SupplierAssessmentStatus.json +2 -2
- package/json-schema/system/SupplierRiskLevel.json +2 -2
- package/json-schema/system/SupplierSecurityAssessment.json +2 -2
- package/json-schema/system/SupplierSecurityPolicy.json +2 -2
- package/json-schema/system/SupplierSecurityRequirement.json +2 -2
- package/json-schema/system/Task.json +2 -2
- package/json-schema/system/TaskExecutionResult.json +2 -2
- package/json-schema/system/TaskPriority.json +2 -2
- package/json-schema/system/TaskRetryPolicy.json +2 -2
- package/json-schema/system/TaskStatus.json +2 -2
- package/json-schema/system/Tenant.json +2 -2
- package/json-schema/system/TenantConnectionConfig.json +2 -2
- package/json-schema/system/TenantIsolationConfig.json +2 -2
- package/json-schema/system/TenantIsolationLevel.json +2 -2
- package/json-schema/system/TenantQuota.json +2 -2
- package/json-schema/system/TenantSecurityPolicy.json +2 -2
- package/json-schema/system/TenantUsage.json +2 -2
- package/json-schema/system/TextCRDTOperation.json +2 -2
- package/json-schema/system/TextCRDTState.json +2 -2
- package/json-schema/system/TimeSeries.json +2 -2
- package/json-schema/system/TimeSeriesDataPoint.json +2 -2
- package/json-schema/system/TraceContext.json +2 -2
- package/json-schema/system/TraceContextPropagation.json +2 -2
- package/json-schema/system/TraceFlags.json +2 -2
- package/json-schema/system/TracePropagationFormat.json +2 -2
- package/json-schema/system/TraceSamplingConfig.json +2 -2
- package/json-schema/system/TraceState.json +2 -2
- package/json-schema/system/TracingConfig.json +2 -2
- package/json-schema/system/TranslationBundle.json +143 -2
- package/json-schema/system/TranslationConfig.json +2 -2
- package/json-schema/system/TranslationCoverageResult.json +2 -2
- package/json-schema/system/TranslationData.json +143 -2
- package/json-schema/system/TranslationDiffItem.json +2 -2
- package/json-schema/system/TranslationDiffStatus.json +2 -2
- package/json-schema/system/TranslationItem.json +143 -2
- package/json-schema/system/TrustedAppScheme.json +2 -2
- package/json-schema/system/TrustedProxyNetworks.json +2 -2
- package/json-schema/system/UserActivityStatus.json +2 -2
- package/json-schema/system/UserDevice.json +2 -2
- package/json-schema/system/VectorClock.json +2 -2
- package/json-schema/system/WorkerStats.json +2 -2
- package/json-schema/ui/Action.json +9 -9
- package/json-schema/ui/ActionAi.json +2 -2
- package/json-schema/ui/ActionButtonProps.json +7 -7
- package/json-schema/ui/ActionGroupProps.json +11 -11
- package/json-schema/ui/ActionIconProps.json +7 -7
- package/json-schema/ui/ActionLocation.json +6 -6
- package/json-schema/ui/ActionMenuProps.json +7 -7
- package/json-schema/ui/ActionNavItem.json +2 -2
- package/json-schema/ui/ActionParam.json +2 -2
- package/json-schema/ui/ActionRefusal.json +2 -2
- package/json-schema/ui/ActionSession.json +2 -2
- package/json-schema/ui/ActionText.json +2 -2
- package/json-schema/ui/ActionType.json +2 -2
- package/json-schema/ui/AddRecordConfig.json +2 -2
- package/json-schema/ui/AiChatNavParams.json +39 -0
- package/json-schema/ui/App.json +5 -5
- package/json-schema/ui/AppBranding.json +2 -2
- package/json-schema/ui/AppContextSelector.json +2 -2
- package/json-schema/ui/AppLandingEntry.json +2 -2
- package/json-schema/ui/AppearanceConfig.json +2 -2
- package/json-schema/ui/AriaProps.json +2 -2
- package/json-schema/ui/BulkActionDef.json +2 -2
- package/json-schema/ui/BulkActionExecution.json +2 -2
- package/json-schema/ui/BulkActionOperation.json +2 -2
- package/json-schema/ui/BulkActionParam.json +2 -2
- package/json-schema/ui/BulkActionResult.json +2 -2
- package/json-schema/ui/CalendarConfig.json +2 -2
- package/json-schema/ui/ChartAggregate.json +2 -2
- package/json-schema/ui/ChartAggregateFunction.json +2 -2
- package/json-schema/ui/ChartAnnotation.json +2 -2
- package/json-schema/ui/ChartAxis.json +2 -2
- package/json-schema/ui/ChartConfig.json +2 -2
- package/json-schema/ui/ChartDrillDown.json +2 -2
- package/json-schema/ui/ChartGroupBy.json +2 -2
- package/json-schema/ui/ChartInteraction.json +2 -2
- package/json-schema/ui/ChartSeries.json +2 -2
- package/json-schema/ui/ChartType.json +2 -2
- package/json-schema/ui/ColumnPrefix.json +2 -2
- package/json-schema/ui/ColumnSummary.json +2 -2
- package/json-schema/ui/ColumnSummaryConfig.json +2 -2
- package/json-schema/ui/ComponentNavItem.json +3 -3
- package/json-schema/ui/Dashboard.json +2 -2
- package/json-schema/ui/DashboardHeader.json +2 -2
- package/json-schema/ui/DashboardHeaderAction.json +2 -2
- package/json-schema/ui/DashboardNavItem.json +2 -2
- package/json-schema/ui/DashboardWidget.json +2 -2
- package/json-schema/ui/DashboardWidgetChartConfig.json +2 -2
- package/json-schema/ui/DashboardWidgetOptions.json +2 -2
- package/json-schema/ui/Dataset.json +2 -2
- package/json-schema/ui/DatasetDimension.json +2 -2
- package/json-schema/ui/DatasetDurationUnit.json +2 -2
- package/json-schema/ui/DatasetMeasure.json +2 -2
- package/json-schema/ui/DatasetMeasureDuration.json +2 -2
- package/json-schema/ui/DatasetMeasurePolarity.json +2 -2
- package/json-schema/ui/DatasetMemberSynonyms.json +2 -2
- package/json-schema/ui/DerivedMeasureOp.json +2 -2
- package/json-schema/ui/DocNavItem.json +2 -2
- package/json-schema/ui/ElementApiDataSource.json +2 -2
- package/json-schema/ui/ElementButtonProps.json +2 -2
- package/json-schema/ui/ElementDataSource.json +2 -2
- package/json-schema/ui/ElementDefinitionListProps.json +2 -2
- package/json-schema/ui/ElementFilterProps.json +2 -2
- package/json-schema/ui/ElementFormProps.json +2 -2
- package/json-schema/ui/ElementImageProps.json +2 -2
- package/json-schema/ui/ElementMetadataViewerProps.json +2 -2
- package/json-schema/ui/ElementNumberProps.json +2 -2
- package/json-schema/ui/ElementRecordPickerProps.json +2 -2
- package/json-schema/ui/ElementRepeaterProps.json +2 -2
- package/json-schema/ui/ElementTextInputProps.json +2 -2
- package/json-schema/ui/ElementTextProps.json +2 -2
- package/json-schema/ui/EmptyState.json +2 -2
- package/json-schema/ui/ExpressionBindableTextKey.json +2 -2
- package/json-schema/ui/Form.json +1556 -0
- package/json-schema/ui/FormButtonConfig.json +2 -2
- package/json-schema/ui/FormField.json +6 -6
- package/json-schema/ui/FormSection.json +6 -6
- package/json-schema/ui/FormSelectOption.json +4 -4
- package/json-schema/ui/FormView.json +6 -6
- package/json-schema/ui/GalleryConfig.json +2 -2
- package/json-schema/ui/GanttConfig.json +2 -2
- package/json-schema/ui/GanttQuickFilter.json +2 -2
- package/json-schema/ui/GlobalFilter.json +2 -2
- package/json-schema/ui/GlobalFilterOptionsFrom.json +2 -2
- package/json-schema/ui/GroupNavItem.json +2 -2
- package/json-schema/ui/GroupingConfig.json +2 -2
- package/json-schema/ui/GroupingField.json +2 -2
- package/json-schema/ui/HttpMethodSubset.json +2 -2
- package/json-schema/ui/HttpRequest.json +2 -2
- package/json-schema/ui/I18nLabel.json +2 -2
- package/json-schema/ui/InlineAction.json +2 -2
- package/json-schema/ui/InlineLocaleMap.json +2 -2
- package/json-schema/ui/InterfacePageConfig.json +2 -2
- package/json-schema/ui/JoinedReportBlock.json +2 -2
- package/json-schema/ui/KanbanConfig.json +17 -2
- package/json-schema/ui/KanbanLaneSummary.json +2 -2
- package/json-schema/ui/ListChartConfig.json +2 -2
- package/json-schema/ui/ListColumn.json +2 -2
- package/json-schema/ui/ListMapConfig.json +2 -2
- package/json-schema/ui/ListView.json +17 -2
- package/json-schema/ui/MetadataListCellType.json +2 -2
- package/json-schema/ui/MetadataListColumn.json +2 -2
- package/json-schema/ui/MetadataListView.json +2 -2
- package/json-schema/ui/NavigationArea.json +4 -4
- package/json-schema/ui/NavigationConfig.json +2 -2
- package/json-schema/ui/NavigationContribution.json +4 -4
- package/json-schema/ui/NavigationItem.json +4 -4
- package/json-schema/ui/NavigationMode.json +2 -2
- package/json-schema/ui/NotificationPosition.json +2 -2
- package/json-schema/ui/NotificationSeverity.json +2 -2
- package/json-schema/ui/NotificationType.json +2 -2
- package/json-schema/ui/ObjectCalendarProps.json +2 -2
- package/json-schema/ui/ObjectFormProps.json +5 -5
- package/json-schema/ui/ObjectGanttProps.json +2 -2
- package/json-schema/ui/ObjectGridProps.json +2 -2
- package/json-schema/ui/ObjectKanbanProps.json +2 -2
- package/json-schema/ui/ObjectListView.json +17 -2
- package/json-schema/ui/ObjectMapProps.json +2 -2
- package/json-schema/ui/ObjectMasterDetailFormProps.json +5 -5
- package/json-schema/ui/ObjectMetricProps.json +2 -2
- package/json-schema/ui/ObjectNavItem.json +2 -2
- package/json-schema/ui/ObjectTimelineProps.json +2 -2
- package/json-schema/ui/ObjectTreeProps.json +2 -2
- package/json-schema/ui/ObjectUserFilters.json +2 -2
- package/json-schema/ui/Page.json +3 -3
- package/json-schema/ui/PageAccordionProps.json +2 -2
- package/json-schema/ui/PageCardProps.json +2 -2
- package/json-schema/ui/PageComponent.json +2 -2
- package/json-schema/ui/PageComponentType.json +2 -2
- package/json-schema/ui/PageContainerProps.json +2 -2
- package/json-schema/ui/PageHeaderProps.json +4 -4
- package/json-schema/ui/PageNavItem.json +2 -2
- package/json-schema/ui/PagePrint.json +2 -2
- package/json-schema/ui/PageRecordBinding.json +2 -2
- package/json-schema/ui/PageRegion.json +2 -2
- package/json-schema/ui/PageTabsProps.json +2 -2
- package/json-schema/ui/PageTemplate.json +2 -2
- package/json-schema/ui/PageType.json +2 -2
- package/json-schema/ui/PageVariable.json +2 -2
- package/json-schema/ui/PaginationConfig.json +2 -2
- package/json-schema/ui/RecordActivityProps.json +2 -2
- package/json-schema/ui/RecordAlertAction.json +2 -2
- package/json-schema/ui/RecordAlertProps.json +2 -2
- package/json-schema/ui/RecordChatterProps.json +2 -2
- package/json-schema/ui/RecordDetailsProps.json +2 -2
- package/json-schema/ui/RecordHighlightsField.json +2 -2
- package/json-schema/ui/RecordHighlightsProps.json +2 -2
- package/json-schema/ui/RecordHistoryProps.json +2 -2
- package/json-schema/ui/RecordLineItemsProps.json +2 -2
- package/json-schema/ui/RecordPathProps.json +2 -2
- package/json-schema/ui/RecordQuickActionsProps.json +7 -7
- package/json-schema/ui/RecordReferenceRailProps.json +2 -2
- package/json-schema/ui/RecordRelatedListProps.json +2 -2
- package/json-schema/ui/ReferenceRailEntry.json +2 -2
- package/json-schema/ui/Report.json +2 -2
- package/json-schema/ui/ReportChart.json +2 -2
- package/json-schema/ui/ReportNavItem.json +2 -2
- package/json-schema/ui/ReportSort.json +2 -2
- package/json-schema/ui/ReportType.json +2 -2
- package/json-schema/ui/ResponsiveStyles.json +2 -2
- package/json-schema/ui/RowColorConfig.json +2 -2
- package/json-schema/ui/RowHeight.json +2 -2
- package/json-schema/ui/SelectionConfig.json +2 -2
- package/json-schema/ui/SharingConfig.json +2 -2
- package/json-schema/ui/StyleMap.json +2 -2
- package/json-schema/ui/TimelineConfig.json +2 -2
- package/json-schema/ui/TimesheetConfig.json +2 -2
- package/json-schema/ui/TreeConfig.json +2 -2
- package/json-schema/ui/UrlNavItem.json +2 -2
- package/json-schema/ui/UserActionsConfig.json +2 -2
- package/json-schema/ui/UserFilterField.json +2 -2
- package/json-schema/ui/UserFilters.json +2 -2
- package/json-schema/ui/View.json +36 -6
- package/json-schema/ui/ViewData.json +2 -2
- package/json-schema/ui/ViewFilterElement.json +2 -2
- package/json-schema/ui/ViewFilterOrGroup.json +2 -2
- package/json-schema/ui/ViewFilterRule.json +2 -2
- package/json-schema/ui/ViewItem.json +21 -6
- package/json-schema/ui/ViewItemName.json +2 -2
- package/json-schema/ui/ViewItemWire.json +21 -6
- package/json-schema/ui/ViewKind.json +2 -2
- package/json-schema/ui/ViewScope.json +2 -2
- package/json-schema/ui/ViewSharing.json +2 -2
- package/json-schema/ui/ViewTab.json +2 -2
- package/json-schema/ui/VisualizationType.json +2 -2
- package/json-schema/ui/WidgetActionType.json +2 -2
- package/json-schema/ui/WidgetColorVariant.json +2 -2
- package/liveness/README.md +5 -3
- package/liveness/action.json +3 -3
- package/liveness/agent.json +1 -1
- package/liveness/book.json +3 -3
- package/liveness/field.json +5 -5
- package/liveness/form.json +162 -0
- package/liveness/knowledge_source.json +150 -0
- package/liveness/object.json +3 -3
- package/liveness/page.json +1 -1
- package/liveness/permission.json +3 -3
- package/liveness/skill.json +7 -0
- package/liveness/state-counts/form.md +15 -0
- package/liveness/state-counts/knowledge_source.md +15 -0
- package/liveness/state-counts/skill.md +1 -1
- package/liveness/state-counts/translation.md +1 -1
- package/liveness/translation.json +100 -0
- package/liveness/view.json +8 -7
- package/llms.txt +3 -3
- package/package.json +1 -1
- package/protocol-upgrade-guide.md +67 -2
- package/spec-changes.json +568 -2323
- package/src/ai/agent.zod.ts +85 -12
- package/src/ai/ask-question.zod.ts +268 -0
- package/src/ai/knowledge-document.zod.ts +13 -13
- package/src/ai/knowledge-source.zod.ts +275 -174
- package/src/ai/skill.zod.ts +80 -1
- package/src/api/automation-api.zod.ts +8 -0
- package/src/api/error-code-ledger.zod.ts +19 -5
- package/src/api/export.zod.ts +2 -1
- package/src/api/protocol.zod.ts +6 -3
- package/src/data/field.zod.ts +35 -9
- package/src/data/object.zod.ts +12 -3
- package/src/identity/eval-user.zod.ts +10 -4
- package/src/kernel/manifest.zod.ts +2 -28
- package/src/kernel/metadata-plugin.zod.ts +25 -1
- package/src/security/permission.zod.ts +31 -24
- package/src/shared/expression.zod.ts +7 -7
- package/src/stack.zod.ts +10 -3
- package/src/studio/plugin.zod.ts +3 -2
- package/src/system/book.zod.ts +76 -9
- package/src/system/translation.zod.ts +164 -35
- package/src/ui/action.zod.ts +82 -37
- package/src/ui/ai-chat-nav-params.zod.ts +173 -0
- package/src/ui/app.zod.ts +11 -5
- package/src/ui/component.zod.ts +14 -14
- package/src/ui/dashboard.zod.ts +2 -2
- package/src/ui/page.zod.ts +1 -1
- package/src/ui/view.zod.ts +530 -165
- package/dist/chunk-2CQYPBCG.js.map +0 -1
- package/dist/chunk-33PIW4QF.mjs.map +0 -1
- package/dist/chunk-36PTIXDG.mjs +0 -8
- package/dist/chunk-36PTIXDG.mjs.map +0 -1
- package/dist/chunk-376TUOSL.js +0 -10
- package/dist/chunk-376TUOSL.js.map +0 -1
- package/dist/chunk-3AUIRDRY.js.map +0 -1
- package/dist/chunk-3BWMUCTC.mjs.map +0 -1
- package/dist/chunk-3E5JF2SE.mjs.map +0 -1
- package/dist/chunk-3EE2IZAV.mjs.map +0 -1
- package/dist/chunk-3OQ6CREO.mjs.map +0 -1
- package/dist/chunk-3V3YOHSL.mjs.map +0 -1
- package/dist/chunk-4C27O42G.mjs.map +0 -1
- package/dist/chunk-4CBCGWNW.mjs.map +0 -1
- package/dist/chunk-4FELAS5S.mjs.map +0 -1
- package/dist/chunk-4OQCPGVV.mjs.map +0 -1
- package/dist/chunk-4PEZRYLI.mjs.map +0 -1
- package/dist/chunk-4UPBHV2C.js.map +0 -1
- package/dist/chunk-4WFTCJEM.js.map +0 -1
- package/dist/chunk-4YZVKTO3.js.map +0 -1
- package/dist/chunk-52BDGT4K.js.map +0 -1
- package/dist/chunk-6DQP6GLV.js.map +0 -1
- package/dist/chunk-6QO6OU4V.js.map +0 -1
- package/dist/chunk-6RQVVQ6D.js.map +0 -1
- package/dist/chunk-774KNYAD.js.map +0 -1
- package/dist/chunk-7F6S3F66.js.map +0 -1
- package/dist/chunk-7HTZXVD6.js.map +0 -1
- package/dist/chunk-7JIBAOSC.js.map +0 -1
- package/dist/chunk-7WHIBXDB.js.map +0 -1
- package/dist/chunk-7Z4DBGCU.mjs.map +0 -1
- package/dist/chunk-7ZA4QJPU.mjs.map +0 -1
- package/dist/chunk-A5AC7B2W.js.map +0 -1
- package/dist/chunk-A66ZLOIR.js.map +0 -1
- package/dist/chunk-A6BF5TT3.mjs.map +0 -1
- package/dist/chunk-AQBVDHVW.mjs.map +0 -1
- package/dist/chunk-AUDDNHMA.js.map +0 -1
- package/dist/chunk-AZQ5YRB5.mjs.map +0 -1
- package/dist/chunk-B5XBSDVW.mjs.map +0 -1
- package/dist/chunk-BGK2G2IY.js.map +0 -1
- package/dist/chunk-BRV5MQQQ.js.map +0 -1
- package/dist/chunk-BTMZST4I.mjs.map +0 -1
- package/dist/chunk-C54ZAXVX.js.map +0 -1
- package/dist/chunk-C6DHYIEI.mjs.map +0 -1
- package/dist/chunk-CFALRZ3V.mjs.map +0 -1
- package/dist/chunk-CNXOA4YT.mjs.map +0 -1
- package/dist/chunk-CU6RJWC3.mjs.map +0 -1
- package/dist/chunk-CWCKEVYN.mjs.map +0 -1
- package/dist/chunk-D7BEDZEK.mjs.map +0 -1
- package/dist/chunk-D7D6VOL7.js +0 -14
- package/dist/chunk-D7D6VOL7.js.map +0 -1
- package/dist/chunk-DTLDEZHK.js.map +0 -1
- package/dist/chunk-DTRYIDF2.js.map +0 -1
- package/dist/chunk-E5K3EF3K.js.map +0 -1
- package/dist/chunk-EOQLOZSE.js.map +0 -1
- package/dist/chunk-EVA62AMB.mjs.map +0 -1
- package/dist/chunk-EWATZQGO.mjs.map +0 -1
- package/dist/chunk-FANOVHHW.js.map +0 -1
- package/dist/chunk-FFAEHISC.js.map +0 -1
- package/dist/chunk-G4635SRW.mjs.map +0 -1
- package/dist/chunk-GAX5WZGN.js.map +0 -1
- package/dist/chunk-GE6MTUET.mjs.map +0 -1
- package/dist/chunk-GPUPVYDT.js.map +0 -1
- package/dist/chunk-GVX5MHZI.mjs.map +0 -1
- package/dist/chunk-GWK6344A.js.map +0 -1
- package/dist/chunk-GWQGAKKI.js.map +0 -1
- package/dist/chunk-HS7OOUES.js.map +0 -1
- package/dist/chunk-I77JYRUA.mjs.map +0 -1
- package/dist/chunk-ICHYJOLU.js.map +0 -1
- package/dist/chunk-IHEE4BFE.mjs.map +0 -1
- package/dist/chunk-ITY5VKH6.mjs.map +0 -1
- package/dist/chunk-IWJAOEWA.js.map +0 -1
- package/dist/chunk-JDDD347E.js.map +0 -1
- package/dist/chunk-JLG73ZOZ.mjs +0 -7
- package/dist/chunk-JLG73ZOZ.mjs.map +0 -1
- package/dist/chunk-K7KTQQWH.js.map +0 -1
- package/dist/chunk-KIWGUX4N.js.map +0 -1
- package/dist/chunk-KJEE6ZO6.js.map +0 -1
- package/dist/chunk-KQPRENJ2.mjs.map +0 -1
- package/dist/chunk-KUVAGGX3.mjs.map +0 -1
- package/dist/chunk-LFXDDPGH.mjs.map +0 -1
- package/dist/chunk-M2EZ3A4S.js.map +0 -1
- package/dist/chunk-MIACKBA3.mjs.map +0 -1
- package/dist/chunk-MMOOCANW.js.map +0 -1
- package/dist/chunk-MNHAIPMF.js.map +0 -1
- package/dist/chunk-MX55DOYA.js.map +0 -1
- package/dist/chunk-N22JOPMN.js.map +0 -1
- package/dist/chunk-N4WQY3CG.mjs.map +0 -1
- package/dist/chunk-NL6Q26D2.js.map +0 -1
- package/dist/chunk-NMZMOJZ2.mjs.map +0 -1
- package/dist/chunk-NUW3VRKQ.js.map +0 -1
- package/dist/chunk-O4BWY7XP.mjs +0 -9
- package/dist/chunk-O4BWY7XP.mjs.map +0 -1
- package/dist/chunk-O4DSTBUM.mjs.map +0 -1
- package/dist/chunk-PGCIAI3Z.js.map +0 -1
- package/dist/chunk-PM3RC6FT.mjs.map +0 -1
- package/dist/chunk-PMBQ2NHZ.mjs.map +0 -1
- package/dist/chunk-PN7YK7OO.mjs.map +0 -1
- package/dist/chunk-PQIISJGQ.mjs.map +0 -1
- package/dist/chunk-PQX6RIRU.mjs.map +0 -1
- package/dist/chunk-PTWLDS43.js.map +0 -1
- package/dist/chunk-PUJUMA72.js +0 -10
- package/dist/chunk-PUJUMA72.js.map +0 -1
- package/dist/chunk-PVT4IL37.js.map +0 -1
- package/dist/chunk-Q2ZZGHIE.js.map +0 -1
- package/dist/chunk-QCCXUZLD.mjs.map +0 -1
- package/dist/chunk-QG3IDJ7C.mjs.map +0 -1
- package/dist/chunk-QHHDZAO5.js.map +0 -1
- package/dist/chunk-QU6UYLSZ.mjs.map +0 -1
- package/dist/chunk-QX6DNDXC.js.map +0 -1
- package/dist/chunk-RA6SWGZM.js.map +0 -1
- package/dist/chunk-RJ2VVP4G.mjs.map +0 -1
- package/dist/chunk-RPRFY36Y.js.map +0 -1
- package/dist/chunk-S24GQRN2.mjs.map +0 -1
- package/dist/chunk-S52QMKGL.js.map +0 -1
- package/dist/chunk-S5AUYYDT.js.map +0 -1
- package/dist/chunk-SKBGU646.js.map +0 -1
- package/dist/chunk-SNDIHURW.mjs.map +0 -1
- package/dist/chunk-SPKTB6U3.mjs.map +0 -1
- package/dist/chunk-SYNYSUYM.js.map +0 -1
- package/dist/chunk-T2MUJ7ER.mjs.map +0 -1
- package/dist/chunk-TPD46XW3.js.map +0 -1
- package/dist/chunk-TXLEGSVW.mjs.map +0 -1
- package/dist/chunk-TXQEKYFZ.mjs.map +0 -1
- package/dist/chunk-TYF2QLPX.mjs.map +0 -1
- package/dist/chunk-TZ4ULGJQ.mjs.map +0 -1
- package/dist/chunk-U5TFUF7Y.js.map +0 -1
- package/dist/chunk-U5UIWBV2.mjs.map +0 -1
- package/dist/chunk-U72AP4VJ.js.map +0 -1
- package/dist/chunk-UBNKCP2W.mjs.map +0 -1
- package/dist/chunk-UFBQL6WP.js.map +0 -1
- package/dist/chunk-UFF6Z4JW.mjs.map +0 -1
- package/dist/chunk-ULFXCYYX.mjs.map +0 -1
- package/dist/chunk-UOD6YQ4N.js.map +0 -1
- package/dist/chunk-UPYDVQSI.js.map +0 -1
- package/dist/chunk-UTQQKCXM.js.map +0 -1
- package/dist/chunk-UVPOHGJG.js.map +0 -1
- package/dist/chunk-VDHDB5E5.js.map +0 -1
- package/dist/chunk-VTXABMWV.mjs.map +0 -1
- package/dist/chunk-VVNVAPCT.js.map +0 -1
- package/dist/chunk-VXZGQ75C.mjs.map +0 -1
- package/dist/chunk-W3QHJHRO.mjs.map +0 -1
- package/dist/chunk-WCCSBWRI.mjs.map +0 -1
- package/dist/chunk-WE6GUSU3.js.map +0 -1
- package/dist/chunk-WHRQKUDZ.mjs.map +0 -1
- package/dist/chunk-WQP25G7T.mjs.map +0 -1
- package/dist/chunk-WUCBMBXJ.mjs +0 -12
- package/dist/chunk-WUCBMBXJ.mjs.map +0 -1
- package/dist/chunk-WZSQF2CK.mjs.map +0 -1
- package/dist/chunk-X2MBSCN4.mjs.map +0 -1
- package/dist/chunk-X2MBSHFH.js.map +0 -1
- package/dist/chunk-XBBKOVOI.mjs.map +0 -1
- package/dist/chunk-XKGHFPQ2.js.map +0 -1
- package/dist/chunk-XZAH3BQ6.mjs.map +0 -1
- package/dist/chunk-YC4SKQCQ.mjs.map +0 -1
- package/dist/chunk-YK42CDYP.mjs.map +0 -1
- package/dist/chunk-YSYNUOWR.mjs.map +0 -1
- package/dist/chunk-YX7AY4AA.js.map +0 -1
- package/dist/chunk-YZHENOSH.js.map +0 -1
- package/dist/chunk-Z4FJFDUQ.js.map +0 -1
- package/dist/chunk-ZRDWAL24.js +0 -12
- package/dist/chunk-ZRDWAL24.js.map +0 -1
- package/dist/chunk-ZRRGPEBH.mjs.map +0 -1
- package/dist/chunk-ZRZWNIFH.js.map +0 -1
- package/dist/chunk-ZVW5V7GO.js.map +0 -1
- package/json-schema/ai/EmbeddingModel.json +0 -44
- package/json-schema/ai/FileKnowledgeSource.json +0 -28
- package/json-schema/ai/HttpKnowledgeSource.json +0 -28
- package/json-schema/ai/KnowledgeSourceKind.json +0 -129
- package/json-schema/ai/VectorStore.json +0 -45
- package/json-schema/ai/VectorStoreProvider.json +0 -18
- package/src/ai/embedding.zod.ts +0 -86
- package/dist/{node-executor.zod-gyps2MyJ.d.mts → node-executor.zod-CB4bF0yb.d.mts} +1 -1
- package/dist/{node-executor.zod-gyps2MyJ.d.ts → node-executor.zod-CB4bF0yb.d.ts} +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkXLUBDFSO_js = require('./chunk-XLUBDFSO.js');
|
|
4
|
+
var chunkBJHX3SZO_js = require('./chunk-BJHX3SZO.js');
|
|
5
5
|
var chunkYQQP4672_js = require('./chunk-YQQP4672.js');
|
|
6
6
|
var chunkJFA3BYUJ_js = require('./chunk-JFA3BYUJ.js');
|
|
7
7
|
var zod = require('zod');
|
|
8
8
|
|
|
9
9
|
var CUSTOMIZATION_PACKAGE_SUFFIX = ".custom";
|
|
10
|
-
var ESCAPED_CUSTOMIZATION_PACKAGE_SUFFIX = CUSTOMIZATION_PACKAGE_SUFFIX.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
11
|
-
var NOT_A_CUSTOMIZATION_PACKAGE_ID = new RegExp(`^(?![\\s\\S]*${ESCAPED_CUSTOMIZATION_PACKAGE_SUFFIX}$)[\\s\\S]+$`);
|
|
12
|
-
var OverrideDeclarationSchema = /* @__PURE__ */
|
|
10
|
+
var ESCAPED_CUSTOMIZATION_PACKAGE_SUFFIX = /* @__PURE__ */ (() => CUSTOMIZATION_PACKAGE_SUFFIX.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"))();
|
|
11
|
+
var NOT_A_CUSTOMIZATION_PACKAGE_ID = /* @__PURE__ */ (() => new RegExp(`^(?![\\s\\S]*${ESCAPED_CUSTOMIZATION_PACKAGE_SUFFIX}$)[\\s\\S]+$`))();
|
|
12
|
+
var OverrideDeclarationSchema = /* @__PURE__ */ (() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
13
13
|
surface: "this override declaration",
|
|
14
14
|
history: "New with ADR-0146: the shape was closed from its first release, so a misspelt key is refused instead of dropped.",
|
|
15
15
|
aliases: { packageId: "package", base: "package", basePackage: "package", version: "basedOn", baseVersion: "basedOn" }
|
|
@@ -24,8 +24,8 @@ var OverrideDeclarationSchema = /* @__PURE__ */ chunk4WFTCJEM_js.strictObject({
|
|
|
24
24
|
)
|
|
25
25
|
}).describe(
|
|
26
26
|
`Override declaration (ADR-0146 D2): this item, of the base's paired "<base>.custom" package and bearing a base item's name, replaces that base item whole for every read that serves the name.`
|
|
27
|
-
);
|
|
28
|
-
var OverrideDeclarationFields = {
|
|
27
|
+
))();
|
|
28
|
+
var OverrideDeclarationFields = /* @__PURE__ */ (() => ({
|
|
29
29
|
/**
|
|
30
30
|
* Declares that this item replaces the base package's item of the same name
|
|
31
31
|
* (ADR-0146 D2). `basedOn` is recorded and never gates; a base's upgrade
|
|
@@ -34,7 +34,7 @@ var OverrideDeclarationFields = {
|
|
|
34
34
|
overrides: OverrideDeclarationSchema.optional().describe(
|
|
35
35
|
"Override declaration (ADR-0146 D2): `{ package, basedOn }` \u2014 this item of \"<base>.custom\" replaces the base package's same-named item whole. `basedOn` is recorded and never gates; a base's upgrade plan reads it only as advice."
|
|
36
36
|
)
|
|
37
|
-
};
|
|
37
|
+
}))();
|
|
38
38
|
var SystemIdentifierSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.string().min(2, { message: "System identifier must be at least 2 characters" }).regex(/^[a-z][a-z0-9_.]*$/, {
|
|
39
39
|
message: 'System identifier must be lowercase, starting with a letter, and may contain letters, numbers, underscores, or dots (e.g., "user_profile" or "order.created")'
|
|
40
40
|
}).describe("System identifier (lowercase with underscores or dots)"));
|
|
@@ -42,31 +42,31 @@ var SnakeCaseIdentifierSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() =
|
|
|
42
42
|
message: 'Identifier must be lowercase snake_case, starting with a letter, and may contain only letters, numbers, and underscores (e.g., "user_profile")'
|
|
43
43
|
}).describe("Snake case identifier (lowercase with underscores only)"));
|
|
44
44
|
var ITEM_NAME_SEGMENT = "[a-z][a-z0-9_]*";
|
|
45
|
-
var METADATA_ITEM_NAME_PATTERN = new RegExp(
|
|
45
|
+
var METADATA_ITEM_NAME_PATTERN = /* @__PURE__ */ (() => new RegExp(
|
|
46
46
|
`^${ITEM_NAME_SEGMENT}(\\.${ITEM_NAME_SEGMENT})*$`
|
|
47
|
-
);
|
|
48
|
-
var QUALIFIED_ITEM_NAME_PATTERN = new RegExp(
|
|
47
|
+
))();
|
|
48
|
+
var QUALIFIED_ITEM_NAME_PATTERN = /* @__PURE__ */ (() => new RegExp(
|
|
49
49
|
`^${ITEM_NAME_SEGMENT}(\\.${ITEM_NAME_SEGMENT})+$`
|
|
50
|
-
);
|
|
50
|
+
))();
|
|
51
51
|
var MetadataItemNameSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.string().regex(METADATA_ITEM_NAME_PATTERN, {
|
|
52
52
|
message: 'Metadata item name must be lowercase snake_case segments, optionally dot-qualified (e.g. "crm_lead" or "crm_lead.pipeline"). No slashes, spaces, uppercase, empty segments, or leading/trailing dots.'
|
|
53
53
|
}).describe("Metadata item name (lowercase snake_case segments, optionally dot-qualified)"));
|
|
54
54
|
|
|
55
55
|
// src/data/field-group-layout.ts
|
|
56
56
|
var FIELD_GROUP_KEY_PATTERN = /^[a-z_][a-z0-9_]*$/;
|
|
57
|
-
var AUDIT_PROVENANCE_FIELDS = Object.freeze([
|
|
57
|
+
var AUDIT_PROVENANCE_FIELDS = /* @__PURE__ */ (() => Object.freeze([
|
|
58
58
|
"created_at",
|
|
59
59
|
"created_by",
|
|
60
60
|
"updated_at",
|
|
61
61
|
"updated_by"
|
|
62
|
-
]);
|
|
63
|
-
var FIELD_GROUP_SYSTEM_FIELDS = /* @__PURE__ */ new Set([
|
|
62
|
+
]))();
|
|
63
|
+
var FIELD_GROUP_SYSTEM_FIELDS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
64
64
|
...AUDIT_PROVENANCE_FIELDS,
|
|
65
65
|
"organization_id",
|
|
66
66
|
"tenant_id",
|
|
67
67
|
"is_deleted",
|
|
68
68
|
"deleted_at"
|
|
69
|
-
]);
|
|
69
|
+
]))();
|
|
70
70
|
function readGroup(g) {
|
|
71
71
|
if (!g || typeof g !== "object" || Array.isArray(g)) return null;
|
|
72
72
|
const grp = g;
|
|
@@ -183,9 +183,9 @@ var FUNCTIONAL_COMPLETENESS_RULES = [
|
|
|
183
183
|
];
|
|
184
184
|
var isRec = (v) => !!v && typeof v === "object" && !Array.isArray(v);
|
|
185
185
|
var hasEntries = (v) => Array.isArray(v) && v.length > 0;
|
|
186
|
-
var DEAD_WITHOUT_OPTIONS_ERROR = /* @__PURE__ */ new Set(["select", "radio"]);
|
|
187
|
-
var DEAD_WITHOUT_OPTIONS_WARNING = /* @__PURE__ */ new Set(["checkboxes"]);
|
|
188
|
-
var RELATIONSHIP_TYPES = /* @__PURE__ */ new Set(["lookup", "master_detail"]);
|
|
186
|
+
var DEAD_WITHOUT_OPTIONS_ERROR = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["select", "radio"]))();
|
|
187
|
+
var DEAD_WITHOUT_OPTIONS_WARNING = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["checkboxes"]))();
|
|
188
|
+
var RELATIONSHIP_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["lookup", "master_detail"]))();
|
|
189
189
|
function checkFieldCompleteness(def) {
|
|
190
190
|
if (!isRec(def)) return [];
|
|
191
191
|
const type = typeof def.type === "string" ? def.type : void 0;
|
|
@@ -256,13 +256,13 @@ var VIEW_BINDING_FIX = {
|
|
|
256
256
|
tree: "tree: { parentField: '<self_lookup_field>', labelField: '<text_field>' }",
|
|
257
257
|
timesheet: "timesheet: { rowFields: ['<field>'], dateField: '<date_field>', valueField: '<number_field>' }"
|
|
258
258
|
};
|
|
259
|
-
var VIEW_BINDING_MESSAGE = {
|
|
259
|
+
var VIEW_BINDING_MESSAGE = /* @__PURE__ */ (() => ({
|
|
260
260
|
calendar: 'A `calendar` view with no `calendar` block shows the "Calendar configuration required" screen on every object (`ObjectCalendar.tsx` \u2014 `getCalendarConfig` resolves `null`)',
|
|
261
261
|
gantt: 'A `gantt` view with no `gantt` block shows the "Gantt configuration required" screen on every object (`ObjectGantt.tsx` \u2014 `getGanttConfig` resolves `null`)',
|
|
262
262
|
timeline: 'A `timeline` view with no `timeline` block shows the "Timeline date axis required" screen on every object (`ObjectTimeline.tsx` resolves no date field)',
|
|
263
263
|
map: 'A `map` view with no `map` block shows the "Map configuration required" screen on every object (`ObjectMap.tsx` \u2014 its `hasCoordinateBinding` gate fails)',
|
|
264
264
|
timesheet: 'A `timesheet` view with no `timesheet` block shows the "Timesheet configuration required" screen on every object (`ObjectTimesheet.tsx` \u2014 `resolveTimesheetConfig` resolves `null`)'
|
|
265
|
-
};
|
|
265
|
+
}))();
|
|
266
266
|
var unboundBlockMessage = (type, block) => `A \`${type}\` view with no \`${block}\` block falls back to literal default field names, so it renders empty on any object that does not declare them`;
|
|
267
267
|
var isNonEmptyString = (v) => typeof v === "string" && v.length > 0;
|
|
268
268
|
var hasMapCoordinateBinding = (block) => isNonEmptyString(block.locationField) || isNonEmptyString(block.latitudeField) && isNonEmptyString(block.longitudeField);
|
|
@@ -276,7 +276,7 @@ function hasDetectableParentField(object) {
|
|
|
276
276
|
const own = isNonEmptyString(object.name) ? object.name : void 0;
|
|
277
277
|
return fieldDefsOf(object).some((def) => def.type === "tree" && (def.reference === void 0 || own !== void 0 && def.reference === own) || (def.type === "lookup" || def.type === "master_detail") && own !== void 0 && def.reference === own);
|
|
278
278
|
}
|
|
279
|
-
var ROW_COLOR_VIEW_TYPES = /* @__PURE__ */ new Set(["grid"]);
|
|
279
|
+
var ROW_COLOR_VIEW_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["grid"]))();
|
|
280
280
|
var hasNoColorMap = (colors) => colors === void 0 || colors === null || isRec(colors) && Object.keys(colors).length === 0;
|
|
281
281
|
var isUnresolvableRowColor = (value) => !value.startsWith("bg-") && !/^[a-z]+$/.test(value.toLowerCase().trim());
|
|
282
282
|
function checkViewCompleteness(view, boundObject) {
|
|
@@ -363,7 +363,7 @@ function checkWebhookCompleteness(webhook) {
|
|
|
363
363
|
}
|
|
364
364
|
function typedExpressionUnion(dialect, envelope, refusals) {
|
|
365
365
|
return zod.z.union([
|
|
366
|
-
zod.z.string().refine(
|
|
366
|
+
zod.z.string().refine(chunkXLUBDFSO_js.NON_BLANK_STRING, { message: refusals.sourceRequired }).transform((source) => ({ dialect, source })),
|
|
367
367
|
envelope
|
|
368
368
|
], {
|
|
369
369
|
error: (issue) => typeof issue.input === "string" ? refusals.sourceRequired : refusals.dialectOnly
|
|
@@ -377,14 +377,14 @@ function templateExpressionInput(expression2, refusals) {
|
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
// src/shared/expression.zod.ts
|
|
380
|
-
var ExpressionDialect = zod.z.enum(["cel", "cron", "template"]);
|
|
381
|
-
var ExpressionMetaSchema = zod.z.object({
|
|
380
|
+
var ExpressionDialect = /* @__PURE__ */ (() => zod.z.enum(["cel", "cron", "template"]))();
|
|
381
|
+
var ExpressionMetaSchema = /* @__PURE__ */ (() => zod.z.object({
|
|
382
382
|
/** Human-readable rationale (often AI-emitted). */
|
|
383
383
|
rationale: zod.z.string().optional(),
|
|
384
384
|
/** Identifier of the agent / tool that produced this expression. */
|
|
385
385
|
generatedBy: zod.z.string().optional()
|
|
386
|
-
});
|
|
387
|
-
var ExpressionSchema = zod.z.object({
|
|
386
|
+
}))();
|
|
387
|
+
var ExpressionSchema = /* @__PURE__ */ (() => zod.z.object({
|
|
388
388
|
/** Which engine evaluates `source` / `ast`. */
|
|
389
389
|
dialect: ExpressionDialect,
|
|
390
390
|
/** Surface syntax. Required while `ast` is not yet populated. */
|
|
@@ -396,21 +396,21 @@ var ExpressionSchema = zod.z.object({
|
|
|
396
396
|
ast: zod.z.unknown().optional(),
|
|
397
397
|
/** Optional authorship metadata. */
|
|
398
398
|
meta: ExpressionMetaSchema.optional()
|
|
399
|
-
}).refine(
|
|
399
|
+
}).refine(chunkXLUBDFSO_js.requiredOneOf(["source", "ast"]), {
|
|
400
400
|
message: "Expression requires at least one of `source` or `ast`"
|
|
401
|
-
});
|
|
402
|
-
var EVALUATED_EXPRESSION_SOURCE_REQUIRED = "An expression in an evaluated slot needs a non-blank `source`: the expression engine evaluates `source` (the canonical persisted form) and cannot evaluate `ast` alone, so an envelope carrying only `ast`, or a `source` that is blank after trimming, would validate and register and then fault at run time. Write `{ dialect: 'cel', source: '\u2026' }`.";
|
|
403
|
-
var EvaluatedExpressionSchema = ExpressionSchema.safeExtend({
|
|
401
|
+
}))();
|
|
402
|
+
var EVALUATED_EXPRESSION_SOURCE_REQUIRED = /* @__PURE__ */ (() => "An expression in an evaluated slot needs a non-blank `source`: the expression engine evaluates `source` (the canonical persisted form) and cannot evaluate `ast` alone, so an envelope carrying only `ast`, or a `source` that is blank after trimming, would validate and register and then fault at run time. Write `{ dialect: 'cel', source: '\u2026' }`.")();
|
|
403
|
+
var EvaluatedExpressionSchema = /* @__PURE__ */ (() => ExpressionSchema.safeExtend({
|
|
404
404
|
/**
|
|
405
405
|
* Surface syntax — required and non-blank in an evaluated slot: it is what
|
|
406
406
|
* the engine evaluates, and `ast` alone cannot be run.
|
|
407
407
|
*/
|
|
408
|
-
source: zod.z.string({ error: () => EVALUATED_EXPRESSION_SOURCE_REQUIRED }).refine(
|
|
409
|
-
});
|
|
410
|
-
var ExpressionInputSchema = zod.z.union([
|
|
408
|
+
source: zod.z.string({ error: () => EVALUATED_EXPRESSION_SOURCE_REQUIRED }).refine(chunkXLUBDFSO_js.NON_BLANK_STRING, { message: EVALUATED_EXPRESSION_SOURCE_REQUIRED })
|
|
409
|
+
}))();
|
|
410
|
+
var ExpressionInputSchema = /* @__PURE__ */ (() => zod.z.union([
|
|
411
411
|
zod.z.string().min(1).transform((source) => ({ dialect: "cel", source })),
|
|
412
412
|
ExpressionSchema
|
|
413
|
-
]);
|
|
413
|
+
]))();
|
|
414
414
|
function evaluatedExpressionInputRefusal(input) {
|
|
415
415
|
if (typeof input === "string") return EVALUATED_EXPRESSION_SOURCE_REQUIRED;
|
|
416
416
|
if (input && typeof input === "object" && !Array.isArray(input) && typeof input.source !== "string") {
|
|
@@ -418,26 +418,26 @@ function evaluatedExpressionInputRefusal(input) {
|
|
|
418
418
|
}
|
|
419
419
|
return void 0;
|
|
420
420
|
}
|
|
421
|
-
var EvaluatedExpressionInputSchema = zod.z.union([
|
|
422
|
-
zod.z.string().refine(
|
|
421
|
+
var EvaluatedExpressionInputSchema = /* @__PURE__ */ (() => zod.z.union([
|
|
422
|
+
zod.z.string().refine(chunkXLUBDFSO_js.NON_BLANK_STRING, { message: EVALUATED_EXPRESSION_SOURCE_REQUIRED }).transform((source) => ({ dialect: "cel", source })),
|
|
423
423
|
EvaluatedExpressionSchema
|
|
424
|
-
], { error: (issue) => evaluatedExpressionInputRefusal(issue.input) });
|
|
425
|
-
var TYPED_EXPRESSION_SOURCE_REQUIRED = {
|
|
424
|
+
], { error: (issue) => evaluatedExpressionInputRefusal(issue.input) }))();
|
|
425
|
+
var TYPED_EXPRESSION_SOURCE_REQUIRED = /* @__PURE__ */ (() => ({
|
|
426
426
|
cron: "A cron-typed slot needs a non-blank cron expression: a bare string is shorthand for `{ dialect: 'cron', source }`, and a blank one would normalize to an envelope with nothing to schedule. Write `'0 9 * * 1-5'` or `{ dialect: 'cron', source: '0 9 * * 1-5' }`; no cron syntax is judged here \u2014 `croner` refuses an invalid pattern where a schedule is wired.",
|
|
427
427
|
template: "A template-typed slot needs a non-blank template: a bare string is shorthand for `{ dialect: 'template', source }`, and a blank one would normalize to an envelope with nothing to interpolate. Write `'{{record.name}}'` or `{ dialect: 'template', source: '{{record.name}}' }`."
|
|
428
|
-
};
|
|
429
|
-
var TYPED_EXPRESSION_DIALECT_ONLY = {
|
|
428
|
+
}))();
|
|
429
|
+
var TYPED_EXPRESSION_DIALECT_ONLY = /* @__PURE__ */ (() => ({
|
|
430
430
|
cron: "A cron-typed slot accepts a bare cron string or an envelope declaring `dialect: 'cron'` only: an envelope naming another dialect would validate and then have nothing to schedule. Write `'0 9 * * 1-5'` or `{ dialect: 'cron', source: '0 9 * * 1-5' }`.",
|
|
431
431
|
template: "A template-typed slot accepts a bare template string or an envelope declaring `dialect: 'template'` only: an envelope naming another dialect would validate and then have nothing to interpolate. Write `'{{record.name}}'` or `{ dialect: 'template', source: '{{record.name}}' }`."
|
|
432
|
-
};
|
|
432
|
+
}))();
|
|
433
433
|
function typedExpressionRefusals(dialect) {
|
|
434
434
|
return {
|
|
435
435
|
sourceRequired: TYPED_EXPRESSION_SOURCE_REQUIRED[dialect],
|
|
436
436
|
dialectOnly: TYPED_EXPRESSION_DIALECT_ONLY[dialect]
|
|
437
437
|
};
|
|
438
438
|
}
|
|
439
|
-
var CronExpressionInputSchema = cronExpressionInput(ExpressionSchema, typedExpressionRefusals("cron"));
|
|
440
|
-
var TemplateExpressionInputSchema = templateExpressionInput(ExpressionSchema, typedExpressionRefusals("template"));
|
|
439
|
+
var CronExpressionInputSchema = /* @__PURE__ */ (() => cronExpressionInput(ExpressionSchema, typedExpressionRefusals("cron")))();
|
|
440
|
+
var TemplateExpressionInputSchema = /* @__PURE__ */ (() => templateExpressionInput(ExpressionSchema, typedExpressionRefusals("template")))();
|
|
441
441
|
var PredicateSchema = ExpressionSchema;
|
|
442
442
|
var PredicateInputSchema = ExpressionInputSchema;
|
|
443
443
|
function expression(source, dialect = "cel", meta) {
|
|
@@ -479,7 +479,7 @@ function cron(strings, ...values) {
|
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
// src/data/filter-comparand-operators.ts
|
|
482
|
-
var SCALAR_COMPARAND_OPERATORS = /* @__PURE__ */ new Set([
|
|
482
|
+
var SCALAR_COMPARAND_OPERATORS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
483
483
|
"$eq",
|
|
484
484
|
"$ne",
|
|
485
485
|
"$gt",
|
|
@@ -496,18 +496,18 @@ var SCALAR_COMPARAND_OPERATORS = /* @__PURE__ */ new Set([
|
|
|
496
496
|
"$null",
|
|
497
497
|
"$exists",
|
|
498
498
|
"$empty"
|
|
499
|
-
]);
|
|
500
|
-
var LIST_COMPARAND_OPERATORS = /* @__PURE__ */ new Set([
|
|
499
|
+
]))();
|
|
500
|
+
var LIST_COMPARAND_OPERATORS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
501
501
|
"$in",
|
|
502
502
|
"$nin",
|
|
503
503
|
"$between"
|
|
504
|
-
]);
|
|
504
|
+
]))();
|
|
505
505
|
function isListComparandOperator(op) {
|
|
506
506
|
return LIST_COMPARAND_OPERATORS.has(op);
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
// src/data/readable-ids.ts
|
|
510
|
-
var READABLE_IDS_BRAND = /* @__PURE__ */ Symbol.for("objectstack.filter.readableIds");
|
|
510
|
+
var READABLE_IDS_BRAND = /* @__PURE__ */ (() => /* @__PURE__ */ Symbol.for("objectstack.filter.readableIds"))();
|
|
511
511
|
function isReadableIds(value) {
|
|
512
512
|
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
513
513
|
if (!Object.prototype.hasOwnProperty.call(value, READABLE_IDS_BRAND)) return false;
|
|
@@ -515,10 +515,10 @@ function isReadableIds(value) {
|
|
|
515
515
|
const object = value.object;
|
|
516
516
|
return typeof object === "string" && object.length > 0;
|
|
517
517
|
}
|
|
518
|
-
var RLS_DENY_FILTER = Object.freeze({
|
|
518
|
+
var RLS_DENY_FILTER = /* @__PURE__ */ (() => Object.freeze({
|
|
519
519
|
id: "__rls_deny__:00000000-0000-0000-0000-000000000000"
|
|
520
|
-
});
|
|
521
|
-
var COMPOSED_READABLE_IDS_BRAND = /* @__PURE__ */ Symbol.for("objectstack.filter.readableIds.composed");
|
|
520
|
+
}))();
|
|
521
|
+
var COMPOSED_READABLE_IDS_BRAND = /* @__PURE__ */ (() => /* @__PURE__ */ Symbol.for("objectstack.filter.readableIds.composed"))();
|
|
522
522
|
function isComposedReadableIds(value) {
|
|
523
523
|
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
524
524
|
if (!Object.prototype.hasOwnProperty.call(value, COMPOSED_READABLE_IDS_BRAND)) return false;
|
|
@@ -538,7 +538,7 @@ function describeArgument(value) {
|
|
|
538
538
|
if (typeof value === "string") return value.length === 0 ? "an empty string" : "a string";
|
|
539
539
|
return typeof value;
|
|
540
540
|
}
|
|
541
|
-
var ReadableIds = Object.freeze({
|
|
541
|
+
var ReadableIds = /* @__PURE__ */ (() => Object.freeze({
|
|
542
542
|
of(object) {
|
|
543
543
|
if (typeof object !== "string" || object.length === 0) {
|
|
544
544
|
throw new TypeError(
|
|
@@ -579,11 +579,11 @@ var ReadableIds = Object.freeze({
|
|
|
579
579
|
});
|
|
580
580
|
return Object.freeze(composed);
|
|
581
581
|
}
|
|
582
|
-
});
|
|
582
|
+
}))();
|
|
583
583
|
|
|
584
584
|
// src/data/shared-record-ids.ts
|
|
585
|
-
var SHARED_RECORD_IDS_BRAND = /* @__PURE__ */ Symbol.for("objectstack.filter.sharedRecordIds");
|
|
586
|
-
var LEAF_KEYS = /* @__PURE__ */ new Set(["object", "recipient", "accessLevels"]);
|
|
585
|
+
var SHARED_RECORD_IDS_BRAND = /* @__PURE__ */ (() => /* @__PURE__ */ Symbol.for("objectstack.filter.sharedRecordIds"))();
|
|
586
|
+
var LEAF_KEYS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["object", "recipient", "accessLevels"]))();
|
|
587
587
|
var isNonEmptyString2 = (value) => typeof value === "string" && value.length > 0;
|
|
588
588
|
function readLevelList(value) {
|
|
589
589
|
if (!Array.isArray(value) || value.length === 0 || !Object.isFrozen(value)) return void 0;
|
|
@@ -651,7 +651,7 @@ function assertInputs(factory, object, recipient) {
|
|
|
651
651
|
}
|
|
652
652
|
var TABLE = "sys_record_share";
|
|
653
653
|
var COLUMN = "record_id";
|
|
654
|
-
var SharedRecordIds = Object.freeze({
|
|
654
|
+
var SharedRecordIds = /* @__PURE__ */ (() => Object.freeze({
|
|
655
655
|
read(object, recipient) {
|
|
656
656
|
assertInputs("read", object, recipient);
|
|
657
657
|
return brand({ object, recipient });
|
|
@@ -682,18 +682,18 @@ var SharedRecordIds = Object.freeze({
|
|
|
682
682
|
tenantScope: "none"
|
|
683
683
|
});
|
|
684
684
|
}
|
|
685
|
-
});
|
|
685
|
+
}))();
|
|
686
686
|
|
|
687
687
|
// src/data/fixed-read-leaf.ts
|
|
688
|
-
var FIXED_READ_LEAF_NAMES = Object.freeze(["SharedRecordIds"]);
|
|
689
|
-
var FIXED_READ_LEAVES = Object.freeze([
|
|
688
|
+
var FIXED_READ_LEAF_NAMES = /* @__PURE__ */ (() => Object.freeze(["SharedRecordIds"]))();
|
|
689
|
+
var FIXED_READ_LEAVES = /* @__PURE__ */ (() => Object.freeze([
|
|
690
690
|
Object.freeze({
|
|
691
691
|
brand: SHARED_RECORD_IDS_BRAND,
|
|
692
692
|
name: "SharedRecordIds",
|
|
693
693
|
is: isSharedRecordIds,
|
|
694
694
|
innerRead: SharedRecordIds.innerRead
|
|
695
695
|
})
|
|
696
|
-
]);
|
|
696
|
+
]))();
|
|
697
697
|
function fixedReadLeafBrandOf(value) {
|
|
698
698
|
return FIXED_READ_LEAVES.find((row) => row.is(value))?.brand;
|
|
699
699
|
}
|
|
@@ -717,7 +717,7 @@ function fixedInnerReadOf(leaf) {
|
|
|
717
717
|
|
|
718
718
|
// src/shared/refusal-head.ts
|
|
719
719
|
var REFUSAL_HEAD_MAX = 160;
|
|
720
|
-
var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("@objectstack/spec:refusal-heads");
|
|
720
|
+
var REGISTRY_KEY = /* @__PURE__ */ (() => /* @__PURE__ */ Symbol.for("@objectstack/spec:refusal-heads"))();
|
|
721
721
|
function registry() {
|
|
722
722
|
const holder = globalThis;
|
|
723
723
|
let map = holder[REGISTRY_KEY];
|
|
@@ -770,12 +770,12 @@ function shapePreview(value) {
|
|
|
770
770
|
}
|
|
771
771
|
return text.length > 60 ? `${text.slice(0, 59)}\u2026` : text;
|
|
772
772
|
}
|
|
773
|
-
var ARRAY_EQUALITY_COMPARAND_REMEDY = `For "one of these values" use {"$in": [\u2026]} (authoring: ${IN_OPERATOR_SPELLINGS.join(", ")}); for "the stored list holds a value" on a multi-value field, {"${ARRAY_CONTAINMENT_OPERATOR.op}": "\u2026"} (authoring: ${ARRAY_CONTAINMENT_OPERATOR.spellings.join(", ")}), an $or of those for any-of. The filter was NOT applied, and an unapplied filter would have returned the UNFILTERED result set
|
|
773
|
+
var ARRAY_EQUALITY_COMPARAND_REMEDY = /* @__PURE__ */ (() => `For "one of these values" use {"$in": [\u2026]} (authoring: ${IN_OPERATOR_SPELLINGS.join(", ")}); for "the stored list holds a value" on a multi-value field, {"${ARRAY_CONTAINMENT_OPERATOR.op}": "\u2026"} (authoring: ${ARRAY_CONTAINMENT_OPERATOR.spellings.join(", ")}), an $or of those for any-of. The filter was NOT applied, and an unapplied filter would have returned the UNFILTERED result set.`)();
|
|
774
774
|
function arrayEqualityComparandMessage(value, site) {
|
|
775
775
|
const position = site.op ? operatorPosition(site.op, site.field) : `The implicit-equality comparand on field "${site.field}"`;
|
|
776
776
|
return singleValueSlotMessage(position, value, site.path, ARRAY_EQUALITY_COMPARAND_REMEDY);
|
|
777
777
|
}
|
|
778
|
-
var ARRAY_INEQUALITY_COMPARAND_REMEDY = `For "none of these values" use {"$nin": [\u2026]} (authoring: ${NIN_OPERATOR_SPELLINGS.join(", ")}). The filter was NOT applied, and an unapplied filter would have returned the UNFILTERED result set
|
|
778
|
+
var ARRAY_INEQUALITY_COMPARAND_REMEDY = /* @__PURE__ */ (() => `For "none of these values" use {"$nin": [\u2026]} (authoring: ${NIN_OPERATOR_SPELLINGS.join(", ")}). The filter was NOT applied, and an unapplied filter would have returned the UNFILTERED result set.`)();
|
|
779
779
|
function arrayInequalityComparandMessage(value, site) {
|
|
780
780
|
return singleValueSlotMessage(
|
|
781
781
|
operatorPosition("$ne", site.field),
|
|
@@ -784,7 +784,7 @@ function arrayInequalityComparandMessage(value, site) {
|
|
|
784
784
|
ARRAY_INEQUALITY_COMPARAND_REMEDY
|
|
785
785
|
);
|
|
786
786
|
}
|
|
787
|
-
var ARRAY_SCALAR_COMPARAND_REMEDY = `Write ONE value. For "one of these values" use {"$in": [\u2026]} (authoring: ${IN_OPERATOR_SPELLINGS.join(", ")}); for a range, {"$between": [min, max]} (authoring: ${BETWEEN_OPERATOR_SPELLINGS.join(", ")}). The filter was NOT applied, and an unapplied filter would have returned the UNFILTERED result set
|
|
787
|
+
var ARRAY_SCALAR_COMPARAND_REMEDY = /* @__PURE__ */ (() => `Write ONE value. For "one of these values" use {"$in": [\u2026]} (authoring: ${IN_OPERATOR_SPELLINGS.join(", ")}); for a range, {"$between": [min, max]} (authoring: ${BETWEEN_OPERATOR_SPELLINGS.join(", ")}). The filter was NOT applied, and an unapplied filter would have returned the UNFILTERED result set.`)();
|
|
788
788
|
function arrayScalarComparandMessage(op, value, site) {
|
|
789
789
|
return singleValueSlotMessage(
|
|
790
790
|
operatorPosition(op, site.field),
|
|
@@ -802,7 +802,7 @@ function singleValueSlotMessage(position, value, path, remedy) {
|
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
// src/data/filter-comparand-shape.ts
|
|
805
|
-
var LIST_COMPARAND_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
805
|
+
var LIST_COMPARAND_OPERATORS2 = /* @__PURE__ */ (() => /* @__PURE__ */ new Map([
|
|
806
806
|
// [#19889] The `$in` row is read from the shared refusal text, so the operator
|
|
807
807
|
// the equality-slot refusal prescribes and this row cannot name two lists.
|
|
808
808
|
["$in", IN_OPERATOR_SPELLINGS],
|
|
@@ -810,17 +810,17 @@ var LIST_COMPARAND_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
|
810
810
|
["$nin", NIN_OPERATOR_SPELLINGS],
|
|
811
811
|
// [#21448] And the `$between` row, for the range the scalar-slot refusal prescribes.
|
|
812
812
|
["$between", BETWEEN_OPERATOR_SPELLINGS]
|
|
813
|
-
]);
|
|
814
|
-
var ORDERING_COMPARAND_OPERATORS = /* @__PURE__ */ new Map([
|
|
813
|
+
]))();
|
|
814
|
+
var ORDERING_COMPARAND_OPERATORS = /* @__PURE__ */ (() => /* @__PURE__ */ new Map([
|
|
815
815
|
["$gt", [">", "gt", "greater_than", "greaterthan", "after"]],
|
|
816
816
|
["$gte", [">=", "gte", "greater_than_or_equal", "greaterthanorequal", "greaterorequal"]],
|
|
817
817
|
["$lt", ["<", "lt", "less_than", "lessthan", "before"]],
|
|
818
818
|
["$lte", ["<=", "lte", "less_than_or_equal", "lessthanorequal", "lessorequal"]]
|
|
819
|
-
]);
|
|
820
|
-
var SCALAR_ALTERNATIVE = /* @__PURE__ */ new Map([
|
|
819
|
+
]))();
|
|
820
|
+
var SCALAR_ALTERNATIVE = /* @__PURE__ */ (() => /* @__PURE__ */ new Map([
|
|
821
821
|
["$in", '"=" ($eq)'],
|
|
822
822
|
["$nin", '"!=" ($ne)']
|
|
823
|
-
]);
|
|
823
|
+
]))();
|
|
824
824
|
function isFilterNode(value) {
|
|
825
825
|
return typeof value === "object" && value !== null && !Array.isArray(value) && !(value instanceof Date);
|
|
826
826
|
}
|
|
@@ -1026,7 +1026,7 @@ var ACCEPTED_FILTER_COMPARAND_TYPES = [
|
|
|
1026
1026
|
"Date"
|
|
1027
1027
|
];
|
|
1028
1028
|
var ACCEPTED_FILTER_COMPARAND_TYPES_SENTENCE = "a string, number, bigint, boolean, null or Date";
|
|
1029
|
-
var FILTER_COMPARAND_BIGINT_EXACT_LIMIT = 2n ** 53n;
|
|
1029
|
+
var FILTER_COMPARAND_BIGINT_EXACT_LIMIT = /* @__PURE__ */ (() => 2n ** 53n)();
|
|
1030
1030
|
function isAcceptedFilterComparand(value) {
|
|
1031
1031
|
if (value === null) return true;
|
|
1032
1032
|
switch (typeof value) {
|
|
@@ -1050,7 +1050,7 @@ function isFieldReference(value) {
|
|
|
1050
1050
|
function isNowAnchor(value) {
|
|
1051
1051
|
return isFilterNode2(value) && (value.$now === true || typeof value.$now === "string");
|
|
1052
1052
|
}
|
|
1053
|
-
var NOW_ANCHOR_KEYS = /* @__PURE__ */ new Set(["$now", "addDays"]);
|
|
1053
|
+
var NOW_ANCHOR_KEYS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["$now", "addDays"]))();
|
|
1054
1054
|
function undeclaredNowAnchorKeys(value) {
|
|
1055
1055
|
return Object.keys(value).filter((key) => !NOW_ANCHOR_KEYS.has(key));
|
|
1056
1056
|
}
|
|
@@ -1306,7 +1306,7 @@ function nonListComparandMessage(op, field, value) {
|
|
|
1306
1306
|
function malformedRangeComparandMessage(field, value) {
|
|
1307
1307
|
return `Operator "$between" on field "${field}" requires a [min, max] value array. Received ${describeComparandKind(value)} (${shapePreview(value)}). A range needs exactly two bounds, in order; the authoring spelling that lowers to "$between" is "between". The filter was NOT applied, and an unapplied filter would have returned the UNFILTERED result set.`;
|
|
1308
1308
|
}
|
|
1309
|
-
var ORDERING_OPERATORS = /* @__PURE__ */ new Set(["$gt", "$gte", "$lt", "$lte"]);
|
|
1309
|
+
var ORDERING_OPERATORS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["$gt", "$gte", "$lt", "$lte"]))();
|
|
1310
1310
|
function operatorSlotSentence(slots, op, comparand, at) {
|
|
1311
1311
|
const parsed = slots.shape[op]?.safeParse(comparand);
|
|
1312
1312
|
const where = at.join(".");
|
|
@@ -1345,7 +1345,7 @@ function comparandShapeRefusalAtSave(slots, field, op, comparand, face) {
|
|
|
1345
1345
|
const located = refusal ?? { at: [], message: face.message };
|
|
1346
1346
|
return head === void 0 ? located : { ...located, head };
|
|
1347
1347
|
}
|
|
1348
|
-
var BOOLEAN_FLAG_OPERATORS = /* @__PURE__ */ new Set(["$null", "$exists", "$empty"]);
|
|
1348
|
+
var BOOLEAN_FLAG_OPERATORS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["$null", "$exists", "$empty"]))();
|
|
1349
1349
|
function describeFlagComparand(value) {
|
|
1350
1350
|
if (value === null) return "null";
|
|
1351
1351
|
if (value === void 0) return "undefined";
|
|
@@ -1437,11 +1437,11 @@ function dottedAddDaysReference(input) {
|
|
|
1437
1437
|
function dottedAddDaysOffsetSentence(ref) {
|
|
1438
1438
|
return `The addDays offset ${JSON.stringify(ref)} is a dotted path, and SQL push-down compiles same-table column references only (no relation traversal, no alias-qualified columns): name a numeric column of the same record instead, holding the related value.`;
|
|
1439
1439
|
}
|
|
1440
|
-
var AddDaysReferenceSchema = zod.z.object({
|
|
1440
|
+
var AddDaysReferenceSchema = /* @__PURE__ */ (() => zod.z.object({
|
|
1441
1441
|
// A pattern rather than a refinement, so the published JSON Schema carries
|
|
1442
1442
|
// the rule too (`pattern`) instead of joining the dropped-refinement ledger.
|
|
1443
1443
|
$field: zod.z.string().regex(/^[^.]*$/, { error: (issue) => dottedAddDaysOffsetSentence(String(issue.input)) }).describe("Numeric column of the same record whose value is the number of days to add (no dotted path)")
|
|
1444
|
-
}).describe("A { $field } reference to the numeric column holding the day offset");
|
|
1444
|
+
}).describe("A { $field } reference to the numeric column holding the day offset"))();
|
|
1445
1445
|
var FieldReferenceSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.object({
|
|
1446
1446
|
$field: zod.z.string().describe("Field Reference/Column Name"),
|
|
1447
1447
|
/**
|
|
@@ -1475,7 +1475,7 @@ function nowAnchorMessage(input) {
|
|
|
1475
1475
|
}
|
|
1476
1476
|
return addDaysOffsetMessage(node.addDays);
|
|
1477
1477
|
}
|
|
1478
|
-
var NowAnchorSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() =>
|
|
1478
|
+
var NowAnchorSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => chunkBJHX3SZO_js.closedObject(zod.z.object({
|
|
1479
1479
|
$now: zod.z.literal(true, {
|
|
1480
1480
|
error: (issue) => nowAnchorMessage({ $now: issue.input, addDays: 0 })
|
|
1481
1481
|
}).describe("The anchor flag: the instant the query runs at. Always the literal true."),
|
|
@@ -1495,8 +1495,8 @@ function nowAnchorIssueMessage(input) {
|
|
|
1495
1495
|
const result = NowAnchorSchema.safeParse(input);
|
|
1496
1496
|
return result.success ? void 0 : nowAnchorMessage(input);
|
|
1497
1497
|
}
|
|
1498
|
-
var EQ_DESCRIPTION = 'Equal to \u2014 the DEFAULT operator: a bare value written against a field key is the same condition as this one. Lowered to `=` on the SQL family and to `$eq` on MongoDB. The comparand is a literal, a { $field } reference to another column of the same table, or a { $now: true, addDays } anchor ($eq is one of the six scalar comparisons a reference or an anchor may be the whole comparand of). `{ "$eq": null }` is the has-NO-value predicate \u2014 the same question `{ "$null": true }` asks, and it is about the VALUE, never about whether a key is present.';
|
|
1499
|
-
var NE_DESCRIPTION = 'Not equal to. Lowered to `<>` / `!=` on the SQL family and to `$ne` on MongoDB. The comparand is a literal, a { $field } reference to another column of the same table, or a { $now: true, addDays } anchor ($ne is one of the six scalar comparisons a reference or an anchor may be the whole comparand of). `{ "$ne": null }` is the HAS-A-VALUE predicate \u2014 the same question `{ "$exists": true }` asks: it matches rows whose field holds a value, never rows that merely carry the key.';
|
|
1498
|
+
var EQ_DESCRIPTION = /* @__PURE__ */ (() => 'Equal to \u2014 the DEFAULT operator: a bare value written against a field key is the same condition as this one. Lowered to `=` on the SQL family and to `$eq` on MongoDB. The comparand is a literal, a { $field } reference to another column of the same table, or a { $now: true, addDays } anchor ($eq is one of the six scalar comparisons a reference or an anchor may be the whole comparand of). `{ "$eq": null }` is the has-NO-value predicate \u2014 the same question `{ "$null": true }` asks, and it is about the VALUE, never about whether a key is present.')();
|
|
1499
|
+
var NE_DESCRIPTION = /* @__PURE__ */ (() => 'Not equal to. Lowered to `<>` / `!=` on the SQL family and to `$ne` on MongoDB. The comparand is a literal, a { $field } reference to another column of the same table, or a { $now: true, addDays } anchor ($ne is one of the six scalar comparisons a reference or an anchor may be the whole comparand of). `{ "$ne": null }` is the HAS-A-VALUE predicate \u2014 the same question `{ "$exists": true }` asks: it matches rows whose field holds a value, never rows that merely carry the key.')();
|
|
1500
1500
|
var equalityComparandSchema = () => zod.z.any().superRefine((value, ctx) => {
|
|
1501
1501
|
if (!Array.isArray(value)) return;
|
|
1502
1502
|
ctx.addIssue({ code: "custom", message: arrayEqualityComparandMessage(value, { op: "$eq" }) });
|
|
@@ -1511,7 +1511,7 @@ var EqualityOperatorSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => z
|
|
|
1511
1511
|
/** Not equal to - SQL: <> or != | MongoDB: $ne */
|
|
1512
1512
|
$ne: inequalityComparandSchema()
|
|
1513
1513
|
}));
|
|
1514
|
-
var ORDERING_COMPARAND_DESCRIPTION = `Comparand is a number, a Date, a string, a { $field } reference (optionally carrying a whole-day addDays offset), or a { $now: true, addDays } anchor (the current instant shifted by whole days, the offset a literal or a numeric column of the same record). STRING is the form the platform itself produces: the date-macro resolver returns only strings ("{current_year_start}" -> "2026-01-01"), and the guaranteed spellings are an ISO calendar day (YYYY-MM-DD), a UTC ISO-8601 instant, or a wall-clock time of day (HH:MM[:SS[.fff]]) for a Field.time column. Those are ASCII and fixed-width, so lexicographic order IS chronological order and every backend agrees; the driver reconciles the comparand with the column (a bare calendar day used as an upper bound becomes the half-open next-day boundary). Ordering NON-temporal text is permitted but NOT promised: the order is the backend collation's (byte-wise on SQLite, the database locale on Postgres, UTF-16 code units in the JS matchers), and those coincide only for ASCII. null is NOT a comparand: null is not ordered \u2014 state absence with the null predicate instead ($eq: null is "has no value", $ne: null is "has a value")
|
|
1514
|
+
var ORDERING_COMPARAND_DESCRIPTION = /* @__PURE__ */ (() => `Comparand is a number, a Date, a string, a { $field } reference (optionally carrying a whole-day addDays offset), or a { $now: true, addDays } anchor (the current instant shifted by whole days, the offset a literal or a numeric column of the same record). STRING is the form the platform itself produces: the date-macro resolver returns only strings ("{current_year_start}" -> "2026-01-01"), and the guaranteed spellings are an ISO calendar day (YYYY-MM-DD), a UTC ISO-8601 instant, or a wall-clock time of day (HH:MM[:SS[.fff]]) for a Field.time column. Those are ASCII and fixed-width, so lexicographic order IS chronological order and every backend agrees; the driver reconciles the comparand with the column (a bare calendar day used as an upper bound becomes the half-open next-day boundary). Ordering NON-temporal text is permitted but NOT promised: the order is the backend collation's (byte-wise on SQLite, the database locale on Postgres, UTF-16 code units in the JS matchers), and those coincide only for ASCII. null is NOT a comparand: null is not ordered \u2014 state absence with the null predicate instead ($eq: null is "has no value", $ne: null is "has a value").`)();
|
|
1515
1515
|
function nullOrderingComparandMessage(op) {
|
|
1516
1516
|
return `null is not a valid ${op} comparand. null is not ordered, and the evaluation faces do not agree on what an ordering against it matches (driver-memory's query path reads a stored null as equal to it, so {"$gte": null} admits that row; driver-sql compares against SQL NULL and admits no row). State absence with the null predicate instead: {"$eq": null} is "has no value", {"$ne": null} is "has a value".`;
|
|
1517
1517
|
}
|
|
@@ -1567,14 +1567,14 @@ var setMembershipSchema = (op) => zod.z.array(zod.z.any()).superRefine((members,
|
|
|
1567
1567
|
});
|
|
1568
1568
|
});
|
|
1569
1569
|
});
|
|
1570
|
-
var SET_MEMBER_DESCRIPTION = 'Membership list. Members are literal values of any type the column stores. A { $field } reference is NOT a member shape, nor is a { $now: true, addDays } anchor: no backend resolves either inside a list \u2014 put it in a scalar comparison ($eq/$ne/$gt/$gte/$lt/$lte) instead. null is NOT a member shape either: state absence explicitly with the null predicate \u2014 "one of [\u2026] OR has no value" is { "$or": [{ "$in": [\u2026] }, { "$null": true }] }.';
|
|
1570
|
+
var SET_MEMBER_DESCRIPTION = /* @__PURE__ */ (() => 'Membership list. Members are literal values of any type the column stores. A { $field } reference is NOT a member shape, nor is a { $now: true, addDays } anchor: no backend resolves either inside a list \u2014 put it in a scalar comparison ($eq/$ne/$gt/$gte/$lt/$lte) instead. null is NOT a member shape either: state absence explicitly with the null predicate \u2014 "one of [\u2026] OR has no value" is { "$or": [{ "$in": [\u2026] }, { "$null": true }] }.')();
|
|
1571
1571
|
var SetOperatorSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.object({
|
|
1572
1572
|
/** In list - SQL: IN (?, ?, ?) | MongoDB: $in */
|
|
1573
1573
|
$in: setMembershipSchema("$in").optional().describe(SET_MEMBER_DESCRIPTION),
|
|
1574
1574
|
/** Not in list - SQL: NOT IN (...) | MongoDB: $nin */
|
|
1575
1575
|
$nin: setMembershipSchema("$nin").optional().describe(SET_MEMBER_DESCRIPTION)
|
|
1576
1576
|
}));
|
|
1577
|
-
var RANGE_ENDPOINT_DESCRIPTION = `Closed interval [min, max]. Each endpoint is a number, a Date, or a string, and BOTH are required NON-BLANK: an empty string, null and undefined are refused, and the refusal names the blank side. A range bounded on ONE side only is not a $between at all \u2014 write the side you have as a scalar comparison ($gte for a lower bound, $lte for an upper one). A { $field } reference is NOT an endpoint shape: no backend resolves one inside a list \u2014 put it in a scalar comparison ($gt/$gte/$lt/$lte), which does compile to a column-to-column bound. STRING is the form the platform itself produces: the date-macro resolver walks INTO arrays, so { $between: ["{current_year_start}", "{current_year_end}"] } resolves to two strings. The guaranteed spellings are an ISO calendar day (YYYY-MM-DD), a UTC ISO-8601 instant, or a wall-clock time of day (HH:MM[:SS[.fff]]) for a Field.time column; those are ASCII and fixed-width, so lexicographic order IS chronological order and every backend agrees. The driver reconciles each endpoint with the column independently (a bare calendar day used as the MAX becomes the half-open next-day boundary). Ranging over NON-temporal text is permitted but NOT promised: the order is the backend collation's, and those coincide only for ASCII
|
|
1577
|
+
var RANGE_ENDPOINT_DESCRIPTION = /* @__PURE__ */ (() => `Closed interval [min, max]. Each endpoint is a number, a Date, or a string, and BOTH are required NON-BLANK: an empty string, null and undefined are refused, and the refusal names the blank side. A range bounded on ONE side only is not a $between at all \u2014 write the side you have as a scalar comparison ($gte for a lower bound, $lte for an upper one). A { $field } reference is NOT an endpoint shape: no backend resolves one inside a list \u2014 put it in a scalar comparison ($gt/$gte/$lt/$lte), which does compile to a column-to-column bound. STRING is the form the platform itself produces: the date-macro resolver walks INTO arrays, so { $between: ["{current_year_start}", "{current_year_end}"] } resolves to two strings. The guaranteed spellings are an ISO calendar day (YYYY-MM-DD), a UTC ISO-8601 instant, or a wall-clock time of day (HH:MM[:SS[.fff]]) for a Field.time column; those are ASCII and fixed-width, so lexicographic order IS chronological order and every backend agrees. The driver reconciles each endpoint with the column independently (a bare calendar day used as the MAX becomes the half-open next-day boundary). Ranging over NON-temporal text is permitted but NOT promised: the order is the backend collation's, and those coincide only for ASCII.`)();
|
|
1578
1578
|
function blankRangeBoundMessage(index) {
|
|
1579
1579
|
const side = index === 0 ? "MIN" : "MAX";
|
|
1580
1580
|
return `A blank value is not a valid $between endpoint at index ${index} (the ${side} bound). A closed interval [min, max] requires BOTH endpoints present and non-empty: an empty string is not an interval endpoint at any backend \u2014 it is compared as a value, so the range stops bounding on that side while still reading as a complete range. Write the bound you meant; and if only ONE side is genuinely bounded, that is not a range at all \u2014 drop $between and write the side you have as a scalar comparison ({"$gte": min} for a lower bound, {"$lte": max} for an upper one).`;
|
|
@@ -1591,19 +1591,19 @@ var rangeEndpointSchema = (index) => zod.z.union([zod.z.number(), zod.z.date(),
|
|
|
1591
1591
|
if (endpoint !== "") return;
|
|
1592
1592
|
ctx.addIssue({ code: "custom", message: blankRangeBoundMessage(index) });
|
|
1593
1593
|
});
|
|
1594
|
-
var RANGE_BETWEEN_DESCRIPTION = `Between (inclusive). ${RANGE_ENDPOINT_DESCRIPTION}
|
|
1594
|
+
var RANGE_BETWEEN_DESCRIPTION = /* @__PURE__ */ (() => `Between (inclusive). ${RANGE_ENDPOINT_DESCRIPTION}`)();
|
|
1595
1595
|
var RangeOperatorSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.object({
|
|
1596
1596
|
/** Between (inclusive) - takes [min, max] array */
|
|
1597
1597
|
$between: zod.z.tuple([rangeEndpointSchema(0), rangeEndpointSchema(1)]).optional().describe(RANGE_BETWEEN_DESCRIPTION)
|
|
1598
1598
|
}));
|
|
1599
|
-
var LITERAL_COMPARAND_DESCRIPTION = `The comparand is matched LITERALLY: "%", "_" and regex metacharacters are ordinary characters, because this family escapes and anchors the comparand on the caller's behalf. To bind the wildcards yourself, write $like (case-exact) or $ilike (ASCII-folded)
|
|
1600
|
-
var CONTAINS_DESCRIPTION = `Contains substring, CASE-SENSITIVELY \u2014 "acme" does NOT match "ACME". Lowered to \`LIKE '%?%'\` (case-exact) on the SQL family, and answered case-exactly on every JS evaluation face the platform ships. ${LITERAL_COMPARAND_DESCRIPTION} Case-INSENSITIVE containment is $icontains, which folds ASCII case only
|
|
1601
|
-
var NOT_CONTAINS_DESCRIPTION = `Does not contain substring, CASE-SENSITIVELY \u2014 the negation of $contains, on the same comparand contract. Lowered to \`NOT LIKE '%?%'\` (case-exact) on the SQL family. ${LITERAL_COMPARAND_DESCRIPTION}
|
|
1602
|
-
var STARTS_WITH_DESCRIPTION = `Starts with prefix, CASE-SENSITIVELY. Lowered to \`LIKE '?%'\` (case-exact) on the SQL family. ${LITERAL_COMPARAND_DESCRIPTION}
|
|
1603
|
-
var ENDS_WITH_DESCRIPTION = `Ends with suffix, CASE-SENSITIVELY. Lowered to \`LIKE '%?'\` (case-exact) on the SQL family. ${LITERAL_COMPARAND_DESCRIPTION}
|
|
1604
|
-
var ICONTAINS_DESCRIPTION = 'Contains substring, ignoring case \u2014 but ONLY ASCII case (A-Z against a-z). Every other character compares literally, so "caf\xE9" does NOT match "CAF\xC9" and "\u043C\u043E\u0441\u043A\u0432\u0430" does not match "\u041C\u041E\u0421\u041A\u0412\u0410". The domain is ASCII because that is the one fold all five backends can deliver: SQLite (and therefore turso and sqlite-wasm) folds ASCII only, so a Unicode promise here would be a guarantee three of the five could not keep. The comparand is matched LITERALLY \u2014 "%", "_" and regex metacharacters are ordinary characters, not wildcards. Case-SENSITIVE containment is $contains. Lowered on the SQL family (driver-sql, driver-sqlite-wasm, driver-turso on both transports) and on every JS evaluation face, so it is portable across every backend the platform ships.';
|
|
1605
|
-
var LIKE_DESCRIPTION = 'Whole-string pattern match with CALLER-bound wildcards: "%" matches any sequence (including empty), "_" matches exactly one character, and a character is one Unicode code point \u2014 an emoji or any other character outside the Basic Multilingual Plane is ONE "_", never two, as SQL LIKE counts it. A backslash escapes the character after it ("\\%", "\\_", "\\\\") so it matches literally. The pattern must cover the WHOLE value \u2014 a pattern with no wildcards is an exact comparison, NOT a substring search; write $contains for containment. A pattern ending in a lone unpaired backslash, or holding the NUL character U+0000, is refused (INVALID_FILTER). Comparison is case-SENSITIVE, same contract as $contains (Q2 = A); $ilike is the case-insensitive twin. Answered by the SQL family (driver-sql, driver-sqlite-wasm, driver-turso on both transports), by driver-memory and by @objectstack/formula. driver-mongodb, objectql `having` and service-analytics REFUSE it in the INVALID_FILTER envelope rather than approximating it \u2014 see FILTER_OPERATORS for why it is staged out of that allowlist.';
|
|
1606
|
-
var ILIKE_DESCRIPTION = `Whole-string pattern match like $like \u2014 "%" / "_" wildcards bound by the caller, backslash escapes \u2014 but ignoring ASCII case (A-Z against a-z) and ONLY ASCII case: "caf\xE9" does NOT match "CAF\xC9", the same Q1 = A boundary $icontains declares, because SQLite's fold is ASCII-only and three of the five backends are SQLite underneath. Staged with $like \u2014 see FILTER_OPERATORS
|
|
1599
|
+
var LITERAL_COMPARAND_DESCRIPTION = /* @__PURE__ */ (() => `The comparand is matched LITERALLY: "%", "_" and regex metacharacters are ordinary characters, because this family escapes and anchors the comparand on the caller's behalf. To bind the wildcards yourself, write $like (case-exact) or $ilike (ASCII-folded).`)();
|
|
1600
|
+
var CONTAINS_DESCRIPTION = /* @__PURE__ */ (() => `Contains substring, CASE-SENSITIVELY \u2014 "acme" does NOT match "ACME". Lowered to \`LIKE '%?%'\` (case-exact) on the SQL family, and answered case-exactly on every JS evaluation face the platform ships. ${LITERAL_COMPARAND_DESCRIPTION} Case-INSENSITIVE containment is $icontains, which folds ASCII case only.`)();
|
|
1601
|
+
var NOT_CONTAINS_DESCRIPTION = /* @__PURE__ */ (() => `Does not contain substring, CASE-SENSITIVELY \u2014 the negation of $contains, on the same comparand contract. Lowered to \`NOT LIKE '%?%'\` (case-exact) on the SQL family. ${LITERAL_COMPARAND_DESCRIPTION}`)();
|
|
1602
|
+
var STARTS_WITH_DESCRIPTION = /* @__PURE__ */ (() => `Starts with prefix, CASE-SENSITIVELY. Lowered to \`LIKE '?%'\` (case-exact) on the SQL family. ${LITERAL_COMPARAND_DESCRIPTION}`)();
|
|
1603
|
+
var ENDS_WITH_DESCRIPTION = /* @__PURE__ */ (() => `Ends with suffix, CASE-SENSITIVELY. Lowered to \`LIKE '%?'\` (case-exact) on the SQL family. ${LITERAL_COMPARAND_DESCRIPTION}`)();
|
|
1604
|
+
var ICONTAINS_DESCRIPTION = /* @__PURE__ */ (() => 'Contains substring, ignoring case \u2014 but ONLY ASCII case (A-Z against a-z). Every other character compares literally, so "caf\xE9" does NOT match "CAF\xC9" and "\u043C\u043E\u0441\u043A\u0432\u0430" does not match "\u041C\u041E\u0421\u041A\u0412\u0410". The domain is ASCII because that is the one fold all five backends can deliver: SQLite (and therefore turso and sqlite-wasm) folds ASCII only, so a Unicode promise here would be a guarantee three of the five could not keep. The comparand is matched LITERALLY \u2014 "%", "_" and regex metacharacters are ordinary characters, not wildcards. Case-SENSITIVE containment is $contains. Lowered on the SQL family (driver-sql, driver-sqlite-wasm, driver-turso on both transports) and on every JS evaluation face, so it is portable across every backend the platform ships.')();
|
|
1605
|
+
var LIKE_DESCRIPTION = /* @__PURE__ */ (() => 'Whole-string pattern match with CALLER-bound wildcards: "%" matches any sequence (including empty), "_" matches exactly one character, and a character is one Unicode code point \u2014 an emoji or any other character outside the Basic Multilingual Plane is ONE "_", never two, as SQL LIKE counts it. A backslash escapes the character after it ("\\%", "\\_", "\\\\") so it matches literally. The pattern must cover the WHOLE value \u2014 a pattern with no wildcards is an exact comparison, NOT a substring search; write $contains for containment. A pattern ending in a lone unpaired backslash, or holding the NUL character U+0000, is refused (INVALID_FILTER). Comparison is case-SENSITIVE, same contract as $contains (Q2 = A); $ilike is the case-insensitive twin. Answered by the SQL family (driver-sql, driver-sqlite-wasm, driver-turso on both transports), by driver-memory and by @objectstack/formula. driver-mongodb, objectql `having` and service-analytics REFUSE it in the INVALID_FILTER envelope rather than approximating it \u2014 see FILTER_OPERATORS for why it is staged out of that allowlist.')();
|
|
1606
|
+
var ILIKE_DESCRIPTION = /* @__PURE__ */ (() => `Whole-string pattern match like $like \u2014 "%" / "_" wildcards bound by the caller, backslash escapes \u2014 but ignoring ASCII case (A-Z against a-z) and ONLY ASCII case: "caf\xE9" does NOT match "CAF\xC9", the same Q1 = A boundary $icontains declares, because SQLite's fold is ASCII-only and three of the five backends are SQLite underneath. Staged with $like \u2014 see FILTER_OPERATORS.`)();
|
|
1607
1607
|
var StringOperatorSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.object({
|
|
1608
1608
|
/** Contains substring, CASE-SENSITIVELY - SQL: LIKE %?% (case-exact) */
|
|
1609
1609
|
$contains: zod.z.string().optional().describe(CONTAINS_DESCRIPTION),
|
|
@@ -1665,7 +1665,7 @@ function hasDanglingLikeEscape(pattern) {
|
|
|
1665
1665
|
for (let i = pattern.length - 1; i >= 0 && pattern[i] === "\\"; i--) backslashes++;
|
|
1666
1666
|
return backslashes % 2 === 1;
|
|
1667
1667
|
}
|
|
1668
|
-
var LIKE_PATTERN_NUL = String.fromCharCode(0);
|
|
1668
|
+
var LIKE_PATTERN_NUL = /* @__PURE__ */ (() => String.fromCharCode(0))();
|
|
1669
1669
|
function hasNulInLikePattern(pattern) {
|
|
1670
1670
|
return pattern.includes(LIKE_PATTERN_NUL);
|
|
1671
1671
|
}
|
|
@@ -1734,9 +1734,9 @@ function likePatternToGlobPattern(pattern) {
|
|
|
1734
1734
|
}
|
|
1735
1735
|
return out;
|
|
1736
1736
|
}
|
|
1737
|
-
var NULL_PREDICATE_DESCRIPTION = "Is-null check. `true` matches rows where the field is null, `false` matches rows where it is not null. Lowered to `IS NULL` (true) / `IS NOT NULL` (false) on the SQL family and to `{ field: null }` (true) / `{ $ne: null }` (false) on MongoDB.";
|
|
1738
|
-
var EXISTS_PREDICATE_DESCRIPTION = "Has-a-value check \u2014 the exact inverse of `$null`. `true` matches rows where the field holds a value (`!= null`), `false` matches rows where it holds none. Portable across every backend the platform ships: lowered to `IS NOT NULL` (true) / `IS NULL` (false) on the SQL family and to `{ $ne: null }` (true) / `{ $eq: null }` (false) on MongoDB.";
|
|
1739
|
-
var EMPTY_PREDICATE_DESCRIPTION = "Is-empty check by the field's DECLARED type. `true` matches rows whose field is empty, `false` is its exact complement. What counts as empty: text-like types (text, textarea, email, url, phone, password, secret, markdown, html, richtext, code, color, signature, qrcode) = null or '' (the empty string); multi-value types (multiselect, checkboxes, tags, and select, radio, lookup, user, file or image with multiple: true) = null or [] (the empty list); every other type = null only. A face that holds no field declaration judges by the value: null, '' and [] are empty. A face that answers by the declared type refuses the operator on a column whose declaration it does not hold (the built-in id, for one) rather than guess a row; use $null there for \"has no value\". The view operators is_empty / is_not_empty lower to this operator.";
|
|
1737
|
+
var NULL_PREDICATE_DESCRIPTION = /* @__PURE__ */ (() => "Is-null check. `true` matches rows where the field is null, `false` matches rows where it is not null. Lowered to `IS NULL` (true) / `IS NOT NULL` (false) on the SQL family and to `{ field: null }` (true) / `{ $ne: null }` (false) on MongoDB.")();
|
|
1738
|
+
var EXISTS_PREDICATE_DESCRIPTION = /* @__PURE__ */ (() => "Has-a-value check \u2014 the exact inverse of `$null`. `true` matches rows where the field holds a value (`!= null`), `false` matches rows where it holds none. Portable across every backend the platform ships: lowered to `IS NOT NULL` (true) / `IS NULL` (false) on the SQL family and to `{ $ne: null }` (true) / `{ $eq: null }` (false) on MongoDB.")();
|
|
1739
|
+
var EMPTY_PREDICATE_DESCRIPTION = /* @__PURE__ */ (() => "Is-empty check by the field's DECLARED type. `true` matches rows whose field is empty, `false` is its exact complement. What counts as empty: text-like types (text, textarea, email, url, phone, password, secret, markdown, html, richtext, code, color, signature, qrcode) = null or '' (the empty string); multi-value types (multiselect, checkboxes, tags, and select, radio, lookup, user, file or image with multiple: true) = null or [] (the empty list); every other type = null only. A face that holds no field declaration judges by the value: null, '' and [] are empty. A face that answers by the declared type refuses the operator on a column whose declaration it does not hold (the built-in id, for one) rather than guess a row; use $null there for \"has no value\". The view operators is_empty / is_not_empty lower to this operator.")();
|
|
1740
1740
|
var SpecialOperatorSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.object({
|
|
1741
1741
|
/** Is null check - SQL: IS NULL (true) / IS NOT NULL (false) | MongoDB: field: null */
|
|
1742
1742
|
$null: zod.z.boolean().optional().describe(NULL_PREDICATE_DESCRIPTION),
|
|
@@ -1817,7 +1817,7 @@ var FieldOperatorsSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod
|
|
|
1817
1817
|
// see the `$empty` paragraph there.
|
|
1818
1818
|
$empty: zod.z.boolean().optional().describe(EMPTY_PREDICATE_DESCRIPTION)
|
|
1819
1819
|
}));
|
|
1820
|
-
var PRESET_JUDGED_ORDERING_OPS = /* @__PURE__ */ new Set(["$gt", "$gte", "$lt", "$lte"]);
|
|
1820
|
+
var PRESET_JUDGED_ORDERING_OPS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["$gt", "$gte", "$lt", "$lte"]))();
|
|
1821
1821
|
var PRESET_WALK_MAX_DEPTH = 32;
|
|
1822
1822
|
var FILTER_TEXT_COMPARAND_OPERATOR = "$icontains";
|
|
1823
1823
|
function isPlainFilterNode(value) {
|
|
@@ -1874,7 +1874,7 @@ function checkFilterConditionComparands(node, ctx, path = [], depth = 0) {
|
|
|
1874
1874
|
}
|
|
1875
1875
|
}
|
|
1876
1876
|
}
|
|
1877
|
-
var FilterConditionSchema = zod.z.lazy(
|
|
1877
|
+
var FilterConditionSchema = /* @__PURE__ */ (() => zod.z.lazy(
|
|
1878
1878
|
() => zod.z.record(zod.z.string(), zod.z.unknown()).and(
|
|
1879
1879
|
zod.z.object({
|
|
1880
1880
|
$and: zod.z.array(FilterConditionSchema).optional(),
|
|
@@ -1894,8 +1894,8 @@ var FilterConditionSchema = zod.z.lazy(
|
|
|
1894
1894
|
// own field entries; `$and` / `$or` / `$not` members re-enter the schema and
|
|
1895
1895
|
// are judged by their own pass with nested issue paths.
|
|
1896
1896
|
).superRefine((node, ctx) => checkFilterConditionComparands(node, ctx))
|
|
1897
|
-
);
|
|
1898
|
-
var WHERE_DESCRIPTION = "The condition tree the query filters by. A field-keyed entry is a condition on that field \u2014 a bare value is implicit equality, an object is a map of field operators \u2014 and `$and` / `$or` / `$not` combine conditions. `$not` is NULL-safe: a row whose compared column is null does NOT satisfy the negated condition and IS returned. An empty `$and` is the AND identity (no constraint); an empty `$or` is the OR identity (zero rows).";
|
|
1897
|
+
))();
|
|
1898
|
+
var WHERE_DESCRIPTION = /* @__PURE__ */ (() => "The condition tree the query filters by. A field-keyed entry is a condition on that field \u2014 a bare value is implicit equality, an object is a map of field operators \u2014 and `$and` / `$or` / `$not` combine conditions. `$not` is NULL-safe: a row whose compared column is null does NOT satisfy the negated condition and IS returned. An empty `$and` is the AND identity (no constraint); an empty `$or` is the OR identity (zero rows).")();
|
|
1899
1899
|
var QueryFilterSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.object({
|
|
1900
1900
|
where: FilterConditionSchema.optional().describe(WHERE_DESCRIPTION)
|
|
1901
1901
|
}));
|
|
@@ -1913,7 +1913,7 @@ var normalizedFieldConditionSchema = () => zod.z.record(zod.z.string(), FieldOpe
|
|
|
1913
1913
|
// artifact cannot come to mean different things. It is the same set of keys
|
|
1914
1914
|
// the hand-written `key.startsWith('$')` named: `^\$` is a SEARCH from the
|
|
1915
1915
|
// start of input for a literal dollar, which is that predicate exactly.
|
|
1916
|
-
|
|
1916
|
+
chunkXLUBDFSO_js.bannedKeyPattern(chunkXLUBDFSO_js.OPERATOR_PREFIX_KEY_PATTERN),
|
|
1917
1917
|
{
|
|
1918
1918
|
message: "A field condition's keys are field names, never $-prefixed operators.",
|
|
1919
1919
|
// `abort` so this branch cannot become the union's spokesman. Measured on
|
|
@@ -1928,13 +1928,13 @@ var normalizedFieldConditionSchema = () => zod.z.record(zod.z.string(), FieldOpe
|
|
|
1928
1928
|
var normalizedMemberSchema = (position) => zod.z.union([normalizedFieldConditionSchema(), NormalizedFilterSchema], {
|
|
1929
1929
|
error: (issue) => normalizedMemberMessage(position, issue.input)
|
|
1930
1930
|
});
|
|
1931
|
-
var NormalizedFilterSchema = zod.z.lazy(
|
|
1932
|
-
() =>
|
|
1931
|
+
var NormalizedFilterSchema = /* @__PURE__ */ (() => zod.z.lazy(
|
|
1932
|
+
() => chunkBJHX3SZO_js.closedObject(zod.z.object({
|
|
1933
1933
|
$and: zod.z.array(normalizedMemberSchema("$and member")).optional(),
|
|
1934
1934
|
$or: zod.z.array(normalizedMemberSchema("$or member")).optional(),
|
|
1935
1935
|
$not: normalizedMemberSchema("$not operand").optional()
|
|
1936
1936
|
}).strict())
|
|
1937
|
-
);
|
|
1937
|
+
))();
|
|
1938
1938
|
var AST_OPERATOR_MAP = {
|
|
1939
1939
|
"=": "$eq",
|
|
1940
1940
|
"==": "$eq",
|
|
@@ -2017,7 +2017,7 @@ var AST_OPERATOR_MAP = {
|
|
|
2017
2017
|
function astOperatorLowering(op) {
|
|
2018
2018
|
return AST_OPERATOR_MAP[op];
|
|
2019
2019
|
}
|
|
2020
|
-
var VALID_AST_OPERATORS = new Set(Object.keys(AST_OPERATOR_MAP));
|
|
2020
|
+
var VALID_AST_OPERATORS = /* @__PURE__ */ (() => new Set(Object.keys(AST_OPERATOR_MAP)))();
|
|
2021
2021
|
var CANONICAL_INFIX = {
|
|
2022
2022
|
"$eq": "=",
|
|
2023
2023
|
"$ne": "!=",
|
|
@@ -2159,23 +2159,23 @@ function lowerFilterAST(filter) {
|
|
|
2159
2159
|
return void 0;
|
|
2160
2160
|
}
|
|
2161
2161
|
var FILTER_ARRAY_LOGIC_KEYWORDS = ["and", "or"];
|
|
2162
|
-
var FilterArrayFieldSchema = zod.z.string().min(1).refine(
|
|
2162
|
+
var FilterArrayFieldSchema = /* @__PURE__ */ (() => zod.z.string().min(1).refine(
|
|
2163
2163
|
(field) => !FILTER_ARRAY_LOGIC_KEYWORDS.includes(field.toLowerCase()),
|
|
2164
2164
|
{
|
|
2165
2165
|
message: `'and' / 'or' in the first position open a logical group, so they cannot name a field. Write the comparison inside the group: ["and", ["field", "=", value]].`
|
|
2166
2166
|
}
|
|
2167
|
-
);
|
|
2168
|
-
var FilterArrayOperatorSchema = zod.z.string().refine(
|
|
2167
|
+
))();
|
|
2168
|
+
var FilterArrayOperatorSchema = /* @__PURE__ */ (() => zod.z.string().refine(
|
|
2169
2169
|
(op) => VALID_AST_OPERATORS.has(op.toLowerCase()),
|
|
2170
2170
|
{
|
|
2171
2171
|
error: (issue) => `Unknown filter operator '${String(issue.input)}'. Recognised operators: ${[...VALID_AST_OPERATORS].sort().join(", ")}.`
|
|
2172
2172
|
}
|
|
2173
|
-
);
|
|
2174
|
-
var FilterArrayLogicSchema = zod.z.string().refine(
|
|
2173
|
+
))();
|
|
2174
|
+
var FilterArrayLogicSchema = /* @__PURE__ */ (() => zod.z.string().refine(
|
|
2175
2175
|
(kw) => FILTER_ARRAY_LOGIC_KEYWORDS.includes(kw.toLowerCase()),
|
|
2176
2176
|
{ message: `A logical group opens with 'and' or 'or'.` }
|
|
2177
|
-
);
|
|
2178
|
-
var FilterArraySchema = zod.z.lazy(
|
|
2177
|
+
))();
|
|
2178
|
+
var FilterArraySchema = /* @__PURE__ */ (() => zod.z.lazy(
|
|
2179
2179
|
() => zod.z.union([
|
|
2180
2180
|
// Comparison — three-element form, then the two-element null-predicate form.
|
|
2181
2181
|
zod.z.tuple([FilterArrayFieldSchema, FilterArrayOperatorSchema, zod.z.unknown()]),
|
|
@@ -2188,7 +2188,7 @@ var FilterArraySchema = zod.z.lazy(
|
|
|
2188
2188
|
]).describe(
|
|
2189
2189
|
'Input-only authoring sugar for a filter: [field, operator, value], ["and"|"or", ...conditions], or a bare list of those. Lowered to a FilterCondition at the single sink parseFilterAST (@objectstack/spec/data) the moment it arrives; it is never stored and never travels the wire as an array. A query "where" is a FilterCondition and does not accept this shape.'
|
|
2190
2190
|
)
|
|
2191
|
-
);
|
|
2191
|
+
))();
|
|
2192
2192
|
var FILTER_OPERATORS = [
|
|
2193
2193
|
// Equality
|
|
2194
2194
|
"$eq",
|
|
@@ -2214,8 +2214,8 @@ var FILTER_OPERATORS = [
|
|
|
2214
2214
|
"$empty"
|
|
2215
2215
|
];
|
|
2216
2216
|
var LOGICAL_OPERATORS = ["$and", "$or", "$not"];
|
|
2217
|
-
var ALL_OPERATORS = [...FILTER_OPERATORS, ...LOGICAL_OPERATORS];
|
|
2218
|
-
var RETIRED_FILTER_OPERATORS = Object.freeze({
|
|
2217
|
+
var ALL_OPERATORS = /* @__PURE__ */ (() => [...FILTER_OPERATORS, ...LOGICAL_OPERATORS])();
|
|
2218
|
+
var RETIRED_FILTER_OPERATORS = /* @__PURE__ */ (() => Object.freeze({
|
|
2219
2219
|
$regex: {
|
|
2220
2220
|
to: "$icontains",
|
|
2221
2221
|
why: 'Use `$icontains` for the case-insensitive substring search `$regex` was almost always used for, or `$contains` for a case-sensitive one; a pattern that genuinely needs a regex has no filter-level replacement, so narrow with the declared operators and match in application code. Both match the comparand literally, so "." and "%" are ordinary characters, and `$icontains` folds ASCII case. `$regex` was never declared by the Filter Protocol and is retired under ADR-0049 enforce-or-remove: it is refused here, never reinterpreted. It could not mean one thing across the backends: driver-sql compiled it to a LIKE-escaped substring match (so "a.b" matched only the literal "a.b"), driver-memory evaluated it as a real RegExp (so it also matched "axb", and an invalid pattern silently matched nothing), and a real regex is not implementable on all five \u2014 driver-turso\'s remote transport cannot register a SQLite REGEXP function over its wire protocol.'
|
|
@@ -2224,11 +2224,11 @@ var RETIRED_FILTER_OPERATORS = Object.freeze({
|
|
|
2224
2224
|
to: "$icontains",
|
|
2225
2225
|
why: 'Delete `$options`, and write `$icontains` for the case-insensitive match `$options: "i"` asked for: it says that in the operator name and folds ASCII case on every backend. `$options` was never a predicate \u2014 it was the regex-flags companion to `$regex`, which is retired under ADR-0049 enforce-or-remove \u2014 and on its own, with no `$regex` beside it, it never constrained anything.'
|
|
2226
2226
|
}
|
|
2227
|
-
});
|
|
2227
|
+
}))();
|
|
2228
2228
|
|
|
2229
2229
|
// src/data/authoring-key-lint.ts
|
|
2230
|
-
var EMBEDDED_JSON_TYPED_LIST = "An object-level `composite` / `repeater` stores untyped JSON \u2014 no per-column labels, types, options or required flags. A list that needs typed columns is a child object whose `master_detail` field points back at this object; a field group on this object whose `relatedList` names that child edits its rows as an inline grid on this object's form.";
|
|
2231
|
-
var FIELD_KEY_GUIDANCE = Object.freeze({
|
|
2230
|
+
var EMBEDDED_JSON_TYPED_LIST = /* @__PURE__ */ (() => "An object-level `composite` / `repeater` stores untyped JSON \u2014 no per-column labels, types, options or required flags. A list that needs typed columns is a child object whose `master_detail` field points back at this object; a field group on this object whose `relatedList` names that child edits its rows as an inline grid on this object's form.")();
|
|
2231
|
+
var FIELD_KEY_GUIDANCE = /* @__PURE__ */ (() => Object.freeze({
|
|
2232
2232
|
// ── Renamed: the concept survives under a different key ──
|
|
2233
2233
|
referenceFilter: { to: "lookupFilters" },
|
|
2234
2234
|
cascadeDelete: { to: "deleteBehavior" },
|
|
@@ -2294,19 +2294,19 @@ var FIELD_KEY_GUIDANCE = Object.freeze({
|
|
|
2294
2294
|
fields: { why: `\`fields\` is not a field key: a field declares no sub-fields. ${EMBEDDED_JSON_TYPED_LIST}` },
|
|
2295
2295
|
subFields: { why: `\`subFields\` is not a field key: a field declares no sub-fields. ${EMBEDDED_JSON_TYPED_LIST}` },
|
|
2296
2296
|
columns: { why: `\`columns\` is not a field key. A lookup's picker columns are \`lookupColumns\`; a \`master_detail\` field's related-list columns are \`relatedListColumns\` and its inline-grid columns \`inlineColumns\`. ${EMBEDDED_JSON_TYPED_LIST}` }
|
|
2297
|
-
});
|
|
2298
|
-
var OBJECT_KEY_GUIDANCE = Object.freeze({
|
|
2297
|
+
}))();
|
|
2298
|
+
var OBJECT_KEY_GUIDANCE = /* @__PURE__ */ (() => Object.freeze({
|
|
2299
2299
|
capabilities: { to: "enable" },
|
|
2300
2300
|
features: { to: "enable" },
|
|
2301
2301
|
namespace: { why: "deprecated and removed \u2014 the object `name` is the canonical id everywhere. For module grouping embed a prefix in the name (`sys_user`)." },
|
|
2302
2302
|
tableName: { why: "removed \u2014 the table name always equals the object `name`." }
|
|
2303
|
-
});
|
|
2304
|
-
var STACK_KEY_GUIDANCE = Object.freeze({
|
|
2303
|
+
}))();
|
|
2304
|
+
var STACK_KEY_GUIDANCE = /* @__PURE__ */ (() => Object.freeze({
|
|
2305
2305
|
storage: {
|
|
2306
2306
|
why: "the file-storage backend is a deployment concern, not an application declaration. Configure it with the OS_STORAGE_* environment variables, or per-deployment in Setup \u2192 Settings \u2192 Storage (which also holds credentials \u2014 a stack definition would commit them to git and to any published artifact)."
|
|
2307
2307
|
}
|
|
2308
|
-
});
|
|
2309
|
-
var STACK_RUNTIME_MEMBERS = Object.freeze(["onEnable", "functions"]);
|
|
2308
|
+
}))();
|
|
2309
|
+
var STACK_RUNTIME_MEMBERS = /* @__PURE__ */ (() => Object.freeze(["onEnable", "functions"]))();
|
|
2310
2310
|
function isPlainRecord(v) {
|
|
2311
2311
|
return !!v && typeof v === "object" && !Array.isArray(v);
|
|
2312
2312
|
}
|
|
@@ -2315,7 +2315,7 @@ function lintAuthoredRecordKeys(record, declared, guidance, surface, basePath, o
|
|
|
2315
2315
|
for (const key of Object.keys(record)) {
|
|
2316
2316
|
if (declared.has(key) || key.startsWith("_")) continue;
|
|
2317
2317
|
const hint = guidance[key];
|
|
2318
|
-
const suggestion = hint?.to ?? (hint?.why ? void 0 :
|
|
2318
|
+
const suggestion = hint?.to ?? (hint?.why ? void 0 : chunkBJHX3SZO_js.suggestRename(key, candidates));
|
|
2319
2319
|
out.push({
|
|
2320
2320
|
path: `${basePath}.${key}`,
|
|
2321
2321
|
surface,
|
|
@@ -2333,7 +2333,7 @@ function formatUnknownAuthoringKey(f) {
|
|
|
2333
2333
|
}
|
|
2334
2334
|
|
|
2335
2335
|
// src/data/autonumber-format.ts
|
|
2336
|
-
var DATE_PATTERNS = /* @__PURE__ */ new Set(["YYYY", "YY", "MM", "DD", "YYYYMMDD"]);
|
|
2336
|
+
var DATE_PATTERNS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["YYYY", "YY", "MM", "DD", "YYYYMMDD"]))();
|
|
2337
2337
|
function parseAutonumberFormat(format) {
|
|
2338
2338
|
const tokens = [];
|
|
2339
2339
|
if (!format) return tokens;
|
|
@@ -2467,10 +2467,10 @@ var DEFAULT_VALUE_TOKENS = [
|
|
|
2467
2467
|
DEFAULT_VALUE_TOKEN_NOW,
|
|
2468
2468
|
DEFAULT_VALUE_TOKEN_CURRENT_USER
|
|
2469
2469
|
];
|
|
2470
|
-
var DEFAULT_VALUE_TOKEN_DESCRIPTIONS = {
|
|
2470
|
+
var DEFAULT_VALUE_TOKEN_DESCRIPTIONS = /* @__PURE__ */ (() => ({
|
|
2471
2471
|
"NOW()": "The database clock at insert time. Emitted as a native column DEFAULT.",
|
|
2472
2472
|
current_user: "The acting user's id at insert time, from the request's ExecutionContext. Never emitted as a column DEFAULT \u2014 with no authenticated user the field stays unset."
|
|
2473
|
-
};
|
|
2473
|
+
}))();
|
|
2474
2474
|
function isNowDefaultToken(v) {
|
|
2475
2475
|
return typeof v === "string" && /^now\(\)$/i.test(v.trim());
|
|
2476
2476
|
}
|
|
@@ -2687,7 +2687,7 @@ var StorageNameMapping = {
|
|
|
2687
2687
|
// column = field key, so these had zero call sites. External-object physical
|
|
2688
2688
|
// mapping lives in `external.columnMap` (ADR-0062 D7 / ADR-0015).
|
|
2689
2689
|
};
|
|
2690
|
-
var STRING_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
2690
|
+
var STRING_VALUE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2691
2691
|
"text",
|
|
2692
2692
|
"textarea",
|
|
2693
2693
|
"email",
|
|
@@ -2702,8 +2702,8 @@ var STRING_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
|
2702
2702
|
"color",
|
|
2703
2703
|
"signature",
|
|
2704
2704
|
"qrcode"
|
|
2705
|
-
]);
|
|
2706
|
-
var NUMERIC_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
2705
|
+
]))();
|
|
2706
|
+
var NUMERIC_VALUE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2707
2707
|
"number",
|
|
2708
2708
|
"currency",
|
|
2709
2709
|
"percent",
|
|
@@ -2711,45 +2711,45 @@ var NUMERIC_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
|
2711
2711
|
"slider",
|
|
2712
2712
|
"progress",
|
|
2713
2713
|
"summary"
|
|
2714
|
-
]);
|
|
2715
|
-
var BOOLEAN_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
2714
|
+
]))();
|
|
2715
|
+
var BOOLEAN_VALUE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2716
2716
|
"boolean",
|
|
2717
2717
|
"toggle"
|
|
2718
|
-
]);
|
|
2719
|
-
var CALENDAR_DATE_TYPES = /* @__PURE__ */ new Set([
|
|
2718
|
+
]))();
|
|
2719
|
+
var CALENDAR_DATE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2720
2720
|
"date"
|
|
2721
|
-
]);
|
|
2722
|
-
var INSTANT_TYPES = /* @__PURE__ */ new Set([
|
|
2721
|
+
]))();
|
|
2722
|
+
var INSTANT_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2723
2723
|
"datetime"
|
|
2724
|
-
]);
|
|
2725
|
-
var CLOCK_TIME_TYPES = /* @__PURE__ */ new Set([
|
|
2724
|
+
]))();
|
|
2725
|
+
var CLOCK_TIME_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2726
2726
|
"time"
|
|
2727
|
-
]);
|
|
2728
|
-
var NON_TEXT_STORED_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
2727
|
+
]))();
|
|
2728
|
+
var NON_TEXT_STORED_VALUE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2729
2729
|
...NUMERIC_VALUE_TYPES,
|
|
2730
2730
|
...BOOLEAN_VALUE_TYPES,
|
|
2731
2731
|
...CALENDAR_DATE_TYPES,
|
|
2732
2732
|
...INSTANT_TYPES,
|
|
2733
2733
|
...CLOCK_TIME_TYPES
|
|
2734
|
-
]);
|
|
2735
|
-
var SINGLE_OPTION_TYPES = /* @__PURE__ */ new Set([
|
|
2734
|
+
]))();
|
|
2735
|
+
var SINGLE_OPTION_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2736
2736
|
"select",
|
|
2737
2737
|
"radio"
|
|
2738
|
-
]);
|
|
2739
|
-
var MULTI_OPTION_TYPES = /* @__PURE__ */ new Set([
|
|
2738
|
+
]))();
|
|
2739
|
+
var MULTI_OPTION_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2740
2740
|
"multiselect",
|
|
2741
2741
|
"checkboxes",
|
|
2742
2742
|
"tags"
|
|
2743
|
-
]);
|
|
2744
|
-
var REFERENCE_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
2743
|
+
]))();
|
|
2744
|
+
var REFERENCE_VALUE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2745
2745
|
"lookup",
|
|
2746
2746
|
"master_detail",
|
|
2747
2747
|
"user",
|
|
2748
2748
|
"tree"
|
|
2749
|
-
]);
|
|
2750
|
-
var IMPLICIT_REFERENCE_TARGETS = /* @__PURE__ */ new Map([
|
|
2749
|
+
]))();
|
|
2750
|
+
var IMPLICIT_REFERENCE_TARGETS = /* @__PURE__ */ (() => /* @__PURE__ */ new Map([
|
|
2751
2751
|
["user", SystemObjectName.USER]
|
|
2752
|
-
]);
|
|
2752
|
+
]))();
|
|
2753
2753
|
function referenceTargetOf(def) {
|
|
2754
2754
|
if (!def || typeof def !== "object") return void 0;
|
|
2755
2755
|
const { type } = def;
|
|
@@ -2773,18 +2773,18 @@ function describeCarrierValue(value) {
|
|
|
2773
2773
|
if (typeof value === "object") return "an object";
|
|
2774
2774
|
return `a ${typeof value}`;
|
|
2775
2775
|
}
|
|
2776
|
-
var FILE_REFERENCE_TYPES = /* @__PURE__ */ new Set([
|
|
2776
|
+
var FILE_REFERENCE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2777
2777
|
"image",
|
|
2778
2778
|
"file",
|
|
2779
2779
|
"avatar",
|
|
2780
2780
|
"video",
|
|
2781
2781
|
"audio"
|
|
2782
|
-
]);
|
|
2782
|
+
]))();
|
|
2783
2783
|
function isFileIdToken(value) {
|
|
2784
2784
|
return typeof value === "string" && /^[A-Za-z0-9_-]{1,64}$/.test(value);
|
|
2785
2785
|
}
|
|
2786
2786
|
var RAW_FILE_VALUES_CONTEXT_KEY = "__rawFileValues";
|
|
2787
|
-
var STRUCTURED_JSON_TYPES = /* @__PURE__ */ new Set([
|
|
2787
|
+
var STRUCTURED_JSON_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2788
2788
|
"json",
|
|
2789
2789
|
"composite",
|
|
2790
2790
|
"repeater",
|
|
@@ -2792,20 +2792,20 @@ var STRUCTURED_JSON_TYPES = /* @__PURE__ */ new Set([
|
|
|
2792
2792
|
"location",
|
|
2793
2793
|
"address",
|
|
2794
2794
|
"vector"
|
|
2795
|
-
]);
|
|
2796
|
-
var COMPUTED_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
2795
|
+
]))();
|
|
2796
|
+
var COMPUTED_VALUE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2797
2797
|
"formula",
|
|
2798
2798
|
"summary",
|
|
2799
2799
|
"autonumber"
|
|
2800
|
-
]);
|
|
2801
|
-
var MULTI_CAPABLE_TYPES = /* @__PURE__ */ new Set([
|
|
2800
|
+
]))();
|
|
2801
|
+
var MULTI_CAPABLE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2802
2802
|
"select",
|
|
2803
2803
|
"radio",
|
|
2804
2804
|
"lookup",
|
|
2805
2805
|
"user",
|
|
2806
2806
|
"file",
|
|
2807
2807
|
"image"
|
|
2808
|
-
]);
|
|
2808
|
+
]))();
|
|
2809
2809
|
function isMultiValueField(def) {
|
|
2810
2810
|
if (MULTI_OPTION_TYPES.has(def.type)) return true;
|
|
2811
2811
|
return MULTI_CAPABLE_TYPES.has(def.type) && def.multiple === true;
|
|
@@ -2819,7 +2819,7 @@ var ClockTimeValueSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod
|
|
|
2819
2819
|
/^([01]\d|2[0-3]):[0-5]\d(:[0-5]\d(\.\d+)?)?$/,
|
|
2820
2820
|
"expected HH:MM or HH:MM:SS (wall-clock time of day, no time zone)"
|
|
2821
2821
|
));
|
|
2822
|
-
var LocationValueSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
2822
|
+
var LocationValueSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
2823
2823
|
{
|
|
2824
2824
|
surface: "this location value",
|
|
2825
2825
|
// Customer-facing text: no issue ids (the anchor is the JSDoc above).
|
|
@@ -2853,7 +2853,7 @@ var LocationValueSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @
|
|
|
2853
2853
|
accuracy: zod.z.number().optional().describe("Accuracy in meters")
|
|
2854
2854
|
}
|
|
2855
2855
|
));
|
|
2856
|
-
var AddressSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
2856
|
+
var AddressSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
2857
2857
|
{
|
|
2858
2858
|
surface: "this address value",
|
|
2859
2859
|
// Customer-facing text: no issue ids (the anchors are in the JSDoc above).
|
|
@@ -2898,7 +2898,7 @@ var FileValueSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.lo
|
|
|
2898
2898
|
var FileReferenceIdValueSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(
|
|
2899
2899
|
() => zod.z.string().regex(/^[A-Za-z0-9_-]{1,64}$/, "Expected an opaque sys_file id")
|
|
2900
2900
|
);
|
|
2901
|
-
var FileRefusedValueSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
2901
|
+
var FileRefusedValueSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
2902
2902
|
{
|
|
2903
2903
|
surface: "this refused file value",
|
|
2904
2904
|
// Customer-facing text: no issue ids (the anchors are in the JSDoc above).
|
|
@@ -2921,7 +2921,7 @@ var ReferenceIdValueSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(
|
|
|
2921
2921
|
message: "Expected a record id, but the value is an embedded record object. A reference stores an opaque id; the expanded record is the READ shape ($expand produces it) and is never stored. Replace the value with the referenced record's id."
|
|
2922
2922
|
})
|
|
2923
2923
|
);
|
|
2924
|
-
var ReferenceNameOnlyValueSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
2924
|
+
var ReferenceNameOnlyValueSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
2925
2925
|
{
|
|
2926
2926
|
surface: "this name-only reference value",
|
|
2927
2927
|
// Customer-facing text: no issue ids (the anchors are in the JSDoc above).
|
|
@@ -2988,7 +2988,7 @@ function checkLiteralDefaultValue(def, dv) {
|
|
|
2988
2988
|
if (result.success) return { ok: true };
|
|
2989
2989
|
return { ok: false, detail: actionableValueIssueMessage(result.error.issues) };
|
|
2990
2990
|
}
|
|
2991
|
-
var NOW_DEFAULT_LEGAL_TYPES = /* @__PURE__ */ new Set(["datetime", "date", "time"]);
|
|
2991
|
+
var NOW_DEFAULT_LEGAL_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["datetime", "date", "time"]))();
|
|
2992
2992
|
function defaultValueTokenIssue(def, dv) {
|
|
2993
2993
|
if (!isRuntimeDefaultToken(dv)) return null;
|
|
2994
2994
|
const token = isNowDefaultToken(dv) ? DEFAULT_VALUE_TOKEN_NOW : DEFAULT_VALUE_TOKEN_CURRENT_USER;
|
|
@@ -3190,16 +3190,16 @@ var CURRENCY_FRACTION_DIGITS = {
|
|
|
3190
3190
|
ZWG: 2,
|
|
3191
3191
|
ZWL: 2
|
|
3192
3192
|
};
|
|
3193
|
-
var ValueDomainSchema = zod.z.enum([
|
|
3193
|
+
var ValueDomainSchema = /* @__PURE__ */ (() => zod.z.enum([
|
|
3194
3194
|
"iana_time_zone",
|
|
3195
3195
|
"iso_4217_currency",
|
|
3196
3196
|
"iso_3166_alpha2"
|
|
3197
|
-
]);
|
|
3198
|
-
var VALUE_DOMAIN_FIELD_NAMES = Object.freeze({
|
|
3197
|
+
]))();
|
|
3198
|
+
var VALUE_DOMAIN_FIELD_NAMES = /* @__PURE__ */ (() => Object.freeze({
|
|
3199
3199
|
iso_4217_currency: Object.freeze(["currency", "currency_code"]),
|
|
3200
3200
|
iso_3166_alpha2: Object.freeze(["country", "country_code"]),
|
|
3201
3201
|
iana_time_zone: Object.freeze(["time_zone", "timezone", "tz"])
|
|
3202
|
-
});
|
|
3202
|
+
}))();
|
|
3203
3203
|
function isIanaTimeZone(value) {
|
|
3204
3204
|
try {
|
|
3205
3205
|
new Intl.DateTimeFormat("en-US", { timeZone: value });
|
|
@@ -3208,9 +3208,9 @@ function isIanaTimeZone(value) {
|
|
|
3208
3208
|
return false;
|
|
3209
3209
|
}
|
|
3210
3210
|
}
|
|
3211
|
-
var ISO_3166_ALPHA2_CODES = new Set(
|
|
3211
|
+
var ISO_3166_ALPHA2_CODES = /* @__PURE__ */ (() => new Set(
|
|
3212
3212
|
"AD AE AF AG AI AL AM AO AQ AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BV BW BY BZ CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR GA GB GD GE GF GG GH GI GL GM GN GP GQ GR GS GT GU GW GY HK HM HN HR HT HU ID IE IL IM IN IO IQ IR IS IT JE JM JO JP KE KG KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NU NZ OM PA PE PF PG PH PK PL PM PN PR PS PT PW PY QA RE RO RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TF TG TH TJ TK TL TM TN TO TR TT TV TW TZ UA UG UM US UY UZ VA VC VE VG VI VN VU WF WS YE YT ZA ZM ZW".split(" ")
|
|
3213
|
-
);
|
|
3213
|
+
))();
|
|
3214
3214
|
var DOMAIN_MEMBERSHIP = {
|
|
3215
3215
|
iana_time_zone: isIanaTimeZone,
|
|
3216
3216
|
iso_4217_currency: (value) => Object.prototype.hasOwnProperty.call(CURRENCY_FRACTION_DIGITS, value),
|
|
@@ -3223,15 +3223,15 @@ function isValueDomainMember(domain, value) {
|
|
|
3223
3223
|
|
|
3224
3224
|
// src/data/standard-units.ts
|
|
3225
3225
|
var UNIT_DIMENSIONS = ["mass", "length", "area", "volume", "time", "count", "package"];
|
|
3226
|
-
var UNIT_DIMENSION_BASE_CODES = Object.freeze({
|
|
3226
|
+
var UNIT_DIMENSION_BASE_CODES = /* @__PURE__ */ (() => Object.freeze({
|
|
3227
3227
|
mass: "KGM",
|
|
3228
3228
|
length: "MTR",
|
|
3229
3229
|
area: "MTK",
|
|
3230
3230
|
volume: "MTQ",
|
|
3231
3231
|
time: "SEC",
|
|
3232
3232
|
count: "H87"
|
|
3233
|
-
});
|
|
3234
|
-
var STANDARD_UNITS = Object.freeze({
|
|
3233
|
+
}))();
|
|
3234
|
+
var STANDARD_UNITS = /* @__PURE__ */ (() => Object.freeze({
|
|
3235
3235
|
// Mass. Base: kilogram.
|
|
3236
3236
|
KGM: { dimension: "mass", ratio: "1" },
|
|
3237
3237
|
// kilogram
|
|
@@ -3323,8 +3323,8 @@ var STANDARD_UNITS = Object.freeze({
|
|
|
3323
3323
|
// Roll
|
|
3324
3324
|
XSA: { dimension: "package" }
|
|
3325
3325
|
// Sack
|
|
3326
|
-
});
|
|
3327
|
-
var STANDARD_UNIT_NAMES = Object.freeze({
|
|
3326
|
+
}))();
|
|
3327
|
+
var STANDARD_UNIT_NAMES = /* @__PURE__ */ (() => Object.freeze({
|
|
3328
3328
|
KGM: "kilogram",
|
|
3329
3329
|
GRM: "gram",
|
|
3330
3330
|
MGM: "milligram",
|
|
@@ -3366,7 +3366,7 @@ var STANDARD_UNIT_NAMES = Object.freeze({
|
|
|
3366
3366
|
XPX: "pallet",
|
|
3367
3367
|
XRO: "roll",
|
|
3368
3368
|
XSA: "sack"
|
|
3369
|
-
});
|
|
3369
|
+
}))();
|
|
3370
3370
|
function standardUnitName(code) {
|
|
3371
3371
|
return typeof code === "string" && Object.prototype.hasOwnProperty.call(STANDARD_UNIT_NAMES, code) ? STANDARD_UNIT_NAMES[code] : void 0;
|
|
3372
3372
|
}
|
|
@@ -3377,7 +3377,7 @@ var ORGANIZATION_UNIT_CODE_PATTERN = "^(?:[A-Z0-9][A-Z0-9_]{3,31}|[A-Z0-9](?:_[A
|
|
|
3377
3377
|
|
|
3378
3378
|
// src/shared/visibility-strict-options.ts
|
|
3379
3379
|
var VISIBILITY_KEY_PATTERN = /vis|conceal|hidden|show.?when/i;
|
|
3380
|
-
var VISIBILITY_STRICT_OPTIONS = {
|
|
3380
|
+
var VISIBILITY_STRICT_OPTIONS = /* @__PURE__ */ (() => ({
|
|
3381
3381
|
surface: "this view/page schema",
|
|
3382
3382
|
history: "Before ADR-0089 D3a these were dropped silently, shipping inert metadata; a mis-layered or stale key is now a loud parse error.",
|
|
3383
3383
|
guidanceSets: [
|
|
@@ -3394,7 +3394,7 @@ var VISIBILITY_STRICT_OPTIONS = {
|
|
|
3394
3394
|
prescription: "If this is the conditional-visibility predicate, the canonical key is `visibleWhen` (ADR-0089)."
|
|
3395
3395
|
}
|
|
3396
3396
|
]
|
|
3397
|
-
};
|
|
3397
|
+
}))();
|
|
3398
3398
|
|
|
3399
3399
|
// src/shared/editability-boundary.ts
|
|
3400
3400
|
var EDITABILITY_BOUNDARY_KEYS = [
|
|
@@ -3405,17 +3405,17 @@ var EDITABILITY_BOUNDARY_KEYS = [
|
|
|
3405
3405
|
"readonlyWhen",
|
|
3406
3406
|
"editable"
|
|
3407
3407
|
];
|
|
3408
|
-
var EDITABILITY_BOUNDARY_GUIDANCE = {
|
|
3408
|
+
var EDITABILITY_BOUNDARY_GUIDANCE = /* @__PURE__ */ (() => ({
|
|
3409
3409
|
name: "EDITABILITY_BOUNDARY_KEYS",
|
|
3410
3410
|
keys: EDITABILITY_BOUNDARY_KEYS,
|
|
3411
3411
|
prescription: "Editability is a FIELD-level concern. This shape gates VISIBILITY only \u2014 a deliberate boundary, not a missing key: a section / page component has no read-only semantics of its own to enforce. Write `readonly: true` (or the conditional `readonlyWhen` predicate) on the form field(s) inside it instead; to hide the whole section or component, use `visibleWhen`."
|
|
3412
|
-
};
|
|
3413
|
-
var SELECT_OPTION_EDITABILITY_GUIDANCE = {
|
|
3412
|
+
}))();
|
|
3413
|
+
var SELECT_OPTION_EDITABILITY_GUIDANCE = /* @__PURE__ */ (() => ({
|
|
3414
3414
|
name: "SELECT_OPTION_EDITABILITY_BOUNDARY_KEYS",
|
|
3415
3415
|
keys: EDITABILITY_BOUNDARY_KEYS,
|
|
3416
3416
|
prescription: "Editability is not a per-OPTION concern \u2014 a deliberate boundary, not a missing key: an option declares WHICH value may be picked and WHEN it is offered, and nothing in the field pipeline reads a per-option enabled/disabled flag today (the select and radio widgets treat the FIELD-level state as the single authority), so a key here would be metadata the renderer never honours (ADR-0049). To withdraw ONE option, give it the per-option `visibleWhen` predicate \u2014 it binds `current_user` (ADR-0068), so an option can be withheld per record or per role, and the rule validator refuses a write of a value whose predicate is false. To freeze the WHOLE picker, write `readonly: true` (or the conditional `readonlyWhen` predicate) on the field that owns these options. If a shown-but-unselectable option ever earns a reader, that is a spec decision to ask for \u2014 not a key to write here."
|
|
3417
|
-
};
|
|
3418
|
-
var VISIBILITY_ONLY_STRICT_OPTIONS = {
|
|
3417
|
+
}))();
|
|
3418
|
+
var VISIBILITY_ONLY_STRICT_OPTIONS = /* @__PURE__ */ (() => ({
|
|
3419
3419
|
...VISIBILITY_STRICT_OPTIONS,
|
|
3420
3420
|
guidanceSets: [
|
|
3421
3421
|
// Declaration order decides among sets. Nothing in
|
|
@@ -3425,8 +3425,8 @@ var VISIBILITY_ONLY_STRICT_OPTIONS = {
|
|
|
3425
3425
|
...VISIBILITY_STRICT_OPTIONS.guidanceSets ?? [],
|
|
3426
3426
|
EDITABILITY_BOUNDARY_GUIDANCE
|
|
3427
3427
|
]
|
|
3428
|
-
};
|
|
3429
|
-
var ConditionalFormattingRuleSchema = /* @__PURE__ */
|
|
3428
|
+
}))();
|
|
3429
|
+
var ConditionalFormattingRuleSchema = /* @__PURE__ */ (() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
3430
3430
|
surface: "this conditional formatting rule",
|
|
3431
3431
|
history: "Until rule shapes were closed an unknown key on a rule was dropped silently \u2014 the rule still applied, without whatever the key was meant to style.",
|
|
3432
3432
|
// `visibleWhen` is the ADR-0089 spelling for a predicate on view/page, and a
|
|
@@ -3444,7 +3444,7 @@ var ConditionalFormattingRuleSchema = /* @__PURE__ */ chunk4WFTCJEM_js.strictObj
|
|
|
3444
3444
|
}, {
|
|
3445
3445
|
condition: EvaluatedExpressionInputSchema.describe("Predicate (CEL) to evaluate."),
|
|
3446
3446
|
style: zod.z.record(zod.z.string(), zod.z.string()).describe("CSS styles to apply when condition is true")
|
|
3447
|
-
});
|
|
3447
|
+
}))();
|
|
3448
3448
|
|
|
3449
3449
|
// src/data/field-key-aliases.ts
|
|
3450
3450
|
function fieldKeyGuidanceAsStrictOptions() {
|
|
@@ -3549,8 +3549,8 @@ var SELECT_OPTION_ALIASES = {
|
|
|
3549
3549
|
};
|
|
3550
3550
|
|
|
3551
3551
|
// src/data/field.zod.ts
|
|
3552
|
-
var USER_FIELD_TARGET = SystemObjectName.USER;
|
|
3553
|
-
var FieldType = zod.z.enum([
|
|
3552
|
+
var USER_FIELD_TARGET = /* @__PURE__ */ (() => SystemObjectName.USER)();
|
|
3553
|
+
var FieldType = /* @__PURE__ */ (() => zod.z.enum([
|
|
3554
3554
|
// Core Text. 'password' on a generic (non-better-auth) object is plaintext at
|
|
3555
3555
|
// rest but masked to SECRET_MASK on read — the auth subsystem's one-way
|
|
3556
3556
|
// hashing applies only to its own identity tables, never to an authored
|
|
@@ -3661,8 +3661,8 @@ var FieldType = zod.z.enum([
|
|
|
3661
3661
|
// AI/ML Types
|
|
3662
3662
|
"vector"
|
|
3663
3663
|
// Vector embeddings for AI/ML (semantic search, RAG)
|
|
3664
|
-
]);
|
|
3665
|
-
var BOUNDED_STRING_FIELD_TYPES = /* @__PURE__ */ new Set([
|
|
3664
|
+
]))();
|
|
3665
|
+
var BOUNDED_STRING_FIELD_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
3666
3666
|
"text",
|
|
3667
3667
|
"textarea",
|
|
3668
3668
|
"email",
|
|
@@ -3676,10 +3676,10 @@ var BOUNDED_STRING_FIELD_TYPES = /* @__PURE__ */ new Set([
|
|
|
3676
3676
|
// #11875 — the write seam enforces these two's declared bound (see above).
|
|
3677
3677
|
"signature",
|
|
3678
3678
|
"qrcode"
|
|
3679
|
-
]);
|
|
3680
|
-
var VALUE_DOMAIN_FIELD_TYPES = /* @__PURE__ */ new Set([
|
|
3679
|
+
]))();
|
|
3680
|
+
var VALUE_DOMAIN_FIELD_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
3681
3681
|
"text"
|
|
3682
|
-
]);
|
|
3682
|
+
]))();
|
|
3683
3683
|
var multiDeclarableTypes;
|
|
3684
3684
|
function multiDeclarableFieldTypes() {
|
|
3685
3685
|
return multiDeclarableTypes ?? (multiDeclarableTypes = /* @__PURE__ */ new Set([...MULTI_CAPABLE_TYPES, ...MULTI_OPTION_TYPES]));
|
|
@@ -3688,19 +3688,22 @@ var multiDeclarableRemedyTypes;
|
|
|
3688
3688
|
function multiDeclarableRemedyTypeList() {
|
|
3689
3689
|
return multiDeclarableRemedyTypes ?? (multiDeclarableRemedyTypes = [...multiDeclarableFieldTypes()].filter((t) => t !== "radio"));
|
|
3690
3690
|
}
|
|
3691
|
-
var MULTILINE_EDITOR_FIELD_TYPES = /* @__PURE__ */ new Set([
|
|
3691
|
+
var MULTILINE_EDITOR_FIELD_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
3692
3692
|
"textarea",
|
|
3693
3693
|
"markdown",
|
|
3694
3694
|
"html",
|
|
3695
3695
|
"richtext"
|
|
3696
|
-
]);
|
|
3697
|
-
var DEADLINE_FIELD_TYPES = /* @__PURE__ */ new Set([
|
|
3696
|
+
]))();
|
|
3697
|
+
var DEADLINE_FIELD_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
3698
3698
|
"date",
|
|
3699
3699
|
"datetime"
|
|
3700
|
-
]);
|
|
3701
|
-
var RUNTIME_OWNED_FIELD_TYPES = /* @__PURE__ */ new Set(["autonumber"]);
|
|
3702
|
-
var
|
|
3703
|
-
|
|
3700
|
+
]))();
|
|
3701
|
+
var RUNTIME_OWNED_FIELD_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["autonumber"]))();
|
|
3702
|
+
var SelectOptionValueSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.string().min(1, { message: "Option value must not be empty" }).regex(/^[a-z][a-z0-9_.]*$/, {
|
|
3703
|
+
message: 'Option value must be lowercase, starting with a letter, and may contain letters, numbers, underscores, or dots (e.g., "a", "in_progress")'
|
|
3704
|
+
}));
|
|
3705
|
+
var FIELD_HISTORY = /* @__PURE__ */ (() => "Until this shape was closed these were dropped silently \u2014 the field was still created, minus whatever the key was meant to constrain, protect or compute.")();
|
|
3706
|
+
var SelectOptionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
3704
3707
|
surface: "this select option",
|
|
3705
3708
|
history: FIELD_HISTORY,
|
|
3706
3709
|
// The table lives in `field-key-aliases.ts`: an extension's option patch
|
|
@@ -3714,7 +3717,7 @@ var SelectOptionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @_
|
|
|
3714
3717
|
guidanceSets: [SELECT_OPTION_EDITABILITY_GUIDANCE]
|
|
3715
3718
|
}, {
|
|
3716
3719
|
label: zod.z.string().describe("Display label (human-readable, any case allowed)").meta({ title: "Label" }),
|
|
3717
|
-
value:
|
|
3720
|
+
value: SelectOptionValueSchema.describe("Stored value (lowercase machine identifier, one character or more)").meta({ title: "Value" }),
|
|
3718
3721
|
/**
|
|
3719
3722
|
* Optional secondary text for the option (objectui#6153, inheriting the
|
|
3720
3723
|
* objectui#6140 ruling frame — maintainer 2026-08-25: a key that is
|
|
@@ -3725,7 +3728,7 @@ var SelectOptionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @_
|
|
|
3725
3728
|
* produces the same key for fetched options — while this strict shape
|
|
3726
3729
|
* refused it at publish, so the search behaviour was real for a key no
|
|
3727
3730
|
* author could legally write. The object-definition authoring form
|
|
3728
|
-
* (`object.form.ts` options repeater) has offered a `description` input all
|
|
3731
|
+
* (`object.metadata-form.ts` options repeater) has offered a `description` input all
|
|
3729
3732
|
* along; this declaration is what makes that offer honest. Per the same
|
|
3730
3733
|
* inherited ruling this option shape declares `description` and no cascade
|
|
3731
3734
|
* key of its own — `field-rows-option-description.test.ts` pins that
|
|
@@ -3812,12 +3815,12 @@ var LocationCoordinatesSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() =
|
|
|
3812
3815
|
altitude: zod.z.number().optional().describe("Altitude in meters"),
|
|
3813
3816
|
accuracy: zod.z.number().optional().describe("Accuracy in meters")
|
|
3814
3817
|
}));
|
|
3815
|
-
var CURRENCY_DECIMAL_PLACES_ARE_THE_CURRENCYS = "a currency amount's decimal places are its currency's CLDR fraction digits (2 for USD, 0 for JPY, 3 for KWD), which every display face derives from the currency itself, so there is no decimal-places setting to declare. Do not move the number to the field-level `precision`: that key is the amount's TOTAL digit count (a DECIMAL(18,2) amount declares `precision: 18`), not its decimal places.";
|
|
3816
|
-
var CURRENCY_CONFIG_DECIMAL_PLACES_GUIDANCE = {
|
|
3818
|
+
var CURRENCY_DECIMAL_PLACES_ARE_THE_CURRENCYS = /* @__PURE__ */ (() => "a currency amount's decimal places are its currency's CLDR fraction digits (2 for USD, 0 for JPY, 3 for KWD), which every display face derives from the currency itself, so there is no decimal-places setting to declare. Do not move the number to the field-level `precision`: that key is the amount's TOTAL digit count (a DECIMAL(18,2) amount declares `precision: 18`), not its decimal places.")();
|
|
3819
|
+
var CURRENCY_CONFIG_DECIMAL_PLACES_GUIDANCE = /* @__PURE__ */ (() => ({
|
|
3817
3820
|
precision: "`currencyConfig.precision` was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 no renderer or runtime ever read it: " + CURRENCY_DECIMAL_PLACES_ARE_THE_CURRENCYS + " Delete the key. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.",
|
|
3818
3821
|
decimals: "`currencyConfig.decimals` is not a currency configuration key, and nothing replaces it: " + CURRENCY_DECIMAL_PLACES_ARE_THE_CURRENCYS + " Delete the key.",
|
|
3819
3822
|
scale: "`currencyConfig.scale` is not a currency configuration key, and nothing replaces it: " + CURRENCY_DECIMAL_PLACES_ARE_THE_CURRENCYS + " Delete the key."
|
|
3820
|
-
};
|
|
3823
|
+
}))();
|
|
3821
3824
|
function refuseRecordModeKeyMismatch(config, ctx) {
|
|
3822
3825
|
if (config.currencyMode !== "record" && config.homeAmount !== void 0) {
|
|
3823
3826
|
ctx.addIssue({
|
|
@@ -3847,10 +3850,10 @@ function refuseRecordModeKeyMismatch(config, ctx) {
|
|
|
3847
3850
|
});
|
|
3848
3851
|
}
|
|
3849
3852
|
}
|
|
3850
|
-
var CURRENCY_CONFIG_FIXED_WITHOUT_CODE = "`currencyConfig.currencyMode: 'fixed'` needs `defaultCurrency`, the field's one currency: give its ISO 4217 code (e.g. `defaultCurrency: 'USD'`), or use `currencyMode: 'dynamic'` to display amounts in the tenant default currency (the `localization.currency` setting). Since @objectstack/spec 18 nothing fills a code in; it used to be `'CNY'`.";
|
|
3853
|
+
var CURRENCY_CONFIG_FIXED_WITHOUT_CODE = /* @__PURE__ */ (() => "`currencyConfig.currencyMode: 'fixed'` needs `defaultCurrency`, the field's one currency: give its ISO 4217 code (e.g. `defaultCurrency: 'USD'`), or use `currencyMode: 'dynamic'` to display amounts in the tenant default currency (the `localization.currency` setting). Since @objectstack/spec 18 nothing fills a code in; it used to be `'CNY'`.")();
|
|
3851
3854
|
var homeAmountEmptyPointer = (key, names) => `\`homeAmount.${key}\` names a field: an empty name points at nothing \u2014 name ${names} on this object.`;
|
|
3852
3855
|
var homeAmountPointerRequired = (key, names) => () => `\`homeAmount\` needs \`${key}\`, the name of ${names} on this object: the engine has no default for it. Name the field, or delete \`homeAmount\` if the amount needs no stored home-currency projection.`;
|
|
3853
|
-
var HomeAmountSchema = /* @__PURE__ */
|
|
3856
|
+
var HomeAmountSchema = /* @__PURE__ */ (() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
3854
3857
|
surface: "this amount's `homeAmount` declaration",
|
|
3855
3858
|
history: "This shape was closed from the day it was declared \u2014 an unknown key here was never accepted, so a misspelled pointer cannot parse and leave the home amount, its date or its rate unwritten.",
|
|
3856
3859
|
aliases: {
|
|
@@ -3868,7 +3871,7 @@ var HomeAmountSchema = /* @__PURE__ */ chunk4WFTCJEM_js.strictObject({
|
|
|
3868
3871
|
field: zod.z.string({ error: homeAmountPointerRequired("field", "the `dynamic`-mode `currency` field that stores the home amount") }).min(1, homeAmountEmptyPointer("field", "the `dynamic`-mode `currency` field that stores the home amount")).describe("The field on the same object that stores the amount converted into the home currency: a stored `currency` field in `dynamic` mode (it displays in `localization.currency`, so metadata never names the home currency), declaring `readonly: true` \u2014 only the engine writes it. Conventionally `AMOUNT_home`."),
|
|
3869
3872
|
rateDate: zod.z.string({ error: homeAmountPointerRequired("rateDate", "the `date` / `datetime` field whose value picks the rate") }).min(1, homeAmountEmptyPointer("rateDate", "the `date` / `datetime` field whose value picks the rate")).describe("The field on the same object holding the record's document date, whose value picks the exchange rate: a `date` or `datetime` field. Required, with no default \u2014 the engine never guesses the date (not `created_at`)."),
|
|
3870
3873
|
rateField: zod.z.string({ error: homeAmountPointerRequired("rateField", "the `number` field that stores the rate used") }).min(1, homeAmountEmptyPointer("rateField", "the `number` field that stores the rate used")).describe("The field on the same object that stores the exchange rate the conversion used: a `number` field declaring `readonly: true` \u2014 only the engine writes it. Required: the home amount is stored with the rate used. Conventionally `AMOUNT_rate`.")
|
|
3871
|
-
});
|
|
3874
|
+
}))();
|
|
3872
3875
|
function refuseFixedCurrencyWithoutCode(config, ctx) {
|
|
3873
3876
|
if (config.currencyMode === "fixed" && config.defaultCurrency === void 0) {
|
|
3874
3877
|
ctx.addIssue({ code: "custom", path: ["defaultCurrency"], message: CURRENCY_CONFIG_FIXED_WITHOUT_CODE });
|
|
@@ -3883,7 +3886,7 @@ function refuseSummaryWithoutField(ops, ctx) {
|
|
|
3883
3886
|
ctx.addIssue({ code: "custom", path: ["field"], message: summaryWithoutFieldMessage(ops.function) });
|
|
3884
3887
|
}
|
|
3885
3888
|
}
|
|
3886
|
-
var CurrencyConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
3889
|
+
var CurrencyConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
3887
3890
|
surface: "this currency configuration",
|
|
3888
3891
|
history: FIELD_HISTORY,
|
|
3889
3892
|
aliases: { mode: "currencyMode", currency: "defaultCurrency", code: "defaultCurrency", isoCode: "defaultCurrency" },
|
|
@@ -3936,8 +3939,8 @@ function isUniqueDeclared(unique) {
|
|
|
3936
3939
|
function isOrganizationUnique(unique) {
|
|
3937
3940
|
return unique === "organization";
|
|
3938
3941
|
}
|
|
3939
|
-
var UNIT_CONFIG_HISTORY = "This shape was closed from the day it was declared \u2014 an unknown key here was never accepted, so a misspelled unit or pointer cannot parse and leave a quantity in no unit.";
|
|
3940
|
-
var STANDARD_UNIT_CODE_LIST = Object.keys(STANDARD_UNITS);
|
|
3942
|
+
var UNIT_CONFIG_HISTORY = /* @__PURE__ */ (() => "This shape was closed from the day it was declared \u2014 an unknown key here was never accepted, so a misspelled unit or pointer cannot parse and leave a quantity in no unit.")();
|
|
3943
|
+
var STANDARD_UNIT_CODE_LIST = /* @__PURE__ */ (() => Object.keys(STANDARD_UNITS))();
|
|
3941
3944
|
function fixedUnitMessage(input) {
|
|
3942
3945
|
if (input === void 0) {
|
|
3943
3946
|
return "`unitMode: 'fixed'` needs `unit`, the field's one unit: a standard UN/ECE Recommendation 20 code in exact uppercase (e.g. `unit: 'KGM'`). Use `unitMode: 'record'` with `unitField` when each record names its own unit.";
|
|
@@ -3951,14 +3954,14 @@ function fixedUnitMessage(input) {
|
|
|
3951
3954
|
}
|
|
3952
3955
|
return `\`unit: ${shown}\` is not a standard unit code. A \`fixed\` unit is checked against the standard unit table (\`STANDARD_UNITS\` in \`@objectstack/spec/data\`), for example \`KGM\`, \`MTR\`, \`LTR\`, \`HUR\`, \`H87\` or \`XBX\`; an organization's own unit cannot be a field's fixed unit. Use \`unitMode: 'record'\` with \`unitField\` when each record names its unit, an organization unit included.`;
|
|
3953
3956
|
}
|
|
3954
|
-
var UNIT_FIELD_REQUIRED = "`unitMode: 'record'` needs `unitField`: name the `text` field on this object that holds each record's unit code, conventionally `unit_code`. Use `unitMode: 'fixed'` with `unit` when the field has one unit.";
|
|
3955
|
-
var UNIT_FIELD_EMPTY = "`unitField` names a field: an empty name points at nothing \u2014 name the `text` field on this object that holds each record's unit code, conventionally `unit_code`.";
|
|
3957
|
+
var UNIT_FIELD_REQUIRED = /* @__PURE__ */ (() => "`unitMode: 'record'` needs `unitField`: name the `text` field on this object that holds each record's unit code, conventionally `unit_code`. Use `unitMode: 'fixed'` with `unit` when the field has one unit.")();
|
|
3958
|
+
var UNIT_FIELD_EMPTY = /* @__PURE__ */ (() => "`unitField` names a field: an empty name points at nothing \u2014 name the `text` field on this object that holds each record's unit code, conventionally `unit_code`.")();
|
|
3956
3959
|
var unitDimensionSchema = () => zod.z.enum(UNIT_DIMENSIONS, {
|
|
3957
3960
|
error: (iss) => `\`unitDimension: ${JSON.stringify(iss.input)}\` is not a unit dimension: write one of ${UNIT_DIMENSIONS.map((d) => `\`${d}\``).join(", ")}.`
|
|
3958
3961
|
});
|
|
3959
|
-
var UNIT_FIELD_OFF_MODE = "`unitField` is read only under `unitMode: 'record'`, where it names the sibling `text` field holding each record's unit code: set `unitMode: 'record'`, or delete `unitField`.";
|
|
3960
|
-
var UNIT_OFF_MODE = "`unit` is read only under `unitMode: 'fixed'`, where it is the field's one standard unit: under `'record'` each record names its own unit in the field `unitField` names, and a `'code'` field holds the code itself. Delete `unit`, or use `unitMode: 'fixed'`.";
|
|
3961
|
-
var FixedUnitConfigSchema = /* @__PURE__ */
|
|
3962
|
+
var UNIT_FIELD_OFF_MODE = /* @__PURE__ */ (() => "`unitField` is read only under `unitMode: 'record'`, where it names the sibling `text` field holding each record's unit code: set `unitMode: 'record'`, or delete `unitField`.")();
|
|
3963
|
+
var UNIT_OFF_MODE = /* @__PURE__ */ (() => "`unit` is read only under `unitMode: 'fixed'`, where it is the field's one standard unit: under `'record'` each record names its own unit in the field `unitField` names, and a `'code'` field holds the code itself. Delete `unit`, or use `unitMode: 'fixed'`.")();
|
|
3964
|
+
var FixedUnitConfigSchema = /* @__PURE__ */ (() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
3962
3965
|
surface: "this fixed-unit configuration",
|
|
3963
3966
|
history: UNIT_CONFIG_HISTORY,
|
|
3964
3967
|
aliases: { mode: "unitMode", defaultUnit: "unit", unitCode: "unit", code: "unit", uom: "unit" },
|
|
@@ -3969,8 +3972,8 @@ var FixedUnitConfigSchema = /* @__PURE__ */ chunk4WFTCJEM_js.strictObject({
|
|
|
3969
3972
|
}, {
|
|
3970
3973
|
unitMode: zod.z.literal("fixed").describe("`fixed`: the field has one unit, `unit`, a standard code checked at build."),
|
|
3971
3974
|
unit: zod.z.enum(STANDARD_UNIT_CODE_LIST, { error: (iss) => fixedUnitMessage(iss.input) }).describe("The field's one unit: a standard UN/ECE Recommendation 20 code from `STANDARD_UNITS`, in exact uppercase (e.g. `KGM`, `MTR`, `H87`). Required under `fixed`; checked at build, so an unknown or lowercase code never parses.")
|
|
3972
|
-
});
|
|
3973
|
-
var RecordUnitConfigSchema = /* @__PURE__ */
|
|
3975
|
+
}))();
|
|
3976
|
+
var RecordUnitConfigSchema = /* @__PURE__ */ (() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
3974
3977
|
surface: "this record-unit configuration",
|
|
3975
3978
|
history: UNIT_CONFIG_HISTORY,
|
|
3976
3979
|
aliases: { mode: "unitMode", field: "unitField", codeField: "unitField", dimension: "unitDimension" },
|
|
@@ -3979,8 +3982,8 @@ var RecordUnitConfigSchema = /* @__PURE__ */ chunk4WFTCJEM_js.strictObject({
|
|
|
3979
3982
|
unitMode: zod.z.literal("record").describe("`record`: each record names its own unit, in the field `unitField` names."),
|
|
3980
3983
|
unitField: zod.z.string({ error: UNIT_FIELD_REQUIRED }).min(1, UNIT_FIELD_EMPTY).describe("The name of the `text` field on the same object that holds each record's unit code, in exact uppercase (conventionally `unit_code`; the name is a convention, never a contract). One segment: a unit cannot follow a parent through `master_detail` yet. Required under `record`."),
|
|
3981
3984
|
unitDimension: unitDimensionSchema().optional().describe("Optional restriction: the dimension every record's unit must have (`mass`, `length`, `area`, `volume`, `time`, `count` or `package`). A write naming a unit of another dimension is refused. Absent: any dimension.")
|
|
3982
|
-
});
|
|
3983
|
-
var CodeUnitConfigSchema = /* @__PURE__ */
|
|
3985
|
+
}))();
|
|
3986
|
+
var CodeUnitConfigSchema = /* @__PURE__ */ (() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
3984
3987
|
surface: "this unit-code field configuration",
|
|
3985
3988
|
history: UNIT_CONFIG_HISTORY,
|
|
3986
3989
|
aliases: { mode: "unitMode", dimension: "unitDimension" },
|
|
@@ -3991,7 +3994,7 @@ var CodeUnitConfigSchema = /* @__PURE__ */ chunk4WFTCJEM_js.strictObject({
|
|
|
3991
3994
|
}, {
|
|
3992
3995
|
unitMode: zod.z.literal("code").describe("`code`: this `text` field holds a unit code itself, with no quantity beside it."),
|
|
3993
3996
|
unitDimension: unitDimensionSchema().optional().describe("Optional restriction: the dimension every unit this field holds must have. A write naming a unit of another dimension is refused. Absent: any dimension.")
|
|
3994
|
-
});
|
|
3997
|
+
}))();
|
|
3995
3998
|
function unitModeMessage(input) {
|
|
3996
3999
|
const config = input !== null && typeof input === "object" ? input : void 0;
|
|
3997
4000
|
if (config && config.unitMode === void 0 && "mode" in config) {
|
|
@@ -4005,12 +4008,12 @@ var UnitConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.d
|
|
|
4005
4008
|
RecordUnitConfigSchema,
|
|
4006
4009
|
CodeUnitConfigSchema
|
|
4007
4010
|
], { error: (iss) => unitModeMessage(iss.input) }));
|
|
4008
|
-
var UNIT_CONFIG_MODES_BY_FIELD_TYPE = Object.freeze({
|
|
4011
|
+
var UNIT_CONFIG_MODES_BY_FIELD_TYPE = /* @__PURE__ */ (() => Object.freeze({
|
|
4009
4012
|
number: Object.freeze(["fixed", "record"]),
|
|
4010
4013
|
text: Object.freeze(["code"])
|
|
4011
|
-
});
|
|
4014
|
+
}))();
|
|
4012
4015
|
var FIELD_MASKING_PRESETS = ["phone", "id_card", "bank_account", "email", "name"];
|
|
4013
|
-
var FieldMaskingKeepSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
4016
|
+
var FieldMaskingKeepSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
4014
4017
|
surface: "this masking rule",
|
|
4015
4018
|
history: FIELD_HISTORY,
|
|
4016
4019
|
aliases: { head: "keepHead", prefix: "keepHead", keepStart: "keepHead", tail: "keepTail", suffix: "keepTail", keepEnd: "keepTail" }
|
|
@@ -4023,10 +4026,10 @@ var FieldMaskingRuleSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => z
|
|
|
4023
4026
|
FieldMaskingKeepSchema
|
|
4024
4027
|
]));
|
|
4025
4028
|
var MAX_RENDERABLE_SCALE = 100;
|
|
4026
|
-
var SCALE_UPPER_BOUND_MESSAGE = "Decimal places cannot exceed 100 \u2014 the limit is the renderers', not a policy: every consumer turns `scale` into fraction digits, and both `Number.prototype.toFixed` and `Intl.NumberFormat`'s `maximumFractionDigits` throw a RangeError above 100, so a larger declaration is unrenderable rather than merely large. Declare at most 100 (an IEEE-754 double carries ~17 significant digits, so a meaningful display precision is far below it).";
|
|
4027
|
-
var INLINE_GRID_COLUMN_HISTORY = "Until this shape was closed these parsed as `z.any()` \u2014 a mis-keyed column published clean and rendered as blank cells, with nothing naming the wrong key.";
|
|
4028
|
-
var INLINE_GRID_CURRENCY_SCALE_REFUSAL = "`scale` is not valid on a `currency` inline grid column \u2014 delete the key. A currency amount's decimal places are its currency's, not a column setting: the currency's CLDR fraction digits (2 for USD, 0 for JPY, 3 for KWD) decide how the cell displays the amount and the width a computed amount is rounded to. `scale` stays valid on a `number` column.";
|
|
4029
|
-
var InlineGridColumnSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
4029
|
+
var SCALE_UPPER_BOUND_MESSAGE = /* @__PURE__ */ (() => "Decimal places cannot exceed 100 \u2014 the limit is the renderers', not a policy: every consumer turns `scale` into fraction digits, and both `Number.prototype.toFixed` and `Intl.NumberFormat`'s `maximumFractionDigits` throw a RangeError above 100, so a larger declaration is unrenderable rather than merely large. Declare at most 100 (an IEEE-754 double carries ~17 significant digits, so a meaningful display precision is far below it).")();
|
|
4030
|
+
var INLINE_GRID_COLUMN_HISTORY = /* @__PURE__ */ (() => "Until this shape was closed these parsed as `z.any()` \u2014 a mis-keyed column published clean and rendered as blank cells, with nothing naming the wrong key.")();
|
|
4031
|
+
var INLINE_GRID_CURRENCY_SCALE_REFUSAL = /* @__PURE__ */ (() => "`scale` is not valid on a `currency` inline grid column \u2014 delete the key. A currency amount's decimal places are its currency's, not a column setting: the currency's CLDR fraction digits (2 for USD, 0 for JPY, 3 for KWD) decide how the cell displays the amount and the width a computed amount is rounded to. `scale` stays valid on a `number` column.")();
|
|
4032
|
+
var InlineGridColumnSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
4030
4033
|
surface: "this inline grid column",
|
|
4031
4034
|
history: INLINE_GRID_COLUMN_HISTORY,
|
|
4032
4035
|
aliases: {
|
|
@@ -4053,7 +4056,7 @@ var InlineGridColumnSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /
|
|
|
4053
4056
|
type: zod.z.enum(["text", "number", "currency", "date", "datetime", "time", "select", "lookup", "file", "user", "multiselect", "tags", "boolean", "rating"]).optional().describe("Cell control, derived from the child field's type when omitted: `user` is a person picker, `multiselect` a list holding several of the column's options, `tags` a list of free-form tags, `boolean` a checkbox and `rating` a row of stars. Declaring it opts the column out of schema hydration \u2014 supply the extras (options / reference / \u2026) yourself.").meta({ title: "Type" }),
|
|
4054
4057
|
width: zod.z.number().positive().optional().describe("Fixed column width in px; omitted columns use type-based role sizing (text flexes, numeric/date/select stay fixed).").meta({ title: "Width" }),
|
|
4055
4058
|
required: zod.z.boolean().optional().describe("Cell is flagged inline-invalid while empty. Computed columns are never required.").meta({ title: "Required" }),
|
|
4056
|
-
options: zod.z.array(/* @__PURE__ */
|
|
4059
|
+
options: zod.z.array(/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
4057
4060
|
surface: "this inline grid column option",
|
|
4058
4061
|
history: INLINE_GRID_COLUMN_HISTORY,
|
|
4059
4062
|
aliases: { text: "label", name: "label", title: "label", key: "value", id: "value" }
|
|
@@ -4091,7 +4094,7 @@ var InlineGridColumnSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /
|
|
|
4091
4094
|
ctx.addIssue({ code: "custom", path: ["scale"], message: INLINE_GRID_CURRENCY_SCALE_REFUSAL });
|
|
4092
4095
|
}
|
|
4093
4096
|
}));
|
|
4094
|
-
var COLUMN_CONSTRAINT_FLAT_KEYS = {
|
|
4097
|
+
var COLUMN_CONSTRAINT_FLAT_KEYS = /* @__PURE__ */ (() => ({
|
|
4095
4098
|
name: "COLUMN_CONSTRAINT_FLAT_KEYS",
|
|
4096
4099
|
// Anchored, so it claims only the flattened column-constraint spellings and
|
|
4097
4100
|
// cannot reach a declared key: `required`, `requiredWhen` and `storage`
|
|
@@ -4099,10 +4102,10 @@ var COLUMN_CONSTRAINT_FLAT_KEYS = {
|
|
|
4099
4102
|
keys: /^(?:storage[_-]?)?not[_-]?null$/i,
|
|
4100
4103
|
examples: ["notNull", "not_null", "storageNotNull"],
|
|
4101
4104
|
prescription: "physical column constraints live under `storage` \u2014 write `storage: { notNull: true }` (ADR-0113). There is no flat spelling of it: post-17 a column is NOT NULL because its author wrote that nested key, and for no other reason. It is NOT `required`, which is the WRITE contract (an insert must provide a value; an update may not null it out) and deliberately does NOT imply the column constraint \u2014 `required: true` alone leaves the column nullable. Write whichever of the two you meant, or both."
|
|
4102
|
-
};
|
|
4103
|
-
var LOOKUP_FILTER_SCALAR_COMPARISONS = /* @__PURE__ */ new Set(["eq", "ne", "gt", "lt", "gte", "lte"]);
|
|
4105
|
+
}))();
|
|
4106
|
+
var LOOKUP_FILTER_SCALAR_COMPARISONS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["eq", "ne", "gt", "lt", "gte", "lte"]))();
|
|
4104
4107
|
var LOOKUP_FILTER_RECORD_PATH_RE = /^[a-z_][a-z0-9_]*(?:\.[a-z_][a-z0-9_]*)?$/;
|
|
4105
|
-
var LookupFilterRecordReferenceSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
4108
|
+
var LookupFilterRecordReferenceSchema = /* @__PURE__ */ (() => /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
4106
4109
|
surface: "this lookupFilters record reference",
|
|
4107
4110
|
history: "A new shape, closed from its first release: a misspelt key beside $record would otherwise be sent to the server as part of the filter.",
|
|
4108
4111
|
guidance: {
|
|
@@ -4115,7 +4118,7 @@ var LookupFilterRecordReferenceSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySch
|
|
|
4115
4118
|
}).describe("Path of the value on the record being edited: a field name (`quote_date`) or one lookup hop (`account.cb_market`) \u2014 at most one dot.")
|
|
4116
4119
|
})).describe(
|
|
4117
4120
|
'A lookupFilters comparand read from the record being edited: { $record: "field" } or { $record: "lookup_field.field" } (at most one lookup hop). The picker replaces it with that value before querying; unlike { $field }, which names a column of the candidate row. A path through or to a multi-valued field (one flagged `multiple: true`, or a multiselect, checkboxes or tags field) has no single value: it is not resolved, and lint refuses it (`object-field-ref-unknown`).'
|
|
4118
|
-
);
|
|
4121
|
+
))();
|
|
4119
4122
|
function isLookupFilterRecordReferenceShape(value) {
|
|
4120
4123
|
return !!value && typeof value === "object" && !Array.isArray(value) && Object.prototype.hasOwnProperty.call(value, "$record");
|
|
4121
4124
|
}
|
|
@@ -4154,9 +4157,9 @@ function refuseMalformedLookupFilterEntry(entry, ctx) {
|
|
|
4154
4157
|
});
|
|
4155
4158
|
}
|
|
4156
4159
|
}
|
|
4157
|
-
var INLINE_EDIT_BOOLEAN_RETIRED = "`field.inlineEdit: true` and `field.inlineEdit: false` were removed in @objectstack/spec 19.0.0 (ADR-0049 enforce-or-remove) \u2014 neither boolean had an effect: a field group of the parent (`fieldGroups[].relatedList`) decides whether the parent's form inlines this child, and both `true` and `false` read as an absent key, the form factor picked from the child's shape. Delete the key, or write `'grid'` (an editable line-item grid) or `'form'` (a list whose rows open the child's full form) to choose the form factor; to inline the child in the parent's form, name it in a field group of the parent (`fieldGroups[].relatedList`). Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
4160
|
+
var INLINE_EDIT_BOOLEAN_RETIRED = /* @__PURE__ */ (() => "`field.inlineEdit: true` and `field.inlineEdit: false` were removed in @objectstack/spec 19.0.0 (ADR-0049 enforce-or-remove) \u2014 neither boolean had an effect: a field group of the parent (`fieldGroups[].relatedList`) decides whether the parent's form inlines this child, and both `true` and `false` read as an absent key, the form factor picked from the child's shape. Delete the key, or write `'grid'` (an editable line-item grid) or `'form'` (a list whose rows open the child's full form) to choose the form factor; to inline the child in the parent's form, name it in a field group of the parent (`fieldGroups[].relatedList`). Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
4158
4161
|
var FieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
4159
|
-
const base = /* @__PURE__ */
|
|
4162
|
+
const base = /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
4160
4163
|
surface: "this field",
|
|
4161
4164
|
history: FIELD_HISTORY,
|
|
4162
4165
|
// `FIELD_KEY_GUIDANCE`'s renames and the field's own rows, in
|
|
@@ -4576,7 +4579,7 @@ var FieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
4576
4579
|
* `options` on the same object, or `value` is not one of those options
|
|
4577
4580
|
* (`ObjectSchema`'s superRefine — only the object holds the sibling map).
|
|
4578
4581
|
*/
|
|
4579
|
-
referenceDeletedWhen: /* @__PURE__ */
|
|
4582
|
+
referenceDeletedWhen: /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
4580
4583
|
surface: "this field's `referenceDeletedWhen` predicate",
|
|
4581
4584
|
history: "This shape was closed from the day it was declared \u2014 an unknown key here was never accepted, so a misspelled predicate cannot parse and silently never mark a target deleted.",
|
|
4582
4585
|
aliases: { option: "value", equals: "value", sibling: "field" }
|
|
@@ -4928,7 +4931,7 @@ var FieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
4928
4931
|
*/
|
|
4929
4932
|
displayField: zod.z.string().optional().describe("Field shown as each candidate's label in the picker/popover (defaults to the referenced object's name/title)."),
|
|
4930
4933
|
descriptionField: zod.z.string().optional().describe("Secondary field shown under the label in the quick-select popover."),
|
|
4931
|
-
lookupColumns: zod.z.array(zod.z.union([zod.z.string(), /* @__PURE__ */
|
|
4934
|
+
lookupColumns: zod.z.array(zod.z.union([zod.z.string(), /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
4932
4935
|
surface: "this lookup column",
|
|
4933
4936
|
history: FIELD_HISTORY,
|
|
4934
4937
|
aliases: { name: "field", fieldName: "field", key: "field", title: "label", header: "label", size: "width" }
|
|
@@ -4939,7 +4942,7 @@ var FieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
4939
4942
|
type: zod.z.string().optional()
|
|
4940
4943
|
})])).optional().describe("Explicit columns for the record-picker table; auto-derived from the referenced object when omitted."),
|
|
4941
4944
|
lookupPageSize: zod.z.number().int().positive().optional().describe("Rows per page in the record-picker dialog (default 10)."),
|
|
4942
|
-
lookupFilters: zod.z.array(/* @__PURE__ */
|
|
4945
|
+
lookupFilters: zod.z.array(/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
4943
4946
|
surface: "this lookup filter",
|
|
4944
4947
|
history: FIELD_HISTORY,
|
|
4945
4948
|
aliases: {
|
|
@@ -4973,7 +4976,7 @@ var FieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
4973
4976
|
}).superRefine(refuseMalformedLookupFilterEntry)).optional().describe(
|
|
4974
4977
|
"Base filters restricting which records are selectable (e.g. only active). The structured, picker-honoured lookup filter. Each entry compares a column of the CANDIDATE record (`field`, on the referenced object) with `value`. A value may read the record being edited as { $record: \"field\" } or { $record: \"lookup_field.field\" } (at most one lookup hop). In a record form, whatever its layout, the picker sends that value in its place and re-queries whenever a referenced field changes; every other picker host leaves every { $record } entry out: inline edit on a record page, a record page's header or related list, an action's parameter dialog, and a picker with no single record being edited (a bulk action over selected rows). The referenced fields are implied: do not list them in `dependsOn`, which also scopes the candidate query by equality (`dependsOn: ['quote_date']` adds `quote_date = \u2026` to the query over the referenced object). While the value is empty or cannot be read (the hop's row or field does not come back, no object is named for the hop, or the host has no single-row reader), the entry is left out. A { $record } is the whole value, never a member of an `in` / `notIn` list. `orEmpty: true` also matches a candidate whose column is null. A { $record } that reaches a server unresolved is refused (INVALID_FILTER), never read as null: by name, naming the field and the path, when it arrives as the eq shorthand on a column other than a date, datetime or time column; any other operator, and eq on a date, datetime or time column, is refused earlier, in generic words. The picker narrows the choice only: a rule the save must enforce belongs on the server too."
|
|
4975
4978
|
),
|
|
4976
|
-
dependsOn: zod.z.array(zod.z.union([zod.z.string(), /* @__PURE__ */
|
|
4979
|
+
dependsOn: zod.z.array(zod.z.union([zod.z.string(), /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
4977
4980
|
surface: "this dependsOn entry",
|
|
4978
4981
|
history: FIELD_HISTORY,
|
|
4979
4982
|
aliases: { name: "field", fieldName: "field", local: "field", remote: "param", remoteField: "param", key: "param" }
|
|
@@ -5019,7 +5022,7 @@ var FieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
5019
5022
|
* in `stack.zod.ts` — each source a readable field of the referenced object
|
|
5020
5023
|
* whose value the target can hold).
|
|
5021
5024
|
*/
|
|
5022
|
-
lookupAutofill: zod.z.array(/* @__PURE__ */
|
|
5025
|
+
lookupAutofill: zod.z.array(/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
5023
5026
|
surface: "this lookupAutofill entry",
|
|
5024
5027
|
history: "A new shape, closed from its first release: a misspelt key in a pair would otherwise fill nothing and say nothing.",
|
|
5025
5028
|
aliases: {
|
|
@@ -5087,7 +5090,7 @@ var FieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
5087
5090
|
* unproven verdict the same way. A verdict that proves `text`, `boolean` or `date` still stamps.
|
|
5088
5091
|
*/
|
|
5089
5092
|
returnType: zod.z.enum(["number", "text", "boolean", "date", "currency", "percent"]).optional().describe("Value type of a formula field (number/text/boolean/date/currency/percent). Authoring stamps `number`, `text`, `boolean` or `date` from the expression's inferred type and leaves it absent when none is proven; `percent` is declared by the author, and a verdict that proves no other type (`number`, or none) keeps it, as does a money verdict: a declared `percent` is never re-stamped `currency`. Otherwise `currency` is stamped when the expression provably computes money, and withdrawn for `number` (its `currencyConfig` dropped) when an edit leaves it a plain number; an unproven verdict keeps it. `currency`: an amount of money, in the currency the formula's own `currencyConfig` declares, as a currency field declares it (no `currencyConfig`: dynamic, the tenant default currency). `percent`: a ratio, read and displayed as a `percent` field reads its stored value \u2014 a fraction (0.25 shows 25%, so the expression divides and does not multiply by 100) unless the formula declares a `max` above 1, then percentage points; its `scale` is the decimal places of the displayed percentage (absent: 0), and its `percentDisplay` picks the bar or the plain face."),
|
|
5090
|
-
summaryOperations: /* @__PURE__ */
|
|
5093
|
+
summaryOperations: /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
5091
5094
|
surface: "this roll-up summary",
|
|
5092
5095
|
history: FIELD_HISTORY,
|
|
5093
5096
|
aliases: {
|
|
@@ -5288,7 +5291,7 @@ var FieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
5288
5291
|
* `@object-ui/core` (`fieldReadOnlyByHand`); the engine never reads it, so a
|
|
5289
5292
|
* TRUE predicate refuses no API, import, action or flow write.
|
|
5290
5293
|
*/
|
|
5291
|
-
uiReadonlyWhen: EvaluatedExpressionInputSchema.optional().describe("Predicate (CEL) \u2014 the field is read-only BY HAND on an existing record while TRUE:
|
|
5294
|
+
uiReadonlyWhen: EvaluatedExpressionInputSchema.optional().describe("Predicate (CEL) \u2014 the field is read-only BY HAND on an existing record while TRUE: every console surface that honours `uiReadonly` (the edit dialog, record-page inline edit and the stage path, the highlight-strip chip, grid inline edit and multi-row save, kanban column drag, calendar drag, the Gantt's drag, resize, progress handle, dependency link and in-place edit, the timesheet cell, the line-item grid) does not let a person edit it, while REST, import, action and flow writes keep it, judged by the object's validations \u2014 see `uiReadonly`. A create is not judged: the create dialog offers the field whatever the predicate says. A predicate the console cannot evaluate locks the field, and the edit dialog refuses to submit until it is fixed. Same scope as `readonlyWhen`: the bound record's OWN columns, e.g. P`record.status != 'draft'`. Allowed beside `readonlyWhen`, which is the stricter lock: where `readonlyWhen` is TRUE non-system writes are dropped as well. The engine never reads this key."),
|
|
5292
5295
|
requiredWhen: EvaluatedExpressionInputSchema.optional().describe("Predicate (CEL) \u2014 field is required when TRUE. A TRANSITION GATE, not an invariant: the write is refused only when the merged record violates the requirement AND the pre-write record complied \u2014 so the write that flips the predicate TRUE, an INSERT born inside the gate, and a write that clears the cell are all refused, while a row that was already missing the value keeps passing unrelated edits and state moves that stay inside the gate (ADR-0113 non-regression: adding the rule to a deployed object never bricks existing rows). Need an invariant every write must satisfy instead ('X may never exceed Y') \u2014 declare a `validations[]` `script` rule, which re-checks the merged record with no exemption. Enforced by `evaluateValidationRules`. Reads the bound record's OWN columns: the field level never reads a related record, so a read THROUGH a reference field (`record.account.tier`) faults on every row and refuses every write that reaches it \u2014 `objectstack validate` refuses it; put such a check in a `validations[]` `script` rule, whose `condition` is read one hop through a reference. The only slot; the `conditionalRequired` alias was removed in protocol 17."),
|
|
5293
5296
|
/**
|
|
5294
5297
|
* Deadline semantic — `date` / `datetime` only (DEADLINE_FIELD_TYPES).
|
|
@@ -5424,10 +5427,13 @@ var FieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
5424
5427
|
* "By hand" = the create and edit dialogs and the payload they submit, the
|
|
5425
5428
|
* record page's inline edit and stage path, the highlight-strip chip, grid
|
|
5426
5429
|
* inline edit and its multi-row save, kanban drag between columns grouped by
|
|
5427
|
-
* the field
|
|
5428
|
-
*
|
|
5429
|
-
*
|
|
5430
|
-
*
|
|
5430
|
+
* the field (a swimlane board's drag writes the column's field only, never
|
|
5431
|
+
* the swimlane's), calendar drag and quick-create, the Gantt's drag,
|
|
5432
|
+
* resize, progress handle, dependency link and in-place edit, the timesheet
|
|
5433
|
+
* cell, the command palette's create-as prefill, the line-item grid, and the in-app assistant
|
|
5434
|
+
* acting for a person. Every console surface honours it; the in-app
|
|
5435
|
+
* assistant, whose writes run in the AI service, does not read it yet
|
|
5436
|
+
* (#37448). NOT by hand = REST create/update,
|
|
5431
5437
|
* import (the console import wizard included), declarative and script
|
|
5432
5438
|
* actions, flows. A console create leaves the field out, so the server
|
|
5433
5439
|
* applies its `defaultValue` — a `required` field with no `defaultValue`
|
|
@@ -5446,7 +5452,7 @@ var FieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
5446
5452
|
* boundary: a caller who may edit the object can write the field through
|
|
5447
5453
|
* the API; field permissions (`editable` on a permission set) are that.
|
|
5448
5454
|
*/
|
|
5449
|
-
uiReadonly: zod.z.boolean().optional().describe("Read-only BY HAND: the console's editing surfaces do not let a person edit the field \u2014 the create and edit dialogs (it is left off them and out of their payload), record-page inline edit and the stage path, the highlight-strip chip, grid inline edit and multi-row save, kanban column drag, calendar drag and the line-item grid
|
|
5455
|
+
uiReadonly: zod.z.boolean().optional().describe("Read-only BY HAND: the console's editing surfaces do not let a person edit the field \u2014 the create and edit dialogs (it is left off them and out of their payload), record-page inline edit and the stage path, the highlight-strip chip, grid inline edit and multi-row save, kanban column drag, calendar drag and quick-create, the Gantt's drag, resize, progress handle, dependency link and in-place edit, the timesheet cell, the command palette's create-as prefill and the line-item grid \u2014 every console surface; the in-app assistant acting for a person does not honour it yet. Every other write KEEPS it \u2014 REST create/update, import, declarative and script actions and flows write it, judged by the object's validations exactly as an ordinary field (a `state_machine` rule included). For a field that changes only through actions, e.g. an order `status` moved by Confirm / Cancel buttons. A console create leaves the field out and the server applies its `defaultValue`, so a `required` field needs a `defaultValue`: without one every create from the console fails. An API, import or action insert may set it, judged by validations (a state machine's `initialStates`). Absent = false. Refused beside `readonly: true`, which already keeps every client out: `readonly` when no client may write the field, `uiReadonly` when only people at the console may not. Not a security boundary \u2014 field permissions are. The conditional twin is `uiReadonlyWhen`."),
|
|
5450
5456
|
/**
|
|
5451
5457
|
* [ADR-0066 D3] Capabilities required to READ/EDIT this field. A field
|
|
5452
5458
|
* declaring `requiredPermissions` is masked on read and denied on write unless
|
|
@@ -5662,7 +5668,7 @@ var FieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
5662
5668
|
// parse. This was the ONE type the original envelope probe actually checked
|
|
5663
5669
|
// (see `metadata-type-schemas.test.ts` for how the other 24 took an early
|
|
5664
5670
|
// return) — so it has been a known gap longer than any of its siblings.
|
|
5665
|
-
...
|
|
5671
|
+
...chunkXLUBDFSO_js.MetadataProtectionFields
|
|
5666
5672
|
});
|
|
5667
5673
|
const shapeOrder = Object.keys(base.shape);
|
|
5668
5674
|
return base.superRefine((field, ctx) => {
|
|
@@ -6156,8 +6162,8 @@ var Field = {
|
|
|
6156
6162
|
...config
|
|
6157
6163
|
})
|
|
6158
6164
|
};
|
|
6159
|
-
var BulkActionOperationSchema = zod.z.enum(["update", "delete", "custom"]);
|
|
6160
|
-
var BulkActionExecutionSchema = zod.z.enum(["perRecord", "aggregate"]);
|
|
6165
|
+
var BulkActionOperationSchema = /* @__PURE__ */ (() => zod.z.enum(["update", "delete", "custom"]))();
|
|
6166
|
+
var BulkActionExecutionSchema = /* @__PURE__ */ (() => zod.z.enum(["perRecord", "aggregate"]))();
|
|
6161
6167
|
var BulkActionResultSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.looseObject({
|
|
6162
6168
|
succeeded: zod.z.array(zod.z.string()).describe(
|
|
6163
6169
|
"Ids of the selected rows the handler wrote. Each must be one of the dispatched `params._selectedIds`. The reader drops an id outside the selection, counts a duplicate once, and counts an id that is also in `failed` as failed."
|
|
@@ -6194,7 +6200,7 @@ var BULK_PARAM_WIDGET_CONFIG_KEYS = [
|
|
|
6194
6200
|
"subtitle",
|
|
6195
6201
|
"avatarField"
|
|
6196
6202
|
];
|
|
6197
|
-
var BulkActionParamSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
6203
|
+
var BulkActionParamSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
6198
6204
|
{
|
|
6199
6205
|
surface: "this bulk action param",
|
|
6200
6206
|
aliases: {
|
|
@@ -6275,7 +6281,7 @@ var BulkActionParamSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /*
|
|
|
6275
6281
|
* licence and the key could not be retired either: an ablation removing it
|
|
6276
6282
|
* from the spread reddened 7 of 12 cases in objectui.
|
|
6277
6283
|
*/
|
|
6278
|
-
dependsOn: zod.z.array(zod.z.union([zod.z.string(), /* @__PURE__ */
|
|
6284
|
+
dependsOn: zod.z.array(zod.z.union([zod.z.string(), /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
6279
6285
|
surface: "this dependsOn entry",
|
|
6280
6286
|
history: "Until this shape was closed these were dropped silently \u2014 the entry still parsed, so a mis-spelled binding left the picker ungated and unscoped.",
|
|
6281
6287
|
aliases: { name: "field", fieldName: "field", local: "field", remote: "param", remoteField: "param", key: "param" }
|
|
@@ -6295,8 +6301,8 @@ function bulkConfirmTemplateRoots(def) {
|
|
|
6295
6301
|
}
|
|
6296
6302
|
return roots;
|
|
6297
6303
|
}
|
|
6298
|
-
var BULK_CONFIRM_TEXT_DIALECT_ONLY = "A bulk action's `confirmText` is a template-typed slot: it accepts a bare template string or an envelope declaring `dialect: 'template'` only. Write `'Update {{ count }} record(s)?'` or `{ dialect: 'template', source: 'Update {{ count }} record(s)?' }`.";
|
|
6299
|
-
var BulkConfirmTextSchema = zod.z.union([
|
|
6304
|
+
var BULK_CONFIRM_TEXT_DIALECT_ONLY = /* @__PURE__ */ (() => "A bulk action's `confirmText` is a template-typed slot: it accepts a bare template string or an envelope declaring `dialect: 'template'` only. Write `'Update {{ count }} record(s)?'` or `{ dialect: 'template', source: 'Update {{ count }} record(s)?' }`.")();
|
|
6305
|
+
var BulkConfirmTextSchema = /* @__PURE__ */ (() => zod.z.union([
|
|
6300
6306
|
templateExpressionInput(ExpressionSchema, {
|
|
6301
6307
|
sourceRequired: BULK_CONFIRM_TEXT_DIALECT_ONLY,
|
|
6302
6308
|
dialectOnly: BULK_CONFIRM_TEXT_DIALECT_ONLY
|
|
@@ -6304,8 +6310,8 @@ var BulkConfirmTextSchema = zod.z.union([
|
|
|
6304
6310
|
// `trim()`'s whitespace set is exactly `\s` (ECMA-262), so this arm takes the blank strings
|
|
6305
6311
|
// `NON_BLANK_STRING` refuses — as a `pattern` the JSON Schema carries, not a dropped refinement.
|
|
6306
6312
|
zod.z.string().regex(/^\s*$/)
|
|
6307
|
-
], { error: () => BULK_CONFIRM_TEXT_DIALECT_ONLY });
|
|
6308
|
-
var BulkActionDefSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
6313
|
+
], { error: () => BULK_CONFIRM_TEXT_DIALECT_ONLY }))();
|
|
6314
|
+
var BulkActionDefSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
6309
6315
|
{
|
|
6310
6316
|
surface: "this bulk action definition",
|
|
6311
6317
|
aliases: {
|
|
@@ -6402,8 +6408,8 @@ var I18nLabelSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.un
|
|
|
6402
6408
|
zod.z.string(),
|
|
6403
6409
|
InlineLocaleMapSchema
|
|
6404
6410
|
]).describe('Display label \u2014 the default-language string, or an inline locale map ({ en, "zh-CN" }) resolved at render time'));
|
|
6405
|
-
var ARIA_HISTORY = "Until this shape was closed an unknown key was dropped silently \u2014 the component still rendered, with no accessible name and nothing to say the one you wrote had been discarded.";
|
|
6406
|
-
var AriaPropsSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
6411
|
+
var ARIA_HISTORY = /* @__PURE__ */ (() => "Until this shape was closed an unknown key was dropped silently \u2014 the component still rendered, with no accessible name and nothing to say the one you wrote had been discarded.")();
|
|
6412
|
+
var AriaPropsSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
6407
6413
|
surface: "these ARIA attributes",
|
|
6408
6414
|
history: ARIA_HISTORY,
|
|
6409
6415
|
aliases: {
|
|
@@ -6452,7 +6458,7 @@ var AriaPropsSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PU
|
|
|
6452
6458
|
/** WAI-ARIA role override */
|
|
6453
6459
|
role: zod.z.string().optional().describe('WAI-ARIA role attribute (e.g., "dialog", "navigation", "alert")')
|
|
6454
6460
|
}).describe("ARIA accessibility attributes"));
|
|
6455
|
-
var ProtectionSchema = /* @__PURE__ */
|
|
6461
|
+
var ProtectionSchema = /* @__PURE__ */ (() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
6456
6462
|
// ⚠️ ONE declaring schema, reached from every mount — so the surface name
|
|
6457
6463
|
// cannot be per-mount-context the way every neighbouring `strictObject`
|
|
6458
6464
|
// adoption's is. `protection:` is mounted on very nearly every authorable
|
|
@@ -6536,7 +6542,7 @@ var ProtectionSchema = /* @__PURE__ */ chunk4WFTCJEM_js.strictObject({
|
|
|
6536
6542
|
* (e.g. the platform Setup app whose nav tree is wired directly
|
|
6537
6543
|
* into framework code).
|
|
6538
6544
|
*/
|
|
6539
|
-
lock:
|
|
6545
|
+
lock: chunkXLUBDFSO_js.MetadataLockSchema.describe(
|
|
6540
6546
|
"Lock policy \u2014 none | no-overlay | no-delete | full."
|
|
6541
6547
|
),
|
|
6542
6548
|
/**
|
|
@@ -6556,7 +6562,7 @@ var ProtectionSchema = /* @__PURE__ */ chunk4WFTCJEM_js.strictObject({
|
|
|
6556
6562
|
docsUrl: zod.z.string().url().optional().describe(
|
|
6557
6563
|
"Optional URL the Studio banner links to for more context."
|
|
6558
6564
|
)
|
|
6559
|
-
});
|
|
6565
|
+
}))();
|
|
6560
6566
|
function applyProtection(item, ctx = {}) {
|
|
6561
6567
|
if (!item || typeof item !== "object") return item;
|
|
6562
6568
|
if (ctx.packageId && item._packageId === void 0) {
|
|
@@ -6626,7 +6632,7 @@ var ChartTypeSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.en
|
|
|
6626
6632
|
"table",
|
|
6627
6633
|
"pivot"
|
|
6628
6634
|
]));
|
|
6629
|
-
var ChartAxisSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
6635
|
+
var ChartAxisSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
6630
6636
|
{
|
|
6631
6637
|
surface: "this chart axis",
|
|
6632
6638
|
history: "Until this shape was closed, an undeclared axis key was dropped at parse and the axis rendered with the default scale and ticks \u2014 a chart that looked configured and was not.",
|
|
@@ -6681,7 +6687,7 @@ var ChartAxisSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PU
|
|
|
6681
6687
|
logarithmic: zod.z.boolean().default(false)
|
|
6682
6688
|
}
|
|
6683
6689
|
));
|
|
6684
|
-
var ChartSeriesSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
6690
|
+
var ChartSeriesSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
6685
6691
|
{
|
|
6686
6692
|
surface: "this chart series",
|
|
6687
6693
|
history: "Until this shape was closed, an undeclared series key was dropped at parse \u2014 the series still drew, in the palette colour, on the left axis, unstacked, which is precisely the configuration the author was overriding.",
|
|
@@ -6752,7 +6758,7 @@ var ChartSeriesSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__
|
|
|
6752
6758
|
opacity: zod.z.number().min(0).max(1).optional().describe("Series opacity override")
|
|
6753
6759
|
}
|
|
6754
6760
|
));
|
|
6755
|
-
var ChartAnnotationSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
6761
|
+
var ChartAnnotationSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
6756
6762
|
{
|
|
6757
6763
|
surface: "this chart annotation",
|
|
6758
6764
|
history: "Until this shape was closed, an undeclared annotation key was dropped at parse and the reference line drew at the wrong place, in the default style, or not at all \u2014 while the annotation itself reported valid.",
|
|
@@ -6798,7 +6804,7 @@ var ChartAnnotationSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /*
|
|
|
6798
6804
|
style: zod.z.enum(["solid", "dashed", "dotted"]).default("dashed")
|
|
6799
6805
|
}
|
|
6800
6806
|
));
|
|
6801
|
-
var ChartInteractionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
6807
|
+
var ChartInteractionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
6802
6808
|
{
|
|
6803
6809
|
surface: "this chart interaction block",
|
|
6804
6810
|
history: "Until this shape was closed, an undeclared interaction key was dropped at parse \u2014 including the two removed with it, so an author who kept writing `zoom` after it was retired got exactly the same silence as before the removal.",
|
|
@@ -6818,7 +6824,7 @@ var ChartInteractionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /
|
|
|
6818
6824
|
brush: zod.z.boolean().default(false).describe("Show the range selector under the plot")
|
|
6819
6825
|
}
|
|
6820
6826
|
));
|
|
6821
|
-
var ChartDrillDownSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
6827
|
+
var ChartDrillDownSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
6822
6828
|
{
|
|
6823
6829
|
surface: "this chart drill-down block",
|
|
6824
6830
|
history: "Until this shape was closed, `drillDown` was not declared anywhere in this protocol at all \u2014 objectui's ObjectChart read it as an untyped `(schema as any).drillDown`, so every key inside it, right or wrong, reached the renderer unchecked and a misspelling was simply ignored at click time.",
|
|
@@ -6920,8 +6926,8 @@ var ChartDrillDownSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /*
|
|
|
6920
6926
|
maxRows: zod.z.number().int().positive().optional().describe("Rows per page in the drilled list")
|
|
6921
6927
|
}
|
|
6922
6928
|
));
|
|
6923
|
-
var STRUCTURE_KEY_NOTE = " Structure, not appearance \u2014 authorable where the chart has inline data; refused by name on a dataset-bound dashboard widget, where the dataset decides it (ADR-0021).";
|
|
6924
|
-
var ChartConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
6929
|
+
var STRUCTURE_KEY_NOTE = /* @__PURE__ */ (() => " Structure, not appearance \u2014 authorable where the chart has inline data; refused by name on a dataset-bound dashboard widget, where the dataset decides it (ADR-0021).")();
|
|
6930
|
+
var ChartConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
6925
6931
|
{
|
|
6926
6932
|
surface: "this chart config",
|
|
6927
6933
|
history: "Until this shape was closed, an undeclared chart key was dropped at parse and the chart rendered with the defaults it was written to override \u2014 the failure closing this shape exists for, on a shape reachable from both the dashboard and report metadata roots.",
|
|
@@ -7061,7 +7067,7 @@ var ChartAggregateFunctionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(
|
|
|
7061
7067
|
var ChartGroupBySchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(
|
|
7062
7068
|
() => zod.z.union([
|
|
7063
7069
|
zod.z.string().describe("Field to group by"),
|
|
7064
|
-
/* @__PURE__ */
|
|
7070
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
7065
7071
|
{
|
|
7066
7072
|
surface: "this chart groupBy",
|
|
7067
7073
|
history: "Until this shape was closed, an undeclared key inside the structured groupBy was dropped at parse \u2014 `dateGranularty` for `dateGranularity` cost the date bucketing silently, and the chart drew one point per raw timestamp.",
|
|
@@ -7108,7 +7114,7 @@ var ChartGroupBySchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(
|
|
|
7108
7114
|
])
|
|
7109
7115
|
);
|
|
7110
7116
|
var ChartAggregateSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(
|
|
7111
|
-
() => /* @__PURE__ */
|
|
7117
|
+
() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
7112
7118
|
{
|
|
7113
7119
|
surface: "this chart aggregate",
|
|
7114
7120
|
history: "Until this shape was closed, an undeclared aggregate key was dropped at parse \u2014 `groupby` for `groupBy` degraded the chart to a single ungrouped point, and `fn` for `function` fell back to the default, both with `build`/`validate` fully green.",
|
|
@@ -7159,8 +7165,8 @@ var ChartAggregateSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(
|
|
|
7159
7165
|
}
|
|
7160
7166
|
}).describe("Inline aggregation for an object-bound chart")
|
|
7161
7167
|
);
|
|
7162
|
-
var SHARING_HISTORY = "Until this shape was closed these were dropped silently \u2014 the form still published, without whatever the key was meant to open up, gate or expire.";
|
|
7163
|
-
var SharingConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
7168
|
+
var SHARING_HISTORY = /* @__PURE__ */ (() => "Until this shape was closed these were dropped silently \u2014 the form still published, without whatever the key was meant to open up, gate or expire.")();
|
|
7169
|
+
var SharingConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
7164
7170
|
surface: "this sharing config",
|
|
7165
7171
|
history: SHARING_HISTORY,
|
|
7166
7172
|
// Keys are matched case-insensitively with separators removed (`aliasProbe`),
|
|
@@ -7246,11 +7252,11 @@ var DATE_MACRO_ALIAS_TOKENS = [
|
|
|
7246
7252
|
"year_start",
|
|
7247
7253
|
"year_end"
|
|
7248
7254
|
];
|
|
7249
|
-
var DATE_MACRO_TOKENS = [
|
|
7255
|
+
var DATE_MACRO_TOKENS = /* @__PURE__ */ (() => [
|
|
7250
7256
|
...DATE_MACRO_INSTANT_TOKENS,
|
|
7251
7257
|
...DATE_MACRO_PERIOD_TOKENS,
|
|
7252
7258
|
...DATE_MACRO_ALIAS_TOKENS
|
|
7253
|
-
];
|
|
7259
|
+
])();
|
|
7254
7260
|
var PERIOD_KEY_TOKENS = [
|
|
7255
7261
|
"current_iso_week"
|
|
7256
7262
|
];
|
|
@@ -7279,17 +7285,17 @@ function parseDateMacroParam(token) {
|
|
|
7279
7285
|
direction: m[3]
|
|
7280
7286
|
};
|
|
7281
7287
|
}
|
|
7282
|
-
var DateMacroTokenSchema = zod.z.string().refine(isDateMacroToken, {
|
|
7288
|
+
var DateMacroTokenSchema = /* @__PURE__ */ (() => zod.z.string().refine(isDateMacroToken, {
|
|
7283
7289
|
message: "Unknown date macro. Must be a fixed token (see DATE_MACRO_TOKENS) or match {N_<unit>_(ago|from_now)} where unit is one of: " + DATE_MACRO_UNITS.join(", ")
|
|
7284
|
-
});
|
|
7290
|
+
}))();
|
|
7285
7291
|
var DATE_MACRO_WRAPPED_RE = /^\$?\{([a-zA-Z0-9_]+)\}$/;
|
|
7286
|
-
var DateMacroPlaceholderSchema = zod.z.string().refine(
|
|
7292
|
+
var DateMacroPlaceholderSchema = /* @__PURE__ */ (() => zod.z.string().refine(
|
|
7287
7293
|
(s) => {
|
|
7288
7294
|
const m = s.match(DATE_MACRO_WRAPPED_RE);
|
|
7289
7295
|
return !!m && isDateMacroToken(m[1]);
|
|
7290
7296
|
},
|
|
7291
7297
|
{ message: "Not a recognised {date-macro} placeholder" }
|
|
7292
|
-
);
|
|
7298
|
+
))();
|
|
7293
7299
|
var DATE_MACRO_DESCRIPTIONS = {
|
|
7294
7300
|
today: "Start of today (YYYY-MM-DD).",
|
|
7295
7301
|
yesterday: "Start of yesterday.",
|
|
@@ -7328,10 +7334,10 @@ var DATE_MACRO_DESCRIPTIONS = {
|
|
|
7328
7334
|
year_start: "Alias for current_year_start.",
|
|
7329
7335
|
year_end: "Alias for current_year_end."
|
|
7330
7336
|
};
|
|
7331
|
-
var PERIOD_KEY_TOKEN_DESCRIPTIONS = {
|
|
7337
|
+
var PERIOD_KEY_TOKEN_DESCRIPTIONS = /* @__PURE__ */ (() => ({
|
|
7332
7338
|
current_iso_week: "ISO-8601 week key of today in the workspace time zone (YYYY-Www, e.g. 2026-W47): Monday-start weeks, the ISO week-numbering year at the year edges. Text, not a date."
|
|
7333
|
-
};
|
|
7334
|
-
var HttpMethod = zod.z.enum([
|
|
7339
|
+
}))();
|
|
7340
|
+
var HttpMethod = /* @__PURE__ */ (() => zod.z.enum([
|
|
7335
7341
|
"GET",
|
|
7336
7342
|
"POST",
|
|
7337
7343
|
"PUT",
|
|
@@ -7339,7 +7345,7 @@ var HttpMethod = zod.z.enum([
|
|
|
7339
7345
|
"PATCH",
|
|
7340
7346
|
"HEAD",
|
|
7341
7347
|
"OPTIONS"
|
|
7342
|
-
]).describe("HTTP method \u2014 the full routing vocabulary (`api/*` endpoints, router and REST-server routes). The narrower `HttpMethodSubset` is what view data sources may request.");
|
|
7348
|
+
]).describe("HTTP method \u2014 the full routing vocabulary (`api/*` endpoints, router and REST-server routes). The narrower `HttpMethodSubset` is what view data sources may request."))();
|
|
7343
7349
|
var HttpMethodSubsetSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.enum(["GET", "POST", "PUT", "PATCH", "DELETE"]).describe("HTTP methods a view data source may request \u2014 the subset of `HttpMethod` without `HEAD`/`OPTIONS`."));
|
|
7344
7350
|
var HttpRequestSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.object({
|
|
7345
7351
|
url: zod.z.string().describe("API endpoint URL"),
|
|
@@ -7377,7 +7383,7 @@ var CorsConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.o
|
|
|
7377
7383
|
// reading between this config and the header it emits.
|
|
7378
7384
|
maxAge: zod.z.number().int().optional().describe("Preflight cache duration in seconds").meta({ externalVocabulary: "CORS `Access-Control-Max-Age` (WHATWG Fetch)" })
|
|
7379
7385
|
}));
|
|
7380
|
-
var RateLimitConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
7386
|
+
var RateLimitConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject(
|
|
7381
7387
|
{
|
|
7382
7388
|
surface: "this rate-limit budget (`server.security.rateLimit`, or an endpoint's `rateLimit`)",
|
|
7383
7389
|
history: "Until this shape was closed, an unknown key here was accepted and dropped wherever the budget is mounted bare \u2014 an endpoint whose budget was misspelled metered at the defaults and said nothing. On `server.security.rateLimit` an unknown key was never accepted.",
|
|
@@ -7422,9 +7428,109 @@ var StaticMountSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.
|
|
|
7422
7428
|
*/
|
|
7423
7429
|
cacheControl: zod.z.string().optional().describe("Cache-Control header value")
|
|
7424
7430
|
}));
|
|
7425
|
-
|
|
7431
|
+
|
|
7432
|
+
// src/ui/anonymous-form-intake.ts
|
|
7433
|
+
function publicFormSlug(publicLink) {
|
|
7434
|
+
return publicLink.replace(/^\/+/, "").replace(/^forms\//, "");
|
|
7435
|
+
}
|
|
7436
|
+
function anonymousFormIntakeSlug(sharing) {
|
|
7437
|
+
if (!sharing || typeof sharing !== "object") return null;
|
|
7438
|
+
const s = sharing;
|
|
7439
|
+
if (s.enabled !== true) return null;
|
|
7440
|
+
if (s.allowAnonymous !== true) return null;
|
|
7441
|
+
if (typeof s.publicLink !== "string" || !s.publicLink) return null;
|
|
7442
|
+
return publicFormSlug(s.publicLink);
|
|
7443
|
+
}
|
|
7444
|
+
function anonymousFormObjectName(view, form) {
|
|
7445
|
+
const v = view && typeof view === "object" ? view : {};
|
|
7446
|
+
const f = form && typeof form === "object" ? form : {};
|
|
7447
|
+
return f.data?.object ?? v.list?.data?.object ?? v.form?.data?.object ?? v.object;
|
|
7448
|
+
}
|
|
7449
|
+
function anonymousFormIntakeCandidates(view) {
|
|
7450
|
+
if (!view || typeof view !== "object") return [];
|
|
7451
|
+
const v = view;
|
|
7452
|
+
const forms = [];
|
|
7453
|
+
if (v.form && typeof v.form === "object") forms.push({ form: v.form });
|
|
7454
|
+
if (v.formViews && typeof v.formViews === "object") {
|
|
7455
|
+
for (const [key, fv] of Object.entries(v.formViews)) forms.push({ form: fv, key });
|
|
7456
|
+
}
|
|
7457
|
+
if (v.viewKind === "form" && v.config && typeof v.config === "object") {
|
|
7458
|
+
forms.push({ form: v.config, key: v.name });
|
|
7459
|
+
}
|
|
7460
|
+
const open = [];
|
|
7461
|
+
for (const { form, key } of forms) {
|
|
7462
|
+
if (!form || typeof form !== "object") continue;
|
|
7463
|
+
const slug = anonymousFormIntakeSlug(form.sharing);
|
|
7464
|
+
if (slug === null) continue;
|
|
7465
|
+
open.push({ form, ...key !== void 0 ? { key } : {}, slug });
|
|
7466
|
+
}
|
|
7467
|
+
return open;
|
|
7468
|
+
}
|
|
7469
|
+
function anonymousFormIntakeSlugs(view) {
|
|
7470
|
+
return [...new Set(anonymousFormIntakeCandidates(view).map((c) => c.slug))].sort();
|
|
7471
|
+
}
|
|
7472
|
+
function anonymousFormSlot(view, candidate) {
|
|
7473
|
+
if (candidate.form === view.form) return "form";
|
|
7474
|
+
if (candidate.key !== void 0 && view.formViews?.[candidate.key] === candidate.form) {
|
|
7475
|
+
return `formViews:${candidate.key}`;
|
|
7476
|
+
}
|
|
7477
|
+
return "config";
|
|
7478
|
+
}
|
|
7479
|
+
function anonymousFormExplicitWithdrawals(view) {
|
|
7480
|
+
if (!view || typeof view !== "object") return [];
|
|
7481
|
+
const v = view;
|
|
7482
|
+
const forms = [];
|
|
7483
|
+
if (v.form && typeof v.form === "object") forms.push({ slot: "form", form: v.form });
|
|
7484
|
+
if (v.formViews && typeof v.formViews === "object") {
|
|
7485
|
+
for (const [key, fv] of Object.entries(v.formViews)) forms.push({ slot: `formViews:${key}`, form: fv });
|
|
7486
|
+
}
|
|
7487
|
+
if (v.viewKind === "form" && v.config && typeof v.config === "object") forms.push({ slot: "config", form: v.config });
|
|
7488
|
+
const out = [];
|
|
7489
|
+
for (const { slot, form } of forms) {
|
|
7490
|
+
const sharing = form && typeof form === "object" ? form.sharing : void 0;
|
|
7491
|
+
if (!sharing || typeof sharing !== "object") continue;
|
|
7492
|
+
const s = sharing;
|
|
7493
|
+
if (typeof s.publicLink !== "string" || !s.publicLink) continue;
|
|
7494
|
+
if (s.enabled !== false && s.allowAnonymous !== false) continue;
|
|
7495
|
+
out.push({ slot, slug: publicFormSlug(s.publicLink) });
|
|
7496
|
+
}
|
|
7497
|
+
return out;
|
|
7498
|
+
}
|
|
7499
|
+
function anonymousFormIntakeWithdrawnIn(layer, view, candidate) {
|
|
7500
|
+
if (!view || typeof view !== "object") return false;
|
|
7501
|
+
const v = view;
|
|
7502
|
+
const name = typeof v.name === "string" && v.name ? v.name : void 0;
|
|
7503
|
+
if (name === void 0) return false;
|
|
7504
|
+
const slot = anonymousFormSlot(v, candidate);
|
|
7505
|
+
for (const other of layer) {
|
|
7506
|
+
if (!other || typeof other !== "object") continue;
|
|
7507
|
+
if (other.name !== name) continue;
|
|
7508
|
+
for (const w of anonymousFormExplicitWithdrawals(other)) {
|
|
7509
|
+
if (w.slot === slot || w.slug === candidate.slug) return true;
|
|
7510
|
+
}
|
|
7511
|
+
}
|
|
7512
|
+
return false;
|
|
7513
|
+
}
|
|
7514
|
+
function formExplicitlyWithdraws(form) {
|
|
7515
|
+
const sharing = form?.sharing;
|
|
7516
|
+
if (!sharing || typeof sharing !== "object") return void 0;
|
|
7517
|
+
const s = sharing;
|
|
7518
|
+
if (typeof s.publicLink !== "string" || !s.publicLink) return void 0;
|
|
7519
|
+
if (s.enabled !== false && s.allowAnonymous !== false) return void 0;
|
|
7520
|
+
return publicFormSlug(s.publicLink);
|
|
7521
|
+
}
|
|
7522
|
+
|
|
7523
|
+
// src/ui/view-container-object.ts
|
|
7524
|
+
function deriveViewContainerObject(container) {
|
|
7525
|
+
if (!container || typeof container !== "object") return void 0;
|
|
7526
|
+
const c = container;
|
|
7527
|
+
const own = typeof c.object === "string" && c.object ? c.object : void 0;
|
|
7528
|
+
const byName = typeof c.name === "string" && c.name ? c.name : void 0;
|
|
7529
|
+
return own ?? c?.list?.data?.object ?? c?.form?.data?.object ?? byName;
|
|
7530
|
+
}
|
|
7531
|
+
var SectionGroupKeySchema = /* @__PURE__ */ (() => zod.z.string().regex(FIELD_GROUP_KEY_PATTERN, {
|
|
7426
7532
|
message: 'Field group key must be lowercase snake_case (e.g., "contact_info", "billing", "system")'
|
|
7427
|
-
});
|
|
7533
|
+
}))();
|
|
7428
7534
|
function sectionGroupReferenceRefinement(options) {
|
|
7429
7535
|
const { surface, derivedKeys, trueOnlyDerivedKeys = [] } = options;
|
|
7430
7536
|
return (section, ctx) => {
|
|
@@ -7465,33 +7571,33 @@ function derivedKeyMessage(key, groupKey, surface) {
|
|
|
7465
7571
|
|
|
7466
7572
|
// src/shared/scale-ceiling.ts
|
|
7467
7573
|
var MAX_RENDERABLE_SCALE2 = 100;
|
|
7468
|
-
var SCALE_UPPER_BOUND_MESSAGE2 = "Decimal places cannot exceed " + MAX_RENDERABLE_SCALE2 + " \u2014 the limit is the renderers', not a policy: every consumer turns `scale` into fraction digits, and both `Number.prototype.toFixed` and `Intl.NumberFormat`'s `maximumFractionDigits` throw a RangeError above " + MAX_RENDERABLE_SCALE2 + ", so a larger declaration is unrenderable rather than merely large. Declare at most " + MAX_RENDERABLE_SCALE2 + " (an IEEE-754 double carries ~17 significant digits, so a meaningful display precision is far below it).";
|
|
7574
|
+
var SCALE_UPPER_BOUND_MESSAGE2 = /* @__PURE__ */ (() => "Decimal places cannot exceed " + MAX_RENDERABLE_SCALE2 + " \u2014 the limit is the renderers', not a policy: every consumer turns `scale` into fraction digits, and both `Number.prototype.toFixed` and `Intl.NumberFormat`'s `maximumFractionDigits` throw a RangeError above " + MAX_RENDERABLE_SCALE2 + ", so a larger declaration is unrenderable rather than merely large. Declare at most " + MAX_RENDERABLE_SCALE2 + " (an IEEE-754 double carries ~17 significant digits, so a meaningful display precision is far below it).")();
|
|
7469
7575
|
|
|
7470
7576
|
// src/ui/view-history.ts
|
|
7471
|
-
var VIEW_HISTORY = "Until these shapes were closed an unknown key was dropped silently \u2014 the view still rendered, without whatever the key was meant to configure.";
|
|
7472
|
-
var LIST_VIEW_EXPORT_PDF_RETIRED = "'pdf' was removed from `view.exportOptions` formats in @objectstack/spec 17.0.0 \u2014 no renderer has ever produced a PDF export: ObjectGrid dropped the declared format from the export menu with only a runtime console.warn, so authoring it was a parse-clean no-op. Delete the value; the surviving formats are 'csv', 'xlsx' and 'json'. A list export does not produce documents: to let users print a list as shown, set the view's `allowPrinting`; a printable document (an invoice, a delivery order, a letter) is a page that declares `print` \u2014 its paper, margins and running header and footer \u2014 with its blocks in `regions`. This edit left `os migrate meta` with the protocol-16.x conversions: apply it by hand, or run the tool on a release that still carries the conversion \u2014 https://objectstack.ai/docs/protocol-upgrade.";
|
|
7473
|
-
var ListViewExportFormatSchema = zod.z.enum(["csv", "xlsx", "json"], {
|
|
7577
|
+
var VIEW_HISTORY = /* @__PURE__ */ (() => "Until these shapes were closed an unknown key was dropped silently \u2014 the view still rendered, without whatever the key was meant to configure.")();
|
|
7578
|
+
var LIST_VIEW_EXPORT_PDF_RETIRED = /* @__PURE__ */ (() => "'pdf' was removed from `view.exportOptions` formats in @objectstack/spec 17.0.0 \u2014 no renderer has ever produced a PDF export: ObjectGrid dropped the declared format from the export menu with only a runtime console.warn, so authoring it was a parse-clean no-op. Delete the value; the surviving formats are 'csv', 'xlsx' and 'json'. A list export does not produce documents: to let users print a list as shown, set the view's `allowPrinting`; a printable document (an invoice, a delivery order, a letter) is a page that declares `print` \u2014 its paper, margins and running header and footer \u2014 with its blocks in `regions`. This edit left `os migrate meta` with the protocol-16.x conversions: apply it by hand, or run the tool on a release that still carries the conversion \u2014 https://objectstack.ai/docs/protocol-upgrade.")();
|
|
7579
|
+
var ListViewExportFormatSchema = /* @__PURE__ */ (() => zod.z.enum(["csv", "xlsx", "json"], {
|
|
7474
7580
|
error: (issue) => issue.input === "pdf" ? LIST_VIEW_EXPORT_PDF_RETIRED : void 0
|
|
7475
|
-
});
|
|
7476
|
-
var LIST_VIEW_EXPORT_OPTIONS_ARRAY_FORM = "Expected the export options object `{ formats?, maxRecords?, includeHeaders?, fileNamePrefix?, streaming? }`, received a bare array. Put the format list in `formats`: `{ formats: ['csv', 'xlsx'] }`.";
|
|
7477
|
-
var LIST_VIEW_EXPORT_OPTIONS_SHAPE = {
|
|
7581
|
+
}))();
|
|
7582
|
+
var LIST_VIEW_EXPORT_OPTIONS_ARRAY_FORM = /* @__PURE__ */ (() => "Expected the export options object `{ formats?, maxRecords?, includeHeaders?, fileNamePrefix?, streaming? }`, received a bare array. Put the format list in `formats`: `{ formats: ['csv', 'xlsx'] }`.")();
|
|
7583
|
+
var LIST_VIEW_EXPORT_OPTIONS_SHAPE = /* @__PURE__ */ (() => ({
|
|
7478
7584
|
formats: zod.z.array(ListViewExportFormatSchema).optional().describe("Formats offered in the export menu (default: ['csv', 'json']). XLSX is delivered by the server stream only."),
|
|
7479
7585
|
maxRecords: zod.z.number().int().nonnegative().optional().describe("Maximum number of records to export; 0 or absent = unlimited"),
|
|
7480
7586
|
includeHeaders: zod.z.boolean().optional().describe("Include column headers in the exported file (default true)"),
|
|
7481
7587
|
fileNamePrefix: zod.z.string().optional().describe("Download file name prefix \u2014 replaces the object label and suppresses the view label in the generated file name"),
|
|
7482
7588
|
streaming: zod.z.boolean().optional().describe("Set false to force the client-side export path (csv/json only) instead of the server stream")
|
|
7483
|
-
};
|
|
7484
|
-
var exportOptionsUnknownKeyError =
|
|
7589
|
+
}))();
|
|
7590
|
+
var exportOptionsUnknownKeyError = /* @__PURE__ */ (() => chunkBJHX3SZO_js.strictObjectError({
|
|
7485
7591
|
surface: "this export options block",
|
|
7486
7592
|
history: VIEW_HISTORY
|
|
7487
|
-
}, LIST_VIEW_EXPORT_OPTIONS_SHAPE);
|
|
7488
|
-
var ListViewExportOptionsSchema =
|
|
7593
|
+
}, LIST_VIEW_EXPORT_OPTIONS_SHAPE))();
|
|
7594
|
+
var ListViewExportOptionsSchema = /* @__PURE__ */ (() => chunkBJHX3SZO_js.closedObject(zod.z.object(LIST_VIEW_EXPORT_OPTIONS_SHAPE, {
|
|
7489
7595
|
error: Object.assign(
|
|
7490
7596
|
(issue) => issue.code === "invalid_type" && Array.isArray(issue.input) ? LIST_VIEW_EXPORT_OPTIONS_ARRAY_FORM : exportOptionsUnknownKeyError(issue),
|
|
7491
7597
|
{ prime: () => exportOptionsUnknownKeyError.prime?.() }
|
|
7492
7598
|
)
|
|
7493
|
-
}).strict());
|
|
7494
|
-
var ReportExportFormatSchema = ListViewExportFormatSchema.exclude(["json"], {
|
|
7599
|
+
}).strict()))();
|
|
7600
|
+
var ReportExportFormatSchema = /* @__PURE__ */ (() => ListViewExportFormatSchema.exclude(["json"], {
|
|
7495
7601
|
error: (issue) => {
|
|
7496
7602
|
if (issue.input === "json") {
|
|
7497
7603
|
return "a report exports its table as 'csv' or 'xlsx'. 'json' is a list export's record format, and a report's rows are aggregates with no record shape to write. Use 'csv' or 'xlsx'.";
|
|
@@ -7501,31 +7607,31 @@ var ReportExportFormatSchema = ListViewExportFormatSchema.exclude(["json"], {
|
|
|
7501
7607
|
}
|
|
7502
7608
|
return void 0;
|
|
7503
7609
|
}
|
|
7504
|
-
});
|
|
7505
|
-
var REPORT_EXPORT_RECORD_STREAM_MEMBER = "is a list export's record-stream member, and a report has none: its rows are already aggregated and bounded by what the report selects, and its file is written from the table as drawn. Delete it.";
|
|
7506
|
-
var REPORT_EXPORT_OPTIONS_ARRAY_FORM = "Expected the report export options object `{ formats?, includeHeaders?, fileNamePrefix? }`, received a bare array. Put the format list in `formats`: `{ formats: ['csv', 'xlsx'] }`.";
|
|
7507
|
-
var REPORT_EXPORT_OPTIONS_SHAPE = {
|
|
7610
|
+
}))();
|
|
7611
|
+
var REPORT_EXPORT_RECORD_STREAM_MEMBER = /* @__PURE__ */ (() => "is a list export's record-stream member, and a report has none: its rows are already aggregated and bounded by what the report selects, and its file is written from the table as drawn. Delete it.")();
|
|
7612
|
+
var REPORT_EXPORT_OPTIONS_ARRAY_FORM = /* @__PURE__ */ (() => "Expected the report export options object `{ formats?, includeHeaders?, fileNamePrefix? }`, received a bare array. Put the format list in `formats`: `{ formats: ['csv', 'xlsx'] }`.")();
|
|
7613
|
+
var REPORT_EXPORT_OPTIONS_SHAPE = /* @__PURE__ */ (() => ({
|
|
7508
7614
|
formats: zod.z.array(ReportExportFormatSchema).optional().describe("Formats the report's export control offers (default: ['csv', 'xlsx']); an empty list turns the control off"),
|
|
7509
7615
|
includeHeaders: LIST_VIEW_EXPORT_OPTIONS_SHAPE.includeHeaders,
|
|
7510
7616
|
fileNamePrefix: LIST_VIEW_EXPORT_OPTIONS_SHAPE.fileNamePrefix.describe("Download file name prefix \u2014 replaces the report label in the generated file name")
|
|
7511
|
-
};
|
|
7512
|
-
var reportExportOptionsUnknownKeyError =
|
|
7617
|
+
}))();
|
|
7618
|
+
var reportExportOptionsUnknownKeyError = /* @__PURE__ */ (() => chunkBJHX3SZO_js.strictObjectError({
|
|
7513
7619
|
surface: "this report export options block",
|
|
7514
7620
|
history: "Declared closed from its first day: an unrecognized key is refused, never dropped.",
|
|
7515
7621
|
guidance: {
|
|
7516
7622
|
maxRecords: `\`maxRecords\` ${REPORT_EXPORT_RECORD_STREAM_MEMBER}`,
|
|
7517
7623
|
streaming: `\`streaming\` ${REPORT_EXPORT_RECORD_STREAM_MEMBER}`
|
|
7518
7624
|
}
|
|
7519
|
-
}, REPORT_EXPORT_OPTIONS_SHAPE);
|
|
7520
|
-
var ReportExportOptionsSchema =
|
|
7625
|
+
}, REPORT_EXPORT_OPTIONS_SHAPE))();
|
|
7626
|
+
var ReportExportOptionsSchema = /* @__PURE__ */ (() => chunkBJHX3SZO_js.closedObject(zod.z.object(REPORT_EXPORT_OPTIONS_SHAPE, {
|
|
7521
7627
|
error: Object.assign(
|
|
7522
7628
|
(issue) => issue.code === "invalid_type" && Array.isArray(issue.input) ? REPORT_EXPORT_OPTIONS_ARRAY_FORM : reportExportOptionsUnknownKeyError(issue),
|
|
7523
7629
|
{ prime: () => reportExportOptionsUnknownKeyError.prime?.() }
|
|
7524
7630
|
)
|
|
7525
|
-
}).strict());
|
|
7631
|
+
}).strict()))();
|
|
7526
7632
|
|
|
7527
7633
|
// src/ui/audience-required-permissions.ts
|
|
7528
|
-
var AUDIENCE_REQUIRED_PERMISSIONS_DESCRIPTION = "[ADR-0066] Capabilities a user must ALL hold for this list view or dashboard to be served to them \u2014 names that permission sets grant through `systemPermissions`, the same list as `requiredPermissions` on an app, a navigation item or an action. Absent or empty: no audience gate. There is no any-of form: to serve one item to several audiences (legal OR admin), declare one capability and grant it to each of their permission sets. The server enforces it: a user who does not hold them all is not listed the item and is refused it by name; a view container's list views are pruned the same way, and so are an object's own list views for a user who may not edit the object.";
|
|
7634
|
+
var AUDIENCE_REQUIRED_PERMISSIONS_DESCRIPTION = /* @__PURE__ */ (() => "[ADR-0066] Capabilities a user must ALL hold for this list view or dashboard to be served to them \u2014 names that permission sets grant through `systemPermissions`, the same list as `requiredPermissions` on an app, a navigation item or an action. Absent or empty: no audience gate. There is no any-of form: to serve one item to several audiences (legal OR admin), declare one capability and grant it to each of their permission sets. The server enforces it: a user who does not hold them all is not listed the item and is refused it by name; a view container's list views are pruned the same way, and so are an object's own list views for a user who may not edit the object.")();
|
|
7529
7635
|
|
|
7530
7636
|
// src/ui/navigation-target.ts
|
|
7531
7637
|
var ADMITTED_SCHEMES = {
|
|
@@ -7535,11 +7641,11 @@ var ADMITTED_SCHEMES = {
|
|
|
7535
7641
|
};
|
|
7536
7642
|
var SCHEME_RE = /^([a-z][a-z0-9+.-]*):/i;
|
|
7537
7643
|
var PARSER_DELETED_RE = /[\t\n\r]/;
|
|
7538
|
-
var ADMITTED_FORMS = (() => {
|
|
7644
|
+
var ADMITTED_FORMS = /* @__PURE__ */ (() => (() => {
|
|
7539
7645
|
const forms = Object.entries(ADMITTED_SCHEMES).map(([scheme, after]) => `\`${scheme}:${after}\``);
|
|
7540
7646
|
return forms.length < 2 ? forms.join("") : `${forms.slice(0, -1).join(", ")} or ${forms[forms.length - 1]}`;
|
|
7541
|
-
})();
|
|
7542
|
-
var ADMITTED_SET_SENTENCE = `Write an address that opens with ${ADMITTED_FORMS} (an \`http(s)://\` URL or a \`mailto:\` address), or an in-app path that starts with \`/\` or \`./\`, such as \`/thanks\`. A target that opens with \`\${\u2026}\` is checked when it is clicked, after interpolation
|
|
7647
|
+
})())();
|
|
7648
|
+
var ADMITTED_SET_SENTENCE = /* @__PURE__ */ (() => `Write an address that opens with ${ADMITTED_FORMS} (an \`http(s)://\` URL or a \`mailto:\` address), or an in-app path that starts with \`/\` or \`./\`, such as \`/thanks\`. A target that opens with \`\${\u2026}\` is checked when it is clicked, after interpolation.`)();
|
|
7543
7649
|
function navigationTargetRefusal(raw, subject) {
|
|
7544
7650
|
if (raw.startsWith("${")) return void 0;
|
|
7545
7651
|
if (PARSER_DELETED_RE.test(raw)) {
|
|
@@ -7568,9 +7674,9 @@ function navigationTargetRefusal(raw, subject) {
|
|
|
7568
7674
|
}
|
|
7569
7675
|
|
|
7570
7676
|
// src/ui/view.zod.ts
|
|
7571
|
-
var VIEW_DATA_API_PROVIDER_RETIRED = "`view.data.provider: 'api'` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) \u2014 a view-level API source took any `url` and any `headers`, so a credential or a cross-origin call written there was stored with the view, served to every client that read it and sent by the console as written; a metadata-declared API call now has one door, the page element's binding, which is same-origin and credential-free. Bind the view to its object \u2014 `data: { provider: 'object', object: '<object_name>' }` \u2014 or to static rows \u2014 `data: { provider: 'value', items: [...] }` \u2014 and move the API read onto a page component: `dataSource: { provider: 'api', read: { url: '/api/...' } }` (with an optional `path` into the response) under a page's `regions[].components[]`, which the console reads with its own signed-in fetch.";
|
|
7677
|
+
var VIEW_DATA_API_PROVIDER_RETIRED = /* @__PURE__ */ (() => "`view.data.provider: 'api'` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) \u2014 a view-level API source took any `url` and any `headers`, so a credential or a cross-origin call written there was stored with the view, served to every client that read it and sent by the console as written; a metadata-declared API call now has one door, the page element's binding, which is same-origin and credential-free. Bind the view to its object \u2014 `data: { provider: 'object', object: '<object_name>' }` \u2014 or to static rows \u2014 `data: { provider: 'value', items: [...] }` \u2014 and move the API read onto a page component: `dataSource: { provider: 'api', read: { url: '/api/...' } }` (with an optional `path` into the response) under a page's `regions[].components[]`, which the console reads with its own signed-in fetch.")();
|
|
7572
7678
|
var ViewDataSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.discriminatedUnion("provider", [
|
|
7573
|
-
/* @__PURE__ */
|
|
7679
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
7574
7680
|
surface: "this `object` data source",
|
|
7575
7681
|
history: VIEW_HISTORY,
|
|
7576
7682
|
// `objectName` is the canonical spelling on the QUERY surface
|
|
@@ -7589,7 +7695,7 @@ var ViewDataSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.dis
|
|
|
7589
7695
|
// The `api` arm — `{ provider: 'api', read?: HttpRequest, write?: HttpRequest }`
|
|
7590
7696
|
// — was REMOVED here; see `VIEW_DATA_API_PROVIDER_RETIRED` above for what
|
|
7591
7697
|
// replaces it and the union's `error` map below for how an author meets it.
|
|
7592
|
-
/* @__PURE__ */
|
|
7698
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
7593
7699
|
surface: "this `value` data source",
|
|
7594
7700
|
history: VIEW_HISTORY,
|
|
7595
7701
|
// `data`/`rows`/`records` are the words the surrounding surfaces use for a
|
|
@@ -7605,7 +7711,7 @@ var ViewDataSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.dis
|
|
|
7605
7711
|
* ObjectQL object. Powers the metadata editor, action input dialogs,
|
|
7606
7712
|
* and any Form that is not bound to a CRUD object.
|
|
7607
7713
|
*/
|
|
7608
|
-
/* @__PURE__ */
|
|
7714
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
7609
7715
|
surface: "this `schema` data source",
|
|
7610
7716
|
history: VIEW_HISTORY,
|
|
7611
7717
|
// `schemaId` and `schema` are one key apart in prose but not in edit
|
|
@@ -7712,10 +7818,10 @@ function normalizeFilterOperator(op) {
|
|
|
7712
7818
|
var VIEW_CONSOLE_ROW_DECORATIONS = ["id"];
|
|
7713
7819
|
var VIEW_DECORATED_ROW_CARRIERS = ["filter", "sort"];
|
|
7714
7820
|
var VIEW_DECORATION_MAX_DEPTH = 12;
|
|
7715
|
-
var VIEW_CONSOLE_ROW_ID_GUIDANCE = "`id` is a console row key (the filter/sort builders stamp a `crypto.randomUUID()` per row for React) \u2014 it is not part of the authoring contract, and the write path removes it before validating. Delete it from authored metadata.";
|
|
7821
|
+
var VIEW_CONSOLE_ROW_ID_GUIDANCE = /* @__PURE__ */ (() => "`id` is a console row key (the filter/sort builders stamp a `crypto.randomUUID()` per row for React) \u2014 it is not part of the authoring contract, and the write path removes it before validating. Delete it from authored metadata.")();
|
|
7716
7822
|
var VIEW_FILTER_OR_GROUP_KEY = "or";
|
|
7717
|
-
var VIEW_FILTER_NESTED_GROUP_GUIDANCE = "an any-of group cannot hold another group \u2014 its members are flat rules `{ field, operator, value }`. Move the inner group's rules into this group (any of them may match), or write the inner group as its own element of the filter list, where it ANDs with the others.";
|
|
7718
|
-
var VIEW_FILTER_OR_SPELLING = 'a view filter writes "any of" as `{ or: [rule, ...] }`, its own element of the filter list, whose flat rules `{ field, operator, value }` match when ANY of them does; the list still ANDs its elements. There is no `$or`, `any`, `anyOf`, `logic` or `conditions` key on a filter rule.';
|
|
7823
|
+
var VIEW_FILTER_NESTED_GROUP_GUIDANCE = /* @__PURE__ */ (() => "an any-of group cannot hold another group \u2014 its members are flat rules `{ field, operator, value }`. Move the inner group's rules into this group (any of them may match), or write the inner group as its own element of the filter list, where it ANDs with the others.")();
|
|
7824
|
+
var VIEW_FILTER_OR_SPELLING = /* @__PURE__ */ (() => 'a view filter writes "any of" as `{ or: [rule, ...] }`, its own element of the filter list, whose flat rules `{ field, operator, value }` match when ANY of them does; the list still ANDs its elements. There is no `$or`, `any`, `anyOf`, `logic` or `conditions` key on a filter rule.')();
|
|
7719
7825
|
var VIEW_FILTER_OR_SPELLING_GUIDANCE = {
|
|
7720
7826
|
$or: VIEW_FILTER_OR_SPELLING,
|
|
7721
7827
|
any: VIEW_FILTER_OR_SPELLING,
|
|
@@ -7723,7 +7829,7 @@ var VIEW_FILTER_OR_SPELLING_GUIDANCE = {
|
|
|
7723
7829
|
logic: VIEW_FILTER_OR_SPELLING,
|
|
7724
7830
|
conditions: VIEW_FILTER_OR_SPELLING
|
|
7725
7831
|
};
|
|
7726
|
-
var VIEW_FILTER_GROUP_STRAY_RULE_KEY_GUIDANCE = "an any-of group holds only `or`, the array of its rules \u2014 a rule key beside it belongs to a rule. Put the rule inside `or` (any of the group's rules may match), or write it as its own element of the filter list, where it ANDs with the group.";
|
|
7832
|
+
var VIEW_FILTER_GROUP_STRAY_RULE_KEY_GUIDANCE = /* @__PURE__ */ (() => "an any-of group holds only `or`, the array of its rules \u2014 a rule key beside it belongs to a rule. Put the rule inside `or` (any of the group's rules may match), or write it as its own element of the filter list, where it ANDs with the group.")();
|
|
7727
7833
|
function stripRowDecorations(value, isRow, depth) {
|
|
7728
7834
|
if (depth > VIEW_DECORATION_MAX_DEPTH || !value || typeof value !== "object") return value;
|
|
7729
7835
|
if (Array.isArray(value)) {
|
|
@@ -7837,7 +7943,7 @@ function checkViewFilterRuleTextComparand(rule, ctx) {
|
|
|
7837
7943
|
function foldAuthoredViewFilterOperator(op) {
|
|
7838
7944
|
return normalizeFilterOperator(op);
|
|
7839
7945
|
}
|
|
7840
|
-
var ViewFilterRuleSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
7946
|
+
var ViewFilterRuleSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
7841
7947
|
surface: "this filter rule",
|
|
7842
7948
|
history: VIEW_HISTORY,
|
|
7843
7949
|
guidance: {
|
|
@@ -7878,7 +7984,7 @@ var ViewFilterRuleSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /*
|
|
|
7878
7984
|
function isViewFilterOrGroup(value) {
|
|
7879
7985
|
return typeof value === "object" && value !== null && !Array.isArray(value) && Object.prototype.hasOwnProperty.call(value, VIEW_FILTER_OR_GROUP_KEY);
|
|
7880
7986
|
}
|
|
7881
|
-
var ViewFilterOrGroupSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
7987
|
+
var ViewFilterOrGroupSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
7882
7988
|
surface: "this any-of filter group",
|
|
7883
7989
|
history: VIEW_HISTORY,
|
|
7884
7990
|
guidance: {
|
|
@@ -7938,21 +8044,21 @@ var ColumnSummarySchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.
|
|
|
7938
8044
|
// above; `.describe()` prose reaches readers who cannot resolve an issue id.
|
|
7939
8045
|
`Aggregation function for the column footer summary \u2014 and, on a grouped list view, the per-group header summary (server-side): count (COUNT(*), the group count), count_unique (count_distinct), sum, avg, min, max map onto the query AST's AggregationFunction; count_filled, count_empty, percent_filled, percent_empty derive from one COUNT(field) node (the non-null count) and the group count \u2014 count_filled = COUNT(field), count_empty = count \u2212 COUNT(field), percent_filled = COUNT(field) / count (0 when count is 0), percent_empty = 1 \u2212 percent_filled. count_true and count_false are a boolean column's yes and no counts, boolean fields only \u2014 count_true = SUM(field), count_false = COUNT(field) \u2212 SUM(field); a null cell is neither. Server-side "empty" is null on every face; the footer's client-side reading of empty strings and empty arrays as empty is the renderer's to converge`
|
|
7940
8046
|
));
|
|
7941
|
-
var ColumnSummaryConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8047
|
+
var ColumnSummaryConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
7942
8048
|
surface: "this column summary configuration",
|
|
7943
8049
|
history: VIEW_HISTORY
|
|
7944
8050
|
}, {
|
|
7945
8051
|
type: ColumnSummarySchema.describe("Aggregation function"),
|
|
7946
8052
|
field: zod.z.string().optional().describe("Field to aggregate (defaults to the column field)")
|
|
7947
8053
|
}).describe("Column footer summary configuration"));
|
|
7948
|
-
var ColumnPrefixSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8054
|
+
var ColumnPrefixSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
7949
8055
|
surface: "this column prefix",
|
|
7950
8056
|
history: VIEW_HISTORY
|
|
7951
8057
|
}, {
|
|
7952
8058
|
field: zod.z.string().describe("Field whose value renders before the cell value"),
|
|
7953
8059
|
type: zod.z.enum(["badge", "text"]).default("text").describe("How the prefix value is rendered")
|
|
7954
8060
|
}).describe("Compound-cell prefix configuration"));
|
|
7955
|
-
var ListColumnSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8061
|
+
var ListColumnSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
7956
8062
|
surface: "this list column",
|
|
7957
8063
|
history: VIEW_HISTORY
|
|
7958
8064
|
}, {
|
|
@@ -7975,13 +8081,13 @@ var ListColumnSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__P
|
|
|
7975
8081
|
link: zod.z.boolean().optional().describe("Functions as the primary navigation link (triggers View navigation)").meta({ title: "Primary Link" }),
|
|
7976
8082
|
action: zod.z.string().optional().describe("Registered Action ID to execute when clicked").meta({ title: "Click Action" })
|
|
7977
8083
|
}));
|
|
7978
|
-
var SelectionConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8084
|
+
var SelectionConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
7979
8085
|
surface: "this selection configuration",
|
|
7980
8086
|
history: VIEW_HISTORY
|
|
7981
8087
|
}, {
|
|
7982
8088
|
type: zod.z.enum(["none", "single", "multiple"]).default("none").describe("Selection mode")
|
|
7983
8089
|
}));
|
|
7984
|
-
var PaginationConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8090
|
+
var PaginationConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
7985
8091
|
surface: "this pagination configuration",
|
|
7986
8092
|
history: VIEW_HISTORY
|
|
7987
8093
|
}, {
|
|
@@ -8030,7 +8136,7 @@ var groupByFieldCheck = (view) => (raw, ctx) => {
|
|
|
8030
8136
|
const refusal = checkGroupByFieldName(raw, view);
|
|
8031
8137
|
if (refusal) ctx.addIssue({ code: "custom", message: refusal });
|
|
8032
8138
|
};
|
|
8033
|
-
var GroupingFieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8139
|
+
var GroupingFieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8034
8140
|
surface: "this grouping field",
|
|
8035
8141
|
history: VIEW_HISTORY
|
|
8036
8142
|
}, {
|
|
@@ -8048,7 +8154,7 @@ var GroupingFieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @
|
|
|
8048
8154
|
),
|
|
8049
8155
|
collapsed: zod.z.boolean().default(false).describe("Collapse groups by default (presentation only)")
|
|
8050
8156
|
}));
|
|
8051
|
-
var GroupingConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8157
|
+
var GroupingConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8052
8158
|
surface: "this grouping configuration",
|
|
8053
8159
|
history: VIEW_HISTORY
|
|
8054
8160
|
}, {
|
|
@@ -8056,8 +8162,8 @@ var GroupingConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /*
|
|
|
8056
8162
|
}).describe(
|
|
8057
8163
|
"Record grouping configuration \u2014 SERVER-SIDE: the set of groups and every number in a group header (the count and the per-column summaries) are properties of the query, not of the fetched page, answered by one aggregate query (`groupBy` = the fields in nesting order, `count` + the mapped column summaries, the view filter); rows inside a group are paged by the existing find with the group key AND-ed into the view filter. Compiled by `compileListViewGroupQuery` / `compileListViewGroupRowsQuery`"
|
|
8058
8164
|
));
|
|
8059
|
-
var VIEW_ROW_BOUND_GUIDANCE = "This block declares no `limit`. Delete the key: the row bound is `pagination.pageSize` on a view, or the flat `limit` on a page component node.";
|
|
8060
|
-
var GalleryConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8165
|
+
var VIEW_ROW_BOUND_GUIDANCE = /* @__PURE__ */ (() => "This block declares no `limit`. Delete the key: the row bound is `pagination.pageSize` on a view, or the flat `limit` on a page component node.")();
|
|
8166
|
+
var GalleryConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8061
8167
|
surface: "this gallery configuration",
|
|
8062
8168
|
history: VIEW_HISTORY,
|
|
8063
8169
|
guidance: { limit: VIEW_ROW_BOUND_GUIDANCE }
|
|
@@ -8068,7 +8174,7 @@ var GalleryConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @
|
|
|
8068
8174
|
titleField: zod.z.string().optional().describe("Field to display as card title"),
|
|
8069
8175
|
visibleFields: zod.z.array(zod.z.string()).optional().describe("Fields to display on card body")
|
|
8070
8176
|
}).describe("Gallery/card view configuration"));
|
|
8071
|
-
var TimelineConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8177
|
+
var TimelineConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8072
8178
|
surface: "this timeline configuration",
|
|
8073
8179
|
history: VIEW_HISTORY,
|
|
8074
8180
|
guidance: { limit: VIEW_ROW_BOUND_GUIDANCE }
|
|
@@ -8082,16 +8188,16 @@ var TimelineConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /*
|
|
|
8082
8188
|
colorField: zod.z.string().optional().describe("Field to derive each item color from (it names a field, not a color): the option color declared on that field for the record value, else the value itself when it already is a color literal (hex, rgb() or hsl()), else the timeline default marker color"),
|
|
8083
8189
|
scale: zod.z.enum(["hour", "day", "week", "month", "quarter", "year"]).default("week").describe("Default timeline scale")
|
|
8084
8190
|
}).describe("Timeline view configuration"));
|
|
8085
|
-
var VIEW_SHARING_TYPE_RETIRED = "`view.list.sharing.type` was removed in @objectstack/spec 18.3.0 (ADR-0049 enforce-or-remove) \u2014 nothing enforced it: a `personal` view was listed for every user who can read the object, and `collaborative` described every view, so the key only ever drew a badge. Delete the key; `sharing.lockedBy` is unchanged. A view is visible to everyone who can read its object; personal named views are a user-owned record, not view metadata (ADR-0017). Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
8191
|
+
var VIEW_SHARING_TYPE_RETIRED = /* @__PURE__ */ (() => "`view.list.sharing.type` was removed in @objectstack/spec 18.3.0 (ADR-0049 enforce-or-remove) \u2014 nothing enforced it: a `personal` view was listed for every user who can read the object, and `collaborative` described every view, so the key only ever drew a badge. Delete the key; `sharing.lockedBy` is unchanged. A view is visible to everyone who can read its object; personal named views are a user-owned record, not view metadata (ADR-0017). Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
8086
8192
|
var VIEW_SHARING_RETIRED_KEY_RESIDUE = { type: "collaborative" };
|
|
8087
|
-
var ViewSharingSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => chunkYQQP4672_js.acceptRetiredDefaultResidue(/* @__PURE__ */
|
|
8193
|
+
var ViewSharingSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => chunkYQQP4672_js.acceptRetiredDefaultResidue(/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8088
8194
|
surface: "this view sharing",
|
|
8089
8195
|
history: VIEW_HISTORY
|
|
8090
8196
|
}, {
|
|
8091
8197
|
type: chunkYQQP4672_js.retiredKey(VIEW_SHARING_TYPE_RETIRED),
|
|
8092
8198
|
lockedBy: zod.z.string().optional().describe("User who locked the view configuration")
|
|
8093
8199
|
}).describe("View sharing configuration \u2014 who locked the view configuration"), VIEW_SHARING_RETIRED_KEY_RESIDUE));
|
|
8094
|
-
var RowColorConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8200
|
+
var RowColorConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8095
8201
|
surface: "this row color configuration",
|
|
8096
8202
|
history: VIEW_HISTORY
|
|
8097
8203
|
}, {
|
|
@@ -8110,7 +8216,7 @@ var VisualizationTypeSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() =>
|
|
|
8110
8216
|
"tree",
|
|
8111
8217
|
"timesheet"
|
|
8112
8218
|
]).describe("Visualization type that users can switch to"));
|
|
8113
|
-
var UserActionsConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8219
|
+
var UserActionsConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8114
8220
|
surface: "this user actions configuration",
|
|
8115
8221
|
history: VIEW_HISTORY
|
|
8116
8222
|
}, {
|
|
@@ -8126,14 +8232,14 @@ var UserActionsConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() =>
|
|
|
8126
8232
|
rowColor: zod.z.boolean().default(false).describe("Allow users to configure row colouring from the toolbar. Boolean toggle \u2014 the colour rules themselves live in the view-level `rowColor` block. Off by default: row colouring is opt-in."),
|
|
8127
8233
|
buttons: zod.z.array(zod.z.string()).optional().describe("Custom action button IDs to show in the toolbar")
|
|
8128
8234
|
}).describe("User action toggles for the view toolbar"));
|
|
8129
|
-
var AppearanceConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8235
|
+
var AppearanceConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8130
8236
|
surface: "this appearance configuration",
|
|
8131
8237
|
history: VIEW_HISTORY
|
|
8132
8238
|
}, {
|
|
8133
8239
|
showDescription: zod.z.boolean().default(true).describe("Show the view description text"),
|
|
8134
8240
|
allowedVisualizations: zod.z.array(VisualizationTypeSchema).optional().describe('Whitelist of visualization types users can switch between (e.g. ["grid", "gallery", "kanban"])')
|
|
8135
8241
|
}).describe("Appearance and visualization configuration"));
|
|
8136
|
-
var ViewTabSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8242
|
+
var ViewTabSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8137
8243
|
surface: "this view tab",
|
|
8138
8244
|
history: VIEW_HISTORY
|
|
8139
8245
|
}, {
|
|
@@ -8147,14 +8253,14 @@ var ViewTabSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE
|
|
|
8147
8253
|
isDefault: zod.z.boolean().default(false).describe("Set as the default active tab").meta({ title: "Default Tab" }),
|
|
8148
8254
|
visible: zod.z.boolean().default(true).describe("Tab visibility").meta({ title: "Visible" })
|
|
8149
8255
|
}).describe("Tab configuration for multi-tab view interface"));
|
|
8150
|
-
var UserFilterFieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8256
|
+
var UserFilterFieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8151
8257
|
surface: "this user filter field",
|
|
8152
8258
|
history: VIEW_HISTORY
|
|
8153
8259
|
}, {
|
|
8154
8260
|
field: zod.z.string().describe("Field name on the source object (must exist \u2014 checked by reference diagnostics)").meta({ title: "Field" }),
|
|
8155
8261
|
label: I18nLabelSchema.optional().describe("Display label override (defaults to the field label)").meta({ title: "Label" }),
|
|
8156
8262
|
type: zod.z.enum(["select", "multi-select", "boolean", "date-range", "text"]).optional().describe("Filter control type. Omit to infer from the field definition").meta({ title: "Type" }),
|
|
8157
|
-
options: zod.z.array(/* @__PURE__ */
|
|
8263
|
+
options: zod.z.array(/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8158
8264
|
surface: "this user filter option",
|
|
8159
8265
|
history: VIEW_HISTORY,
|
|
8160
8266
|
// Measured against the renderer that consumes these entries
|
|
@@ -8174,7 +8280,7 @@ var UserFilterFieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /*
|
|
|
8174
8280
|
showCount: zod.z.boolean().optional().describe("Show per-option record counts").meta({ title: "Show Count" }),
|
|
8175
8281
|
defaultValues: zod.z.array(zod.z.union([zod.z.string(), zod.z.number(), zod.z.boolean()])).optional().describe("Pre-selected values when the view loads").meta({ title: "Default Values" })
|
|
8176
8282
|
}).describe("Quick-filter field configuration"));
|
|
8177
|
-
var UserFiltersSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8283
|
+
var UserFiltersSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8178
8284
|
surface: "these user filters",
|
|
8179
8285
|
history: VIEW_HISTORY
|
|
8180
8286
|
}, {
|
|
@@ -8189,10 +8295,10 @@ var UserFiltersSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__
|
|
|
8189
8295
|
showAllRecords: zod.z.boolean().optional().describe('Show an "All records" tab before the presets (tabs element)'),
|
|
8190
8296
|
allowAddTab: zod.z.boolean().optional().describe("Let end users add their own tab after the presets (tabs element): the affordance asks for a name and snapshots the filters currently applied as a new tab. SESSION-SCOPED \u2014 an added tab lives only for the current mount, is never written back as metadata (ADR-0047), and carries a remove control the authored presets do not. Page lists only \u2014 object views use `listViews` for named presets")
|
|
8191
8297
|
}).describe('End-user quick-filter configuration (Airtable "User filters" parity)'));
|
|
8192
|
-
var ADD_RECORD_ENABLED_REQUIRED = "`addRecord.enabled` is required since @objectstack/spec 18.1.0 (ADR-0049 enforce-or-remove) \u2014 an `addRecord` block that omits it draws no Add button, so the block must say whether the entry point is on. Write `enabled: true` to show the Add button (`position` places it: `top`, the default, `bottom` or `both`), or `enabled: false` to declare it off. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
8193
|
-
var ADD_RECORD_MODE_RETIRED = "`addRecord.mode` was removed in @objectstack/spec 18.1.0 (ADR-0049 enforce-or-remove) \u2014 no renderer ever read it: the Add button always opens the create form, never an inline row or a mode of its own choosing. Delete the key; the create form opens the way the object list's New opens it. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
8194
|
-
var ADD_RECORD_FORM_VIEW_RETIRED = "`addRecord.formView` was removed in @objectstack/spec 18.1.0 (ADR-0049 enforce-or-remove) \u2014 no renderer ever read it: the Add button opens the object's create form, never a named form. Delete the key. The create form lays out by the object's `fieldGroups`; to leave a field out of it, set `showOnCreate: false` on that field. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
8195
|
-
var AddRecordConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8298
|
+
var ADD_RECORD_ENABLED_REQUIRED = /* @__PURE__ */ (() => "`addRecord.enabled` is required since @objectstack/spec 18.1.0 (ADR-0049 enforce-or-remove) \u2014 an `addRecord` block that omits it draws no Add button, so the block must say whether the entry point is on. Write `enabled: true` to show the Add button (`position` places it: `top`, the default, `bottom` or `both`), or `enabled: false` to declare it off. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
8299
|
+
var ADD_RECORD_MODE_RETIRED = /* @__PURE__ */ (() => "`addRecord.mode` was removed in @objectstack/spec 18.1.0 (ADR-0049 enforce-or-remove) \u2014 no renderer ever read it: the Add button always opens the create form, never an inline row or a mode of its own choosing. Delete the key; the create form opens the way the object list's New opens it. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
8300
|
+
var ADD_RECORD_FORM_VIEW_RETIRED = /* @__PURE__ */ (() => "`addRecord.formView` was removed in @objectstack/spec 18.1.0 (ADR-0049 enforce-or-remove) \u2014 no renderer ever read it: the Add button opens the object's create form, never a named form. Delete the key. The create form lays out by the object's `fieldGroups`; to leave a field out of it, set `showOnCreate: false` on that field. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
8301
|
+
var AddRecordConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8196
8302
|
surface: "this add record configuration",
|
|
8197
8303
|
history: VIEW_HISTORY
|
|
8198
8304
|
}, {
|
|
@@ -8201,10 +8307,10 @@ var AddRecordConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /*
|
|
|
8201
8307
|
mode: chunkYQQP4672_js.retiredKey(ADD_RECORD_MODE_RETIRED),
|
|
8202
8308
|
formView: chunkYQQP4672_js.retiredKey(ADD_RECORD_FORM_VIEW_RETIRED)
|
|
8203
8309
|
}).describe("Add record entry point configuration"));
|
|
8204
|
-
var EMPTY_STATE_ACTION_GUIDANCE = 'An empty state names its one next step with `link` \u2014 `{ label, url }`, a link the user follows to an in-app page or to an `http(s)://` or `mailto:` address, such as a how-to page. It runs no action, flow or script. An "add record" entry point is not part of it: on a list view, configure it in that view\'s own `addRecord` block.';
|
|
8205
|
-
var EMPTY_STATE_FLAT_LINK_GUIDANCE = "An empty state's link is one block that holds its text and its target together: `link: { label, url }`.";
|
|
8310
|
+
var EMPTY_STATE_ACTION_GUIDANCE = /* @__PURE__ */ (() => 'An empty state names its one next step with `link` \u2014 `{ label, url }`, a link the user follows to an in-app page or to an `http(s)://` or `mailto:` address, such as a how-to page. It runs no action, flow or script. An "add record" entry point is not part of it: on a list view, configure it in that view\'s own `addRecord` block.')();
|
|
8311
|
+
var EMPTY_STATE_FLAT_LINK_GUIDANCE = /* @__PURE__ */ (() => "An empty state's link is one block that holds its text and its target together: `link: { label, url }`.")();
|
|
8206
8312
|
var EMPTY_STATE_LINK_URL_SUBJECT = "An empty-state link's `url`";
|
|
8207
|
-
var emptyStateLinkSchema = () => /* @__PURE__ */
|
|
8313
|
+
var emptyStateLinkSchema = () => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8208
8314
|
surface: "this empty-state link",
|
|
8209
8315
|
history: "A key an empty-state link does not declare would otherwise be dropped in silence, and the link would be drawn without it.",
|
|
8210
8316
|
// `href`/`to`/`target` are the target's names in HTML, in the inline action
|
|
@@ -8222,7 +8328,7 @@ var emptyStateLinkSchema = () => /* @__PURE__ */ chunk4WFTCJEM_js.strictObject({
|
|
|
8222
8328
|
"Where the link goes \u2014 a target a `type: 'url'` action opens: an in-app path that starts with `/` or `./` (such as `/docs/connect`), or an address that opens with `http://`, `https://` or `mailto:`. Any other scheme, a protocol-relative `//host`, a bare relative path and a tab, line feed or carriage return are refused at parse; a template that opens with `${\u2026}`, such as `${ctx.origin}/docs`, is judged when it is clicked, after interpolation."
|
|
8223
8329
|
)
|
|
8224
8330
|
});
|
|
8225
|
-
var EmptyStateSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8331
|
+
var EmptyStateSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8226
8332
|
surface: "this empty state",
|
|
8227
8333
|
history: VIEW_HISTORY,
|
|
8228
8334
|
// `description`/`text`/`subtitle` are the words the neighbouring empty-state
|
|
@@ -8246,40 +8352,40 @@ var EmptyStateSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__P
|
|
|
8246
8352
|
)
|
|
8247
8353
|
}));
|
|
8248
8354
|
var KanbanLaneSummarySchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => zod.z.discriminatedUnion("type", [
|
|
8249
|
-
/* @__PURE__ */
|
|
8355
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8250
8356
|
surface: "this `none` lane statistic",
|
|
8251
8357
|
history: VIEW_HISTORY
|
|
8252
8358
|
}, {
|
|
8253
8359
|
type: zod.z.literal("none")
|
|
8254
8360
|
}),
|
|
8255
|
-
/* @__PURE__ */
|
|
8361
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8256
8362
|
surface: "this `count` lane statistic",
|
|
8257
8363
|
history: VIEW_HISTORY
|
|
8258
8364
|
}, {
|
|
8259
8365
|
type: zod.z.literal("count")
|
|
8260
8366
|
}),
|
|
8261
|
-
/* @__PURE__ */
|
|
8367
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8262
8368
|
surface: "this `sum` lane statistic",
|
|
8263
8369
|
history: VIEW_HISTORY
|
|
8264
8370
|
}, {
|
|
8265
8371
|
type: zod.z.literal("sum"),
|
|
8266
8372
|
field: zod.z.string().min(1).describe("The number field the lane totals over all of its records (e.g. amount)")
|
|
8267
8373
|
}),
|
|
8268
|
-
/* @__PURE__ */
|
|
8374
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8269
8375
|
surface: "this `avg` lane statistic",
|
|
8270
8376
|
history: VIEW_HISTORY
|
|
8271
8377
|
}, {
|
|
8272
8378
|
type: zod.z.literal("avg"),
|
|
8273
8379
|
field: zod.z.string().min(1).describe("The number field the lane averages over all of its records (e.g. amount)")
|
|
8274
8380
|
}),
|
|
8275
|
-
/* @__PURE__ */
|
|
8381
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8276
8382
|
surface: "this `min` lane statistic",
|
|
8277
8383
|
history: VIEW_HISTORY
|
|
8278
8384
|
}, {
|
|
8279
8385
|
type: zod.z.literal("min"),
|
|
8280
8386
|
field: zod.z.string().min(1).describe("The field whose smallest value over all of the lane's records the lane shows (e.g. amount)")
|
|
8281
8387
|
}),
|
|
8282
|
-
/* @__PURE__ */
|
|
8388
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8283
8389
|
surface: "this `max` lane statistic",
|
|
8284
8390
|
history: VIEW_HISTORY
|
|
8285
8391
|
}, {
|
|
@@ -8287,7 +8393,7 @@ var KanbanLaneSummarySchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() =>
|
|
|
8287
8393
|
field: zod.z.string().min(1).describe("The field whose largest value over all of the lane's records the lane shows (e.g. amount)")
|
|
8288
8394
|
})
|
|
8289
8395
|
]).describe("Lane foot statistic: none, the count of the lane's records, or the sum, average, minimum or maximum of a field over all of the lane's records"));
|
|
8290
|
-
var KanbanConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8396
|
+
var KanbanConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8291
8397
|
surface: "this kanban configuration",
|
|
8292
8398
|
history: VIEW_HISTORY,
|
|
8293
8399
|
guidance: { limit: VIEW_ROW_BOUND_GUIDANCE }
|
|
@@ -8369,6 +8475,38 @@ var KanbanConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @_
|
|
|
8369
8475
|
hideEmptyFields: zod.z.boolean().optional().describe(
|
|
8370
8476
|
"Whether a card leaves out a field that holds no value. Omit for true (left out); false keeps the field with an empty value."
|
|
8371
8477
|
),
|
|
8478
|
+
/**
|
|
8479
|
+
* objectstack#36423 — the counts a card shows at its foot. `comments: true`
|
|
8480
|
+
* shows how many comment threads of the record are open (top-level and not
|
|
8481
|
+
* resolved): the number the record page's comments icon shows, except a
|
|
8482
|
+
* reply whose parent was deleted (a thread of its own there) and a comment
|
|
8483
|
+
* not yet stamped with the record pair (`os migrate comment-parent-pair
|
|
8484
|
+
* --apply`; the record page reads by `thread_id`). `attachments: true`
|
|
8485
|
+
* shows how many files are attached to it (an object with `enable.files`).
|
|
8486
|
+
* Each is read for the whole board in one grouped read per counted object
|
|
8487
|
+
* over the cards it has loaded, never one read per card, under the reader's
|
|
8488
|
+
* permissions; where the server cuts that answer to its default page size,
|
|
8489
|
+
* one more grouped read over the cards it did not name, up to 20 in all.
|
|
8490
|
+
* A count of zero draws nothing. Absent, or a member absent or `false`:
|
|
8491
|
+
* that count is neither read nor drawn — the board as it was before this
|
|
8492
|
+
* key.
|
|
8493
|
+
*
|
|
8494
|
+
* An object, so a later foot item is one more member rather than a second
|
|
8495
|
+
* key. ⛔ No spec-side default.
|
|
8496
|
+
*/
|
|
8497
|
+
cardFooter: /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8498
|
+
surface: "this kanban card footer",
|
|
8499
|
+
history: VIEW_HISTORY
|
|
8500
|
+
}, {
|
|
8501
|
+
comments: zod.z.boolean().optional().describe(
|
|
8502
|
+
"Show how many comment threads of the record are open (not resolved). Omit or false: not shown, and not read."
|
|
8503
|
+
),
|
|
8504
|
+
attachments: zod.z.boolean().optional().describe(
|
|
8505
|
+
"Show how many files are attached to the record (objects with enable.files). Omit or false: not shown, and not read."
|
|
8506
|
+
)
|
|
8507
|
+
}).optional().describe(
|
|
8508
|
+
"The counts each card shows at its foot, each read for the whole board over its loaded cards in grouped reads, never one per card. Omit to show none."
|
|
8509
|
+
),
|
|
8372
8510
|
/**
|
|
8373
8511
|
* [#16894] The one item-titled view config of the family that omitted this
|
|
8374
8512
|
* key. `GalleryConfigSchema`, `TimelineConfigSchema`, `CalendarConfigSchema`,
|
|
@@ -8390,7 +8528,7 @@ var KanbanConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @_
|
|
|
8390
8528
|
titleField: zod.z.string().optional().describe("Field displayed as the card title. Omit to fall back to the record display name (ADR-0079 resolver chain)"),
|
|
8391
8529
|
columns: zod.z.array(zod.z.string()).describe("Fields to show on cards")
|
|
8392
8530
|
}));
|
|
8393
|
-
var ListChartConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8531
|
+
var ListChartConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8394
8532
|
surface: "this list chart configuration",
|
|
8395
8533
|
history: VIEW_HISTORY
|
|
8396
8534
|
}, {
|
|
@@ -8415,14 +8553,14 @@ var ListChartConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /*
|
|
|
8415
8553
|
values: zod.z.array(zod.z.string()).min(1).describe("Measure names \u2014 Y (at least one)")
|
|
8416
8554
|
}).describe("List chart view configuration"));
|
|
8417
8555
|
var CALENDAR_INITIAL_DATE_RECORD_ANCHORS = ["first_record", "next_record"];
|
|
8418
|
-
var CALENDAR_INITIAL_DATE_RE = new RegExp(
|
|
8556
|
+
var CALENDAR_INITIAL_DATE_RE = /* @__PURE__ */ (() => new RegExp(
|
|
8419
8557
|
"^(?:" + CALENDAR_INITIAL_DATE_RECORD_ANCHORS.join("|") + "|\\$?\\{(?:" + DATE_MACRO_TOKENS.join("|") + "|" + DATE_MACRO_PARAM_RE.source.replace(/^\^/, "").replace(/\$$/, "") + ")\\})$"
|
|
8420
|
-
);
|
|
8558
|
+
))();
|
|
8421
8559
|
function calendarInitialDateRefusal(input) {
|
|
8422
8560
|
const bareToken = typeof input === "string" && isDateMacroToken(input) ? ` \`${input}\` is a date-macro token written without its braces: write \`{${input}}\`.` : "";
|
|
8423
8561
|
return `${JSON.stringify(input)} is not a calendar \`initialDate\`.${bareToken} Write one of two forms: a record anchor, \`first_record\` or \`next_record\`; or a wrapped date-macro token such as \`{today}\`, \`{next_month_start}\` or \`{3_months_from_now}\`, resolved each time the calendar opens (the full vocabulary is \`DATE_MACRO_TOKENS\` in \`@objectstack/spec/data\`). Omit the key to open on today. A fixed date is not accepted: it goes stale as time passes, while a macro does not.`;
|
|
8424
8562
|
}
|
|
8425
|
-
var CalendarConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8563
|
+
var CalendarConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8426
8564
|
surface: "this calendar configuration",
|
|
8427
8565
|
history: VIEW_HISTORY
|
|
8428
8566
|
}, {
|
|
@@ -8504,7 +8642,7 @@ var CalendarConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /*
|
|
|
8504
8642
|
*/
|
|
8505
8643
|
initialDate: zod.z.string().regex(CALENDAR_INITIAL_DATE_RE, { error: (issue) => calendarInitialDateRefusal(issue.input) }).optional().describe("Where the calendar opens: the month, week or day the active view mode shows that holds this date; omit it to open on today. A record anchor: `first_record` opens on the earliest start date (the startDateField value) among the records the view's filter selects, `next_record` on the earliest on or after the viewer's today (a `date` start field compares as a calendar day), and either opens on today when no record qualifies. Or a wrapped date-macro token, resolved each time the calendar opens: `{today}`, `{next_month_start}`, `{current_quarter_start}`, `{3_months_from_now}` (the full vocabulary is `DATE_MACRO_TOKENS` and the parameterised `DATE_MACRO_PARAM_RE` grammar in `@objectstack/spec/data`); a fixed calendar date is not accepted, because it goes stale as time passes.")
|
|
8506
8644
|
}));
|
|
8507
|
-
var GanttQuickFilterSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8645
|
+
var GanttQuickFilterSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8508
8646
|
surface: "this gantt quick filter",
|
|
8509
8647
|
history: VIEW_HISTORY
|
|
8510
8648
|
}, {
|
|
@@ -8512,7 +8650,7 @@ var GanttQuickFilterSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /
|
|
|
8512
8650
|
label: zod.z.string().optional().describe("Trigger label (falls back to the field label)"),
|
|
8513
8651
|
options: zod.z.array(zod.z.union([
|
|
8514
8652
|
zod.z.string(),
|
|
8515
|
-
/* @__PURE__ */
|
|
8653
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8516
8654
|
surface: "this gantt quick-filter option",
|
|
8517
8655
|
history: VIEW_HISTORY,
|
|
8518
8656
|
// Sibling contract: the user-filter option entry two blocks up spells the
|
|
@@ -8525,7 +8663,7 @@ var GanttQuickFilterSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /
|
|
|
8525
8663
|
})
|
|
8526
8664
|
])).optional().describe("Explicit option override for fixed enums")
|
|
8527
8665
|
}));
|
|
8528
|
-
var GanttConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8666
|
+
var GanttConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8529
8667
|
surface: "this gantt configuration",
|
|
8530
8668
|
history: VIEW_HISTORY
|
|
8531
8669
|
}, {
|
|
@@ -8553,7 +8691,7 @@ var GanttConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__
|
|
|
8553
8691
|
// Hover tooltip + quick filters.
|
|
8554
8692
|
tooltipFields: zod.z.array(zod.z.union([
|
|
8555
8693
|
zod.z.string(),
|
|
8556
|
-
/* @__PURE__ */
|
|
8694
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8557
8695
|
surface: "this gantt tooltip field",
|
|
8558
8696
|
history: VIEW_HISTORY,
|
|
8559
8697
|
// This entry is a closed `{ field, label }` pair — exactly the shape
|
|
@@ -8588,7 +8726,7 @@ var GanttConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__
|
|
|
8588
8726
|
dependencyTypes: zod.z.boolean().optional().describe("Whether the backing store persists dependency link TYPES (fs, ss, ff, sf); renderer default true. Set false when dependencies are bare predecessor ids: the link menu hides the type switcher (a switch would be silently reverted on refetch) and drag-created links are always finish-to-start"),
|
|
8589
8727
|
timeZone: zod.z.string().optional().describe("Business time zone, an IANA name such as 'Asia/Shanghai': the chart's calendar \u2014 shift bands, day columns, snapping, the today line, date labels \u2014 renders in this zone's wall time for every viewer instead of the browser's zone; a datetime value is still written as the real instant, and a date value as the calendar day it was dropped on in this zone's calendar (YYYY-MM-DD). An invalid name falls back to the browser zone with a console warning"),
|
|
8590
8728
|
exportFileName: zod.z.string().optional().describe("Base name for exported PNG and PDF files (e.g. the view's display label \u2014 the host's view schema often reaches the renderer stripped of label); falls back to the object schema label, then the object API name. A timestamp suffix is always appended"),
|
|
8591
|
-
interactions: /* @__PURE__ */
|
|
8729
|
+
interactions: /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8592
8730
|
surface: "this gantt interactions block",
|
|
8593
8731
|
history: VIEW_HISTORY,
|
|
8594
8732
|
aliases: { drag: "move", dependencies: "link", links: "link" }
|
|
@@ -8598,13 +8736,13 @@ var GanttConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__
|
|
|
8598
8736
|
progress: zod.z.boolean().optional().describe("The progress drag handle (default true)"),
|
|
8599
8737
|
link: zod.z.boolean().optional().describe("Dependency UI \u2014 the drag-to-link dots and the create/delete menu entries (default true)")
|
|
8600
8738
|
}).optional().describe("Per-interaction switches, each defaulting to true: allow bar moves but pin durations (resize: false), or keep the dependency UI read-only (link: false). They only narrow what readOnly and row locks already allow"),
|
|
8601
|
-
timeSegments: /* @__PURE__ */
|
|
8739
|
+
timeSegments: /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8602
8740
|
surface: "this gantt time-segments block",
|
|
8603
8741
|
history: VIEW_HISTORY,
|
|
8604
8742
|
aliases: { segments: "bands", shifts: "bands" }
|
|
8605
8743
|
}, {
|
|
8606
8744
|
dayStart: zod.z.string().optional().describe("Clock time the shift-day begins, 'HH:mm' (24h); the day column starts here and runs 24h. Renderer default '00:00' (calendar day); for an 08:00 handover set '08:00'"),
|
|
8607
|
-
bands: zod.z.array(/* @__PURE__ */
|
|
8745
|
+
bands: zod.z.array(/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8608
8746
|
surface: "this gantt shift band",
|
|
8609
8747
|
history: VIEW_HISTORY,
|
|
8610
8748
|
aliases: { name: "label", title: "label", from: "start", to: "end" }
|
|
@@ -8622,7 +8760,7 @@ var GanttConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__
|
|
|
8622
8760
|
// an undeclared key is refused with the same named error the sibling view
|
|
8623
8761
|
// configs give, and a renderer knob is declared HERE before it is read.
|
|
8624
8762
|
}));
|
|
8625
|
-
var TreeConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8763
|
+
var TreeConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8626
8764
|
surface: "this tree configuration",
|
|
8627
8765
|
history: VIEW_HISTORY
|
|
8628
8766
|
}, {
|
|
@@ -8636,7 +8774,7 @@ var TreeConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__P
|
|
|
8636
8774
|
// here from the `tree` block — the undeclared read set was EMPTY, so the close
|
|
8637
8775
|
// declares nothing new and refuses only what no renderer ever read.
|
|
8638
8776
|
}));
|
|
8639
|
-
var TimesheetConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8777
|
+
var TimesheetConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8640
8778
|
surface: "this timesheet configuration",
|
|
8641
8779
|
history: VIEW_HISTORY
|
|
8642
8780
|
}, {
|
|
@@ -8644,7 +8782,7 @@ var TimesheetConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /*
|
|
|
8644
8782
|
dateField: zod.z.string().describe("Date field placing a record on a day column; the renderer fetches only the records whose value falls in the displayed week"),
|
|
8645
8783
|
valueField: zod.z.string().describe("Numeric field (number, currency or percent) a cell shows and edits; row, day and week totals sum it")
|
|
8646
8784
|
}));
|
|
8647
|
-
var ListMapConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8785
|
+
var ListMapConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8648
8786
|
surface: "this map configuration",
|
|
8649
8787
|
history: VIEW_HISTORY
|
|
8650
8788
|
}, {
|
|
@@ -8657,12 +8795,12 @@ var ListMapConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @
|
|
|
8657
8795
|
center: zod.z.tuple([zod.z.number(), zod.z.number()]).optional().describe("Initial camera center as [latitude, longitude]. Omit to let the renderer fit the camera to the queried records"),
|
|
8658
8796
|
style: zod.z.string().optional().describe("Map style URL \u2014 the MapLibre style document the renderer loads in place of the public demo tiles. The component-level `mapStyle` is read FIRST and wins when both are present; this is NOT the inline CSS `style` record a component node carries")
|
|
8659
8797
|
}).describe("Map view configuration"));
|
|
8660
|
-
var NAVIGATION_MODE_RETIRED_FIX = "Delete the value \u2014 an object's list opens a record one way for every reader: the record name opens the full page, and the icon beside it while the row is hovered opens the side panel; `navigation.mode` itself is deprecated, so omit the key. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
8661
|
-
var NAVIGATION_MODE_RETIRED = {
|
|
8798
|
+
var NAVIGATION_MODE_RETIRED_FIX = /* @__PURE__ */ (() => "Delete the value \u2014 an object's list opens a record one way for every reader: the record name opens the full page, and the icon beside it while the row is hovered opens the side panel; `navigation.mode` itself is deprecated, so omit the key. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
8799
|
+
var NAVIGATION_MODE_RETIRED = /* @__PURE__ */ (() => ({
|
|
8662
8800
|
modal: "`navigation.mode: 'modal'` was removed in @objectstack/spec 18.3.0 (ADR-0087 D2) \u2014 a record opens in the drawer or as its full page, the same record page at two widths, so a centred dialog was a third surface for the same record. " + NAVIGATION_MODE_RETIRED_FIX,
|
|
8663
8801
|
split: "`navigation.mode: 'split'` was removed in @objectstack/spec 18.3.0 (ADR-0087 D2) \u2014 whether the record opens beside the list is not a mode an author fixes for every reader of the list. " + NAVIGATION_MODE_RETIRED_FIX,
|
|
8664
8802
|
popover: "`navigation.mode: 'popover'` was removed in @objectstack/spec 18.3.0 (ADR-0087 D2) \u2014 a record opens in the drawer or as its full page, the same record page at two widths, so a popover was a cramped fourth surface for the same record. " + NAVIGATION_MODE_RETIRED_FIX
|
|
8665
|
-
};
|
|
8803
|
+
}))();
|
|
8666
8804
|
var NavigationModeSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => chunkYQQP4672_js.enumWithRetiredValues([
|
|
8667
8805
|
"drawer",
|
|
8668
8806
|
// Open the record in the side drawer, which expands to the full page (default); ignored on an object's list
|
|
@@ -8673,8 +8811,8 @@ var NavigationModeSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => chu
|
|
|
8673
8811
|
"none"
|
|
8674
8812
|
// No navigation (read-only list), on every surface
|
|
8675
8813
|
], NAVIGATION_MODE_RETIRED));
|
|
8676
|
-
var NAVIGATION_VIEW_RETIRED = "`view.list.navigation.view` was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 it named the form view to open for a record detail, and no layer resolved a view by that name: the value was passed straight into the navigation-MODE argument of the console's `onNavigate`, where anything other than `edit` or `view` matched no branch, so the key selected nothing and could silently deaden the row click. Delete the key; to choose what opens for a record, assign a `record` page to the object and let `isDefault` pick the one that opens \u2014 page assignment is the machinery that resolves a detail layout, and a list view's navigation block only decides HOW the detail is surfaced (its `size`, and on a page block its `mode`).";
|
|
8677
|
-
var NavigationConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8814
|
+
var NAVIGATION_VIEW_RETIRED = /* @__PURE__ */ (() => "`view.list.navigation.view` was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 it named the form view to open for a record detail, and no layer resolved a view by that name: the value was passed straight into the navigation-MODE argument of the console's `onNavigate`, where anything other than `edit` or `view` matched no branch, so the key selected nothing and could silently deaden the row click. Delete the key; to choose what opens for a record, assign a `record` page to the object and let `isDefault` pick the one that opens \u2014 page assignment is the machinery that resolves a detail layout, and a list view's navigation block only decides HOW the detail is surfaced (its `size`, and on a page block its `mode`).")();
|
|
8815
|
+
var NavigationConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8678
8816
|
surface: "this navigation configuration",
|
|
8679
8817
|
history: VIEW_HISTORY
|
|
8680
8818
|
}, {
|
|
@@ -8713,8 +8851,9 @@ var NavigationConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /
|
|
|
8713
8851
|
*
|
|
8714
8852
|
* `'auto'` (default) is the host's fixed default width, the same for every
|
|
8715
8853
|
* object whatever its field count — nothing is derived from the object's
|
|
8716
|
-
* fields. The console's record side panel (opened from an object's list,
|
|
8717
|
-
* the
|
|
8854
|
+
* fields. The console's record side panel (opened from an object's list, from
|
|
8855
|
+
* the bare data page or an interface list page, and the drawer level over a
|
|
8856
|
+
* record page) opens at `min(92vw, 460px)`; a page
|
|
8718
8857
|
* block's drawer opens at that block's own default (`min(960px, 60vw)` for
|
|
8719
8858
|
* the grid, kanban, calendar, gantt and tree; 42rem for the list, gallery,
|
|
8720
8859
|
* map and timeline). A width the reader drags is remembered and wins over
|
|
@@ -8727,9 +8866,10 @@ var NavigationConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /
|
|
|
8727
8866
|
size: zod.z.enum(["auto", "sm", "md", "lg", "xl", "full"]).default("auto").describe("Width bucket for the record drawer: 'auto' (default) keeps the host's fixed default width, the same for every object whatever its field count (the console's record side panel opens at 460px), or a coarse override sm/md/lg/xl/full (a 480/720/960/1200/1600px cap, always clamped to the viewport). A width the reader drags wins over either. Prefer this over the pixel `width`; it has no effect where the record opens as a page (in the console, every record on a phone), nor on a phone-width screen, where the drawer fills it."),
|
|
8728
8867
|
/**
|
|
8729
8868
|
* @deprecated [#2578 → `size`] A pixel/percent width cannot be authored blind:
|
|
8730
|
-
* the author (often an AI) does not know the client viewport.
|
|
8731
|
-
*
|
|
8732
|
-
*
|
|
8869
|
+
* the author (often an AI) does not know the client viewport. It is still
|
|
8870
|
+
* honoured, and where a renderer reads both keys an authored `width` wins over
|
|
8871
|
+
* `size` (the console's record drawer does), so new metadata sets `size` (or
|
|
8872
|
+
* omits it for `auto`) and leaves `width` out.
|
|
8733
8873
|
*/
|
|
8734
8874
|
width: zod.z.union([zod.z.string(), zod.z.number()]).optional().describe('[DEPRECATED \u2192 size] Pixel/percent width of the drawer (e.g. "600px"). A pixel width cannot be chosen at authoring time without knowing the client viewport \u2014 use the `size` bucket.')
|
|
8735
8875
|
}));
|
|
@@ -8738,11 +8878,11 @@ var exportOptionsPdfUnionError = (issue) => {
|
|
|
8738
8878
|
const declaresPdf = Array.isArray(input) ? input.includes("pdf") : !!input && typeof input === "object" && Array.isArray(input.formats) && input.formats.includes("pdf");
|
|
8739
8879
|
return declaresPdf ? LIST_VIEW_EXPORT_PDF_RETIRED : void 0;
|
|
8740
8880
|
};
|
|
8741
|
-
var LIST_VIEW_TYPE_PAGE_RETIRED = "'page' was removed from the list-view `type` enum in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 the delegating mount was declared on the spec side and never built, so no renderer ever routed the member: a page view fell through to the grid branch and drew an empty table where the page was supposed to be. Delete the member and pick a view type that draws rows (`grid` and its siblings); to put a published page in front of users, give the app a navigation item instead \u2014 `{ type: 'page', pageName: '<page_name>' }` under the app's `navigation`, which is the page mount that has always rendered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
8742
|
-
var LIST_VIEW_PAGE_NAME_RETIRED = "`view.pageName` was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 it named the page a `type: 'page'` view was to mount, and that mount was never built: no renderer read the key, so the named page was never reached and the view drew an empty grid. Delete the key; to put a published page in front of users, give the app a navigation item \u2014 `{ type: 'page', pageName: '<page_name>' }` under the app's `navigation` \u2014 which is a different key on a different surface and is the page mount that has always rendered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
8743
|
-
var LIST_VIEW_SORT_STRING_RETIRED = "The bare string `sort` clause was removed from `view.sort` in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 the platform converged on ONE sort orthography, the array, and the consumer that lowers a list view's sort into a query now refuses a runtime string outright, so a view authored with the clause validated here and then failed at the renderer. Rewrite the clause as the structured array: `sort: 'created_at desc'` becomes `sort: [{ field: 'created_at', order: 'desc' }]`, and a bare field name `sort: 'created_at'` meant ascending, so it becomes `sort: [{ field: 'created_at', order: 'asc' }]` \u2014 `order` is required on the entry and is written out rather than omitted; a comma-separated clause becomes one array entry per key, in the same order. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
8744
|
-
var LIST_VIEW_FILTERABLE_FIELDS_RETIRED = "`view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) \u2014 the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '<field_name>' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
8745
|
-
var VIEW_CALENDAR_ALLOWED_NEEDS_START_DATE = "`appearance.allowedVisualizations` includes 'calendar', so end users can switch this view to a calendar \u2014 but no `calendar:` block says which field supplies the event date. There is no truthful fallback: a date guessed by the renderer lands every record without that field on \"today\", a plausible-looking, fully wrong screen. Declare `calendar: { startDateField: '<date_field>' }` \u2014 only `startDateField` is required; the event title falls back to the record display name (ADR-0079) \u2014 or remove 'calendar' from `allowedVisualizations`.";
|
|
8881
|
+
var LIST_VIEW_TYPE_PAGE_RETIRED = /* @__PURE__ */ (() => "'page' was removed from the list-view `type` enum in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 the delegating mount was declared on the spec side and never built, so no renderer ever routed the member: a page view fell through to the grid branch and drew an empty table where the page was supposed to be. Delete the member and pick a view type that draws rows (`grid` and its siblings); to put a published page in front of users, give the app a navigation item instead \u2014 `{ type: 'page', pageName: '<page_name>' }` under the app's `navigation`, which is the page mount that has always rendered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
8882
|
+
var LIST_VIEW_PAGE_NAME_RETIRED = /* @__PURE__ */ (() => "`view.pageName` was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 it named the page a `type: 'page'` view was to mount, and that mount was never built: no renderer read the key, so the named page was never reached and the view drew an empty grid. Delete the key; to put a published page in front of users, give the app a navigation item \u2014 `{ type: 'page', pageName: '<page_name>' }` under the app's `navigation` \u2014 which is a different key on a different surface and is the page mount that has always rendered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
8883
|
+
var LIST_VIEW_SORT_STRING_RETIRED = /* @__PURE__ */ (() => "The bare string `sort` clause was removed from `view.sort` in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 the platform converged on ONE sort orthography, the array, and the consumer that lowers a list view's sort into a query now refuses a runtime string outright, so a view authored with the clause validated here and then failed at the renderer. Rewrite the clause as the structured array: `sort: 'created_at desc'` becomes `sort: [{ field: 'created_at', order: 'desc' }]`, and a bare field name `sort: 'created_at'` meant ascending, so it becomes `sort: [{ field: 'created_at', order: 'asc' }]` \u2014 `order` is required on the entry and is written out rather than omitted; a comma-separated clause becomes one array entry per key, in the same order. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
8884
|
+
var LIST_VIEW_FILTERABLE_FIELDS_RETIRED = /* @__PURE__ */ (() => "`view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) \u2014 the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '<field_name>' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
8885
|
+
var VIEW_CALENDAR_ALLOWED_NEEDS_START_DATE = /* @__PURE__ */ (() => "`appearance.allowedVisualizations` includes 'calendar', so end users can switch this view to a calendar \u2014 but no `calendar:` block says which field supplies the event date. There is no truthful fallback: a date guessed by the renderer lands every record without that field on \"today\", a plausible-looking, fully wrong screen. Declare `calendar: { startDateField: '<date_field>' }` \u2014 only `startDateField` is required; the event title falls back to the record display name (ADR-0079) \u2014 or remove 'calendar' from `allowedVisualizations`.")();
|
|
8746
8886
|
function checkListViewCalendarVisualization(view, ctx) {
|
|
8747
8887
|
const allowed = view.appearance?.allowedVisualizations;
|
|
8748
8888
|
if (!Array.isArray(allowed) || !allowed.includes("calendar")) return;
|
|
@@ -8754,19 +8894,19 @@ function checkListViewCalendarVisualization(view, ctx) {
|
|
|
8754
8894
|
});
|
|
8755
8895
|
}
|
|
8756
8896
|
}
|
|
8757
|
-
var LIST_VIEW_CHART_BINDING_REMEDY = "Declare `chart: { dataset: '<dataset_name>', values: ['<measure_name>'] }`: `dataset` names the ADR-0021 dataset to plot, `values` at least one of its measures, and `dimensions` (the X / group axis) is optional. There is no default binding to fall back on: the renderer plots only the names the author wrote.";
|
|
8758
|
-
var LIST_VIEW_CHART_NEEDS_BINDING = `This list view is \`type: 'chart'\` but declares no \`chart\` block, so it binds no dataset and there is nothing to plot. ${LIST_VIEW_CHART_BINDING_REMEDY} A view that is not meant to be a chart takes another \`type
|
|
8897
|
+
var LIST_VIEW_CHART_BINDING_REMEDY = /* @__PURE__ */ (() => "Declare `chart: { dataset: '<dataset_name>', values: ['<measure_name>'] }`: `dataset` names the ADR-0021 dataset to plot, `values` at least one of its measures, and `dimensions` (the X / group axis) is optional. There is no default binding to fall back on: the renderer plots only the names the author wrote.")();
|
|
8898
|
+
var LIST_VIEW_CHART_NEEDS_BINDING = /* @__PURE__ */ (() => `This list view is \`type: 'chart'\` but declares no \`chart\` block, so it binds no dataset and there is nothing to plot. ${LIST_VIEW_CHART_BINDING_REMEDY} A view that is not meant to be a chart takes another \`type\`.`)();
|
|
8759
8899
|
function checkListViewChartBinding(view, ctx) {
|
|
8760
8900
|
if (view.type !== "chart" || view.chart !== void 0) return;
|
|
8761
8901
|
ctx.addIssue({ code: "custom", path: ["chart"], message: LIST_VIEW_CHART_NEEDS_BINDING });
|
|
8762
8902
|
}
|
|
8763
|
-
var LIST_VIEW_TIMESHEET_NEEDS_BINDING = "This list view is `type: 'timesheet'` but declares no `timesheet` block, so the weekly grid has no rows, day or value to pivot. Declare `timesheet: { rowFields: ['<field>'], dateField: '<date_field>', valueField: '<number_field>' }`: `rowFields` names the 1 to 3 fields whose distinct values make the rows, `dateField` the date each record falls on, and `valueField` the number each cell edits. There is no default binding to fall back on. A view that is not meant to be a timesheet takes another `type`.";
|
|
8903
|
+
var LIST_VIEW_TIMESHEET_NEEDS_BINDING = /* @__PURE__ */ (() => "This list view is `type: 'timesheet'` but declares no `timesheet` block, so the weekly grid has no rows, day or value to pivot. Declare `timesheet: { rowFields: ['<field>'], dateField: '<date_field>', valueField: '<number_field>' }`: `rowFields` names the 1 to 3 fields whose distinct values make the rows, `dateField` the date each record falls on, and `valueField` the number each cell edits. There is no default binding to fall back on. A view that is not meant to be a timesheet takes another `type`.")();
|
|
8764
8904
|
function checkListViewTimesheetBinding(view, ctx) {
|
|
8765
8905
|
if (view.type !== "timesheet" || view.timesheet !== void 0) return;
|
|
8766
8906
|
ctx.addIssue({ code: "custom", path: ["timesheet"], message: LIST_VIEW_TIMESHEET_NEEDS_BINDING });
|
|
8767
8907
|
}
|
|
8768
|
-
var VIEW_LIST_COLUMN_STATE_RETIRED = "`listView.columnState` was removed in @objectstack/spec 19.0.0 (ADR-0049 enforce-or-remove) \u2014 it was never a list view key: it held one column order and set of widths the console once stored on a view row, and that layout is no longer applied. Delete the key. To ship a column order, list `columns` in that order (or set `fieldOrder`); to ship a width, set `width` on the column.";
|
|
8769
|
-
var ListViewShapeSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
8908
|
+
var VIEW_LIST_COLUMN_STATE_RETIRED = /* @__PURE__ */ (() => "`listView.columnState` was removed in @objectstack/spec 19.0.0 (ADR-0049 enforce-or-remove) \u2014 it was never a list view key: it held one column order and set of widths the console once stored on a view row, and that layout is no longer applied. Delete the key. To ship a column order, list `columns` in that order (or set `fieldOrder`); to ship a width, set `width` on the column.")();
|
|
8909
|
+
var ListViewShapeSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8770
8910
|
surface: "this list view",
|
|
8771
8911
|
history: VIEW_HISTORY,
|
|
8772
8912
|
guidance: {
|
|
@@ -8867,7 +9007,7 @@ var ListViewShapeSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @
|
|
|
8867
9007
|
* put a UI artifact on the authorable surface and teach an AI author to emit
|
|
8868
9008
|
* one (批 18 Q1, two-axis rejection on record).
|
|
8869
9009
|
*/
|
|
8870
|
-
sort: zod.z.array(/* @__PURE__ */
|
|
9010
|
+
sort: zod.z.array(/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
8871
9011
|
surface: "this sort entry",
|
|
8872
9012
|
history: VIEW_HISTORY,
|
|
8873
9013
|
aliases: {
|
|
@@ -9107,7 +9247,7 @@ var MetadataListViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => L
|
|
|
9107
9247
|
}).describe("List layout of a metadata type: its schema binding and its columns"));
|
|
9108
9248
|
var FormSelectOptionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
9109
9249
|
const { default: _objectFaceOnly, kind: _objectLifecycleOnly, ...formOptionShape } = SelectOptionSchema.shape;
|
|
9110
|
-
return /* @__PURE__ */
|
|
9250
|
+
return /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
9111
9251
|
surface: "this form-view select option",
|
|
9112
9252
|
history: "Until the FormView vocabulary got its own option shape these keys were judged by the shared object-field option schema, so `default` parsed clean here while nothing on the form path read it.",
|
|
9113
9253
|
// The object face's alias table minus the two rows that pointed at
|
|
@@ -9127,10 +9267,10 @@ var FormSelectOptionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
9127
9267
|
"Form-view select option \u2014 the object-field option shape minus the per-option `default` and `kind` keys (declare the pre-selected choice on the object definition: field-level `defaultValue`, or `default: true` on that field's own `options` entry; declare `kind` there too)."
|
|
9128
9268
|
);
|
|
9129
9269
|
});
|
|
9130
|
-
var FORM_FIELD_PUBLIC_PICKER_RETIRED = "`view.form.sections[].fields[].publicPicker` was removed in @objectstack/spec 17.6.0 (ADR-0087 D2) \u2014 an anonymous public form no longer offers record search: lookup, `master_detail` and `user` fields are always left off the anonymous rendering, and the anonymous record-search route (`GET /forms/:slug/lookup/:field`) no longer exists. Delete the key (the whole `publicPicker` block). To let a visitor choose from a fixed list, use a `select` field with static `options`; to let them pick an existing record, put the form behind sign-in. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
9131
|
-
var FORM_FIELD_VISIBLE_ON_RETIRED = "`view.form.sections[].fields[].visibleOn` was removed in @objectstack/spec 18 (ADR-0089 D2) \u2014 it was the form view's deprecated spelling of the conditional-visibility predicate, which the parse folded into `visibleWhen` until this release. Use `visibleWhen`. Rename the key; the value (a CEL predicate) is unchanged. Where a field writes both, `visibleWhen` is the one that was in effect: delete `visibleOn`.";
|
|
9132
|
-
var FORM_SECTION_VISIBLE_ON_RETIRED = "`view.form.sections[].visibleOn` was removed in @objectstack/spec 18 (ADR-0089 D2) \u2014 it was the form view's deprecated spelling of a section's conditional-visibility predicate, which the parse folded into `visibleWhen` until this release. Use `visibleWhen`. Rename the key; the value (a CEL predicate, which hides the whole section when false) is unchanged. Where a section writes both, `visibleWhen` is the one that was in effect: delete `visibleOn`.";
|
|
9133
|
-
var FORM_SECTION_PANE_RETIRED = "`view.form.sections[].pane` was removed in @objectstack/spec 18.3.0 (ADR-0050) \u2014 it placed a section in one pane of a `type: 'split'` form, and `split` left the form view `type` in the same release, so no form view draws panes. Delete the key: a `tabbed` form gives each section its own tab, and a `simple` form stacks them. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
9270
|
+
var FORM_FIELD_PUBLIC_PICKER_RETIRED = /* @__PURE__ */ (() => "`view.form.sections[].fields[].publicPicker` was removed in @objectstack/spec 17.6.0 (ADR-0087 D2) \u2014 an anonymous public form no longer offers record search: lookup, `master_detail` and `user` fields are always left off the anonymous rendering, and the anonymous record-search route (`GET /forms/:slug/lookup/:field`) no longer exists. Delete the key (the whole `publicPicker` block). To let a visitor choose from a fixed list, use a `select` field with static `options`; to let them pick an existing record, put the form behind sign-in. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
9271
|
+
var FORM_FIELD_VISIBLE_ON_RETIRED = /* @__PURE__ */ (() => "`view.form.sections[].fields[].visibleOn` was removed in @objectstack/spec 18 (ADR-0089 D2) \u2014 it was the form view's deprecated spelling of the conditional-visibility predicate, which the parse folded into `visibleWhen` until this release. Use `visibleWhen`. Rename the key; the value (a CEL predicate) is unchanged. Where a field writes both, `visibleWhen` is the one that was in effect: delete `visibleOn`.")();
|
|
9272
|
+
var FORM_SECTION_VISIBLE_ON_RETIRED = /* @__PURE__ */ (() => "`view.form.sections[].visibleOn` was removed in @objectstack/spec 18 (ADR-0089 D2) \u2014 it was the form view's deprecated spelling of a section's conditional-visibility predicate, which the parse folded into `visibleWhen` until this release. Use `visibleWhen`. Rename the key; the value (a CEL predicate, which hides the whole section when false) is unchanged. Where a section writes both, `visibleWhen` is the one that was in effect: delete `visibleOn`.")();
|
|
9273
|
+
var FORM_SECTION_PANE_RETIRED = /* @__PURE__ */ (() => "`view.form.sections[].pane` was removed in @objectstack/spec 18.3.0 (ADR-0050) \u2014 it placed a section in one pane of a `type: 'split'` form, and `split` left the form view `type` in the same release, so no form view draws panes. Delete the key: a `tabbed` form gives each section its own tab, and a `simple` form stacks them. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
9134
9274
|
var FormFieldBaseSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
9135
9275
|
const shape = {
|
|
9136
9276
|
/** Field name (snake_case) */
|
|
@@ -9150,7 +9290,7 @@ var FormFieldBaseSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
9150
9290
|
* shares by reference with the object-field face, so an enum member carrying
|
|
9151
9291
|
* a hyphen or a capital (`system-data`, `new-tab`, `perRecord`) cannot be
|
|
9152
9292
|
* written as one at all. On a metadata form — schema-bound, built by
|
|
9153
|
-
* {@link
|
|
9293
|
+
* {@link defineMetadataForm} — an enum-typed row MAY carry an inline `options` list,
|
|
9154
9294
|
* for human labels or a deliberate subset (the #19331 `object.ownership` /
|
|
9155
9295
|
* `sharingModel` rows and the master_detail `deleteBehavior` rows are the
|
|
9156
9296
|
* reference shapes). A row whose members cannot be spelled as option values
|
|
@@ -9158,10 +9298,10 @@ var FormFieldBaseSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
9158
9298
|
* Schema, and their meanings go in `helpText` (the `object.managedBy` /
|
|
9159
9299
|
* `action.openIn` / `action.execution` rows are the reference shape). The
|
|
9160
9300
|
* describe below states the rule where an author meets it, and
|
|
9161
|
-
* `
|
|
9301
|
+
* `defineMetadataForm`'s module-load refusal of an unspellable value names the
|
|
9162
9302
|
* derive path as its remedy.
|
|
9163
9303
|
*/
|
|
9164
|
-
options: zod.z.array(FormSelectOptionSchema).optional().describe("Options for select/multiselect/radio/checkboxes fields (per-option `default` is not accepted here \u2014 declare the pre-selected choice on the object definition). On a metadata form (schema-bound, built by `
|
|
9304
|
+
options: zod.z.array(FormSelectOptionSchema).optional().describe("Options for select/multiselect/radio/checkboxes fields (per-option `default` is not accepted here \u2014 declare the pre-selected choice on the object definition). On a metadata form (schema-bound, built by `defineMetadataForm`), an enum-typed row may list its members here, to give them human labels or to offer a deliberate subset. An option `value` is a lowercase system identifier, so a row whose members cannot be spelled as option values (a hyphen, a capital) omits `options`: the control derives the members from the served JSON Schema, and their meanings go in `helpText`."),
|
|
9165
9305
|
/** Reference object for lookup/master_detail fields */
|
|
9166
9306
|
reference: zod.z.string().optional().describe("Target object name for lookup/master_detail fields"),
|
|
9167
9307
|
/**
|
|
@@ -9232,7 +9372,7 @@ var FormFieldBaseSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
9232
9372
|
* The read points (`resolveColSpan`, the wide-type list, the span ladder)
|
|
9233
9373
|
* are recorded in `packages/spec/liveness/view.json`, row `form.sections`.
|
|
9234
9374
|
*/
|
|
9235
|
-
span: zod.z.enum(["auto", "full"]).default("auto").describe("Relative field width. 'auto' (default \u2014 omit it): the renderer sizes the field from its widget type \xD7 the current column count \u2014 only textarea, markdown, html, richtext and repeater, plus a file or image field whose object field declares `multiple: true`, resolve to the full column count (repeater
|
|
9375
|
+
span: zod.z.enum(["auto", "full"]).default("auto").describe("Relative field width. 'auto' (default \u2014 omit it): the renderer sizes the field from its widget type \xD7 the current column count \u2014 only textarea, markdown, html, richtext and repeater, plus a file or image field whose object field declares `multiple: true`, resolve to the full column count (repeater by its object-field type: the JSON editor it maps to is shared with json, composite and record, which stay one cell); an authored `colSpan` still wins over that default (`colSpan: 1` keeps such a field in one cell). 'full': resolves to the form grid's full column count. How far down the container-query tiers that span is emitted is the renderer's, not this key's: the renderer emits one clamped col-span class per multi-column tier (`@md:col-span-2 @2xl:col-span-3` for a 3-column grid), so the field takes the whole row at every multi-column tier, not just the widest."),
|
|
9236
9376
|
/** Custom widget override — only needed when auto-inference is insufficient */
|
|
9237
9377
|
widget: zod.z.string().optional().describe("Custom widget/component name (overrides type-based inference)"),
|
|
9238
9378
|
/** For `code` fields: source language (e.g. 'javascript', 'sql', 'json', 'typescript', 'expression', 'cel'). Drives syntax highlighting. */
|
|
@@ -9247,7 +9387,7 @@ var FormFieldBaseSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
9247
9387
|
*
|
|
9248
9388
|
* See ADR-0007 (record form field type).
|
|
9249
9389
|
*/
|
|
9250
|
-
keyField: /* @__PURE__ */
|
|
9390
|
+
keyField: /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
9251
9391
|
surface: "this record key field",
|
|
9252
9392
|
history: VIEW_HISTORY,
|
|
9253
9393
|
// The enclosing form field IS strict (ADR-0089 D3a `.strict()` on
|
|
@@ -9271,7 +9411,7 @@ var FormFieldBaseSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
9271
9411
|
* (ADR-0089, canonical `*When` name). Binding root depends on the surface:
|
|
9272
9412
|
* runtime record forms bind `record` (plus `previous`, the saved record, and
|
|
9273
9413
|
* `parent` for master-detail line items); metadata-editing forms
|
|
9274
|
-
* (`*.form.ts`) bind the row under edit as `data`.
|
|
9414
|
+
* (`*.metadata-form.ts`) bind the row under edit as `data`.
|
|
9275
9415
|
*
|
|
9276
9416
|
* ## `current_user` DOES bind here — client-side, and only under a host that
|
|
9277
9417
|
* publishes a scope (objectui#6010)
|
|
@@ -9333,7 +9473,7 @@ var FormFieldBaseSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
9333
9473
|
disclosure: zod.z.enum(["inline", "popover"]).optional().describe("Composite rendering: inline bordered box (default) or a summary line + gear popover (progressive disclosure).")
|
|
9334
9474
|
};
|
|
9335
9475
|
const base = zod.z.object(shape, {
|
|
9336
|
-
error:
|
|
9476
|
+
error: chunkBJHX3SZO_js.strictObjectError({
|
|
9337
9477
|
...VISIBILITY_STRICT_OPTIONS,
|
|
9338
9478
|
// #8202 — this shape names ITSELF. The shared table's `'this view/page
|
|
9339
9479
|
// schema'` was harmless while all three of its consumers answered a key
|
|
@@ -9368,12 +9508,12 @@ var FormFieldBaseSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => {
|
|
|
9368
9508
|
aliases: { disabled: "readonly" }
|
|
9369
9509
|
}, shape)
|
|
9370
9510
|
});
|
|
9371
|
-
return
|
|
9511
|
+
return chunkBJHX3SZO_js.closedObject(base);
|
|
9372
9512
|
});
|
|
9373
9513
|
var FormFieldSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => FormFieldBaseSchema.extend({
|
|
9374
9514
|
fields: zod.z.array(zod.z.lazy(() => FormFieldSchema)).optional().describe("Sub-fields for composite/repeater/record types")
|
|
9375
9515
|
}).strict());
|
|
9376
|
-
var FormSectionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
9516
|
+
var FormSectionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
9377
9517
|
...VISIBILITY_ONLY_STRICT_OPTIONS,
|
|
9378
9518
|
// #8202 — see the note at `FormFieldBaseSchema`'s options: the boundary
|
|
9379
9519
|
// prescription this table carries tells the author to move an editability
|
|
@@ -9403,7 +9543,7 @@ var FormSectionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__
|
|
|
9403
9543
|
* translation linter (`collectViewRecord`) accepts it and `translateView`
|
|
9404
9544
|
* serves it. A section without a `name` has no key there and keeps its
|
|
9405
9545
|
* authored text in every locale.
|
|
9406
|
-
* - **A metadata-editing form** (`
|
|
9546
|
+
* - **A metadata-editing form** (`defineMetadataForm({ schemaId })`):
|
|
9407
9547
|
* `metadataForms.<type>.sections.<name>`, read by
|
|
9408
9548
|
* `resolveMetadataFormLabels`. A section without a `name` is looked up
|
|
9409
9549
|
* there under a slug of its `label`.
|
|
@@ -9592,7 +9732,7 @@ var FormSectionSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__
|
|
|
9592
9732
|
// delivers. Only `true` declares presentation the group owns.
|
|
9593
9733
|
trueOnlyDerivedKeys: ["collapsible", "collapsed"]
|
|
9594
9734
|
})));
|
|
9595
|
-
var FormButtonConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
9735
|
+
var FormButtonConfigSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
9596
9736
|
surface: "this form button configuration",
|
|
9597
9737
|
history: VIEW_HISTORY
|
|
9598
9738
|
}, {
|
|
@@ -9683,22 +9823,71 @@ function refineFormFieldFeaturesRoot(field, path, ctx) {
|
|
|
9683
9823
|
});
|
|
9684
9824
|
}
|
|
9685
9825
|
var FORM_VIEW_TYPE_RETIRED_FIX = "Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
9686
|
-
var FORM_VIEW_TYPE_RETIRED = {
|
|
9826
|
+
var FORM_VIEW_TYPE_RETIRED = /* @__PURE__ */ (() => ({
|
|
9687
9827
|
split: "'split' was removed from the form view `type` enum in @objectstack/spec 18.3.0 (ADR-0050) \u2014 `type` is the form's layout, and a side-by-side split is not one: a record opens from its list in the drawer or as the full page, never beside the list. Write `type: 'tabbed'` (one tab per section) or delete the value for the `simple` default, and delete each section's `pane` and the form's `splitDirection` / `splitSize` / `splitResizable`; to edit child records beside the parent, declare `subforms`. " + FORM_VIEW_TYPE_RETIRED_FIX,
|
|
9688
9828
|
drawer: "'drawer' was removed from the form view `type` enum in @objectstack/spec 18.3.0 (ADR-0050) \u2014 `type` is the form's layout, and where a form opens is decided by whoever opens it: an object's list opens a clicked record's full page, or its drawer from the hover icon, and the console's New and Edit entries open the record form themselves. Delete the value for the `simple` default, or write the layout you want: `simple`, `tabbed` or `wizard`. " + FORM_VIEW_TYPE_RETIRED_FIX,
|
|
9689
9829
|
modal: "'modal' was removed from the form view `type` enum in @objectstack/spec 18.3.0 (ADR-0050) \u2014 `type` is the form's layout, and where a form opens is decided by whoever opens it: the console's New and Edit dialogs open the record form themselves (laid out by the object's `fieldGroups`), and an action `type: 'modal'` opens the page it targets. Delete the value for the `simple` default, or write the layout you want: `simple`, `tabbed` or `wizard`. " + FORM_VIEW_TYPE_RETIRED_FIX
|
|
9690
|
-
};
|
|
9691
|
-
var FORM_VIEW_SPLIT_SIZE_RETIRED = "`view.form.splitSize` was removed in @objectstack/spec 18.3.0 (ADR-0050) \u2014 it sized the primary pane of a `type: 'split'` form, and `split` left the form view `type` in the same release, so no form view draws panes. Delete the key. " + FORM_VIEW_TYPE_RETIRED_FIX;
|
|
9692
|
-
var FORM_VIEW_SPLIT_DIRECTION_RETIRED = "`view.form.splitDirection` was removed in @objectstack/spec 18.3.0 (ADR-0050) \u2014 it set the pane orientation of a split form, and the split form renderer retired in the same release, so no form draws panes. Delete the key. " + FORM_VIEW_TYPE_RETIRED_FIX;
|
|
9693
|
-
var FORM_VIEW_SPLIT_RESIZABLE_RETIRED = "`view.form.splitResizable` was removed in @objectstack/spec 18.3.0 (ADR-0050) \u2014 it made the panes of a `type: 'split'` form resizable, and `split` left the form view `type` in the same release, so no form view draws panes. Delete the key. " + FORM_VIEW_TYPE_RETIRED_FIX;
|
|
9694
|
-
var FORM_VIEW_BUTTONS_RESET_RETIRED = "`view.form.buttons.reset` was removed in @objectstack/spec 18.3.0 (ADR-0049) \u2014 no form ever drew a reset button, and its label was never read. Delete the key: a form has `submit` and `cancel` buttons only, and Cancel leaves the form without saving. `reset.show: true` used to clear the form after each save (the ObjectForm fold that ObjectView and the record form page render); a form converted by this release no longer clears after a save, and a form that should declares `submitBehavior: { kind: 'continue' }`. " + FORM_VIEW_TYPE_RETIRED_FIX;
|
|
9695
|
-
var FORM_VIEW_DRAWER_SIDE_RETIRED = "`view.form.drawerSide` was removed in @objectstack/spec 18.3.0 (ADR-0049) \u2014 no form view opens in a drawer, so no form view ever read it. Delete the key: an object's list opens a record in its drawer from the hover icon, and the React `ObjectForm` block keeps its own `drawerSide` prop for the drawer it opens with `formType='drawer'`. " + FORM_VIEW_TYPE_RETIRED_FIX;
|
|
9696
|
-
var FORM_VIEW_DRAWER_WIDTH_RETIRED = "`view.form.drawerWidth` was removed in @objectstack/spec 18.3.0 (ADR-0049) \u2014 no form view opens in a drawer, so no form view ever read it, and a pixel width cannot be chosen without knowing the client viewport. Delete the key: a list's record drawer takes its starting width from the `navigation.size` bucket, and the React `ObjectForm` block keeps its own `drawerWidth` prop for the drawer it opens. " + FORM_VIEW_TYPE_RETIRED_FIX;
|
|
9697
|
-
var FORM_VIEW_LAYOUT_RETIRED = /* @__PURE__ */ new Map([
|
|
9830
|
+
}))();
|
|
9831
|
+
var FORM_VIEW_SPLIT_SIZE_RETIRED = /* @__PURE__ */ (() => "`view.form.splitSize` was removed in @objectstack/spec 18.3.0 (ADR-0050) \u2014 it sized the primary pane of a `type: 'split'` form, and `split` left the form view `type` in the same release, so no form view draws panes. Delete the key. " + FORM_VIEW_TYPE_RETIRED_FIX)();
|
|
9832
|
+
var FORM_VIEW_SPLIT_DIRECTION_RETIRED = /* @__PURE__ */ (() => "`view.form.splitDirection` was removed in @objectstack/spec 18.3.0 (ADR-0050) \u2014 it set the pane orientation of a split form, and the split form renderer retired in the same release, so no form draws panes. Delete the key. " + FORM_VIEW_TYPE_RETIRED_FIX)();
|
|
9833
|
+
var FORM_VIEW_SPLIT_RESIZABLE_RETIRED = /* @__PURE__ */ (() => "`view.form.splitResizable` was removed in @objectstack/spec 18.3.0 (ADR-0050) \u2014 it made the panes of a `type: 'split'` form resizable, and `split` left the form view `type` in the same release, so no form view draws panes. Delete the key. " + FORM_VIEW_TYPE_RETIRED_FIX)();
|
|
9834
|
+
var FORM_VIEW_BUTTONS_RESET_RETIRED = /* @__PURE__ */ (() => "`view.form.buttons.reset` was removed in @objectstack/spec 18.3.0 (ADR-0049) \u2014 no form ever drew a reset button, and its label was never read. Delete the key: a form has `submit` and `cancel` buttons only, and Cancel leaves the form without saving. `reset.show: true` used to clear the form after each save (the ObjectForm fold that ObjectView and the record form page render); a form converted by this release no longer clears after a save, and a form that should declares `submitBehavior: { kind: 'continue' }`. " + FORM_VIEW_TYPE_RETIRED_FIX)();
|
|
9835
|
+
var FORM_VIEW_DRAWER_SIDE_RETIRED = /* @__PURE__ */ (() => "`view.form.drawerSide` was removed in @objectstack/spec 18.3.0 (ADR-0049) \u2014 no form view opens in a drawer, so no form view ever read it. Delete the key: an object's list opens a record in its drawer from the hover icon, and the React `ObjectForm` block keeps its own `drawerSide` prop for the drawer it opens with `formType='drawer'`. " + FORM_VIEW_TYPE_RETIRED_FIX)();
|
|
9836
|
+
var FORM_VIEW_DRAWER_WIDTH_RETIRED = /* @__PURE__ */ (() => "`view.form.drawerWidth` was removed in @objectstack/spec 18.3.0 (ADR-0049) \u2014 no form view opens in a drawer, so no form view ever read it, and a pixel width cannot be chosen without knowing the client viewport. Delete the key: a list's record drawer takes its starting width from the `navigation.size` bucket, and the React `ObjectForm` block keeps its own `drawerWidth` prop for the drawer it opens. " + FORM_VIEW_TYPE_RETIRED_FIX)();
|
|
9837
|
+
var FORM_VIEW_LAYOUT_RETIRED = /* @__PURE__ */ (() => /* @__PURE__ */ new Map([
|
|
9698
9838
|
["grid", "'grid' was removed from the form view `layout` enum in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 no renderer ever gave it a behaviour of its own: every form presentation folds it to 'vertical'. Write 'vertical', or omit `layout` ('vertical' is the renderer default); for a multi-column form set `columns` (e.g. `columns: 2`), which the renderer honours under either layout. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand."],
|
|
9699
9839
|
["inline", "'inline' was removed from the form view `layout` enum in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 no renderer ever gave it a behaviour of its own: every form presentation folds it to 'vertical', and a row of inline inputs is a toolbar / filter-row pattern, not a record-form layout. Write 'vertical', or omit `layout` ('vertical' is the renderer default). Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand."]
|
|
9700
|
-
]);
|
|
9701
|
-
|
|
9840
|
+
]))();
|
|
9841
|
+
function checkFormViewBody(view, ctx) {
|
|
9842
|
+
for (const [key, sections] of [["sections", view.sections], ["groups", view.groups]]) {
|
|
9843
|
+
sections?.forEach((section, index) => {
|
|
9844
|
+
const sectionRefusal = checkFormViewPredicateFeaturesRoot(section?.visibleWhen);
|
|
9845
|
+
if (sectionRefusal) {
|
|
9846
|
+
ctx.addIssue({ code: "custom", path: [key, index, "visibleWhen"], message: sectionRefusal });
|
|
9847
|
+
}
|
|
9848
|
+
section?.fields?.forEach((field, fieldIndex) => {
|
|
9849
|
+
refineFormFieldFeaturesRoot(field, [key, index, "fields", fieldIndex], ctx);
|
|
9850
|
+
});
|
|
9851
|
+
if (view.type === "wizard" && section != null) {
|
|
9852
|
+
if (section.visibleWhen != null) {
|
|
9853
|
+
ctx.addIssue({
|
|
9854
|
+
code: "custom",
|
|
9855
|
+
path: [key, index, "visibleWhen"],
|
|
9856
|
+
message: "`visibleWhen` on a wizard step is refused: wizard steps carry no predicate slot \u2014 steps are entered in array order behind the step gate, never conditionally. Put the predicate on the fields inside the step, or use a `simple`/`tabbed` form for section-level visibility."
|
|
9857
|
+
});
|
|
9858
|
+
}
|
|
9859
|
+
for (const collapseKey of ["collapsible", "collapsed"]) {
|
|
9860
|
+
if (section[collapseKey] === true) {
|
|
9861
|
+
ctx.addIssue({
|
|
9862
|
+
code: "custom",
|
|
9863
|
+
path: [key, index, collapseKey],
|
|
9864
|
+
message: `\`${collapseKey}\` on a wizard step is refused: wizard steps do not collapse \u2014 the wizard shows exactly the current step. Remove the key; collapsible grouping belongs to \`simple\`/\`tabbed\` sections.`
|
|
9865
|
+
});
|
|
9866
|
+
}
|
|
9867
|
+
}
|
|
9868
|
+
if (section.group != null) {
|
|
9869
|
+
ctx.addIssue({
|
|
9870
|
+
code: "custom",
|
|
9871
|
+
path: [key, index, "group"],
|
|
9872
|
+
message: "`group` on a wizard step is refused: a field group carries `visibleWhen` and `collapse`, and `deriveFieldGroupLayout` passes both through to the section it derives \u2014 neither of which a wizard step has a slot for (steps are entered in array order behind the step gate, and the wizard shows exactly the current step). Enumerate the step with `fields: [...]`, or use a `simple`/`tabbed` form to inherit the group."
|
|
9873
|
+
});
|
|
9874
|
+
}
|
|
9875
|
+
}
|
|
9876
|
+
});
|
|
9877
|
+
}
|
|
9878
|
+
if (view.type === "wizard" && typeof view.viewKind !== "string") {
|
|
9879
|
+
const steps = view.sections !== void 0 ? view.sections : view.groups;
|
|
9880
|
+
if (steps === void 0 || steps.length === 0) {
|
|
9881
|
+
const authoredKey = view.sections !== void 0 ? "sections" : view.groups !== void 0 ? "groups" : "sections";
|
|
9882
|
+
ctx.addIssue({
|
|
9883
|
+
code: "custom",
|
|
9884
|
+
path: [authoredKey],
|
|
9885
|
+
message: "A `type: 'wizard'` form view must declare its steps: `" + authoredKey + "` is " + (steps === void 0 ? "absent" : "empty") + ", and the wizard would silently render as a plain simple form. Declare at least one step \u2014 `sections: [{ label, fields: [...] }]`; sections ARE the steps, in array order."
|
|
9886
|
+
});
|
|
9887
|
+
}
|
|
9888
|
+
}
|
|
9889
|
+
}
|
|
9890
|
+
var FormViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
9702
9891
|
surface: "this form view",
|
|
9703
9892
|
history: VIEW_HISTORY,
|
|
9704
9893
|
// [#13704] `steps` is the word the wizard's own vocabulary teaches (and the
|
|
@@ -9807,7 +9996,7 @@ var FormViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PUR
|
|
|
9807
9996
|
/**
|
|
9808
9997
|
* Data Source Configuration. NOT removed in the #3896 sweep despite the
|
|
9809
9998
|
* ledger's dead verdict — the removal attempt broke the build and thereby
|
|
9810
|
-
* re-verified the entry: `
|
|
9999
|
+
* re-verified the entry: `defineMetadataForm` (below) writes
|
|
9811
10000
|
* `data: { provider: 'schema', schemaId }` onto EVERY metadata form, and
|
|
9812
10001
|
* `metadata-protocol` serves it to the metadata-admin pipeline. The
|
|
9813
10002
|
* record-form provider values (`object`/`value`) may still be unread — that
|
|
@@ -9835,7 +10024,7 @@ var FormViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PUR
|
|
|
9835
10024
|
* derived from the child object's metadata (override via
|
|
9836
10025
|
* `relationshipField` / `columns`).
|
|
9837
10026
|
*/
|
|
9838
|
-
subforms: zod.z.array(/* @__PURE__ */
|
|
10027
|
+
subforms: zod.z.array(/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
9839
10028
|
surface: "this subform",
|
|
9840
10029
|
history: VIEW_HISTORY,
|
|
9841
10030
|
// `object` is the word every OTHER block on this surface uses for an object
|
|
@@ -9900,7 +10089,7 @@ var FormViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PUR
|
|
|
9900
10089
|
// the ONE intended member and reports its message verbatim. No input changes
|
|
9901
10090
|
// shape: every member already required its own `kind` literal.
|
|
9902
10091
|
submitBehavior: zod.z.discriminatedUnion("kind", [
|
|
9903
|
-
/* @__PURE__ */
|
|
10092
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
9904
10093
|
surface: "this `thank-you` submit behavior",
|
|
9905
10094
|
history: VIEW_HISTORY,
|
|
9906
10095
|
aliases: { heading: "title", text: "message", body: "message", description: "message" }
|
|
@@ -9919,7 +10108,7 @@ var FormViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PUR
|
|
|
9919
10108
|
"Body of the confirmation panel. May name a field of the submitted record as `{{record.field_name}}`, and only a field the engine generates on insert (an `autonumber` field, e.g. a case number): a hook-derived value never reaches an anonymous visitor."
|
|
9920
10109
|
)
|
|
9921
10110
|
}),
|
|
9922
|
-
/* @__PURE__ */
|
|
10111
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
9923
10112
|
surface: "this `redirect` submit behavior",
|
|
9924
10113
|
history: VIEW_HISTORY,
|
|
9925
10114
|
// `delay` / `delayMS` are one keystroke and one capital from `delayMs`;
|
|
@@ -9942,7 +10131,7 @@ var FormViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PUR
|
|
|
9942
10131
|
),
|
|
9943
10132
|
delayMs: zod.z.number().int().min(0).optional()
|
|
9944
10133
|
}),
|
|
9945
|
-
/* @__PURE__ */
|
|
10134
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
9946
10135
|
surface: "this `continue` submit behavior",
|
|
9947
10136
|
history: VIEW_HISTORY,
|
|
9948
10137
|
// `continue` resets the form and takes no options; an author configuring
|
|
@@ -9952,7 +10141,7 @@ var FormViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PUR
|
|
|
9952
10141
|
message: 'The `continue` behavior takes no options \u2014 it just resets the form. For a confirmation panel use `{ kind: "thank-you", title, message }`.'
|
|
9953
10142
|
}
|
|
9954
10143
|
}, { kind: zod.z.literal("continue") }),
|
|
9955
|
-
/* @__PURE__ */
|
|
10144
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
9956
10145
|
surface: "this `next-record` submit behavior",
|
|
9957
10146
|
history: VIEW_HISTORY,
|
|
9958
10147
|
guidance: {
|
|
@@ -9999,56 +10188,8 @@ var FormViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PUR
|
|
|
9999
10188
|
* still wins.
|
|
10000
10189
|
*/
|
|
10001
10190
|
defaults: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Initial field values for create-mode forms (folded into ObjectUI ObjectForm initial values;).")
|
|
10002
|
-
}).superRefine((
|
|
10003
|
-
|
|
10004
|
-
sections?.forEach((section, index) => {
|
|
10005
|
-
const sectionRefusal = checkFormViewPredicateFeaturesRoot(section?.visibleWhen);
|
|
10006
|
-
if (sectionRefusal) {
|
|
10007
|
-
ctx.addIssue({ code: "custom", path: [key, index, "visibleWhen"], message: sectionRefusal });
|
|
10008
|
-
}
|
|
10009
|
-
section?.fields?.forEach((field, fieldIndex) => {
|
|
10010
|
-
refineFormFieldFeaturesRoot(field, [key, index, "fields", fieldIndex], ctx);
|
|
10011
|
-
});
|
|
10012
|
-
if (view.type === "wizard" && section != null) {
|
|
10013
|
-
if (section.visibleWhen != null) {
|
|
10014
|
-
ctx.addIssue({
|
|
10015
|
-
code: "custom",
|
|
10016
|
-
path: [key, index, "visibleWhen"],
|
|
10017
|
-
message: "`visibleWhen` on a wizard step is refused: wizard steps carry no predicate slot \u2014 steps are entered in array order behind the step gate, never conditionally. Put the predicate on the fields inside the step, or use a `simple`/`tabbed` form for section-level visibility."
|
|
10018
|
-
});
|
|
10019
|
-
}
|
|
10020
|
-
for (const collapseKey of ["collapsible", "collapsed"]) {
|
|
10021
|
-
if (section[collapseKey] === true) {
|
|
10022
|
-
ctx.addIssue({
|
|
10023
|
-
code: "custom",
|
|
10024
|
-
path: [key, index, collapseKey],
|
|
10025
|
-
message: `\`${collapseKey}\` on a wizard step is refused: wizard steps do not collapse \u2014 the wizard shows exactly the current step. Remove the key; collapsible grouping belongs to \`simple\`/\`tabbed\` sections.`
|
|
10026
|
-
});
|
|
10027
|
-
}
|
|
10028
|
-
}
|
|
10029
|
-
if (section.group != null) {
|
|
10030
|
-
ctx.addIssue({
|
|
10031
|
-
code: "custom",
|
|
10032
|
-
path: [key, index, "group"],
|
|
10033
|
-
message: "`group` on a wizard step is refused: a field group carries `visibleWhen` and `collapse`, and `deriveFieldGroupLayout` passes both through to the section it derives \u2014 neither of which a wizard step has a slot for (steps are entered in array order behind the step gate, and the wizard shows exactly the current step). Enumerate the step with `fields: [...]`, or use a `simple`/`tabbed` form to inherit the group."
|
|
10034
|
-
});
|
|
10035
|
-
}
|
|
10036
|
-
}
|
|
10037
|
-
});
|
|
10038
|
-
}
|
|
10039
|
-
if (view.type === "wizard" && typeof view.viewKind !== "string") {
|
|
10040
|
-
const steps = view.sections !== void 0 ? view.sections : view.groups;
|
|
10041
|
-
if (steps === void 0 || steps.length === 0) {
|
|
10042
|
-
const authoredKey = view.sections !== void 0 ? "sections" : view.groups !== void 0 ? "groups" : "sections";
|
|
10043
|
-
ctx.addIssue({
|
|
10044
|
-
code: "custom",
|
|
10045
|
-
path: [authoredKey],
|
|
10046
|
-
message: "A `type: 'wizard'` form view must declare its steps: `" + authoredKey + "` is " + (steps === void 0 ? "absent" : "empty") + ", and the wizard would silently render as a plain simple form. Declare at least one step \u2014 `sections: [{ label, fields: [...] }]`; sections ARE the steps, in array order."
|
|
10047
|
-
});
|
|
10048
|
-
}
|
|
10049
|
-
}
|
|
10050
|
-
}).overwrite(foldFormGroupsIntoSections));
|
|
10051
|
-
var ObjectUserFiltersSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunk4WFTCJEM_js.strictObject({
|
|
10191
|
+
}).superRefine(checkFormViewBody).overwrite(foldFormGroupsIntoSections));
|
|
10192
|
+
var ObjectUserFiltersSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
10052
10193
|
surface: "these object user filters",
|
|
10053
10194
|
history: VIEW_HISTORY,
|
|
10054
10195
|
guidance: {
|
|
@@ -10061,8 +10202,8 @@ var ObjectUserFiltersSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() =>
|
|
|
10061
10202
|
element: zod.z.enum(["dropdown", "toggle"]).default("dropdown").describe('Filter control style on object views: "dropdown" (per-field value chips). "toggle" is deprecated. "tabs" is page-only \u2014 use `listViews` for named presets.')
|
|
10062
10203
|
}));
|
|
10063
10204
|
var ObjectListViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => ListViewShapeSchema.omit({ userFilters: true }).extend({ userFilters: ObjectUserFiltersSchema.optional() }).superRefine(checkListViewCalendarVisualization).superRefine(checkListViewChartBinding).superRefine(checkListViewTimesheetBinding));
|
|
10064
|
-
var VIEW_WRAP_REMEDY = "Wrap it: `defineView({ list: { type, data, columns, \u2026 } })`, or name it \u2014 `defineView({ listViews: { my_view: { \u2026 } } })`.";
|
|
10065
|
-
var ViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */
|
|
10205
|
+
var VIEW_WRAP_REMEDY = /* @__PURE__ */ (() => "Wrap it: `defineView({ list: { type, data, columns, \u2026 } })`, or name it \u2014 `defineView({ listViews: { my_view: { \u2026 } } })`.")();
|
|
10206
|
+
var ViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
10066
10207
|
surface: "this view container",
|
|
10067
10208
|
history: VIEW_HISTORY,
|
|
10068
10209
|
// The one mistake this shape actually sees: a FLAT list view written where a
|
|
@@ -10132,7 +10273,7 @@ var ViewSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__
|
|
|
10132
10273
|
"Package author protection block \u2014 lock policy for this view."
|
|
10133
10274
|
),
|
|
10134
10275
|
// ADR-0010 — runtime protection envelope (internal — set by loader).
|
|
10135
|
-
...
|
|
10276
|
+
...chunkXLUBDFSO_js.MetadataProtectionFields
|
|
10136
10277
|
}));
|
|
10137
10278
|
function defineView(config) {
|
|
10138
10279
|
const parsed = ViewSchema.parse(config);
|
|
@@ -10144,17 +10285,17 @@ function defineView(config) {
|
|
|
10144
10285
|
}
|
|
10145
10286
|
return parsed;
|
|
10146
10287
|
}
|
|
10147
|
-
var ViewItemNameSchema = zod.z.string().regex(
|
|
10288
|
+
var ViewItemNameSchema = /* @__PURE__ */ (() => zod.z.string().regex(
|
|
10148
10289
|
QUALIFIED_ITEM_NAME_PATTERN,
|
|
10149
10290
|
'View item name must be a dotted snake_case qualified name, e.g. "crm_lead.pipeline".'
|
|
10150
|
-
).describe("Globally-unique view id, `<object>.<viewKey>`.");
|
|
10151
|
-
var VIEW_SCOPE_RETIRED = {
|
|
10291
|
+
).describe("Globally-unique view id, `<object>.<viewKey>`."))();
|
|
10292
|
+
var VIEW_SCOPE_RETIRED = /* @__PURE__ */ (() => ({
|
|
10152
10293
|
personal: "`view.scope: 'personal'` was removed in @objectstack/spec 18.3.0 (ADR-0049 enforce-or-remove) \u2014 nothing ever restricted a `personal` view item to one user: the view switcher lists every item bound to the object, so a view marked personal was listed for every user who can read the object. Delete the value; a view item without `scope` from source is a `package` item, and a runtime-authored one is `shared`. Personal named views are a user-owned record, not a view item (ADR-0017). Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand."
|
|
10153
|
-
};
|
|
10154
|
-
var ViewScopeSchema = chunkYQQP4672_js.enumWithRetiredValues(["package", "shared"], VIEW_SCOPE_RETIRED).describe("View identity layer: package | shared.");
|
|
10155
|
-
var ViewKindSchema = zod.z.enum(["list", "form"]).describe("Whether `config` is a ListView (list family) or a FormView.");
|
|
10156
|
-
var VIEW_ITEM_OWNER_RETIRED = "`view.owner` was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 it named the user a `personal` view item belonged to, and nothing ever read it: the view switcher (`GET /meta/view?object=`) serves every item bound to the object without looking at `owner`, so a view marked as one user's was listed for every user who can read the object. Delete the key. Nothing restricts a view item to one user \u2014 personal named views are a user-owned record, not a view item (ADR-0017) \u2014 so a view item is visible to everyone who can read its object. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
10157
|
-
var VIEW_ITEM_HIDDEN_RETIRED = "`view.hidden` was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 it promised to hide a view item from the switcher, and nothing ever read it: `GET /meta/view?object=` and the console's view switcher list every item bound to the object, `hidden: true` included. Delete the key; to take a view out of the switcher, delete the view item itself (or stop shipping it from source). Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
10294
|
+
}))();
|
|
10295
|
+
var ViewScopeSchema = /* @__PURE__ */ (() => chunkYQQP4672_js.enumWithRetiredValues(["package", "shared"], VIEW_SCOPE_RETIRED).describe("View identity layer: package | shared."))();
|
|
10296
|
+
var ViewKindSchema = /* @__PURE__ */ (() => zod.z.enum(["list", "form"]).describe("Whether `config` is a ListView (list family) or a FormView."))();
|
|
10297
|
+
var VIEW_ITEM_OWNER_RETIRED = /* @__PURE__ */ (() => "`view.owner` was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 it named the user a `personal` view item belonged to, and nothing ever read it: the view switcher (`GET /meta/view?object=`) serves every item bound to the object without looking at `owner`, so a view marked as one user's was listed for every user who can read the object. Delete the key. Nothing restricts a view item to one user \u2014 personal named views are a user-owned record, not a view item (ADR-0017) \u2014 so a view item is visible to everyone who can read its object. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
10298
|
+
var VIEW_ITEM_HIDDEN_RETIRED = /* @__PURE__ */ (() => "`view.hidden` was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) \u2014 it promised to hide a view item from the switcher, and nothing ever read it: `GET /meta/view?object=` and the console's view switcher list every item bound to the object, `hidden: true` included. Delete the key; to take a view out of the switcher, delete the view item itself (or stop shipping it from source). Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
10158
10299
|
function viewItemBaseShape() {
|
|
10159
10300
|
return {
|
|
10160
10301
|
// The dot is REQUIRED here and NOWHERE ELSE in the `view` family — the
|
|
@@ -10201,7 +10342,7 @@ function viewItemBaseShape() {
|
|
|
10201
10342
|
"Package author protection block \u2014 lock policy for this view."
|
|
10202
10343
|
),
|
|
10203
10344
|
// ADR-0010 — runtime protection envelope (internal — set by loader).
|
|
10204
|
-
...
|
|
10345
|
+
...chunkXLUBDFSO_js.MetadataProtectionFields,
|
|
10205
10346
|
// ADR-0146 D2 — the override declaration (authored; travels with the item).
|
|
10206
10347
|
...OverrideDeclarationFields
|
|
10207
10348
|
};
|
|
@@ -10213,7 +10354,7 @@ function viewItemArmShape(viewKind, config) {
|
|
|
10213
10354
|
...viewItemBaseShape()
|
|
10214
10355
|
};
|
|
10215
10356
|
}
|
|
10216
|
-
var VIEW_COLUMN_STATE_RETIRED = "`view.columnState` was removed in @objectstack/spec 19.0.0 (ADR-0049 enforce-or-remove) \u2014 it held one column order and set of widths on a shared view row; nothing writes it any more, and a stored layout is no longer applied, so every reader sees the view's own column order and widths. The console keeps column widths in each reader's browser and saves a column order into the view itself. Delete the key. To ship a column order, list `columns` in that order (or set `fieldOrder`); to ship a width, set `width` on the column. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
10357
|
+
var VIEW_COLUMN_STATE_RETIRED = /* @__PURE__ */ (() => "`view.columnState` was removed in @objectstack/spec 19.0.0 (ADR-0049 enforce-or-remove) \u2014 it held one column order and set of widths on a shared view row; nothing writes it any more, and a stored layout is no longer applied, so every reader sees the view's own column order and widths. The console keeps column widths in each reader's browser and saves a column order into the view itself. Delete the key. To ship a column order, list `columns` in that order (or set `fieldOrder`); to ship a width, set `width` on the column. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
10217
10358
|
var VIEW_ITEM_SURFACE = {
|
|
10218
10359
|
surface: "this view item",
|
|
10219
10360
|
history: VIEW_HISTORY,
|
|
@@ -10236,8 +10377,8 @@ var VIEW_ITEM_SURFACE = {
|
|
|
10236
10377
|
};
|
|
10237
10378
|
var ViewItemSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(
|
|
10238
10379
|
() => zod.z.discriminatedUnion("viewKind", [
|
|
10239
|
-
/* @__PURE__ */
|
|
10240
|
-
/* @__PURE__ */
|
|
10380
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject(VIEW_ITEM_SURFACE, viewItemArmShape("list", ListViewSchema.describe("List-family view configuration."))),
|
|
10381
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject(VIEW_ITEM_SURFACE, viewItemArmShape("form", FormViewSchema.describe("Form view configuration.")))
|
|
10241
10382
|
])
|
|
10242
10383
|
);
|
|
10243
10384
|
var VIEW_SWITCHER_VISIBILITY_GROUPS = ["private", "team", "organization", "public"];
|
|
@@ -10254,7 +10395,7 @@ function viewSwitcherRowStateFields() {
|
|
|
10254
10395
|
)
|
|
10255
10396
|
};
|
|
10256
10397
|
}
|
|
10257
|
-
var VIEW_ITEM_OPTIONS_REFUSED = "A view item record carries no top-level `options` bag: its view body lives under `config`, and `config` declares each per-kind block itself. Move each `options.KIND` block to `config.KIND` (for example `options.kanban` to `config.kanban`), or remove `options`.";
|
|
10398
|
+
var VIEW_ITEM_OPTIONS_REFUSED = /* @__PURE__ */ (() => "A view item record carries no top-level `options` bag: its view body lives under `config`, and `config` declares each per-kind block itself. Move each `options.KIND` block to `config.KIND` (for example `options.kanban` to `config.kanban`), or remove `options`.")();
|
|
10258
10399
|
function viewItemWireFields() {
|
|
10259
10400
|
return {
|
|
10260
10401
|
...viewSwitcherRowStateFields(),
|
|
@@ -10273,7 +10414,7 @@ function viewItemWireFields() {
|
|
|
10273
10414
|
)
|
|
10274
10415
|
};
|
|
10275
10416
|
}
|
|
10276
|
-
var VIEW_WIRE_HISTORY = "Until the `view` write door closed this shape an unknown top-level key was dropped silently \u2014 the save answered success and the key was not stored.";
|
|
10417
|
+
var VIEW_WIRE_HISTORY = /* @__PURE__ */ (() => "Until the `view` write door closed this shape an unknown top-level key was dropped silently \u2014 the save answered success and the key was not stored.")();
|
|
10277
10418
|
var VIEW_WIRE_ALIASES = { objectName: "object", id: "name" };
|
|
10278
10419
|
var VIEW_ITEM_WIRE_SURFACE = {
|
|
10279
10420
|
surface: "this view item record",
|
|
@@ -10293,15 +10434,15 @@ var FORM_OVERLAY_WIRE_SURFACE = {
|
|
|
10293
10434
|
function closeWireMember(member, options) {
|
|
10294
10435
|
const strict = member.strict();
|
|
10295
10436
|
const def = strict._zod.def;
|
|
10296
|
-
return
|
|
10437
|
+
return chunkBJHX3SZO_js.closedObject(strict.clone({ ...def, error: chunkBJHX3SZO_js.strictObjectError(options, def.shape) }));
|
|
10297
10438
|
}
|
|
10298
10439
|
var ViewItemWireSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(
|
|
10299
10440
|
() => zod.z.discriminatedUnion("viewKind", [
|
|
10300
|
-
/* @__PURE__ */
|
|
10441
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject(VIEW_ITEM_WIRE_SURFACE, {
|
|
10301
10442
|
...viewItemArmShape("list", ListViewSchema.describe("List-family view configuration.")),
|
|
10302
10443
|
...viewItemWireFields()
|
|
10303
10444
|
}),
|
|
10304
|
-
/* @__PURE__ */
|
|
10445
|
+
/* @__PURE__ */ chunkBJHX3SZO_js.strictObject(VIEW_ITEM_WIRE_SURFACE, {
|
|
10305
10446
|
...viewItemArmShape("form", FormViewSchema.describe("Form view configuration.")),
|
|
10306
10447
|
...viewItemWireFields()
|
|
10307
10448
|
})
|
|
@@ -10310,8 +10451,51 @@ var ViewItemWireSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(
|
|
|
10310
10451
|
function defineViewItem(config) {
|
|
10311
10452
|
return ViewItemSchema.parse(config);
|
|
10312
10453
|
}
|
|
10313
|
-
var
|
|
10314
|
-
var
|
|
10454
|
+
var FORM_ITEM_DATA_REFUSED = /* @__PURE__ */ (() => "A form item is bound with `object`, never with `data` (ADR-0159 D2): remove `data` and set `object` to the object the form submits into; the name's prefix is that object (`OBJECT.KEY`). A form bound to a JSON Schema is a Studio metadata form (`defineMetadataForm`), not a `form` item.")();
|
|
10455
|
+
var FORM_ITEM_GUIDANCE = /* @__PURE__ */ (() => ({
|
|
10456
|
+
data: FORM_ITEM_DATA_REFUSED,
|
|
10457
|
+
viewKind: "A form item has no `viewKind`: the `form` type is the discriminator (ADR-0159 D2). Remove the key.",
|
|
10458
|
+
config: "A form item carries its body at the top level, not under `config` (ADR-0159 D2, question 5): move the keys of `config` up beside `name` and `object`.",
|
|
10459
|
+
isDefault: "A form item has no `isDefault`: the object's record create and edit form is its `fieldGroups`, never a `form` item (ADR-0159 D1). Remove the key.",
|
|
10460
|
+
order: "A form item has no `order`: forms are not in the view switcher (ADR-0159 D2). Remove the key.",
|
|
10461
|
+
scope: "A form item has no `scope`: the registry's provenance already says package or runtime (ADR-0159 D2). Remove the key."
|
|
10462
|
+
}))();
|
|
10463
|
+
function checkFormItemNamePrefix(form, ctx) {
|
|
10464
|
+
if (typeof form.name !== "string" || typeof form.object !== "string") return;
|
|
10465
|
+
const cut = form.name.lastIndexOf(".");
|
|
10466
|
+
if (cut <= 0) return;
|
|
10467
|
+
const prefix = form.name.slice(0, cut);
|
|
10468
|
+
if (prefix === form.object) return;
|
|
10469
|
+
ctx.addIssue({
|
|
10470
|
+
code: "custom",
|
|
10471
|
+
path: ["name"],
|
|
10472
|
+
message: `The form name '${form.name}' names the object '${prefix}', but the form is bound to '${form.object}' (ADR-0159 D3): a form is named \`OBJECT.KEY\` after the object it submits into. Rename it '${form.object}.${form.name.slice(cut + 1)}', or bind it to '${prefix}'.`
|
|
10473
|
+
});
|
|
10474
|
+
}
|
|
10475
|
+
function formItemBodyShape() {
|
|
10476
|
+
const { data: _data, ...body } = FormViewSchema.shape;
|
|
10477
|
+
return body;
|
|
10478
|
+
}
|
|
10479
|
+
var FormSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(() => /* @__PURE__ */ chunkBJHX3SZO_js.strictObject({
|
|
10480
|
+
surface: "this form",
|
|
10481
|
+
history: VIEW_HISTORY,
|
|
10482
|
+
guidance: FORM_ITEM_GUIDANCE
|
|
10483
|
+
}, {
|
|
10484
|
+
name: ViewItemNameSchema.describe("The form's name, `OBJECT.KEY` (ADR-0159 D3): the name it is served under, the target of an action of `type: 'form'`, and the key a declared override names. The part before the last segment is the form's `object`."),
|
|
10485
|
+
object: SnakeCaseIdentifierSchema.describe("The object the form submits into \u2014 its one binding (ADR-0159 D2). It must name an object the package can reference."),
|
|
10486
|
+
label: I18nLabelSchema.optional().describe("The form's name in lists (Setup, Studio). When absent a surface shows `title`, then the name."),
|
|
10487
|
+
...formItemBodyShape(),
|
|
10488
|
+
protection: ProtectionSchema.optional().describe("Package author protection block \u2014 lock policy for this form."),
|
|
10489
|
+
// ADR-0010 — runtime protection envelope (internal — set by the loader).
|
|
10490
|
+
...chunkXLUBDFSO_js.MetadataProtectionFields,
|
|
10491
|
+
// ADR-0146 D2 / ADR-0159 D4 — the override declaration (authored; travels with the item).
|
|
10492
|
+
...OverrideDeclarationFields
|
|
10493
|
+
}).superRefine(checkFormViewBody).superRefine(checkFormItemNamePrefix).overwrite(foldFormGroupsIntoSections));
|
|
10494
|
+
function defineForm(config) {
|
|
10495
|
+
return FormSchema.parse(config);
|
|
10496
|
+
}
|
|
10497
|
+
var INLINE_VIEW_OBJECT_REQUIRED = /* @__PURE__ */ (() => 'This inline view config names no `object`, so the saved row could never be served: `GET /meta/view?object=\u2026` and the view switcher match stored views on `object` + `viewKind`, and a row missing them is registered yet renders nowhere. Bind it \u2014 add `object: "<object_name>"` and `viewKind: "list" | "form"` \u2014 or save a ViewItem record (`{ name, object, viewKind, config: { \u2026 } }`), or make it a container. ' + VIEW_WRAP_REMEDY)();
|
|
10498
|
+
var INLINE_VIEW_KIND_REQUIRED = /* @__PURE__ */ (() => 'This inline view config names no `viewKind`, so the saved row could never be served: `GET /meta/view?object=\u2026` and the view switcher match stored views on `object` + `viewKind`, and a row missing them is registered yet renders nowhere. Bind it \u2014 add `viewKind: "list" | "form"` alongside `object` \u2014 or save a ViewItem record (`{ name, object, viewKind, config: { \u2026 } }`), or make it a container. ' + VIEW_WRAP_REMEDY)();
|
|
10315
10499
|
function otherViewKind(kind) {
|
|
10316
10500
|
return kind === "list" ? "form" : "list";
|
|
10317
10501
|
}
|
|
@@ -10362,7 +10546,7 @@ function flattenedViewOverlayFields(kind) {
|
|
|
10362
10546
|
owner: chunkYQQP4672_js.retiredKey(VIEW_ITEM_OWNER_RETIRED),
|
|
10363
10547
|
hidden: chunkYQQP4672_js.retiredKey(VIEW_ITEM_HIDDEN_RETIRED),
|
|
10364
10548
|
protection: ProtectionSchema.optional(),
|
|
10365
|
-
...
|
|
10549
|
+
...chunkXLUBDFSO_js.MetadataProtectionFields,
|
|
10366
10550
|
// ADR-0146 D2 — the override declaration (authored; travels with the item).
|
|
10367
10551
|
...OverrideDeclarationFields,
|
|
10368
10552
|
// Structural guards — a flattened overlay is neither a record nor a container.
|
|
@@ -10380,12 +10564,12 @@ function containerHasAView(v) {
|
|
|
10380
10564
|
c.list || c.form || c.listViews && typeof c.listViews === "object" && Object.keys(c.listViews).length > 0 || c.formViews && typeof c.formViews === "object" && Object.keys(c.formViews).length > 0
|
|
10381
10565
|
);
|
|
10382
10566
|
}
|
|
10383
|
-
var VIEW_WRITE_PATH_IDENTITY_KEYS = /* @__PURE__ */ new Set([
|
|
10567
|
+
var VIEW_WRITE_PATH_IDENTITY_KEYS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
10384
10568
|
"name",
|
|
10385
10569
|
"viewKind",
|
|
10386
10570
|
"object",
|
|
10387
10571
|
"label"
|
|
10388
|
-
]);
|
|
10572
|
+
]))();
|
|
10389
10573
|
function collectDeclaredTopLevelKeys(schema, into, depth = 0) {
|
|
10390
10574
|
const def = schema?._zod?.def;
|
|
10391
10575
|
if (!def || depth > 6) return;
|
|
@@ -10425,11 +10609,11 @@ var ViewContainerWireSchema = /* @__PURE__ */ chunkJFA3BYUJ_js.lazySchema(
|
|
|
10425
10609
|
message: "A view container must define at least one of `list`, `form`, `listViews`, or `formViews`."
|
|
10426
10610
|
})
|
|
10427
10611
|
);
|
|
10428
|
-
var LIST_OVERLAY_OPTIONS_REFUSED = "A list view's `options` bag was removed in @objectstack/spec 18.3.0 (ADR-0087 D2) \u2014 each per-kind block is a top-level key of the view itself, its one spelling. Move each `options.KIND` block to `KIND` (for example `options.kanban` to `kanban`), keeping the top-level value where both set the same key, or remove `options`. A grid has no per-kind block: its settings (`columns`, `sort`, `filter`, \u2026) are top-level keys of the view. Stored views are folded on read. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.";
|
|
10429
|
-
var FORM_OVERLAY_OPTIONS_REFUSED = 'A form view carries no `options` bag: `options.kanban`, `options.timeline` and the other per-kind blocks belong to a list view. Remove `options`, or save this body as a list view (`viewKind: "list"` with its `columns`).';
|
|
10612
|
+
var LIST_OVERLAY_OPTIONS_REFUSED = /* @__PURE__ */ (() => "A list view's `options` bag was removed in @objectstack/spec 18.3.0 (ADR-0087 D2) \u2014 each per-kind block is a top-level key of the view itself, its one spelling. Move each `options.KIND` block to `KIND` (for example `options.kanban` to `kanban`), keeping the top-level value where both set the same key, or remove `options`. A grid has no per-kind block: its settings (`columns`, `sort`, `filter`, \u2026) are top-level keys of the view. Stored views are folded on read. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.")();
|
|
10613
|
+
var FORM_OVERLAY_OPTIONS_REFUSED = /* @__PURE__ */ (() => 'A form view carries no `options` bag: `options.kanban`, `options.timeline` and the other per-kind blocks belong to a list view. Remove `options`, or save this body as a list view (`viewKind: "list"` with its `columns`).')();
|
|
10430
10614
|
var LIST_OVERLAY_DEFAULT_TYPE = "grid";
|
|
10431
|
-
var LIST_OVERLAY_TYPE_NEEDS_COLUMNS = 'This list view overlay sets `type` but lists no `columns`. A body that sets `type` is a full inline list config, and a full config lists its columns: add `columns: ["field_a", "field_b"]`. A patch on the view it shadows (`sort`, `hiddenFields`, `rowHeight`, `inlineEdit`, \u2026) sets no `type` and needs no `columns`: remove `type` to save this body as a patch on the view it shadows.';
|
|
10432
|
-
var FORM_OVERLAY_COLUMNS_IS_A_COUNT = 'On a form view `columns` is the NUMBER of body columns (an integer, 1 or more), not a list of fields, and this body says `viewKind: "form"`. A list of fields is a list view\'s `columns`: if this is a list view, set `viewKind: "list"`; if it is a form, list its fields in `sections: [{ fields: [...] }]`.';
|
|
10615
|
+
var LIST_OVERLAY_TYPE_NEEDS_COLUMNS = /* @__PURE__ */ (() => 'This list view overlay sets `type` but lists no `columns`. A body that sets `type` is a full inline list config, and a full config lists its columns: add `columns: ["field_a", "field_b"]`. A patch on the view it shadows (`sort`, `hiddenFields`, `rowHeight`, `inlineEdit`, \u2026) sets no `type` and needs no `columns`: remove `type` to save this body as a patch on the view it shadows.')();
|
|
10616
|
+
var FORM_OVERLAY_COLUMNS_IS_A_COUNT = /* @__PURE__ */ (() => 'On a form view `columns` is the NUMBER of body columns (an integer, 1 or more), not a list of fields, and this body says `viewKind: "form"`. A list of fields is a list view\'s `columns`: if this is a list view, set `viewKind: "list"`; if it is a form, list its fields in `sections: [{ fields: [...] }]`.')();
|
|
10433
10617
|
function listOverlayPatchFields() {
|
|
10434
10618
|
const shape = ListViewShapeSchema.shape;
|
|
10435
10619
|
return {
|
|
@@ -10758,7 +10942,106 @@ function expandViewContainerWithDiagnostics(object, container) {
|
|
|
10758
10942
|
function expandViewContainer(object, container) {
|
|
10759
10943
|
return expandViewContainerWithDiagnostics(object, container).items;
|
|
10760
10944
|
}
|
|
10761
|
-
|
|
10945
|
+
var PROJECTED_FORM_SOURCE_KEY = "_formDefinedIn";
|
|
10946
|
+
var PROJECTED_ITEM_KEYS = ["label", "overrides", "protection", "_lock", "_lockReason", "_lockSource", "_packageId", "_packageVersion", "_provenance"];
|
|
10947
|
+
function namedPublicLinks(value, out = /* @__PURE__ */ new Set(), depth = 0) {
|
|
10948
|
+
if (depth > 12 || value === null || typeof value !== "object") return [...out];
|
|
10949
|
+
if (Array.isArray(value)) {
|
|
10950
|
+
for (const v of value) namedPublicLinks(v, out, depth + 1);
|
|
10951
|
+
return [...out];
|
|
10952
|
+
}
|
|
10953
|
+
const rec = value;
|
|
10954
|
+
const sharing = rec.sharing;
|
|
10955
|
+
if (sharing && typeof sharing === "object" && typeof sharing.publicLink === "string") {
|
|
10956
|
+
const link = sharing.publicLink;
|
|
10957
|
+
if (link) out.add(publicFormSlug(link));
|
|
10958
|
+
}
|
|
10959
|
+
for (const [k, v] of Object.entries(rec)) if (k !== "sharing") namedPublicLinks(v, out, depth + 1);
|
|
10960
|
+
return [...out];
|
|
10961
|
+
}
|
|
10962
|
+
function projectedItem(name, object, body, carrier) {
|
|
10963
|
+
const item = { ...body, name, object };
|
|
10964
|
+
for (const key of PROJECTED_ITEM_KEYS) {
|
|
10965
|
+
if (carrier[key] !== void 0 && item[key] === void 0) item[key] = carrier[key];
|
|
10966
|
+
}
|
|
10967
|
+
const own = Array.isArray(carrier.requiredPermissions) ? carrier.requiredPermissions : [];
|
|
10968
|
+
if (own.length > 0) {
|
|
10969
|
+
const inner = Array.isArray(body.requiredPermissions) ? body.requiredPermissions : [];
|
|
10970
|
+
item.requiredPermissions = [.../* @__PURE__ */ new Set([...own, ...inner])];
|
|
10971
|
+
}
|
|
10972
|
+
item[PROJECTED_FORM_SOURCE_KEY] = "view";
|
|
10973
|
+
return item;
|
|
10974
|
+
}
|
|
10975
|
+
function projectViewForms(body, options = {}) {
|
|
10976
|
+
const out = { forms: [], lists: [] };
|
|
10977
|
+
if (!body || typeof body !== "object" || Array.isArray(body)) return out;
|
|
10978
|
+
const v = body;
|
|
10979
|
+
const unreadable = (reason, content) => ({
|
|
10980
|
+
forms: [],
|
|
10981
|
+
lists: out.lists,
|
|
10982
|
+
unreadable: { reason, links: namedPublicLinks(content) }
|
|
10983
|
+
});
|
|
10984
|
+
if (isAggregatedViewContainer(v)) {
|
|
10985
|
+
if (v.form !== void 0 && v.form !== null && (typeof v.form !== "object" || Array.isArray(v.form))) {
|
|
10986
|
+
return unreadable("the container's `form` is not an object", { form: v.form, formViews: v.formViews });
|
|
10987
|
+
}
|
|
10988
|
+
if (v.formViews !== void 0 && v.formViews !== null) {
|
|
10989
|
+
if (typeof v.formViews !== "object" || Array.isArray(v.formViews)) {
|
|
10990
|
+
return unreadable("the container's `formViews` is not an object", { form: v.form, formViews: v.formViews });
|
|
10991
|
+
}
|
|
10992
|
+
for (const [key, entry] of Object.entries(v.formViews)) {
|
|
10993
|
+
if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
|
|
10994
|
+
return unreadable(`the container's \`formViews.${key}\` is not an object`, { form: v.form, formViews: v.formViews });
|
|
10995
|
+
}
|
|
10996
|
+
}
|
|
10997
|
+
}
|
|
10998
|
+
const object = deriveViewContainerObject(v) ?? options.object;
|
|
10999
|
+
if (object === void 0) return unreadable("the container names no object", { form: v.form, formViews: v.formViews });
|
|
11000
|
+
let expanded;
|
|
11001
|
+
try {
|
|
11002
|
+
expanded = expandViewContainerWithDiagnostics(object, v).items;
|
|
11003
|
+
} catch (err) {
|
|
11004
|
+
return unreadable(`the container cannot be expanded (${err instanceof Error ? err.message : String(err)})`, { form: v.form, formViews: v.formViews });
|
|
11005
|
+
}
|
|
11006
|
+
for (const item of expanded) {
|
|
11007
|
+
if (item.viewKind !== "form") {
|
|
11008
|
+
out.lists.push(item.name);
|
|
11009
|
+
continue;
|
|
11010
|
+
}
|
|
11011
|
+
const config = item.config ?? {};
|
|
11012
|
+
const carrier = { ...v, label: item.label };
|
|
11013
|
+
out.forms.push(projectedItem(item.name, anonymousFormObjectName({ object: item.object }, config) ?? item.object, config, carrier));
|
|
11014
|
+
}
|
|
11015
|
+
return out;
|
|
11016
|
+
}
|
|
11017
|
+
const name = typeof v.name === "string" && v.name ? v.name : void 0;
|
|
11018
|
+
if (v.viewKind === "form") {
|
|
11019
|
+
if (!v.config || typeof v.config !== "object" || Array.isArray(v.config)) {
|
|
11020
|
+
return unreadable("a `viewKind: 'form'` item carries no `config` object", v);
|
|
11021
|
+
}
|
|
11022
|
+
if (name === void 0) return unreadable("a `viewKind: 'form'` item names no `name`", v.config);
|
|
11023
|
+
const object = anonymousFormObjectName(v, v.config);
|
|
11024
|
+
if (typeof object !== "string" || !object) return unreadable("a `viewKind: 'form'` item names no object", v.config);
|
|
11025
|
+
out.forms.push(projectedItem(name, object, v.config, v));
|
|
11026
|
+
return out;
|
|
11027
|
+
}
|
|
11028
|
+
if (name !== void 0) out.lists.push(name);
|
|
11029
|
+
return out;
|
|
11030
|
+
}
|
|
11031
|
+
function projectedFormsOf(bodies) {
|
|
11032
|
+
const seen = /* @__PURE__ */ new Set();
|
|
11033
|
+
const out = [];
|
|
11034
|
+
const ordered = [...bodies].sort((a, b) => Number(!isAggregatedViewContainer(a)) - Number(!isAggregatedViewContainer(b)));
|
|
11035
|
+
for (const body of ordered) {
|
|
11036
|
+
for (const form of projectViewForms(body).forms) {
|
|
11037
|
+
if (seen.has(form.name)) continue;
|
|
11038
|
+
seen.add(form.name);
|
|
11039
|
+
out.push(form);
|
|
11040
|
+
}
|
|
11041
|
+
}
|
|
11042
|
+
return out;
|
|
11043
|
+
}
|
|
11044
|
+
function defineMetadataForm(config) {
|
|
10762
11045
|
const { schemaId, ...rest } = config;
|
|
10763
11046
|
const parsed = FormViewSchema.safeParse({
|
|
10764
11047
|
...rest,
|
|
@@ -10766,7 +11049,7 @@ function defineForm(config) {
|
|
|
10766
11049
|
});
|
|
10767
11050
|
if (parsed.success) return parsed.data;
|
|
10768
11051
|
const refusal = new zod.z.ZodRealError(withOptionValueDeriveRemedy(parsed.error.issues));
|
|
10769
|
-
zod.z.core.util.captureStackTrace(refusal,
|
|
11052
|
+
zod.z.core.util.captureStackTrace(refusal, defineMetadataForm);
|
|
10770
11053
|
throw refusal;
|
|
10771
11054
|
}
|
|
10772
11055
|
function defineList(config) {
|
|
@@ -10780,8 +11063,8 @@ function defineList(config) {
|
|
|
10780
11063
|
zod.z.core.util.captureStackTrace(refusal, defineList);
|
|
10781
11064
|
throw refusal;
|
|
10782
11065
|
}
|
|
10783
|
-
var FORM_OPTION_VALUE_DERIVE_REMEDY = "An enum member carrying a hyphen
|
|
10784
|
-
var OPTION_VALUE_GRAMMAR_CODES = /* @__PURE__ */ new Set(["invalid_format", "too_small"]);
|
|
11066
|
+
var FORM_OPTION_VALUE_DERIVE_REMEDY = /* @__PURE__ */ (() => "An enum member carrying a hyphen or a capital cannot be a form option `value`, which is a lowercase system identifier. When this row edits a spec enum whose members cannot be spelled as option values, omit `options`: the control derives the members from the served JSON Schema, and their meanings go in `helpText`.")();
|
|
11067
|
+
var OPTION_VALUE_GRAMMAR_CODES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["invalid_format", "too_small"]))();
|
|
10785
11068
|
function isInlineOptionValuePath(path) {
|
|
10786
11069
|
const n = path.length;
|
|
10787
11070
|
return n >= 3 && path[n - 1] === "value" && typeof path[n - 2] === "number" && path[n - 3] === "options";
|
|
@@ -10903,6 +11186,7 @@ exports.FilterArraySchema = FilterArraySchema;
|
|
|
10903
11186
|
exports.FilterConditionSchema = FilterConditionSchema;
|
|
10904
11187
|
exports.FormButtonConfigSchema = FormButtonConfigSchema;
|
|
10905
11188
|
exports.FormFieldSchema = FormFieldSchema;
|
|
11189
|
+
exports.FormSchema = FormSchema;
|
|
10906
11190
|
exports.FormSectionSchema = FormSectionSchema;
|
|
10907
11191
|
exports.FormSelectOptionSchema = FormSelectOptionSchema;
|
|
10908
11192
|
exports.FormViewSchema = FormViewSchema;
|
|
@@ -10954,6 +11238,7 @@ exports.OverrideDeclarationSchema = OverrideDeclarationSchema;
|
|
|
10954
11238
|
exports.P = P;
|
|
10955
11239
|
exports.PERIOD_KEY_TOKENS = PERIOD_KEY_TOKENS;
|
|
10956
11240
|
exports.PERIOD_KEY_TOKEN_DESCRIPTIONS = PERIOD_KEY_TOKEN_DESCRIPTIONS;
|
|
11241
|
+
exports.PROJECTED_FORM_SOURCE_KEY = PROJECTED_FORM_SOURCE_KEY;
|
|
10957
11242
|
exports.PaginationConfigSchema = PaginationConfigSchema;
|
|
10958
11243
|
exports.PredicateInputSchema = PredicateInputSchema;
|
|
10959
11244
|
exports.PredicateSchema = PredicateSchema;
|
|
@@ -11045,6 +11330,11 @@ exports.ViewSharingSchema = ViewSharingSchema;
|
|
|
11045
11330
|
exports.ViewTabSchema = ViewTabSchema;
|
|
11046
11331
|
exports.VisualizationTypeSchema = VisualizationTypeSchema;
|
|
11047
11332
|
exports.WEBHOOK_WITHOUT_TRIGGERS = WEBHOOK_WITHOUT_TRIGGERS;
|
|
11333
|
+
exports.anonymousFormIntakeCandidates = anonymousFormIntakeCandidates;
|
|
11334
|
+
exports.anonymousFormIntakeSlug = anonymousFormIntakeSlug;
|
|
11335
|
+
exports.anonymousFormIntakeSlugs = anonymousFormIntakeSlugs;
|
|
11336
|
+
exports.anonymousFormIntakeWithdrawnIn = anonymousFormIntakeWithdrawnIn;
|
|
11337
|
+
exports.anonymousFormObjectName = anonymousFormObjectName;
|
|
11048
11338
|
exports.applyProtection = applyProtection;
|
|
11049
11339
|
exports.asciiCaseInsensitiveContains = asciiCaseInsensitiveContains;
|
|
11050
11340
|
exports.asciiCaseInsensitiveRegexSource = asciiCaseInsensitiveRegexSource;
|
|
@@ -11054,6 +11344,7 @@ exports.bulkConfirmTemplateRoots = bulkConfirmTemplateRoots;
|
|
|
11054
11344
|
exports.canonicalAstOperator = canonicalAstOperator;
|
|
11055
11345
|
exports.cel = cel;
|
|
11056
11346
|
exports.checkFieldCompleteness = checkFieldCompleteness;
|
|
11347
|
+
exports.checkFormItemNamePrefix = checkFormItemNamePrefix;
|
|
11057
11348
|
exports.checkListViewCalendarVisualization = checkListViewCalendarVisualization;
|
|
11058
11349
|
exports.checkListViewChartBinding = checkListViewChartBinding;
|
|
11059
11350
|
exports.checkListViewTimesheetBinding = checkListViewTimesheetBinding;
|
|
@@ -11064,9 +11355,11 @@ exports.cron = cron;
|
|
|
11064
11355
|
exports.defaultValueTokenIssue = defaultValueTokenIssue;
|
|
11065
11356
|
exports.defineForm = defineForm;
|
|
11066
11357
|
exports.defineList = defineList;
|
|
11358
|
+
exports.defineMetadataForm = defineMetadataForm;
|
|
11067
11359
|
exports.defineView = defineView;
|
|
11068
11360
|
exports.defineViewItem = defineViewItem;
|
|
11069
11361
|
exports.deriveFieldGroupLayout = deriveFieldGroupLayout;
|
|
11362
|
+
exports.deriveViewContainerObject = deriveViewContainerObject;
|
|
11070
11363
|
exports.diagnoseViewMetadata = diagnoseViewMetadata;
|
|
11071
11364
|
exports.discriminateDefaultValueShape = discriminateDefaultValueShape;
|
|
11072
11365
|
exports.dollarFilterOperatorOf = dollarFilterOperatorOf;
|
|
@@ -11078,6 +11371,7 @@ exports.fixedInnerReadOf = fixedInnerReadOf;
|
|
|
11078
11371
|
exports.fixedReadLeafBrandOf = fixedReadLeafBrandOf;
|
|
11079
11372
|
exports.fixedReadLeafNameOf = fixedReadLeafNameOf;
|
|
11080
11373
|
exports.foldAsciiCase = foldAsciiCase;
|
|
11374
|
+
exports.formExplicitlyWithdraws = formExplicitlyWithdraws;
|
|
11081
11375
|
exports.formatUnknownAuthoringKey = formatUnknownAuthoringKey;
|
|
11082
11376
|
exports.hasDanglingLikeEscape = hasDanglingLikeEscape;
|
|
11083
11377
|
exports.hasDynamicTokens = hasDynamicTokens;
|
|
@@ -11120,6 +11414,9 @@ exports.normalizeFilterOperator = normalizeFilterOperator;
|
|
|
11120
11414
|
exports.parseAutonumberFormat = parseAutonumberFormat;
|
|
11121
11415
|
exports.parseDateMacroParam = parseDateMacroParam;
|
|
11122
11416
|
exports.parseFilterAST = parseFilterAST;
|
|
11417
|
+
exports.projectViewForms = projectViewForms;
|
|
11418
|
+
exports.projectedFormsOf = projectedFormsOf;
|
|
11419
|
+
exports.publicFormSlug = publicFormSlug;
|
|
11123
11420
|
exports.readAutonumberCounter = readAutonumberCounter;
|
|
11124
11421
|
exports.readFieldGroupMembership = readFieldGroupMembership;
|
|
11125
11422
|
exports.referenceCarrierOf = referenceCarrierOf;
|
|
@@ -11144,5 +11441,5 @@ exports.thankYouRecordFieldNames = thankYouRecordFieldNames;
|
|
|
11144
11441
|
exports.tmpl = tmpl;
|
|
11145
11442
|
exports.valueSchemaFor = valueSchemaFor;
|
|
11146
11443
|
exports.withRefusalHead = withRefusalHead;
|
|
11147
|
-
//# sourceMappingURL=chunk-
|
|
11148
|
-
//# sourceMappingURL=chunk-
|
|
11444
|
+
//# sourceMappingURL=chunk-I7HLIVEK.js.map
|
|
11445
|
+
//# sourceMappingURL=chunk-I7HLIVEK.js.map
|