@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,13 +1,13 @@
|
|
|
1
|
-
import { requiredOneOf, NON_BLANK_STRING, MetadataLockSchema, bannedKeyPattern, OPERATOR_PREFIX_KEY_PATTERN
|
|
2
|
-
import { closedObject,
|
|
3
|
-
import {
|
|
1
|
+
import { requiredOneOf, NON_BLANK_STRING, MetadataProtectionFields, MetadataLockSchema, bannedKeyPattern, OPERATOR_PREFIX_KEY_PATTERN } from './chunk-FBNDK5HA.mjs';
|
|
2
|
+
import { strictObject, closedObject, suggestRename, strictObjectError } from './chunk-7LCNAO47.mjs';
|
|
3
|
+
import { retiredKey, acceptRetiredDefaultResidue, enumWithRetiredValues } from './chunk-OBMNDJG7.mjs';
|
|
4
4
|
import { lazySchema } from './chunk-7YMT7HAT.mjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
|
|
7
7
|
var CUSTOMIZATION_PACKAGE_SUFFIX = ".custom";
|
|
8
|
-
var ESCAPED_CUSTOMIZATION_PACKAGE_SUFFIX = CUSTOMIZATION_PACKAGE_SUFFIX.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
9
|
-
var NOT_A_CUSTOMIZATION_PACKAGE_ID = new RegExp(`^(?![\\s\\S]*${ESCAPED_CUSTOMIZATION_PACKAGE_SUFFIX}$)[\\s\\S]+$`);
|
|
10
|
-
var OverrideDeclarationSchema = /* @__PURE__ */ strictObject({
|
|
8
|
+
var ESCAPED_CUSTOMIZATION_PACKAGE_SUFFIX = /* @__PURE__ */ (() => CUSTOMIZATION_PACKAGE_SUFFIX.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"))();
|
|
9
|
+
var NOT_A_CUSTOMIZATION_PACKAGE_ID = /* @__PURE__ */ (() => new RegExp(`^(?![\\s\\S]*${ESCAPED_CUSTOMIZATION_PACKAGE_SUFFIX}$)[\\s\\S]+$`))();
|
|
10
|
+
var OverrideDeclarationSchema = /* @__PURE__ */ (() => /* @__PURE__ */ strictObject({
|
|
11
11
|
surface: "this override declaration",
|
|
12
12
|
history: "New with ADR-0146: the shape was closed from its first release, so a misspelt key is refused instead of dropped.",
|
|
13
13
|
aliases: { packageId: "package", base: "package", basePackage: "package", version: "basedOn", baseVersion: "basedOn" }
|
|
@@ -22,8 +22,8 @@ var OverrideDeclarationSchema = /* @__PURE__ */ strictObject({
|
|
|
22
22
|
)
|
|
23
23
|
}).describe(
|
|
24
24
|
`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.`
|
|
25
|
-
);
|
|
26
|
-
var OverrideDeclarationFields = {
|
|
25
|
+
))();
|
|
26
|
+
var OverrideDeclarationFields = /* @__PURE__ */ (() => ({
|
|
27
27
|
/**
|
|
28
28
|
* Declares that this item replaces the base package's item of the same name
|
|
29
29
|
* (ADR-0146 D2). `basedOn` is recorded and never gates; a base's upgrade
|
|
@@ -32,7 +32,7 @@ var OverrideDeclarationFields = {
|
|
|
32
32
|
overrides: OverrideDeclarationSchema.optional().describe(
|
|
33
33
|
"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."
|
|
34
34
|
)
|
|
35
|
-
};
|
|
35
|
+
}))();
|
|
36
36
|
var SystemIdentifierSchema = /* @__PURE__ */ lazySchema(() => z.string().min(2, { message: "System identifier must be at least 2 characters" }).regex(/^[a-z][a-z0-9_.]*$/, {
|
|
37
37
|
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")'
|
|
38
38
|
}).describe("System identifier (lowercase with underscores or dots)"));
|
|
@@ -40,31 +40,31 @@ var SnakeCaseIdentifierSchema = /* @__PURE__ */ lazySchema(() => z.string().min(
|
|
|
40
40
|
message: 'Identifier must be lowercase snake_case, starting with a letter, and may contain only letters, numbers, and underscores (e.g., "user_profile")'
|
|
41
41
|
}).describe("Snake case identifier (lowercase with underscores only)"));
|
|
42
42
|
var ITEM_NAME_SEGMENT = "[a-z][a-z0-9_]*";
|
|
43
|
-
var METADATA_ITEM_NAME_PATTERN = new RegExp(
|
|
43
|
+
var METADATA_ITEM_NAME_PATTERN = /* @__PURE__ */ (() => new RegExp(
|
|
44
44
|
`^${ITEM_NAME_SEGMENT}(\\.${ITEM_NAME_SEGMENT})*$`
|
|
45
|
-
);
|
|
46
|
-
var QUALIFIED_ITEM_NAME_PATTERN = new RegExp(
|
|
45
|
+
))();
|
|
46
|
+
var QUALIFIED_ITEM_NAME_PATTERN = /* @__PURE__ */ (() => new RegExp(
|
|
47
47
|
`^${ITEM_NAME_SEGMENT}(\\.${ITEM_NAME_SEGMENT})+$`
|
|
48
|
-
);
|
|
48
|
+
))();
|
|
49
49
|
var MetadataItemNameSchema = /* @__PURE__ */ lazySchema(() => z.string().regex(METADATA_ITEM_NAME_PATTERN, {
|
|
50
50
|
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.'
|
|
51
51
|
}).describe("Metadata item name (lowercase snake_case segments, optionally dot-qualified)"));
|
|
52
52
|
|
|
53
53
|
// src/data/field-group-layout.ts
|
|
54
54
|
var FIELD_GROUP_KEY_PATTERN = /^[a-z_][a-z0-9_]*$/;
|
|
55
|
-
var AUDIT_PROVENANCE_FIELDS = Object.freeze([
|
|
55
|
+
var AUDIT_PROVENANCE_FIELDS = /* @__PURE__ */ (() => Object.freeze([
|
|
56
56
|
"created_at",
|
|
57
57
|
"created_by",
|
|
58
58
|
"updated_at",
|
|
59
59
|
"updated_by"
|
|
60
|
-
]);
|
|
61
|
-
var FIELD_GROUP_SYSTEM_FIELDS = /* @__PURE__ */ new Set([
|
|
60
|
+
]))();
|
|
61
|
+
var FIELD_GROUP_SYSTEM_FIELDS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
62
62
|
...AUDIT_PROVENANCE_FIELDS,
|
|
63
63
|
"organization_id",
|
|
64
64
|
"tenant_id",
|
|
65
65
|
"is_deleted",
|
|
66
66
|
"deleted_at"
|
|
67
|
-
]);
|
|
67
|
+
]))();
|
|
68
68
|
function readGroup(g) {
|
|
69
69
|
if (!g || typeof g !== "object" || Array.isArray(g)) return null;
|
|
70
70
|
const grp = g;
|
|
@@ -181,9 +181,9 @@ var FUNCTIONAL_COMPLETENESS_RULES = [
|
|
|
181
181
|
];
|
|
182
182
|
var isRec = (v) => !!v && typeof v === "object" && !Array.isArray(v);
|
|
183
183
|
var hasEntries = (v) => Array.isArray(v) && v.length > 0;
|
|
184
|
-
var DEAD_WITHOUT_OPTIONS_ERROR = /* @__PURE__ */ new Set(["select", "radio"]);
|
|
185
|
-
var DEAD_WITHOUT_OPTIONS_WARNING = /* @__PURE__ */ new Set(["checkboxes"]);
|
|
186
|
-
var RELATIONSHIP_TYPES = /* @__PURE__ */ new Set(["lookup", "master_detail"]);
|
|
184
|
+
var DEAD_WITHOUT_OPTIONS_ERROR = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["select", "radio"]))();
|
|
185
|
+
var DEAD_WITHOUT_OPTIONS_WARNING = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["checkboxes"]))();
|
|
186
|
+
var RELATIONSHIP_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["lookup", "master_detail"]))();
|
|
187
187
|
function checkFieldCompleteness(def) {
|
|
188
188
|
if (!isRec(def)) return [];
|
|
189
189
|
const type = typeof def.type === "string" ? def.type : void 0;
|
|
@@ -254,13 +254,13 @@ var VIEW_BINDING_FIX = {
|
|
|
254
254
|
tree: "tree: { parentField: '<self_lookup_field>', labelField: '<text_field>' }",
|
|
255
255
|
timesheet: "timesheet: { rowFields: ['<field>'], dateField: '<date_field>', valueField: '<number_field>' }"
|
|
256
256
|
};
|
|
257
|
-
var VIEW_BINDING_MESSAGE = {
|
|
257
|
+
var VIEW_BINDING_MESSAGE = /* @__PURE__ */ (() => ({
|
|
258
258
|
calendar: 'A `calendar` view with no `calendar` block shows the "Calendar configuration required" screen on every object (`ObjectCalendar.tsx` \u2014 `getCalendarConfig` resolves `null`)',
|
|
259
259
|
gantt: 'A `gantt` view with no `gantt` block shows the "Gantt configuration required" screen on every object (`ObjectGantt.tsx` \u2014 `getGanttConfig` resolves `null`)',
|
|
260
260
|
timeline: 'A `timeline` view with no `timeline` block shows the "Timeline date axis required" screen on every object (`ObjectTimeline.tsx` resolves no date field)',
|
|
261
261
|
map: 'A `map` view with no `map` block shows the "Map configuration required" screen on every object (`ObjectMap.tsx` \u2014 its `hasCoordinateBinding` gate fails)',
|
|
262
262
|
timesheet: 'A `timesheet` view with no `timesheet` block shows the "Timesheet configuration required" screen on every object (`ObjectTimesheet.tsx` \u2014 `resolveTimesheetConfig` resolves `null`)'
|
|
263
|
-
};
|
|
263
|
+
}))();
|
|
264
264
|
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`;
|
|
265
265
|
var isNonEmptyString = (v) => typeof v === "string" && v.length > 0;
|
|
266
266
|
var hasMapCoordinateBinding = (block) => isNonEmptyString(block.locationField) || isNonEmptyString(block.latitudeField) && isNonEmptyString(block.longitudeField);
|
|
@@ -274,7 +274,7 @@ function hasDetectableParentField(object) {
|
|
|
274
274
|
const own = isNonEmptyString(object.name) ? object.name : void 0;
|
|
275
275
|
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);
|
|
276
276
|
}
|
|
277
|
-
var ROW_COLOR_VIEW_TYPES = /* @__PURE__ */ new Set(["grid"]);
|
|
277
|
+
var ROW_COLOR_VIEW_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["grid"]))();
|
|
278
278
|
var hasNoColorMap = (colors) => colors === void 0 || colors === null || isRec(colors) && Object.keys(colors).length === 0;
|
|
279
279
|
var isUnresolvableRowColor = (value) => !value.startsWith("bg-") && !/^[a-z]+$/.test(value.toLowerCase().trim());
|
|
280
280
|
function checkViewCompleteness(view, boundObject) {
|
|
@@ -375,14 +375,14 @@ function templateExpressionInput(expression2, refusals) {
|
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
// src/shared/expression.zod.ts
|
|
378
|
-
var ExpressionDialect = z.enum(["cel", "cron", "template"]);
|
|
379
|
-
var ExpressionMetaSchema = z.object({
|
|
378
|
+
var ExpressionDialect = /* @__PURE__ */ (() => z.enum(["cel", "cron", "template"]))();
|
|
379
|
+
var ExpressionMetaSchema = /* @__PURE__ */ (() => z.object({
|
|
380
380
|
/** Human-readable rationale (often AI-emitted). */
|
|
381
381
|
rationale: z.string().optional(),
|
|
382
382
|
/** Identifier of the agent / tool that produced this expression. */
|
|
383
383
|
generatedBy: z.string().optional()
|
|
384
|
-
});
|
|
385
|
-
var ExpressionSchema = z.object({
|
|
384
|
+
}))();
|
|
385
|
+
var ExpressionSchema = /* @__PURE__ */ (() => z.object({
|
|
386
386
|
/** Which engine evaluates `source` / `ast`. */
|
|
387
387
|
dialect: ExpressionDialect,
|
|
388
388
|
/** Surface syntax. Required while `ast` is not yet populated. */
|
|
@@ -396,19 +396,19 @@ var ExpressionSchema = z.object({
|
|
|
396
396
|
meta: ExpressionMetaSchema.optional()
|
|
397
397
|
}).refine(requiredOneOf(["source", "ast"]), {
|
|
398
398
|
message: "Expression requires at least one of `source` or `ast`"
|
|
399
|
-
});
|
|
400
|
-
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' }`.";
|
|
401
|
-
var EvaluatedExpressionSchema = ExpressionSchema.safeExtend({
|
|
399
|
+
}))();
|
|
400
|
+
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' }`.")();
|
|
401
|
+
var EvaluatedExpressionSchema = /* @__PURE__ */ (() => ExpressionSchema.safeExtend({
|
|
402
402
|
/**
|
|
403
403
|
* Surface syntax — required and non-blank in an evaluated slot: it is what
|
|
404
404
|
* the engine evaluates, and `ast` alone cannot be run.
|
|
405
405
|
*/
|
|
406
406
|
source: z.string({ error: () => EVALUATED_EXPRESSION_SOURCE_REQUIRED }).refine(NON_BLANK_STRING, { message: EVALUATED_EXPRESSION_SOURCE_REQUIRED })
|
|
407
|
-
});
|
|
408
|
-
var ExpressionInputSchema = z.union([
|
|
407
|
+
}))();
|
|
408
|
+
var ExpressionInputSchema = /* @__PURE__ */ (() => z.union([
|
|
409
409
|
z.string().min(1).transform((source) => ({ dialect: "cel", source })),
|
|
410
410
|
ExpressionSchema
|
|
411
|
-
]);
|
|
411
|
+
]))();
|
|
412
412
|
function evaluatedExpressionInputRefusal(input) {
|
|
413
413
|
if (typeof input === "string") return EVALUATED_EXPRESSION_SOURCE_REQUIRED;
|
|
414
414
|
if (input && typeof input === "object" && !Array.isArray(input) && typeof input.source !== "string") {
|
|
@@ -416,26 +416,26 @@ function evaluatedExpressionInputRefusal(input) {
|
|
|
416
416
|
}
|
|
417
417
|
return void 0;
|
|
418
418
|
}
|
|
419
|
-
var EvaluatedExpressionInputSchema = z.union([
|
|
419
|
+
var EvaluatedExpressionInputSchema = /* @__PURE__ */ (() => z.union([
|
|
420
420
|
z.string().refine(NON_BLANK_STRING, { message: EVALUATED_EXPRESSION_SOURCE_REQUIRED }).transform((source) => ({ dialect: "cel", source })),
|
|
421
421
|
EvaluatedExpressionSchema
|
|
422
|
-
], { error: (issue) => evaluatedExpressionInputRefusal(issue.input) });
|
|
423
|
-
var TYPED_EXPRESSION_SOURCE_REQUIRED = {
|
|
422
|
+
], { error: (issue) => evaluatedExpressionInputRefusal(issue.input) }))();
|
|
423
|
+
var TYPED_EXPRESSION_SOURCE_REQUIRED = /* @__PURE__ */ (() => ({
|
|
424
424
|
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.",
|
|
425
425
|
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}}' }`."
|
|
426
|
-
};
|
|
427
|
-
var TYPED_EXPRESSION_DIALECT_ONLY = {
|
|
426
|
+
}))();
|
|
427
|
+
var TYPED_EXPRESSION_DIALECT_ONLY = /* @__PURE__ */ (() => ({
|
|
428
428
|
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' }`.",
|
|
429
429
|
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}}' }`."
|
|
430
|
-
};
|
|
430
|
+
}))();
|
|
431
431
|
function typedExpressionRefusals(dialect) {
|
|
432
432
|
return {
|
|
433
433
|
sourceRequired: TYPED_EXPRESSION_SOURCE_REQUIRED[dialect],
|
|
434
434
|
dialectOnly: TYPED_EXPRESSION_DIALECT_ONLY[dialect]
|
|
435
435
|
};
|
|
436
436
|
}
|
|
437
|
-
var CronExpressionInputSchema = cronExpressionInput(ExpressionSchema, typedExpressionRefusals("cron"));
|
|
438
|
-
var TemplateExpressionInputSchema = templateExpressionInput(ExpressionSchema, typedExpressionRefusals("template"));
|
|
437
|
+
var CronExpressionInputSchema = /* @__PURE__ */ (() => cronExpressionInput(ExpressionSchema, typedExpressionRefusals("cron")))();
|
|
438
|
+
var TemplateExpressionInputSchema = /* @__PURE__ */ (() => templateExpressionInput(ExpressionSchema, typedExpressionRefusals("template")))();
|
|
439
439
|
var PredicateSchema = ExpressionSchema;
|
|
440
440
|
var PredicateInputSchema = ExpressionInputSchema;
|
|
441
441
|
function expression(source, dialect = "cel", meta) {
|
|
@@ -477,7 +477,7 @@ function cron(strings, ...values) {
|
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
// src/data/filter-comparand-operators.ts
|
|
480
|
-
var SCALAR_COMPARAND_OPERATORS = /* @__PURE__ */ new Set([
|
|
480
|
+
var SCALAR_COMPARAND_OPERATORS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
481
481
|
"$eq",
|
|
482
482
|
"$ne",
|
|
483
483
|
"$gt",
|
|
@@ -494,18 +494,18 @@ var SCALAR_COMPARAND_OPERATORS = /* @__PURE__ */ new Set([
|
|
|
494
494
|
"$null",
|
|
495
495
|
"$exists",
|
|
496
496
|
"$empty"
|
|
497
|
-
]);
|
|
498
|
-
var LIST_COMPARAND_OPERATORS = /* @__PURE__ */ new Set([
|
|
497
|
+
]))();
|
|
498
|
+
var LIST_COMPARAND_OPERATORS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
499
499
|
"$in",
|
|
500
500
|
"$nin",
|
|
501
501
|
"$between"
|
|
502
|
-
]);
|
|
502
|
+
]))();
|
|
503
503
|
function isListComparandOperator(op) {
|
|
504
504
|
return LIST_COMPARAND_OPERATORS.has(op);
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
// src/data/readable-ids.ts
|
|
508
|
-
var READABLE_IDS_BRAND = /* @__PURE__ */ Symbol.for("objectstack.filter.readableIds");
|
|
508
|
+
var READABLE_IDS_BRAND = /* @__PURE__ */ (() => /* @__PURE__ */ Symbol.for("objectstack.filter.readableIds"))();
|
|
509
509
|
function isReadableIds(value) {
|
|
510
510
|
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
511
511
|
if (!Object.prototype.hasOwnProperty.call(value, READABLE_IDS_BRAND)) return false;
|
|
@@ -513,10 +513,10 @@ function isReadableIds(value) {
|
|
|
513
513
|
const object = value.object;
|
|
514
514
|
return typeof object === "string" && object.length > 0;
|
|
515
515
|
}
|
|
516
|
-
var RLS_DENY_FILTER = Object.freeze({
|
|
516
|
+
var RLS_DENY_FILTER = /* @__PURE__ */ (() => Object.freeze({
|
|
517
517
|
id: "__rls_deny__:00000000-0000-0000-0000-000000000000"
|
|
518
|
-
});
|
|
519
|
-
var COMPOSED_READABLE_IDS_BRAND = /* @__PURE__ */ Symbol.for("objectstack.filter.readableIds.composed");
|
|
518
|
+
}))();
|
|
519
|
+
var COMPOSED_READABLE_IDS_BRAND = /* @__PURE__ */ (() => /* @__PURE__ */ Symbol.for("objectstack.filter.readableIds.composed"))();
|
|
520
520
|
function isComposedReadableIds(value) {
|
|
521
521
|
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
522
522
|
if (!Object.prototype.hasOwnProperty.call(value, COMPOSED_READABLE_IDS_BRAND)) return false;
|
|
@@ -536,7 +536,7 @@ function describeArgument(value) {
|
|
|
536
536
|
if (typeof value === "string") return value.length === 0 ? "an empty string" : "a string";
|
|
537
537
|
return typeof value;
|
|
538
538
|
}
|
|
539
|
-
var ReadableIds = Object.freeze({
|
|
539
|
+
var ReadableIds = /* @__PURE__ */ (() => Object.freeze({
|
|
540
540
|
of(object) {
|
|
541
541
|
if (typeof object !== "string" || object.length === 0) {
|
|
542
542
|
throw new TypeError(
|
|
@@ -577,11 +577,11 @@ var ReadableIds = Object.freeze({
|
|
|
577
577
|
});
|
|
578
578
|
return Object.freeze(composed);
|
|
579
579
|
}
|
|
580
|
-
});
|
|
580
|
+
}))();
|
|
581
581
|
|
|
582
582
|
// src/data/shared-record-ids.ts
|
|
583
|
-
var SHARED_RECORD_IDS_BRAND = /* @__PURE__ */ Symbol.for("objectstack.filter.sharedRecordIds");
|
|
584
|
-
var LEAF_KEYS = /* @__PURE__ */ new Set(["object", "recipient", "accessLevels"]);
|
|
583
|
+
var SHARED_RECORD_IDS_BRAND = /* @__PURE__ */ (() => /* @__PURE__ */ Symbol.for("objectstack.filter.sharedRecordIds"))();
|
|
584
|
+
var LEAF_KEYS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["object", "recipient", "accessLevels"]))();
|
|
585
585
|
var isNonEmptyString2 = (value) => typeof value === "string" && value.length > 0;
|
|
586
586
|
function readLevelList(value) {
|
|
587
587
|
if (!Array.isArray(value) || value.length === 0 || !Object.isFrozen(value)) return void 0;
|
|
@@ -649,7 +649,7 @@ function assertInputs(factory, object, recipient) {
|
|
|
649
649
|
}
|
|
650
650
|
var TABLE = "sys_record_share";
|
|
651
651
|
var COLUMN = "record_id";
|
|
652
|
-
var SharedRecordIds = Object.freeze({
|
|
652
|
+
var SharedRecordIds = /* @__PURE__ */ (() => Object.freeze({
|
|
653
653
|
read(object, recipient) {
|
|
654
654
|
assertInputs("read", object, recipient);
|
|
655
655
|
return brand({ object, recipient });
|
|
@@ -680,18 +680,18 @@ var SharedRecordIds = Object.freeze({
|
|
|
680
680
|
tenantScope: "none"
|
|
681
681
|
});
|
|
682
682
|
}
|
|
683
|
-
});
|
|
683
|
+
}))();
|
|
684
684
|
|
|
685
685
|
// src/data/fixed-read-leaf.ts
|
|
686
|
-
var FIXED_READ_LEAF_NAMES = Object.freeze(["SharedRecordIds"]);
|
|
687
|
-
var FIXED_READ_LEAVES = Object.freeze([
|
|
686
|
+
var FIXED_READ_LEAF_NAMES = /* @__PURE__ */ (() => Object.freeze(["SharedRecordIds"]))();
|
|
687
|
+
var FIXED_READ_LEAVES = /* @__PURE__ */ (() => Object.freeze([
|
|
688
688
|
Object.freeze({
|
|
689
689
|
brand: SHARED_RECORD_IDS_BRAND,
|
|
690
690
|
name: "SharedRecordIds",
|
|
691
691
|
is: isSharedRecordIds,
|
|
692
692
|
innerRead: SharedRecordIds.innerRead
|
|
693
693
|
})
|
|
694
|
-
]);
|
|
694
|
+
]))();
|
|
695
695
|
function fixedReadLeafBrandOf(value) {
|
|
696
696
|
return FIXED_READ_LEAVES.find((row) => row.is(value))?.brand;
|
|
697
697
|
}
|
|
@@ -715,7 +715,7 @@ function fixedInnerReadOf(leaf) {
|
|
|
715
715
|
|
|
716
716
|
// src/shared/refusal-head.ts
|
|
717
717
|
var REFUSAL_HEAD_MAX = 160;
|
|
718
|
-
var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("@objectstack/spec:refusal-heads");
|
|
718
|
+
var REGISTRY_KEY = /* @__PURE__ */ (() => /* @__PURE__ */ Symbol.for("@objectstack/spec:refusal-heads"))();
|
|
719
719
|
function registry() {
|
|
720
720
|
const holder = globalThis;
|
|
721
721
|
let map = holder[REGISTRY_KEY];
|
|
@@ -768,12 +768,12 @@ function shapePreview(value) {
|
|
|
768
768
|
}
|
|
769
769
|
return text.length > 60 ? `${text.slice(0, 59)}\u2026` : text;
|
|
770
770
|
}
|
|
771
|
-
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
|
|
771
|
+
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.`)();
|
|
772
772
|
function arrayEqualityComparandMessage(value, site) {
|
|
773
773
|
const position = site.op ? operatorPosition(site.op, site.field) : `The implicit-equality comparand on field "${site.field}"`;
|
|
774
774
|
return singleValueSlotMessage(position, value, site.path, ARRAY_EQUALITY_COMPARAND_REMEDY);
|
|
775
775
|
}
|
|
776
|
-
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
|
|
776
|
+
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.`)();
|
|
777
777
|
function arrayInequalityComparandMessage(value, site) {
|
|
778
778
|
return singleValueSlotMessage(
|
|
779
779
|
operatorPosition("$ne", site.field),
|
|
@@ -782,7 +782,7 @@ function arrayInequalityComparandMessage(value, site) {
|
|
|
782
782
|
ARRAY_INEQUALITY_COMPARAND_REMEDY
|
|
783
783
|
);
|
|
784
784
|
}
|
|
785
|
-
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
|
|
785
|
+
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.`)();
|
|
786
786
|
function arrayScalarComparandMessage(op, value, site) {
|
|
787
787
|
return singleValueSlotMessage(
|
|
788
788
|
operatorPosition(op, site.field),
|
|
@@ -800,7 +800,7 @@ function singleValueSlotMessage(position, value, path, remedy) {
|
|
|
800
800
|
}
|
|
801
801
|
|
|
802
802
|
// src/data/filter-comparand-shape.ts
|
|
803
|
-
var LIST_COMPARAND_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
803
|
+
var LIST_COMPARAND_OPERATORS2 = /* @__PURE__ */ (() => /* @__PURE__ */ new Map([
|
|
804
804
|
// [#19889] The `$in` row is read from the shared refusal text, so the operator
|
|
805
805
|
// the equality-slot refusal prescribes and this row cannot name two lists.
|
|
806
806
|
["$in", IN_OPERATOR_SPELLINGS],
|
|
@@ -808,17 +808,17 @@ var LIST_COMPARAND_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
|
808
808
|
["$nin", NIN_OPERATOR_SPELLINGS],
|
|
809
809
|
// [#21448] And the `$between` row, for the range the scalar-slot refusal prescribes.
|
|
810
810
|
["$between", BETWEEN_OPERATOR_SPELLINGS]
|
|
811
|
-
]);
|
|
812
|
-
var ORDERING_COMPARAND_OPERATORS = /* @__PURE__ */ new Map([
|
|
811
|
+
]))();
|
|
812
|
+
var ORDERING_COMPARAND_OPERATORS = /* @__PURE__ */ (() => /* @__PURE__ */ new Map([
|
|
813
813
|
["$gt", [">", "gt", "greater_than", "greaterthan", "after"]],
|
|
814
814
|
["$gte", [">=", "gte", "greater_than_or_equal", "greaterthanorequal", "greaterorequal"]],
|
|
815
815
|
["$lt", ["<", "lt", "less_than", "lessthan", "before"]],
|
|
816
816
|
["$lte", ["<=", "lte", "less_than_or_equal", "lessthanorequal", "lessorequal"]]
|
|
817
|
-
]);
|
|
818
|
-
var SCALAR_ALTERNATIVE = /* @__PURE__ */ new Map([
|
|
817
|
+
]))();
|
|
818
|
+
var SCALAR_ALTERNATIVE = /* @__PURE__ */ (() => /* @__PURE__ */ new Map([
|
|
819
819
|
["$in", '"=" ($eq)'],
|
|
820
820
|
["$nin", '"!=" ($ne)']
|
|
821
|
-
]);
|
|
821
|
+
]))();
|
|
822
822
|
function isFilterNode(value) {
|
|
823
823
|
return typeof value === "object" && value !== null && !Array.isArray(value) && !(value instanceof Date);
|
|
824
824
|
}
|
|
@@ -1024,7 +1024,7 @@ var ACCEPTED_FILTER_COMPARAND_TYPES = [
|
|
|
1024
1024
|
"Date"
|
|
1025
1025
|
];
|
|
1026
1026
|
var ACCEPTED_FILTER_COMPARAND_TYPES_SENTENCE = "a string, number, bigint, boolean, null or Date";
|
|
1027
|
-
var FILTER_COMPARAND_BIGINT_EXACT_LIMIT = 2n ** 53n;
|
|
1027
|
+
var FILTER_COMPARAND_BIGINT_EXACT_LIMIT = /* @__PURE__ */ (() => 2n ** 53n)();
|
|
1028
1028
|
function isAcceptedFilterComparand(value) {
|
|
1029
1029
|
if (value === null) return true;
|
|
1030
1030
|
switch (typeof value) {
|
|
@@ -1048,7 +1048,7 @@ function isFieldReference(value) {
|
|
|
1048
1048
|
function isNowAnchor(value) {
|
|
1049
1049
|
return isFilterNode2(value) && (value.$now === true || typeof value.$now === "string");
|
|
1050
1050
|
}
|
|
1051
|
-
var NOW_ANCHOR_KEYS = /* @__PURE__ */ new Set(["$now", "addDays"]);
|
|
1051
|
+
var NOW_ANCHOR_KEYS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["$now", "addDays"]))();
|
|
1052
1052
|
function undeclaredNowAnchorKeys(value) {
|
|
1053
1053
|
return Object.keys(value).filter((key) => !NOW_ANCHOR_KEYS.has(key));
|
|
1054
1054
|
}
|
|
@@ -1304,7 +1304,7 @@ function nonListComparandMessage(op, field, value) {
|
|
|
1304
1304
|
function malformedRangeComparandMessage(field, value) {
|
|
1305
1305
|
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.`;
|
|
1306
1306
|
}
|
|
1307
|
-
var ORDERING_OPERATORS = /* @__PURE__ */ new Set(["$gt", "$gte", "$lt", "$lte"]);
|
|
1307
|
+
var ORDERING_OPERATORS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["$gt", "$gte", "$lt", "$lte"]))();
|
|
1308
1308
|
function operatorSlotSentence(slots, op, comparand, at) {
|
|
1309
1309
|
const parsed = slots.shape[op]?.safeParse(comparand);
|
|
1310
1310
|
const where = at.join(".");
|
|
@@ -1343,7 +1343,7 @@ function comparandShapeRefusalAtSave(slots, field, op, comparand, face) {
|
|
|
1343
1343
|
const located = refusal ?? { at: [], message: face.message };
|
|
1344
1344
|
return head === void 0 ? located : { ...located, head };
|
|
1345
1345
|
}
|
|
1346
|
-
var BOOLEAN_FLAG_OPERATORS = /* @__PURE__ */ new Set(["$null", "$exists", "$empty"]);
|
|
1346
|
+
var BOOLEAN_FLAG_OPERATORS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["$null", "$exists", "$empty"]))();
|
|
1347
1347
|
function describeFlagComparand(value) {
|
|
1348
1348
|
if (value === null) return "null";
|
|
1349
1349
|
if (value === void 0) return "undefined";
|
|
@@ -1435,11 +1435,11 @@ function dottedAddDaysReference(input) {
|
|
|
1435
1435
|
function dottedAddDaysOffsetSentence(ref) {
|
|
1436
1436
|
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.`;
|
|
1437
1437
|
}
|
|
1438
|
-
var AddDaysReferenceSchema = z.object({
|
|
1438
|
+
var AddDaysReferenceSchema = /* @__PURE__ */ (() => z.object({
|
|
1439
1439
|
// A pattern rather than a refinement, so the published JSON Schema carries
|
|
1440
1440
|
// the rule too (`pattern`) instead of joining the dropped-refinement ledger.
|
|
1441
1441
|
$field: 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)")
|
|
1442
|
-
}).describe("A { $field } reference to the numeric column holding the day offset");
|
|
1442
|
+
}).describe("A { $field } reference to the numeric column holding the day offset"))();
|
|
1443
1443
|
var FieldReferenceSchema = /* @__PURE__ */ lazySchema(() => z.object({
|
|
1444
1444
|
$field: z.string().describe("Field Reference/Column Name"),
|
|
1445
1445
|
/**
|
|
@@ -1493,8 +1493,8 @@ function nowAnchorIssueMessage(input) {
|
|
|
1493
1493
|
const result = NowAnchorSchema.safeParse(input);
|
|
1494
1494
|
return result.success ? void 0 : nowAnchorMessage(input);
|
|
1495
1495
|
}
|
|
1496
|
-
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.';
|
|
1497
|
-
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.';
|
|
1496
|
+
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.')();
|
|
1497
|
+
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.')();
|
|
1498
1498
|
var equalityComparandSchema = () => z.any().superRefine((value, ctx) => {
|
|
1499
1499
|
if (!Array.isArray(value)) return;
|
|
1500
1500
|
ctx.addIssue({ code: "custom", message: arrayEqualityComparandMessage(value, { op: "$eq" }) });
|
|
@@ -1509,7 +1509,7 @@ var EqualityOperatorSchema = /* @__PURE__ */ lazySchema(() => z.object({
|
|
|
1509
1509
|
/** Not equal to - SQL: <> or != | MongoDB: $ne */
|
|
1510
1510
|
$ne: inequalityComparandSchema()
|
|
1511
1511
|
}));
|
|
1512
|
-
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")
|
|
1512
|
+
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").`)();
|
|
1513
1513
|
function nullOrderingComparandMessage(op) {
|
|
1514
1514
|
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".`;
|
|
1515
1515
|
}
|
|
@@ -1565,14 +1565,14 @@ var setMembershipSchema = (op) => z.array(z.any()).superRefine((members, ctx) =>
|
|
|
1565
1565
|
});
|
|
1566
1566
|
});
|
|
1567
1567
|
});
|
|
1568
|
-
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 }] }.';
|
|
1568
|
+
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 }] }.')();
|
|
1569
1569
|
var SetOperatorSchema = /* @__PURE__ */ lazySchema(() => z.object({
|
|
1570
1570
|
/** In list - SQL: IN (?, ?, ?) | MongoDB: $in */
|
|
1571
1571
|
$in: setMembershipSchema("$in").optional().describe(SET_MEMBER_DESCRIPTION),
|
|
1572
1572
|
/** Not in list - SQL: NOT IN (...) | MongoDB: $nin */
|
|
1573
1573
|
$nin: setMembershipSchema("$nin").optional().describe(SET_MEMBER_DESCRIPTION)
|
|
1574
1574
|
}));
|
|
1575
|
-
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
|
|
1575
|
+
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.`)();
|
|
1576
1576
|
function blankRangeBoundMessage(index) {
|
|
1577
1577
|
const side = index === 0 ? "MIN" : "MAX";
|
|
1578
1578
|
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).`;
|
|
@@ -1589,19 +1589,19 @@ var rangeEndpointSchema = (index) => z.union([z.number(), z.date(), z.string()],
|
|
|
1589
1589
|
if (endpoint !== "") return;
|
|
1590
1590
|
ctx.addIssue({ code: "custom", message: blankRangeBoundMessage(index) });
|
|
1591
1591
|
});
|
|
1592
|
-
var RANGE_BETWEEN_DESCRIPTION = `Between (inclusive). ${RANGE_ENDPOINT_DESCRIPTION}
|
|
1592
|
+
var RANGE_BETWEEN_DESCRIPTION = /* @__PURE__ */ (() => `Between (inclusive). ${RANGE_ENDPOINT_DESCRIPTION}`)();
|
|
1593
1593
|
var RangeOperatorSchema = /* @__PURE__ */ lazySchema(() => z.object({
|
|
1594
1594
|
/** Between (inclusive) - takes [min, max] array */
|
|
1595
1595
|
$between: z.tuple([rangeEndpointSchema(0), rangeEndpointSchema(1)]).optional().describe(RANGE_BETWEEN_DESCRIPTION)
|
|
1596
1596
|
}));
|
|
1597
|
-
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)
|
|
1598
|
-
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
|
|
1599
|
-
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}
|
|
1600
|
-
var STARTS_WITH_DESCRIPTION = `Starts with prefix, CASE-SENSITIVELY. Lowered to \`LIKE '?%'\` (case-exact) on the SQL family. ${LITERAL_COMPARAND_DESCRIPTION}
|
|
1601
|
-
var ENDS_WITH_DESCRIPTION = `Ends with suffix, CASE-SENSITIVELY. Lowered to \`LIKE '%?'\` (case-exact) on the SQL family. ${LITERAL_COMPARAND_DESCRIPTION}
|
|
1602
|
-
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.';
|
|
1603
|
-
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.';
|
|
1604
|
-
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
|
|
1597
|
+
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).`)();
|
|
1598
|
+
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.`)();
|
|
1599
|
+
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}`)();
|
|
1600
|
+
var STARTS_WITH_DESCRIPTION = /* @__PURE__ */ (() => `Starts with prefix, CASE-SENSITIVELY. Lowered to \`LIKE '?%'\` (case-exact) on the SQL family. ${LITERAL_COMPARAND_DESCRIPTION}`)();
|
|
1601
|
+
var ENDS_WITH_DESCRIPTION = /* @__PURE__ */ (() => `Ends with suffix, CASE-SENSITIVELY. Lowered to \`LIKE '%?'\` (case-exact) on the SQL family. ${LITERAL_COMPARAND_DESCRIPTION}`)();
|
|
1602
|
+
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.')();
|
|
1603
|
+
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.')();
|
|
1604
|
+
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.`)();
|
|
1605
1605
|
var StringOperatorSchema = /* @__PURE__ */ lazySchema(() => z.object({
|
|
1606
1606
|
/** Contains substring, CASE-SENSITIVELY - SQL: LIKE %?% (case-exact) */
|
|
1607
1607
|
$contains: z.string().optional().describe(CONTAINS_DESCRIPTION),
|
|
@@ -1663,7 +1663,7 @@ function hasDanglingLikeEscape(pattern) {
|
|
|
1663
1663
|
for (let i = pattern.length - 1; i >= 0 && pattern[i] === "\\"; i--) backslashes++;
|
|
1664
1664
|
return backslashes % 2 === 1;
|
|
1665
1665
|
}
|
|
1666
|
-
var LIKE_PATTERN_NUL = String.fromCharCode(0);
|
|
1666
|
+
var LIKE_PATTERN_NUL = /* @__PURE__ */ (() => String.fromCharCode(0))();
|
|
1667
1667
|
function hasNulInLikePattern(pattern) {
|
|
1668
1668
|
return pattern.includes(LIKE_PATTERN_NUL);
|
|
1669
1669
|
}
|
|
@@ -1732,9 +1732,9 @@ function likePatternToGlobPattern(pattern) {
|
|
|
1732
1732
|
}
|
|
1733
1733
|
return out;
|
|
1734
1734
|
}
|
|
1735
|
-
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.";
|
|
1736
|
-
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.";
|
|
1737
|
-
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.";
|
|
1735
|
+
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.")();
|
|
1736
|
+
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.")();
|
|
1737
|
+
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.")();
|
|
1738
1738
|
var SpecialOperatorSchema = /* @__PURE__ */ lazySchema(() => z.object({
|
|
1739
1739
|
/** Is null check - SQL: IS NULL (true) / IS NOT NULL (false) | MongoDB: field: null */
|
|
1740
1740
|
$null: z.boolean().optional().describe(NULL_PREDICATE_DESCRIPTION),
|
|
@@ -1815,7 +1815,7 @@ var FieldOperatorsSchema = /* @__PURE__ */ lazySchema(() => z.object({
|
|
|
1815
1815
|
// see the `$empty` paragraph there.
|
|
1816
1816
|
$empty: z.boolean().optional().describe(EMPTY_PREDICATE_DESCRIPTION)
|
|
1817
1817
|
}));
|
|
1818
|
-
var PRESET_JUDGED_ORDERING_OPS = /* @__PURE__ */ new Set(["$gt", "$gte", "$lt", "$lte"]);
|
|
1818
|
+
var PRESET_JUDGED_ORDERING_OPS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["$gt", "$gte", "$lt", "$lte"]))();
|
|
1819
1819
|
var PRESET_WALK_MAX_DEPTH = 32;
|
|
1820
1820
|
var FILTER_TEXT_COMPARAND_OPERATOR = "$icontains";
|
|
1821
1821
|
function isPlainFilterNode(value) {
|
|
@@ -1872,7 +1872,7 @@ function checkFilterConditionComparands(node, ctx, path = [], depth = 0) {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
1874
|
}
|
|
1875
|
-
var FilterConditionSchema = z.lazy(
|
|
1875
|
+
var FilterConditionSchema = /* @__PURE__ */ (() => z.lazy(
|
|
1876
1876
|
() => z.record(z.string(), z.unknown()).and(
|
|
1877
1877
|
z.object({
|
|
1878
1878
|
$and: z.array(FilterConditionSchema).optional(),
|
|
@@ -1892,8 +1892,8 @@ var FilterConditionSchema = z.lazy(
|
|
|
1892
1892
|
// own field entries; `$and` / `$or` / `$not` members re-enter the schema and
|
|
1893
1893
|
// are judged by their own pass with nested issue paths.
|
|
1894
1894
|
).superRefine((node, ctx) => checkFilterConditionComparands(node, ctx))
|
|
1895
|
-
);
|
|
1896
|
-
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).";
|
|
1895
|
+
))();
|
|
1896
|
+
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).")();
|
|
1897
1897
|
var QueryFilterSchema = /* @__PURE__ */ lazySchema(() => z.object({
|
|
1898
1898
|
where: FilterConditionSchema.optional().describe(WHERE_DESCRIPTION)
|
|
1899
1899
|
}));
|
|
@@ -1926,13 +1926,13 @@ var normalizedFieldConditionSchema = () => z.record(z.string(), FieldOperatorsSc
|
|
|
1926
1926
|
var normalizedMemberSchema = (position) => z.union([normalizedFieldConditionSchema(), NormalizedFilterSchema], {
|
|
1927
1927
|
error: (issue) => normalizedMemberMessage(position, issue.input)
|
|
1928
1928
|
});
|
|
1929
|
-
var NormalizedFilterSchema = z.lazy(
|
|
1929
|
+
var NormalizedFilterSchema = /* @__PURE__ */ (() => z.lazy(
|
|
1930
1930
|
() => closedObject(z.object({
|
|
1931
1931
|
$and: z.array(normalizedMemberSchema("$and member")).optional(),
|
|
1932
1932
|
$or: z.array(normalizedMemberSchema("$or member")).optional(),
|
|
1933
1933
|
$not: normalizedMemberSchema("$not operand").optional()
|
|
1934
1934
|
}).strict())
|
|
1935
|
-
);
|
|
1935
|
+
))();
|
|
1936
1936
|
var AST_OPERATOR_MAP = {
|
|
1937
1937
|
"=": "$eq",
|
|
1938
1938
|
"==": "$eq",
|
|
@@ -2015,7 +2015,7 @@ var AST_OPERATOR_MAP = {
|
|
|
2015
2015
|
function astOperatorLowering(op) {
|
|
2016
2016
|
return AST_OPERATOR_MAP[op];
|
|
2017
2017
|
}
|
|
2018
|
-
var VALID_AST_OPERATORS = new Set(Object.keys(AST_OPERATOR_MAP));
|
|
2018
|
+
var VALID_AST_OPERATORS = /* @__PURE__ */ (() => new Set(Object.keys(AST_OPERATOR_MAP)))();
|
|
2019
2019
|
var CANONICAL_INFIX = {
|
|
2020
2020
|
"$eq": "=",
|
|
2021
2021
|
"$ne": "!=",
|
|
@@ -2157,23 +2157,23 @@ function lowerFilterAST(filter) {
|
|
|
2157
2157
|
return void 0;
|
|
2158
2158
|
}
|
|
2159
2159
|
var FILTER_ARRAY_LOGIC_KEYWORDS = ["and", "or"];
|
|
2160
|
-
var FilterArrayFieldSchema = z.string().min(1).refine(
|
|
2160
|
+
var FilterArrayFieldSchema = /* @__PURE__ */ (() => z.string().min(1).refine(
|
|
2161
2161
|
(field) => !FILTER_ARRAY_LOGIC_KEYWORDS.includes(field.toLowerCase()),
|
|
2162
2162
|
{
|
|
2163
2163
|
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]].`
|
|
2164
2164
|
}
|
|
2165
|
-
);
|
|
2166
|
-
var FilterArrayOperatorSchema = z.string().refine(
|
|
2165
|
+
))();
|
|
2166
|
+
var FilterArrayOperatorSchema = /* @__PURE__ */ (() => z.string().refine(
|
|
2167
2167
|
(op) => VALID_AST_OPERATORS.has(op.toLowerCase()),
|
|
2168
2168
|
{
|
|
2169
2169
|
error: (issue) => `Unknown filter operator '${String(issue.input)}'. Recognised operators: ${[...VALID_AST_OPERATORS].sort().join(", ")}.`
|
|
2170
2170
|
}
|
|
2171
|
-
);
|
|
2172
|
-
var FilterArrayLogicSchema = z.string().refine(
|
|
2171
|
+
))();
|
|
2172
|
+
var FilterArrayLogicSchema = /* @__PURE__ */ (() => z.string().refine(
|
|
2173
2173
|
(kw) => FILTER_ARRAY_LOGIC_KEYWORDS.includes(kw.toLowerCase()),
|
|
2174
2174
|
{ message: `A logical group opens with 'and' or 'or'.` }
|
|
2175
|
-
);
|
|
2176
|
-
var FilterArraySchema = z.lazy(
|
|
2175
|
+
))();
|
|
2176
|
+
var FilterArraySchema = /* @__PURE__ */ (() => z.lazy(
|
|
2177
2177
|
() => z.union([
|
|
2178
2178
|
// Comparison — three-element form, then the two-element null-predicate form.
|
|
2179
2179
|
z.tuple([FilterArrayFieldSchema, FilterArrayOperatorSchema, z.unknown()]),
|
|
@@ -2186,7 +2186,7 @@ var FilterArraySchema = z.lazy(
|
|
|
2186
2186
|
]).describe(
|
|
2187
2187
|
'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.'
|
|
2188
2188
|
)
|
|
2189
|
-
);
|
|
2189
|
+
))();
|
|
2190
2190
|
var FILTER_OPERATORS = [
|
|
2191
2191
|
// Equality
|
|
2192
2192
|
"$eq",
|
|
@@ -2212,8 +2212,8 @@ var FILTER_OPERATORS = [
|
|
|
2212
2212
|
"$empty"
|
|
2213
2213
|
];
|
|
2214
2214
|
var LOGICAL_OPERATORS = ["$and", "$or", "$not"];
|
|
2215
|
-
var ALL_OPERATORS = [...FILTER_OPERATORS, ...LOGICAL_OPERATORS];
|
|
2216
|
-
var RETIRED_FILTER_OPERATORS = Object.freeze({
|
|
2215
|
+
var ALL_OPERATORS = /* @__PURE__ */ (() => [...FILTER_OPERATORS, ...LOGICAL_OPERATORS])();
|
|
2216
|
+
var RETIRED_FILTER_OPERATORS = /* @__PURE__ */ (() => Object.freeze({
|
|
2217
2217
|
$regex: {
|
|
2218
2218
|
to: "$icontains",
|
|
2219
2219
|
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.'
|
|
@@ -2222,11 +2222,11 @@ var RETIRED_FILTER_OPERATORS = Object.freeze({
|
|
|
2222
2222
|
to: "$icontains",
|
|
2223
2223
|
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.'
|
|
2224
2224
|
}
|
|
2225
|
-
});
|
|
2225
|
+
}))();
|
|
2226
2226
|
|
|
2227
2227
|
// src/data/authoring-key-lint.ts
|
|
2228
|
-
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.";
|
|
2229
|
-
var FIELD_KEY_GUIDANCE = Object.freeze({
|
|
2228
|
+
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.")();
|
|
2229
|
+
var FIELD_KEY_GUIDANCE = /* @__PURE__ */ (() => Object.freeze({
|
|
2230
2230
|
// ── Renamed: the concept survives under a different key ──
|
|
2231
2231
|
referenceFilter: { to: "lookupFilters" },
|
|
2232
2232
|
cascadeDelete: { to: "deleteBehavior" },
|
|
@@ -2292,19 +2292,19 @@ var FIELD_KEY_GUIDANCE = Object.freeze({
|
|
|
2292
2292
|
fields: { why: `\`fields\` is not a field key: a field declares no sub-fields. ${EMBEDDED_JSON_TYPED_LIST}` },
|
|
2293
2293
|
subFields: { why: `\`subFields\` is not a field key: a field declares no sub-fields. ${EMBEDDED_JSON_TYPED_LIST}` },
|
|
2294
2294
|
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}` }
|
|
2295
|
-
});
|
|
2296
|
-
var OBJECT_KEY_GUIDANCE = Object.freeze({
|
|
2295
|
+
}))();
|
|
2296
|
+
var OBJECT_KEY_GUIDANCE = /* @__PURE__ */ (() => Object.freeze({
|
|
2297
2297
|
capabilities: { to: "enable" },
|
|
2298
2298
|
features: { to: "enable" },
|
|
2299
2299
|
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`)." },
|
|
2300
2300
|
tableName: { why: "removed \u2014 the table name always equals the object `name`." }
|
|
2301
|
-
});
|
|
2302
|
-
var STACK_KEY_GUIDANCE = Object.freeze({
|
|
2301
|
+
}))();
|
|
2302
|
+
var STACK_KEY_GUIDANCE = /* @__PURE__ */ (() => Object.freeze({
|
|
2303
2303
|
storage: {
|
|
2304
2304
|
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)."
|
|
2305
2305
|
}
|
|
2306
|
-
});
|
|
2307
|
-
var STACK_RUNTIME_MEMBERS = Object.freeze(["onEnable", "functions"]);
|
|
2306
|
+
}))();
|
|
2307
|
+
var STACK_RUNTIME_MEMBERS = /* @__PURE__ */ (() => Object.freeze(["onEnable", "functions"]))();
|
|
2308
2308
|
function isPlainRecord(v) {
|
|
2309
2309
|
return !!v && typeof v === "object" && !Array.isArray(v);
|
|
2310
2310
|
}
|
|
@@ -2331,7 +2331,7 @@ function formatUnknownAuthoringKey(f) {
|
|
|
2331
2331
|
}
|
|
2332
2332
|
|
|
2333
2333
|
// src/data/autonumber-format.ts
|
|
2334
|
-
var DATE_PATTERNS = /* @__PURE__ */ new Set(["YYYY", "YY", "MM", "DD", "YYYYMMDD"]);
|
|
2334
|
+
var DATE_PATTERNS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["YYYY", "YY", "MM", "DD", "YYYYMMDD"]))();
|
|
2335
2335
|
function parseAutonumberFormat(format) {
|
|
2336
2336
|
const tokens = [];
|
|
2337
2337
|
if (!format) return tokens;
|
|
@@ -2465,10 +2465,10 @@ var DEFAULT_VALUE_TOKENS = [
|
|
|
2465
2465
|
DEFAULT_VALUE_TOKEN_NOW,
|
|
2466
2466
|
DEFAULT_VALUE_TOKEN_CURRENT_USER
|
|
2467
2467
|
];
|
|
2468
|
-
var DEFAULT_VALUE_TOKEN_DESCRIPTIONS = {
|
|
2468
|
+
var DEFAULT_VALUE_TOKEN_DESCRIPTIONS = /* @__PURE__ */ (() => ({
|
|
2469
2469
|
"NOW()": "The database clock at insert time. Emitted as a native column DEFAULT.",
|
|
2470
2470
|
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."
|
|
2471
|
-
};
|
|
2471
|
+
}))();
|
|
2472
2472
|
function isNowDefaultToken(v) {
|
|
2473
2473
|
return typeof v === "string" && /^now\(\)$/i.test(v.trim());
|
|
2474
2474
|
}
|
|
@@ -2685,7 +2685,7 @@ var StorageNameMapping = {
|
|
|
2685
2685
|
// column = field key, so these had zero call sites. External-object physical
|
|
2686
2686
|
// mapping lives in `external.columnMap` (ADR-0062 D7 / ADR-0015).
|
|
2687
2687
|
};
|
|
2688
|
-
var STRING_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
2688
|
+
var STRING_VALUE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2689
2689
|
"text",
|
|
2690
2690
|
"textarea",
|
|
2691
2691
|
"email",
|
|
@@ -2700,8 +2700,8 @@ var STRING_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
|
2700
2700
|
"color",
|
|
2701
2701
|
"signature",
|
|
2702
2702
|
"qrcode"
|
|
2703
|
-
]);
|
|
2704
|
-
var NUMERIC_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
2703
|
+
]))();
|
|
2704
|
+
var NUMERIC_VALUE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2705
2705
|
"number",
|
|
2706
2706
|
"currency",
|
|
2707
2707
|
"percent",
|
|
@@ -2709,45 +2709,45 @@ var NUMERIC_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
|
2709
2709
|
"slider",
|
|
2710
2710
|
"progress",
|
|
2711
2711
|
"summary"
|
|
2712
|
-
]);
|
|
2713
|
-
var BOOLEAN_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
2712
|
+
]))();
|
|
2713
|
+
var BOOLEAN_VALUE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2714
2714
|
"boolean",
|
|
2715
2715
|
"toggle"
|
|
2716
|
-
]);
|
|
2717
|
-
var CALENDAR_DATE_TYPES = /* @__PURE__ */ new Set([
|
|
2716
|
+
]))();
|
|
2717
|
+
var CALENDAR_DATE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2718
2718
|
"date"
|
|
2719
|
-
]);
|
|
2720
|
-
var INSTANT_TYPES = /* @__PURE__ */ new Set([
|
|
2719
|
+
]))();
|
|
2720
|
+
var INSTANT_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2721
2721
|
"datetime"
|
|
2722
|
-
]);
|
|
2723
|
-
var CLOCK_TIME_TYPES = /* @__PURE__ */ new Set([
|
|
2722
|
+
]))();
|
|
2723
|
+
var CLOCK_TIME_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2724
2724
|
"time"
|
|
2725
|
-
]);
|
|
2726
|
-
var NON_TEXT_STORED_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
2725
|
+
]))();
|
|
2726
|
+
var NON_TEXT_STORED_VALUE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2727
2727
|
...NUMERIC_VALUE_TYPES,
|
|
2728
2728
|
...BOOLEAN_VALUE_TYPES,
|
|
2729
2729
|
...CALENDAR_DATE_TYPES,
|
|
2730
2730
|
...INSTANT_TYPES,
|
|
2731
2731
|
...CLOCK_TIME_TYPES
|
|
2732
|
-
]);
|
|
2733
|
-
var SINGLE_OPTION_TYPES = /* @__PURE__ */ new Set([
|
|
2732
|
+
]))();
|
|
2733
|
+
var SINGLE_OPTION_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2734
2734
|
"select",
|
|
2735
2735
|
"radio"
|
|
2736
|
-
]);
|
|
2737
|
-
var MULTI_OPTION_TYPES = /* @__PURE__ */ new Set([
|
|
2736
|
+
]))();
|
|
2737
|
+
var MULTI_OPTION_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2738
2738
|
"multiselect",
|
|
2739
2739
|
"checkboxes",
|
|
2740
2740
|
"tags"
|
|
2741
|
-
]);
|
|
2742
|
-
var REFERENCE_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
2741
|
+
]))();
|
|
2742
|
+
var REFERENCE_VALUE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2743
2743
|
"lookup",
|
|
2744
2744
|
"master_detail",
|
|
2745
2745
|
"user",
|
|
2746
2746
|
"tree"
|
|
2747
|
-
]);
|
|
2748
|
-
var IMPLICIT_REFERENCE_TARGETS = /* @__PURE__ */ new Map([
|
|
2747
|
+
]))();
|
|
2748
|
+
var IMPLICIT_REFERENCE_TARGETS = /* @__PURE__ */ (() => /* @__PURE__ */ new Map([
|
|
2749
2749
|
["user", SystemObjectName.USER]
|
|
2750
|
-
]);
|
|
2750
|
+
]))();
|
|
2751
2751
|
function referenceTargetOf(def) {
|
|
2752
2752
|
if (!def || typeof def !== "object") return void 0;
|
|
2753
2753
|
const { type } = def;
|
|
@@ -2771,18 +2771,18 @@ function describeCarrierValue(value) {
|
|
|
2771
2771
|
if (typeof value === "object") return "an object";
|
|
2772
2772
|
return `a ${typeof value}`;
|
|
2773
2773
|
}
|
|
2774
|
-
var FILE_REFERENCE_TYPES = /* @__PURE__ */ new Set([
|
|
2774
|
+
var FILE_REFERENCE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2775
2775
|
"image",
|
|
2776
2776
|
"file",
|
|
2777
2777
|
"avatar",
|
|
2778
2778
|
"video",
|
|
2779
2779
|
"audio"
|
|
2780
|
-
]);
|
|
2780
|
+
]))();
|
|
2781
2781
|
function isFileIdToken(value) {
|
|
2782
2782
|
return typeof value === "string" && /^[A-Za-z0-9_-]{1,64}$/.test(value);
|
|
2783
2783
|
}
|
|
2784
2784
|
var RAW_FILE_VALUES_CONTEXT_KEY = "__rawFileValues";
|
|
2785
|
-
var STRUCTURED_JSON_TYPES = /* @__PURE__ */ new Set([
|
|
2785
|
+
var STRUCTURED_JSON_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2786
2786
|
"json",
|
|
2787
2787
|
"composite",
|
|
2788
2788
|
"repeater",
|
|
@@ -2790,20 +2790,20 @@ var STRUCTURED_JSON_TYPES = /* @__PURE__ */ new Set([
|
|
|
2790
2790
|
"location",
|
|
2791
2791
|
"address",
|
|
2792
2792
|
"vector"
|
|
2793
|
-
]);
|
|
2794
|
-
var COMPUTED_VALUE_TYPES = /* @__PURE__ */ new Set([
|
|
2793
|
+
]))();
|
|
2794
|
+
var COMPUTED_VALUE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2795
2795
|
"formula",
|
|
2796
2796
|
"summary",
|
|
2797
2797
|
"autonumber"
|
|
2798
|
-
]);
|
|
2799
|
-
var MULTI_CAPABLE_TYPES = /* @__PURE__ */ new Set([
|
|
2798
|
+
]))();
|
|
2799
|
+
var MULTI_CAPABLE_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
2800
2800
|
"select",
|
|
2801
2801
|
"radio",
|
|
2802
2802
|
"lookup",
|
|
2803
2803
|
"user",
|
|
2804
2804
|
"file",
|
|
2805
2805
|
"image"
|
|
2806
|
-
]);
|
|
2806
|
+
]))();
|
|
2807
2807
|
function isMultiValueField(def) {
|
|
2808
2808
|
if (MULTI_OPTION_TYPES.has(def.type)) return true;
|
|
2809
2809
|
return MULTI_CAPABLE_TYPES.has(def.type) && def.multiple === true;
|
|
@@ -2986,7 +2986,7 @@ function checkLiteralDefaultValue(def, dv) {
|
|
|
2986
2986
|
if (result.success) return { ok: true };
|
|
2987
2987
|
return { ok: false, detail: actionableValueIssueMessage(result.error.issues) };
|
|
2988
2988
|
}
|
|
2989
|
-
var NOW_DEFAULT_LEGAL_TYPES = /* @__PURE__ */ new Set(["datetime", "date", "time"]);
|
|
2989
|
+
var NOW_DEFAULT_LEGAL_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["datetime", "date", "time"]))();
|
|
2990
2990
|
function defaultValueTokenIssue(def, dv) {
|
|
2991
2991
|
if (!isRuntimeDefaultToken(dv)) return null;
|
|
2992
2992
|
const token = isNowDefaultToken(dv) ? DEFAULT_VALUE_TOKEN_NOW : DEFAULT_VALUE_TOKEN_CURRENT_USER;
|
|
@@ -3188,16 +3188,16 @@ var CURRENCY_FRACTION_DIGITS = {
|
|
|
3188
3188
|
ZWG: 2,
|
|
3189
3189
|
ZWL: 2
|
|
3190
3190
|
};
|
|
3191
|
-
var ValueDomainSchema = z.enum([
|
|
3191
|
+
var ValueDomainSchema = /* @__PURE__ */ (() => z.enum([
|
|
3192
3192
|
"iana_time_zone",
|
|
3193
3193
|
"iso_4217_currency",
|
|
3194
3194
|
"iso_3166_alpha2"
|
|
3195
|
-
]);
|
|
3196
|
-
var VALUE_DOMAIN_FIELD_NAMES = Object.freeze({
|
|
3195
|
+
]))();
|
|
3196
|
+
var VALUE_DOMAIN_FIELD_NAMES = /* @__PURE__ */ (() => Object.freeze({
|
|
3197
3197
|
iso_4217_currency: Object.freeze(["currency", "currency_code"]),
|
|
3198
3198
|
iso_3166_alpha2: Object.freeze(["country", "country_code"]),
|
|
3199
3199
|
iana_time_zone: Object.freeze(["time_zone", "timezone", "tz"])
|
|
3200
|
-
});
|
|
3200
|
+
}))();
|
|
3201
3201
|
function isIanaTimeZone(value) {
|
|
3202
3202
|
try {
|
|
3203
3203
|
new Intl.DateTimeFormat("en-US", { timeZone: value });
|
|
@@ -3206,9 +3206,9 @@ function isIanaTimeZone(value) {
|
|
|
3206
3206
|
return false;
|
|
3207
3207
|
}
|
|
3208
3208
|
}
|
|
3209
|
-
var ISO_3166_ALPHA2_CODES = new Set(
|
|
3209
|
+
var ISO_3166_ALPHA2_CODES = /* @__PURE__ */ (() => new Set(
|
|
3210
3210
|
"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(" ")
|
|
3211
|
-
);
|
|
3211
|
+
))();
|
|
3212
3212
|
var DOMAIN_MEMBERSHIP = {
|
|
3213
3213
|
iana_time_zone: isIanaTimeZone,
|
|
3214
3214
|
iso_4217_currency: (value) => Object.prototype.hasOwnProperty.call(CURRENCY_FRACTION_DIGITS, value),
|
|
@@ -3221,15 +3221,15 @@ function isValueDomainMember(domain, value) {
|
|
|
3221
3221
|
|
|
3222
3222
|
// src/data/standard-units.ts
|
|
3223
3223
|
var UNIT_DIMENSIONS = ["mass", "length", "area", "volume", "time", "count", "package"];
|
|
3224
|
-
var UNIT_DIMENSION_BASE_CODES = Object.freeze({
|
|
3224
|
+
var UNIT_DIMENSION_BASE_CODES = /* @__PURE__ */ (() => Object.freeze({
|
|
3225
3225
|
mass: "KGM",
|
|
3226
3226
|
length: "MTR",
|
|
3227
3227
|
area: "MTK",
|
|
3228
3228
|
volume: "MTQ",
|
|
3229
3229
|
time: "SEC",
|
|
3230
3230
|
count: "H87"
|
|
3231
|
-
});
|
|
3232
|
-
var STANDARD_UNITS = Object.freeze({
|
|
3231
|
+
}))();
|
|
3232
|
+
var STANDARD_UNITS = /* @__PURE__ */ (() => Object.freeze({
|
|
3233
3233
|
// Mass. Base: kilogram.
|
|
3234
3234
|
KGM: { dimension: "mass", ratio: "1" },
|
|
3235
3235
|
// kilogram
|
|
@@ -3321,8 +3321,8 @@ var STANDARD_UNITS = Object.freeze({
|
|
|
3321
3321
|
// Roll
|
|
3322
3322
|
XSA: { dimension: "package" }
|
|
3323
3323
|
// Sack
|
|
3324
|
-
});
|
|
3325
|
-
var STANDARD_UNIT_NAMES = Object.freeze({
|
|
3324
|
+
}))();
|
|
3325
|
+
var STANDARD_UNIT_NAMES = /* @__PURE__ */ (() => Object.freeze({
|
|
3326
3326
|
KGM: "kilogram",
|
|
3327
3327
|
GRM: "gram",
|
|
3328
3328
|
MGM: "milligram",
|
|
@@ -3364,7 +3364,7 @@ var STANDARD_UNIT_NAMES = Object.freeze({
|
|
|
3364
3364
|
XPX: "pallet",
|
|
3365
3365
|
XRO: "roll",
|
|
3366
3366
|
XSA: "sack"
|
|
3367
|
-
});
|
|
3367
|
+
}))();
|
|
3368
3368
|
function standardUnitName(code) {
|
|
3369
3369
|
return typeof code === "string" && Object.prototype.hasOwnProperty.call(STANDARD_UNIT_NAMES, code) ? STANDARD_UNIT_NAMES[code] : void 0;
|
|
3370
3370
|
}
|
|
@@ -3375,7 +3375,7 @@ var ORGANIZATION_UNIT_CODE_PATTERN = "^(?:[A-Z0-9][A-Z0-9_]{3,31}|[A-Z0-9](?:_[A
|
|
|
3375
3375
|
|
|
3376
3376
|
// src/shared/visibility-strict-options.ts
|
|
3377
3377
|
var VISIBILITY_KEY_PATTERN = /vis|conceal|hidden|show.?when/i;
|
|
3378
|
-
var VISIBILITY_STRICT_OPTIONS = {
|
|
3378
|
+
var VISIBILITY_STRICT_OPTIONS = /* @__PURE__ */ (() => ({
|
|
3379
3379
|
surface: "this view/page schema",
|
|
3380
3380
|
history: "Before ADR-0089 D3a these were dropped silently, shipping inert metadata; a mis-layered or stale key is now a loud parse error.",
|
|
3381
3381
|
guidanceSets: [
|
|
@@ -3392,7 +3392,7 @@ var VISIBILITY_STRICT_OPTIONS = {
|
|
|
3392
3392
|
prescription: "If this is the conditional-visibility predicate, the canonical key is `visibleWhen` (ADR-0089)."
|
|
3393
3393
|
}
|
|
3394
3394
|
]
|
|
3395
|
-
};
|
|
3395
|
+
}))();
|
|
3396
3396
|
|
|
3397
3397
|
// src/shared/editability-boundary.ts
|
|
3398
3398
|
var EDITABILITY_BOUNDARY_KEYS = [
|
|
@@ -3403,17 +3403,17 @@ var EDITABILITY_BOUNDARY_KEYS = [
|
|
|
3403
3403
|
"readonlyWhen",
|
|
3404
3404
|
"editable"
|
|
3405
3405
|
];
|
|
3406
|
-
var EDITABILITY_BOUNDARY_GUIDANCE = {
|
|
3406
|
+
var EDITABILITY_BOUNDARY_GUIDANCE = /* @__PURE__ */ (() => ({
|
|
3407
3407
|
name: "EDITABILITY_BOUNDARY_KEYS",
|
|
3408
3408
|
keys: EDITABILITY_BOUNDARY_KEYS,
|
|
3409
3409
|
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`."
|
|
3410
|
-
};
|
|
3411
|
-
var SELECT_OPTION_EDITABILITY_GUIDANCE = {
|
|
3410
|
+
}))();
|
|
3411
|
+
var SELECT_OPTION_EDITABILITY_GUIDANCE = /* @__PURE__ */ (() => ({
|
|
3412
3412
|
name: "SELECT_OPTION_EDITABILITY_BOUNDARY_KEYS",
|
|
3413
3413
|
keys: EDITABILITY_BOUNDARY_KEYS,
|
|
3414
3414
|
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."
|
|
3415
|
-
};
|
|
3416
|
-
var VISIBILITY_ONLY_STRICT_OPTIONS = {
|
|
3415
|
+
}))();
|
|
3416
|
+
var VISIBILITY_ONLY_STRICT_OPTIONS = /* @__PURE__ */ (() => ({
|
|
3417
3417
|
...VISIBILITY_STRICT_OPTIONS,
|
|
3418
3418
|
guidanceSets: [
|
|
3419
3419
|
// Declaration order decides among sets. Nothing in
|
|
@@ -3423,8 +3423,8 @@ var VISIBILITY_ONLY_STRICT_OPTIONS = {
|
|
|
3423
3423
|
...VISIBILITY_STRICT_OPTIONS.guidanceSets ?? [],
|
|
3424
3424
|
EDITABILITY_BOUNDARY_GUIDANCE
|
|
3425
3425
|
]
|
|
3426
|
-
};
|
|
3427
|
-
var ConditionalFormattingRuleSchema = /* @__PURE__ */ strictObject({
|
|
3426
|
+
}))();
|
|
3427
|
+
var ConditionalFormattingRuleSchema = /* @__PURE__ */ (() => /* @__PURE__ */ strictObject({
|
|
3428
3428
|
surface: "this conditional formatting rule",
|
|
3429
3429
|
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.",
|
|
3430
3430
|
// `visibleWhen` is the ADR-0089 spelling for a predicate on view/page, and a
|
|
@@ -3442,7 +3442,7 @@ var ConditionalFormattingRuleSchema = /* @__PURE__ */ strictObject({
|
|
|
3442
3442
|
}, {
|
|
3443
3443
|
condition: EvaluatedExpressionInputSchema.describe("Predicate (CEL) to evaluate."),
|
|
3444
3444
|
style: z.record(z.string(), z.string()).describe("CSS styles to apply when condition is true")
|
|
3445
|
-
});
|
|
3445
|
+
}))();
|
|
3446
3446
|
|
|
3447
3447
|
// src/data/field-key-aliases.ts
|
|
3448
3448
|
function fieldKeyGuidanceAsStrictOptions() {
|
|
@@ -3547,8 +3547,8 @@ var SELECT_OPTION_ALIASES = {
|
|
|
3547
3547
|
};
|
|
3548
3548
|
|
|
3549
3549
|
// src/data/field.zod.ts
|
|
3550
|
-
var USER_FIELD_TARGET = SystemObjectName.USER;
|
|
3551
|
-
var FieldType = z.enum([
|
|
3550
|
+
var USER_FIELD_TARGET = /* @__PURE__ */ (() => SystemObjectName.USER)();
|
|
3551
|
+
var FieldType = /* @__PURE__ */ (() => z.enum([
|
|
3552
3552
|
// Core Text. 'password' on a generic (non-better-auth) object is plaintext at
|
|
3553
3553
|
// rest but masked to SECRET_MASK on read — the auth subsystem's one-way
|
|
3554
3554
|
// hashing applies only to its own identity tables, never to an authored
|
|
@@ -3659,8 +3659,8 @@ var FieldType = z.enum([
|
|
|
3659
3659
|
// AI/ML Types
|
|
3660
3660
|
"vector"
|
|
3661
3661
|
// Vector embeddings for AI/ML (semantic search, RAG)
|
|
3662
|
-
]);
|
|
3663
|
-
var BOUNDED_STRING_FIELD_TYPES = /* @__PURE__ */ new Set([
|
|
3662
|
+
]))();
|
|
3663
|
+
var BOUNDED_STRING_FIELD_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
3664
3664
|
"text",
|
|
3665
3665
|
"textarea",
|
|
3666
3666
|
"email",
|
|
@@ -3674,10 +3674,10 @@ var BOUNDED_STRING_FIELD_TYPES = /* @__PURE__ */ new Set([
|
|
|
3674
3674
|
// #11875 — the write seam enforces these two's declared bound (see above).
|
|
3675
3675
|
"signature",
|
|
3676
3676
|
"qrcode"
|
|
3677
|
-
]);
|
|
3678
|
-
var VALUE_DOMAIN_FIELD_TYPES = /* @__PURE__ */ new Set([
|
|
3677
|
+
]))();
|
|
3678
|
+
var VALUE_DOMAIN_FIELD_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
3679
3679
|
"text"
|
|
3680
|
-
]);
|
|
3680
|
+
]))();
|
|
3681
3681
|
var multiDeclarableTypes;
|
|
3682
3682
|
function multiDeclarableFieldTypes() {
|
|
3683
3683
|
return multiDeclarableTypes ?? (multiDeclarableTypes = /* @__PURE__ */ new Set([...MULTI_CAPABLE_TYPES, ...MULTI_OPTION_TYPES]));
|
|
@@ -3686,18 +3686,21 @@ var multiDeclarableRemedyTypes;
|
|
|
3686
3686
|
function multiDeclarableRemedyTypeList() {
|
|
3687
3687
|
return multiDeclarableRemedyTypes ?? (multiDeclarableRemedyTypes = [...multiDeclarableFieldTypes()].filter((t) => t !== "radio"));
|
|
3688
3688
|
}
|
|
3689
|
-
var MULTILINE_EDITOR_FIELD_TYPES = /* @__PURE__ */ new Set([
|
|
3689
|
+
var MULTILINE_EDITOR_FIELD_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
3690
3690
|
"textarea",
|
|
3691
3691
|
"markdown",
|
|
3692
3692
|
"html",
|
|
3693
3693
|
"richtext"
|
|
3694
|
-
]);
|
|
3695
|
-
var DEADLINE_FIELD_TYPES = /* @__PURE__ */ new Set([
|
|
3694
|
+
]))();
|
|
3695
|
+
var DEADLINE_FIELD_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
3696
3696
|
"date",
|
|
3697
3697
|
"datetime"
|
|
3698
|
-
]);
|
|
3699
|
-
var RUNTIME_OWNED_FIELD_TYPES = /* @__PURE__ */ new Set(["autonumber"]);
|
|
3700
|
-
var
|
|
3698
|
+
]))();
|
|
3699
|
+
var RUNTIME_OWNED_FIELD_TYPES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["autonumber"]))();
|
|
3700
|
+
var SelectOptionValueSchema = /* @__PURE__ */ lazySchema(() => z.string().min(1, { message: "Option value must not be empty" }).regex(/^[a-z][a-z0-9_.]*$/, {
|
|
3701
|
+
message: 'Option value must be lowercase, starting with a letter, and may contain letters, numbers, underscores, or dots (e.g., "a", "in_progress")'
|
|
3702
|
+
}));
|
|
3703
|
+
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.")();
|
|
3701
3704
|
var SelectOptionSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
3702
3705
|
surface: "this select option",
|
|
3703
3706
|
history: FIELD_HISTORY,
|
|
@@ -3712,7 +3715,7 @@ var SelectOptionSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strict
|
|
|
3712
3715
|
guidanceSets: [SELECT_OPTION_EDITABILITY_GUIDANCE]
|
|
3713
3716
|
}, {
|
|
3714
3717
|
label: z.string().describe("Display label (human-readable, any case allowed)").meta({ title: "Label" }),
|
|
3715
|
-
value:
|
|
3718
|
+
value: SelectOptionValueSchema.describe("Stored value (lowercase machine identifier, one character or more)").meta({ title: "Value" }),
|
|
3716
3719
|
/**
|
|
3717
3720
|
* Optional secondary text for the option (objectui#6153, inheriting the
|
|
3718
3721
|
* objectui#6140 ruling frame — maintainer 2026-08-25: a key that is
|
|
@@ -3723,7 +3726,7 @@ var SelectOptionSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strict
|
|
|
3723
3726
|
* produces the same key for fetched options — while this strict shape
|
|
3724
3727
|
* refused it at publish, so the search behaviour was real for a key no
|
|
3725
3728
|
* author could legally write. The object-definition authoring form
|
|
3726
|
-
* (`object.form.ts` options repeater) has offered a `description` input all
|
|
3729
|
+
* (`object.metadata-form.ts` options repeater) has offered a `description` input all
|
|
3727
3730
|
* along; this declaration is what makes that offer honest. Per the same
|
|
3728
3731
|
* inherited ruling this option shape declares `description` and no cascade
|
|
3729
3732
|
* key of its own — `field-rows-option-description.test.ts` pins that
|
|
@@ -3810,12 +3813,12 @@ var LocationCoordinatesSchema = /* @__PURE__ */ lazySchema(() => z.object({
|
|
|
3810
3813
|
altitude: z.number().optional().describe("Altitude in meters"),
|
|
3811
3814
|
accuracy: z.number().optional().describe("Accuracy in meters")
|
|
3812
3815
|
}));
|
|
3813
|
-
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.";
|
|
3814
|
-
var CURRENCY_CONFIG_DECIMAL_PLACES_GUIDANCE = {
|
|
3816
|
+
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.")();
|
|
3817
|
+
var CURRENCY_CONFIG_DECIMAL_PLACES_GUIDANCE = /* @__PURE__ */ (() => ({
|
|
3815
3818
|
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.",
|
|
3816
3819
|
decimals: "`currencyConfig.decimals` is not a currency configuration key, and nothing replaces it: " + CURRENCY_DECIMAL_PLACES_ARE_THE_CURRENCYS + " Delete the key.",
|
|
3817
3820
|
scale: "`currencyConfig.scale` is not a currency configuration key, and nothing replaces it: " + CURRENCY_DECIMAL_PLACES_ARE_THE_CURRENCYS + " Delete the key."
|
|
3818
|
-
};
|
|
3821
|
+
}))();
|
|
3819
3822
|
function refuseRecordModeKeyMismatch(config, ctx) {
|
|
3820
3823
|
if (config.currencyMode !== "record" && config.homeAmount !== void 0) {
|
|
3821
3824
|
ctx.addIssue({
|
|
@@ -3845,10 +3848,10 @@ function refuseRecordModeKeyMismatch(config, ctx) {
|
|
|
3845
3848
|
});
|
|
3846
3849
|
}
|
|
3847
3850
|
}
|
|
3848
|
-
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'`.";
|
|
3851
|
+
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'`.")();
|
|
3849
3852
|
var homeAmountEmptyPointer = (key, names) => `\`homeAmount.${key}\` names a field: an empty name points at nothing \u2014 name ${names} on this object.`;
|
|
3850
3853
|
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.`;
|
|
3851
|
-
var HomeAmountSchema = /* @__PURE__ */ strictObject({
|
|
3854
|
+
var HomeAmountSchema = /* @__PURE__ */ (() => /* @__PURE__ */ strictObject({
|
|
3852
3855
|
surface: "this amount's `homeAmount` declaration",
|
|
3853
3856
|
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.",
|
|
3854
3857
|
aliases: {
|
|
@@ -3866,7 +3869,7 @@ var HomeAmountSchema = /* @__PURE__ */ strictObject({
|
|
|
3866
3869
|
field: 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`."),
|
|
3867
3870
|
rateDate: 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`)."),
|
|
3868
3871
|
rateField: 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`.")
|
|
3869
|
-
});
|
|
3872
|
+
}))();
|
|
3870
3873
|
function refuseFixedCurrencyWithoutCode(config, ctx) {
|
|
3871
3874
|
if (config.currencyMode === "fixed" && config.defaultCurrency === void 0) {
|
|
3872
3875
|
ctx.addIssue({ code: "custom", path: ["defaultCurrency"], message: CURRENCY_CONFIG_FIXED_WITHOUT_CODE });
|
|
@@ -3934,8 +3937,8 @@ function isUniqueDeclared(unique) {
|
|
|
3934
3937
|
function isOrganizationUnique(unique) {
|
|
3935
3938
|
return unique === "organization";
|
|
3936
3939
|
}
|
|
3937
|
-
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.";
|
|
3938
|
-
var STANDARD_UNIT_CODE_LIST = Object.keys(STANDARD_UNITS);
|
|
3940
|
+
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.")();
|
|
3941
|
+
var STANDARD_UNIT_CODE_LIST = /* @__PURE__ */ (() => Object.keys(STANDARD_UNITS))();
|
|
3939
3942
|
function fixedUnitMessage(input) {
|
|
3940
3943
|
if (input === void 0) {
|
|
3941
3944
|
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.";
|
|
@@ -3949,14 +3952,14 @@ function fixedUnitMessage(input) {
|
|
|
3949
3952
|
}
|
|
3950
3953
|
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.`;
|
|
3951
3954
|
}
|
|
3952
|
-
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.";
|
|
3953
|
-
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`.";
|
|
3955
|
+
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.")();
|
|
3956
|
+
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`.")();
|
|
3954
3957
|
var unitDimensionSchema = () => z.enum(UNIT_DIMENSIONS, {
|
|
3955
3958
|
error: (iss) => `\`unitDimension: ${JSON.stringify(iss.input)}\` is not a unit dimension: write one of ${UNIT_DIMENSIONS.map((d) => `\`${d}\``).join(", ")}.`
|
|
3956
3959
|
});
|
|
3957
|
-
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`.";
|
|
3958
|
-
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'`.";
|
|
3959
|
-
var FixedUnitConfigSchema = /* @__PURE__ */ strictObject({
|
|
3960
|
+
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`.")();
|
|
3961
|
+
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'`.")();
|
|
3962
|
+
var FixedUnitConfigSchema = /* @__PURE__ */ (() => /* @__PURE__ */ strictObject({
|
|
3960
3963
|
surface: "this fixed-unit configuration",
|
|
3961
3964
|
history: UNIT_CONFIG_HISTORY,
|
|
3962
3965
|
aliases: { mode: "unitMode", defaultUnit: "unit", unitCode: "unit", code: "unit", uom: "unit" },
|
|
@@ -3967,8 +3970,8 @@ var FixedUnitConfigSchema = /* @__PURE__ */ strictObject({
|
|
|
3967
3970
|
}, {
|
|
3968
3971
|
unitMode: z.literal("fixed").describe("`fixed`: the field has one unit, `unit`, a standard code checked at build."),
|
|
3969
3972
|
unit: 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.")
|
|
3970
|
-
});
|
|
3971
|
-
var RecordUnitConfigSchema = /* @__PURE__ */ strictObject({
|
|
3973
|
+
}))();
|
|
3974
|
+
var RecordUnitConfigSchema = /* @__PURE__ */ (() => /* @__PURE__ */ strictObject({
|
|
3972
3975
|
surface: "this record-unit configuration",
|
|
3973
3976
|
history: UNIT_CONFIG_HISTORY,
|
|
3974
3977
|
aliases: { mode: "unitMode", field: "unitField", codeField: "unitField", dimension: "unitDimension" },
|
|
@@ -3977,8 +3980,8 @@ var RecordUnitConfigSchema = /* @__PURE__ */ strictObject({
|
|
|
3977
3980
|
unitMode: z.literal("record").describe("`record`: each record names its own unit, in the field `unitField` names."),
|
|
3978
3981
|
unitField: 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`."),
|
|
3979
3982
|
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.")
|
|
3980
|
-
});
|
|
3981
|
-
var CodeUnitConfigSchema = /* @__PURE__ */ strictObject({
|
|
3983
|
+
}))();
|
|
3984
|
+
var CodeUnitConfigSchema = /* @__PURE__ */ (() => /* @__PURE__ */ strictObject({
|
|
3982
3985
|
surface: "this unit-code field configuration",
|
|
3983
3986
|
history: UNIT_CONFIG_HISTORY,
|
|
3984
3987
|
aliases: { mode: "unitMode", dimension: "unitDimension" },
|
|
@@ -3989,7 +3992,7 @@ var CodeUnitConfigSchema = /* @__PURE__ */ strictObject({
|
|
|
3989
3992
|
}, {
|
|
3990
3993
|
unitMode: z.literal("code").describe("`code`: this `text` field holds a unit code itself, with no quantity beside it."),
|
|
3991
3994
|
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.")
|
|
3992
|
-
});
|
|
3995
|
+
}))();
|
|
3993
3996
|
function unitModeMessage(input) {
|
|
3994
3997
|
const config = input !== null && typeof input === "object" ? input : void 0;
|
|
3995
3998
|
if (config && config.unitMode === void 0 && "mode" in config) {
|
|
@@ -4003,10 +4006,10 @@ var UnitConfigSchema = /* @__PURE__ */ lazySchema(() => z.discriminatedUnion("un
|
|
|
4003
4006
|
RecordUnitConfigSchema,
|
|
4004
4007
|
CodeUnitConfigSchema
|
|
4005
4008
|
], { error: (iss) => unitModeMessage(iss.input) }));
|
|
4006
|
-
var UNIT_CONFIG_MODES_BY_FIELD_TYPE = Object.freeze({
|
|
4009
|
+
var UNIT_CONFIG_MODES_BY_FIELD_TYPE = /* @__PURE__ */ (() => Object.freeze({
|
|
4007
4010
|
number: Object.freeze(["fixed", "record"]),
|
|
4008
4011
|
text: Object.freeze(["code"])
|
|
4009
|
-
});
|
|
4012
|
+
}))();
|
|
4010
4013
|
var FIELD_MASKING_PRESETS = ["phone", "id_card", "bank_account", "email", "name"];
|
|
4011
4014
|
var FieldMaskingKeepSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
4012
4015
|
surface: "this masking rule",
|
|
@@ -4021,9 +4024,9 @@ var FieldMaskingRuleSchema = /* @__PURE__ */ lazySchema(() => z.union([
|
|
|
4021
4024
|
FieldMaskingKeepSchema
|
|
4022
4025
|
]));
|
|
4023
4026
|
var MAX_RENDERABLE_SCALE = 100;
|
|
4024
|
-
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).";
|
|
4025
|
-
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.";
|
|
4026
|
-
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.";
|
|
4027
|
+
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).")();
|
|
4028
|
+
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.")();
|
|
4029
|
+
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.")();
|
|
4027
4030
|
var InlineGridColumnSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
4028
4031
|
surface: "this inline grid column",
|
|
4029
4032
|
history: INLINE_GRID_COLUMN_HISTORY,
|
|
@@ -4089,7 +4092,7 @@ var InlineGridColumnSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ st
|
|
|
4089
4092
|
ctx.addIssue({ code: "custom", path: ["scale"], message: INLINE_GRID_CURRENCY_SCALE_REFUSAL });
|
|
4090
4093
|
}
|
|
4091
4094
|
}));
|
|
4092
|
-
var COLUMN_CONSTRAINT_FLAT_KEYS = {
|
|
4095
|
+
var COLUMN_CONSTRAINT_FLAT_KEYS = /* @__PURE__ */ (() => ({
|
|
4093
4096
|
name: "COLUMN_CONSTRAINT_FLAT_KEYS",
|
|
4094
4097
|
// Anchored, so it claims only the flattened column-constraint spellings and
|
|
4095
4098
|
// cannot reach a declared key: `required`, `requiredWhen` and `storage`
|
|
@@ -4097,10 +4100,10 @@ var COLUMN_CONSTRAINT_FLAT_KEYS = {
|
|
|
4097
4100
|
keys: /^(?:storage[_-]?)?not[_-]?null$/i,
|
|
4098
4101
|
examples: ["notNull", "not_null", "storageNotNull"],
|
|
4099
4102
|
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."
|
|
4100
|
-
};
|
|
4101
|
-
var LOOKUP_FILTER_SCALAR_COMPARISONS = /* @__PURE__ */ new Set(["eq", "ne", "gt", "lt", "gte", "lte"]);
|
|
4103
|
+
}))();
|
|
4104
|
+
var LOOKUP_FILTER_SCALAR_COMPARISONS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["eq", "ne", "gt", "lt", "gte", "lte"]))();
|
|
4102
4105
|
var LOOKUP_FILTER_RECORD_PATH_RE = /^[a-z_][a-z0-9_]*(?:\.[a-z_][a-z0-9_]*)?$/;
|
|
4103
|
-
var LookupFilterRecordReferenceSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
4106
|
+
var LookupFilterRecordReferenceSchema = /* @__PURE__ */ (() => /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
4104
4107
|
surface: "this lookupFilters record reference",
|
|
4105
4108
|
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.",
|
|
4106
4109
|
guidance: {
|
|
@@ -4113,7 +4116,7 @@ var LookupFilterRecordReferenceSchema = /* @__PURE__ */ lazySchema(() => /* @__P
|
|
|
4113
4116
|
}).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.")
|
|
4114
4117
|
})).describe(
|
|
4115
4118
|
'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`).'
|
|
4116
|
-
);
|
|
4119
|
+
))();
|
|
4117
4120
|
function isLookupFilterRecordReferenceShape(value) {
|
|
4118
4121
|
return !!value && typeof value === "object" && !Array.isArray(value) && Object.prototype.hasOwnProperty.call(value, "$record");
|
|
4119
4122
|
}
|
|
@@ -4152,7 +4155,7 @@ function refuseMalformedLookupFilterEntry(entry, ctx) {
|
|
|
4152
4155
|
});
|
|
4153
4156
|
}
|
|
4154
4157
|
}
|
|
4155
|
-
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.";
|
|
4158
|
+
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.")();
|
|
4156
4159
|
var FieldSchema = /* @__PURE__ */ lazySchema(() => {
|
|
4157
4160
|
const base = /* @__PURE__ */ strictObject({
|
|
4158
4161
|
surface: "this field",
|
|
@@ -5286,7 +5289,7 @@ var FieldSchema = /* @__PURE__ */ lazySchema(() => {
|
|
|
5286
5289
|
* `@object-ui/core` (`fieldReadOnlyByHand`); the engine never reads it, so a
|
|
5287
5290
|
* TRUE predicate refuses no API, import, action or flow write.
|
|
5288
5291
|
*/
|
|
5289
|
-
uiReadonlyWhen: EvaluatedExpressionInputSchema.optional().describe("Predicate (CEL) \u2014 the field is read-only BY HAND on an existing record while TRUE:
|
|
5292
|
+
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."),
|
|
5290
5293
|
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."),
|
|
5291
5294
|
/**
|
|
5292
5295
|
* Deadline semantic — `date` / `datetime` only (DEADLINE_FIELD_TYPES).
|
|
@@ -5422,10 +5425,13 @@ var FieldSchema = /* @__PURE__ */ lazySchema(() => {
|
|
|
5422
5425
|
* "By hand" = the create and edit dialogs and the payload they submit, the
|
|
5423
5426
|
* record page's inline edit and stage path, the highlight-strip chip, grid
|
|
5424
5427
|
* inline edit and its multi-row save, kanban drag between columns grouped by
|
|
5425
|
-
* the field
|
|
5426
|
-
*
|
|
5427
|
-
*
|
|
5428
|
-
*
|
|
5428
|
+
* the field (a swimlane board's drag writes the column's field only, never
|
|
5429
|
+
* the swimlane's), calendar drag and quick-create, the Gantt's drag,
|
|
5430
|
+
* resize, progress handle, dependency link and in-place edit, the timesheet
|
|
5431
|
+
* cell, the command palette's create-as prefill, the line-item grid, and the in-app assistant
|
|
5432
|
+
* acting for a person. Every console surface honours it; the in-app
|
|
5433
|
+
* assistant, whose writes run in the AI service, does not read it yet
|
|
5434
|
+
* (#37448). NOT by hand = REST create/update,
|
|
5429
5435
|
* import (the console import wizard included), declarative and script
|
|
5430
5436
|
* actions, flows. A console create leaves the field out, so the server
|
|
5431
5437
|
* applies its `defaultValue` — a `required` field with no `defaultValue`
|
|
@@ -5444,7 +5450,7 @@ var FieldSchema = /* @__PURE__ */ lazySchema(() => {
|
|
|
5444
5450
|
* boundary: a caller who may edit the object can write the field through
|
|
5445
5451
|
* the API; field permissions (`editable` on a permission set) are that.
|
|
5446
5452
|
*/
|
|
5447
|
-
uiReadonly: 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
|
|
5453
|
+
uiReadonly: 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`."),
|
|
5448
5454
|
/**
|
|
5449
5455
|
* [ADR-0066 D3] Capabilities required to READ/EDIT this field. A field
|
|
5450
5456
|
* declaring `requiredPermissions` is masked on read and denied on write unless
|
|
@@ -6154,8 +6160,8 @@ var Field = {
|
|
|
6154
6160
|
...config
|
|
6155
6161
|
})
|
|
6156
6162
|
};
|
|
6157
|
-
var BulkActionOperationSchema = z.enum(["update", "delete", "custom"]);
|
|
6158
|
-
var BulkActionExecutionSchema = z.enum(["perRecord", "aggregate"]);
|
|
6163
|
+
var BulkActionOperationSchema = /* @__PURE__ */ (() => z.enum(["update", "delete", "custom"]))();
|
|
6164
|
+
var BulkActionExecutionSchema = /* @__PURE__ */ (() => z.enum(["perRecord", "aggregate"]))();
|
|
6159
6165
|
var BulkActionResultSchema = /* @__PURE__ */ lazySchema(() => z.looseObject({
|
|
6160
6166
|
succeeded: z.array(z.string()).describe(
|
|
6161
6167
|
"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."
|
|
@@ -6293,8 +6299,8 @@ function bulkConfirmTemplateRoots(def) {
|
|
|
6293
6299
|
}
|
|
6294
6300
|
return roots;
|
|
6295
6301
|
}
|
|
6296
|
-
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)?' }`.";
|
|
6297
|
-
var BulkConfirmTextSchema = z.union([
|
|
6302
|
+
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)?' }`.")();
|
|
6303
|
+
var BulkConfirmTextSchema = /* @__PURE__ */ (() => z.union([
|
|
6298
6304
|
templateExpressionInput(ExpressionSchema, {
|
|
6299
6305
|
sourceRequired: BULK_CONFIRM_TEXT_DIALECT_ONLY,
|
|
6300
6306
|
dialectOnly: BULK_CONFIRM_TEXT_DIALECT_ONLY
|
|
@@ -6302,7 +6308,7 @@ var BulkConfirmTextSchema = z.union([
|
|
|
6302
6308
|
// `trim()`'s whitespace set is exactly `\s` (ECMA-262), so this arm takes the blank strings
|
|
6303
6309
|
// `NON_BLANK_STRING` refuses — as a `pattern` the JSON Schema carries, not a dropped refinement.
|
|
6304
6310
|
z.string().regex(/^\s*$/)
|
|
6305
|
-
], { error: () => BULK_CONFIRM_TEXT_DIALECT_ONLY });
|
|
6311
|
+
], { error: () => BULK_CONFIRM_TEXT_DIALECT_ONLY }))();
|
|
6306
6312
|
var BulkActionDefSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject(
|
|
6307
6313
|
{
|
|
6308
6314
|
surface: "this bulk action definition",
|
|
@@ -6400,7 +6406,7 @@ var I18nLabelSchema = /* @__PURE__ */ lazySchema(() => z.union([
|
|
|
6400
6406
|
z.string(),
|
|
6401
6407
|
InlineLocaleMapSchema
|
|
6402
6408
|
]).describe('Display label \u2014 the default-language string, or an inline locale map ({ en, "zh-CN" }) resolved at render time'));
|
|
6403
|
-
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.";
|
|
6409
|
+
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.")();
|
|
6404
6410
|
var AriaPropsSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
6405
6411
|
surface: "these ARIA attributes",
|
|
6406
6412
|
history: ARIA_HISTORY,
|
|
@@ -6450,7 +6456,7 @@ var AriaPropsSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObj
|
|
|
6450
6456
|
/** WAI-ARIA role override */
|
|
6451
6457
|
role: z.string().optional().describe('WAI-ARIA role attribute (e.g., "dialog", "navigation", "alert")')
|
|
6452
6458
|
}).describe("ARIA accessibility attributes"));
|
|
6453
|
-
var ProtectionSchema = /* @__PURE__ */ strictObject({
|
|
6459
|
+
var ProtectionSchema = /* @__PURE__ */ (() => /* @__PURE__ */ strictObject({
|
|
6454
6460
|
// ⚠️ ONE declaring schema, reached from every mount — so the surface name
|
|
6455
6461
|
// cannot be per-mount-context the way every neighbouring `strictObject`
|
|
6456
6462
|
// adoption's is. `protection:` is mounted on very nearly every authorable
|
|
@@ -6554,7 +6560,7 @@ var ProtectionSchema = /* @__PURE__ */ strictObject({
|
|
|
6554
6560
|
docsUrl: z.string().url().optional().describe(
|
|
6555
6561
|
"Optional URL the Studio banner links to for more context."
|
|
6556
6562
|
)
|
|
6557
|
-
});
|
|
6563
|
+
}))();
|
|
6558
6564
|
function applyProtection(item, ctx = {}) {
|
|
6559
6565
|
if (!item || typeof item !== "object") return item;
|
|
6560
6566
|
if (ctx.packageId && item._packageId === void 0) {
|
|
@@ -6918,7 +6924,7 @@ var ChartDrillDownSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ stri
|
|
|
6918
6924
|
maxRows: z.number().int().positive().optional().describe("Rows per page in the drilled list")
|
|
6919
6925
|
}
|
|
6920
6926
|
));
|
|
6921
|
-
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).";
|
|
6927
|
+
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).")();
|
|
6922
6928
|
var ChartConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject(
|
|
6923
6929
|
{
|
|
6924
6930
|
surface: "this chart config",
|
|
@@ -7157,7 +7163,7 @@ var ChartAggregateSchema = /* @__PURE__ */ lazySchema(
|
|
|
7157
7163
|
}
|
|
7158
7164
|
}).describe("Inline aggregation for an object-bound chart")
|
|
7159
7165
|
);
|
|
7160
|
-
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.";
|
|
7166
|
+
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.")();
|
|
7161
7167
|
var SharingConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
7162
7168
|
surface: "this sharing config",
|
|
7163
7169
|
history: SHARING_HISTORY,
|
|
@@ -7244,11 +7250,11 @@ var DATE_MACRO_ALIAS_TOKENS = [
|
|
|
7244
7250
|
"year_start",
|
|
7245
7251
|
"year_end"
|
|
7246
7252
|
];
|
|
7247
|
-
var DATE_MACRO_TOKENS = [
|
|
7253
|
+
var DATE_MACRO_TOKENS = /* @__PURE__ */ (() => [
|
|
7248
7254
|
...DATE_MACRO_INSTANT_TOKENS,
|
|
7249
7255
|
...DATE_MACRO_PERIOD_TOKENS,
|
|
7250
7256
|
...DATE_MACRO_ALIAS_TOKENS
|
|
7251
|
-
];
|
|
7257
|
+
])();
|
|
7252
7258
|
var PERIOD_KEY_TOKENS = [
|
|
7253
7259
|
"current_iso_week"
|
|
7254
7260
|
];
|
|
@@ -7277,17 +7283,17 @@ function parseDateMacroParam(token) {
|
|
|
7277
7283
|
direction: m[3]
|
|
7278
7284
|
};
|
|
7279
7285
|
}
|
|
7280
|
-
var DateMacroTokenSchema = z.string().refine(isDateMacroToken, {
|
|
7286
|
+
var DateMacroTokenSchema = /* @__PURE__ */ (() => z.string().refine(isDateMacroToken, {
|
|
7281
7287
|
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(", ")
|
|
7282
|
-
});
|
|
7288
|
+
}))();
|
|
7283
7289
|
var DATE_MACRO_WRAPPED_RE = /^\$?\{([a-zA-Z0-9_]+)\}$/;
|
|
7284
|
-
var DateMacroPlaceholderSchema = z.string().refine(
|
|
7290
|
+
var DateMacroPlaceholderSchema = /* @__PURE__ */ (() => z.string().refine(
|
|
7285
7291
|
(s) => {
|
|
7286
7292
|
const m = s.match(DATE_MACRO_WRAPPED_RE);
|
|
7287
7293
|
return !!m && isDateMacroToken(m[1]);
|
|
7288
7294
|
},
|
|
7289
7295
|
{ message: "Not a recognised {date-macro} placeholder" }
|
|
7290
|
-
);
|
|
7296
|
+
))();
|
|
7291
7297
|
var DATE_MACRO_DESCRIPTIONS = {
|
|
7292
7298
|
today: "Start of today (YYYY-MM-DD).",
|
|
7293
7299
|
yesterday: "Start of yesterday.",
|
|
@@ -7326,10 +7332,10 @@ var DATE_MACRO_DESCRIPTIONS = {
|
|
|
7326
7332
|
year_start: "Alias for current_year_start.",
|
|
7327
7333
|
year_end: "Alias for current_year_end."
|
|
7328
7334
|
};
|
|
7329
|
-
var PERIOD_KEY_TOKEN_DESCRIPTIONS = {
|
|
7335
|
+
var PERIOD_KEY_TOKEN_DESCRIPTIONS = /* @__PURE__ */ (() => ({
|
|
7330
7336
|
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."
|
|
7331
|
-
};
|
|
7332
|
-
var HttpMethod = z.enum([
|
|
7337
|
+
}))();
|
|
7338
|
+
var HttpMethod = /* @__PURE__ */ (() => z.enum([
|
|
7333
7339
|
"GET",
|
|
7334
7340
|
"POST",
|
|
7335
7341
|
"PUT",
|
|
@@ -7337,7 +7343,7 @@ var HttpMethod = z.enum([
|
|
|
7337
7343
|
"PATCH",
|
|
7338
7344
|
"HEAD",
|
|
7339
7345
|
"OPTIONS"
|
|
7340
|
-
]).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.");
|
|
7346
|
+
]).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."))();
|
|
7341
7347
|
var HttpMethodSubsetSchema = /* @__PURE__ */ lazySchema(() => z.enum(["GET", "POST", "PUT", "PATCH", "DELETE"]).describe("HTTP methods a view data source may request \u2014 the subset of `HttpMethod` without `HEAD`/`OPTIONS`."));
|
|
7342
7348
|
var HttpRequestSchema = /* @__PURE__ */ lazySchema(() => z.object({
|
|
7343
7349
|
url: z.string().describe("API endpoint URL"),
|
|
@@ -7420,9 +7426,109 @@ var StaticMountSchema = /* @__PURE__ */ lazySchema(() => z.object({
|
|
|
7420
7426
|
*/
|
|
7421
7427
|
cacheControl: z.string().optional().describe("Cache-Control header value")
|
|
7422
7428
|
}));
|
|
7423
|
-
|
|
7429
|
+
|
|
7430
|
+
// src/ui/anonymous-form-intake.ts
|
|
7431
|
+
function publicFormSlug(publicLink) {
|
|
7432
|
+
return publicLink.replace(/^\/+/, "").replace(/^forms\//, "");
|
|
7433
|
+
}
|
|
7434
|
+
function anonymousFormIntakeSlug(sharing) {
|
|
7435
|
+
if (!sharing || typeof sharing !== "object") return null;
|
|
7436
|
+
const s = sharing;
|
|
7437
|
+
if (s.enabled !== true) return null;
|
|
7438
|
+
if (s.allowAnonymous !== true) return null;
|
|
7439
|
+
if (typeof s.publicLink !== "string" || !s.publicLink) return null;
|
|
7440
|
+
return publicFormSlug(s.publicLink);
|
|
7441
|
+
}
|
|
7442
|
+
function anonymousFormObjectName(view, form) {
|
|
7443
|
+
const v = view && typeof view === "object" ? view : {};
|
|
7444
|
+
const f = form && typeof form === "object" ? form : {};
|
|
7445
|
+
return f.data?.object ?? v.list?.data?.object ?? v.form?.data?.object ?? v.object;
|
|
7446
|
+
}
|
|
7447
|
+
function anonymousFormIntakeCandidates(view) {
|
|
7448
|
+
if (!view || typeof view !== "object") return [];
|
|
7449
|
+
const v = view;
|
|
7450
|
+
const forms = [];
|
|
7451
|
+
if (v.form && typeof v.form === "object") forms.push({ form: v.form });
|
|
7452
|
+
if (v.formViews && typeof v.formViews === "object") {
|
|
7453
|
+
for (const [key, fv] of Object.entries(v.formViews)) forms.push({ form: fv, key });
|
|
7454
|
+
}
|
|
7455
|
+
if (v.viewKind === "form" && v.config && typeof v.config === "object") {
|
|
7456
|
+
forms.push({ form: v.config, key: v.name });
|
|
7457
|
+
}
|
|
7458
|
+
const open = [];
|
|
7459
|
+
for (const { form, key } of forms) {
|
|
7460
|
+
if (!form || typeof form !== "object") continue;
|
|
7461
|
+
const slug = anonymousFormIntakeSlug(form.sharing);
|
|
7462
|
+
if (slug === null) continue;
|
|
7463
|
+
open.push({ form, ...key !== void 0 ? { key } : {}, slug });
|
|
7464
|
+
}
|
|
7465
|
+
return open;
|
|
7466
|
+
}
|
|
7467
|
+
function anonymousFormIntakeSlugs(view) {
|
|
7468
|
+
return [...new Set(anonymousFormIntakeCandidates(view).map((c) => c.slug))].sort();
|
|
7469
|
+
}
|
|
7470
|
+
function anonymousFormSlot(view, candidate) {
|
|
7471
|
+
if (candidate.form === view.form) return "form";
|
|
7472
|
+
if (candidate.key !== void 0 && view.formViews?.[candidate.key] === candidate.form) {
|
|
7473
|
+
return `formViews:${candidate.key}`;
|
|
7474
|
+
}
|
|
7475
|
+
return "config";
|
|
7476
|
+
}
|
|
7477
|
+
function anonymousFormExplicitWithdrawals(view) {
|
|
7478
|
+
if (!view || typeof view !== "object") return [];
|
|
7479
|
+
const v = view;
|
|
7480
|
+
const forms = [];
|
|
7481
|
+
if (v.form && typeof v.form === "object") forms.push({ slot: "form", form: v.form });
|
|
7482
|
+
if (v.formViews && typeof v.formViews === "object") {
|
|
7483
|
+
for (const [key, fv] of Object.entries(v.formViews)) forms.push({ slot: `formViews:${key}`, form: fv });
|
|
7484
|
+
}
|
|
7485
|
+
if (v.viewKind === "form" && v.config && typeof v.config === "object") forms.push({ slot: "config", form: v.config });
|
|
7486
|
+
const out = [];
|
|
7487
|
+
for (const { slot, form } of forms) {
|
|
7488
|
+
const sharing = form && typeof form === "object" ? form.sharing : void 0;
|
|
7489
|
+
if (!sharing || typeof sharing !== "object") continue;
|
|
7490
|
+
const s = sharing;
|
|
7491
|
+
if (typeof s.publicLink !== "string" || !s.publicLink) continue;
|
|
7492
|
+
if (s.enabled !== false && s.allowAnonymous !== false) continue;
|
|
7493
|
+
out.push({ slot, slug: publicFormSlug(s.publicLink) });
|
|
7494
|
+
}
|
|
7495
|
+
return out;
|
|
7496
|
+
}
|
|
7497
|
+
function anonymousFormIntakeWithdrawnIn(layer, view, candidate) {
|
|
7498
|
+
if (!view || typeof view !== "object") return false;
|
|
7499
|
+
const v = view;
|
|
7500
|
+
const name = typeof v.name === "string" && v.name ? v.name : void 0;
|
|
7501
|
+
if (name === void 0) return false;
|
|
7502
|
+
const slot = anonymousFormSlot(v, candidate);
|
|
7503
|
+
for (const other of layer) {
|
|
7504
|
+
if (!other || typeof other !== "object") continue;
|
|
7505
|
+
if (other.name !== name) continue;
|
|
7506
|
+
for (const w of anonymousFormExplicitWithdrawals(other)) {
|
|
7507
|
+
if (w.slot === slot || w.slug === candidate.slug) return true;
|
|
7508
|
+
}
|
|
7509
|
+
}
|
|
7510
|
+
return false;
|
|
7511
|
+
}
|
|
7512
|
+
function formExplicitlyWithdraws(form) {
|
|
7513
|
+
const sharing = form?.sharing;
|
|
7514
|
+
if (!sharing || typeof sharing !== "object") return void 0;
|
|
7515
|
+
const s = sharing;
|
|
7516
|
+
if (typeof s.publicLink !== "string" || !s.publicLink) return void 0;
|
|
7517
|
+
if (s.enabled !== false && s.allowAnonymous !== false) return void 0;
|
|
7518
|
+
return publicFormSlug(s.publicLink);
|
|
7519
|
+
}
|
|
7520
|
+
|
|
7521
|
+
// src/ui/view-container-object.ts
|
|
7522
|
+
function deriveViewContainerObject(container) {
|
|
7523
|
+
if (!container || typeof container !== "object") return void 0;
|
|
7524
|
+
const c = container;
|
|
7525
|
+
const own = typeof c.object === "string" && c.object ? c.object : void 0;
|
|
7526
|
+
const byName = typeof c.name === "string" && c.name ? c.name : void 0;
|
|
7527
|
+
return own ?? c?.list?.data?.object ?? c?.form?.data?.object ?? byName;
|
|
7528
|
+
}
|
|
7529
|
+
var SectionGroupKeySchema = /* @__PURE__ */ (() => z.string().regex(FIELD_GROUP_KEY_PATTERN, {
|
|
7424
7530
|
message: 'Field group key must be lowercase snake_case (e.g., "contact_info", "billing", "system")'
|
|
7425
|
-
});
|
|
7531
|
+
}))();
|
|
7426
7532
|
function sectionGroupReferenceRefinement(options) {
|
|
7427
7533
|
const { surface, derivedKeys, trueOnlyDerivedKeys = [] } = options;
|
|
7428
7534
|
return (section, ctx) => {
|
|
@@ -7463,33 +7569,33 @@ function derivedKeyMessage(key, groupKey, surface) {
|
|
|
7463
7569
|
|
|
7464
7570
|
// src/shared/scale-ceiling.ts
|
|
7465
7571
|
var MAX_RENDERABLE_SCALE2 = 100;
|
|
7466
|
-
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).";
|
|
7572
|
+
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).")();
|
|
7467
7573
|
|
|
7468
7574
|
// src/ui/view-history.ts
|
|
7469
|
-
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.";
|
|
7470
|
-
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.";
|
|
7471
|
-
var ListViewExportFormatSchema = z.enum(["csv", "xlsx", "json"], {
|
|
7575
|
+
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.")();
|
|
7576
|
+
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.")();
|
|
7577
|
+
var ListViewExportFormatSchema = /* @__PURE__ */ (() => z.enum(["csv", "xlsx", "json"], {
|
|
7472
7578
|
error: (issue) => issue.input === "pdf" ? LIST_VIEW_EXPORT_PDF_RETIRED : void 0
|
|
7473
|
-
});
|
|
7474
|
-
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'] }`.";
|
|
7475
|
-
var LIST_VIEW_EXPORT_OPTIONS_SHAPE = {
|
|
7579
|
+
}))();
|
|
7580
|
+
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'] }`.")();
|
|
7581
|
+
var LIST_VIEW_EXPORT_OPTIONS_SHAPE = /* @__PURE__ */ (() => ({
|
|
7476
7582
|
formats: z.array(ListViewExportFormatSchema).optional().describe("Formats offered in the export menu (default: ['csv', 'json']). XLSX is delivered by the server stream only."),
|
|
7477
7583
|
maxRecords: z.number().int().nonnegative().optional().describe("Maximum number of records to export; 0 or absent = unlimited"),
|
|
7478
7584
|
includeHeaders: z.boolean().optional().describe("Include column headers in the exported file (default true)"),
|
|
7479
7585
|
fileNamePrefix: z.string().optional().describe("Download file name prefix \u2014 replaces the object label and suppresses the view label in the generated file name"),
|
|
7480
7586
|
streaming: z.boolean().optional().describe("Set false to force the client-side export path (csv/json only) instead of the server stream")
|
|
7481
|
-
};
|
|
7482
|
-
var exportOptionsUnknownKeyError = strictObjectError({
|
|
7587
|
+
}))();
|
|
7588
|
+
var exportOptionsUnknownKeyError = /* @__PURE__ */ (() => strictObjectError({
|
|
7483
7589
|
surface: "this export options block",
|
|
7484
7590
|
history: VIEW_HISTORY
|
|
7485
|
-
}, LIST_VIEW_EXPORT_OPTIONS_SHAPE);
|
|
7486
|
-
var ListViewExportOptionsSchema = closedObject(z.object(LIST_VIEW_EXPORT_OPTIONS_SHAPE, {
|
|
7591
|
+
}, LIST_VIEW_EXPORT_OPTIONS_SHAPE))();
|
|
7592
|
+
var ListViewExportOptionsSchema = /* @__PURE__ */ (() => closedObject(z.object(LIST_VIEW_EXPORT_OPTIONS_SHAPE, {
|
|
7487
7593
|
error: Object.assign(
|
|
7488
7594
|
(issue) => issue.code === "invalid_type" && Array.isArray(issue.input) ? LIST_VIEW_EXPORT_OPTIONS_ARRAY_FORM : exportOptionsUnknownKeyError(issue),
|
|
7489
7595
|
{ prime: () => exportOptionsUnknownKeyError.prime?.() }
|
|
7490
7596
|
)
|
|
7491
|
-
}).strict());
|
|
7492
|
-
var ReportExportFormatSchema = ListViewExportFormatSchema.exclude(["json"], {
|
|
7597
|
+
}).strict()))();
|
|
7598
|
+
var ReportExportFormatSchema = /* @__PURE__ */ (() => ListViewExportFormatSchema.exclude(["json"], {
|
|
7493
7599
|
error: (issue) => {
|
|
7494
7600
|
if (issue.input === "json") {
|
|
7495
7601
|
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'.";
|
|
@@ -7499,31 +7605,31 @@ var ReportExportFormatSchema = ListViewExportFormatSchema.exclude(["json"], {
|
|
|
7499
7605
|
}
|
|
7500
7606
|
return void 0;
|
|
7501
7607
|
}
|
|
7502
|
-
});
|
|
7503
|
-
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.";
|
|
7504
|
-
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'] }`.";
|
|
7505
|
-
var REPORT_EXPORT_OPTIONS_SHAPE = {
|
|
7608
|
+
}))();
|
|
7609
|
+
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.")();
|
|
7610
|
+
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'] }`.")();
|
|
7611
|
+
var REPORT_EXPORT_OPTIONS_SHAPE = /* @__PURE__ */ (() => ({
|
|
7506
7612
|
formats: z.array(ReportExportFormatSchema).optional().describe("Formats the report's export control offers (default: ['csv', 'xlsx']); an empty list turns the control off"),
|
|
7507
7613
|
includeHeaders: LIST_VIEW_EXPORT_OPTIONS_SHAPE.includeHeaders,
|
|
7508
7614
|
fileNamePrefix: LIST_VIEW_EXPORT_OPTIONS_SHAPE.fileNamePrefix.describe("Download file name prefix \u2014 replaces the report label in the generated file name")
|
|
7509
|
-
};
|
|
7510
|
-
var reportExportOptionsUnknownKeyError = strictObjectError({
|
|
7615
|
+
}))();
|
|
7616
|
+
var reportExportOptionsUnknownKeyError = /* @__PURE__ */ (() => strictObjectError({
|
|
7511
7617
|
surface: "this report export options block",
|
|
7512
7618
|
history: "Declared closed from its first day: an unrecognized key is refused, never dropped.",
|
|
7513
7619
|
guidance: {
|
|
7514
7620
|
maxRecords: `\`maxRecords\` ${REPORT_EXPORT_RECORD_STREAM_MEMBER}`,
|
|
7515
7621
|
streaming: `\`streaming\` ${REPORT_EXPORT_RECORD_STREAM_MEMBER}`
|
|
7516
7622
|
}
|
|
7517
|
-
}, REPORT_EXPORT_OPTIONS_SHAPE);
|
|
7518
|
-
var ReportExportOptionsSchema = closedObject(z.object(REPORT_EXPORT_OPTIONS_SHAPE, {
|
|
7623
|
+
}, REPORT_EXPORT_OPTIONS_SHAPE))();
|
|
7624
|
+
var ReportExportOptionsSchema = /* @__PURE__ */ (() => closedObject(z.object(REPORT_EXPORT_OPTIONS_SHAPE, {
|
|
7519
7625
|
error: Object.assign(
|
|
7520
7626
|
(issue) => issue.code === "invalid_type" && Array.isArray(issue.input) ? REPORT_EXPORT_OPTIONS_ARRAY_FORM : reportExportOptionsUnknownKeyError(issue),
|
|
7521
7627
|
{ prime: () => reportExportOptionsUnknownKeyError.prime?.() }
|
|
7522
7628
|
)
|
|
7523
|
-
}).strict());
|
|
7629
|
+
}).strict()))();
|
|
7524
7630
|
|
|
7525
7631
|
// src/ui/audience-required-permissions.ts
|
|
7526
|
-
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.";
|
|
7632
|
+
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.")();
|
|
7527
7633
|
|
|
7528
7634
|
// src/ui/navigation-target.ts
|
|
7529
7635
|
var ADMITTED_SCHEMES = {
|
|
@@ -7533,11 +7639,11 @@ var ADMITTED_SCHEMES = {
|
|
|
7533
7639
|
};
|
|
7534
7640
|
var SCHEME_RE = /^([a-z][a-z0-9+.-]*):/i;
|
|
7535
7641
|
var PARSER_DELETED_RE = /[\t\n\r]/;
|
|
7536
|
-
var ADMITTED_FORMS = (() => {
|
|
7642
|
+
var ADMITTED_FORMS = /* @__PURE__ */ (() => (() => {
|
|
7537
7643
|
const forms = Object.entries(ADMITTED_SCHEMES).map(([scheme, after]) => `\`${scheme}:${after}\``);
|
|
7538
7644
|
return forms.length < 2 ? forms.join("") : `${forms.slice(0, -1).join(", ")} or ${forms[forms.length - 1]}`;
|
|
7539
|
-
})();
|
|
7540
|
-
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
|
|
7645
|
+
})())();
|
|
7646
|
+
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.`)();
|
|
7541
7647
|
function navigationTargetRefusal(raw, subject) {
|
|
7542
7648
|
if (raw.startsWith("${")) return void 0;
|
|
7543
7649
|
if (PARSER_DELETED_RE.test(raw)) {
|
|
@@ -7566,7 +7672,7 @@ function navigationTargetRefusal(raw, subject) {
|
|
|
7566
7672
|
}
|
|
7567
7673
|
|
|
7568
7674
|
// src/ui/view.zod.ts
|
|
7569
|
-
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.";
|
|
7675
|
+
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.")();
|
|
7570
7676
|
var ViewDataSchema = /* @__PURE__ */ lazySchema(() => z.discriminatedUnion("provider", [
|
|
7571
7677
|
/* @__PURE__ */ strictObject({
|
|
7572
7678
|
surface: "this `object` data source",
|
|
@@ -7710,10 +7816,10 @@ function normalizeFilterOperator(op) {
|
|
|
7710
7816
|
var VIEW_CONSOLE_ROW_DECORATIONS = ["id"];
|
|
7711
7817
|
var VIEW_DECORATED_ROW_CARRIERS = ["filter", "sort"];
|
|
7712
7818
|
var VIEW_DECORATION_MAX_DEPTH = 12;
|
|
7713
|
-
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.";
|
|
7819
|
+
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.")();
|
|
7714
7820
|
var VIEW_FILTER_OR_GROUP_KEY = "or";
|
|
7715
|
-
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.";
|
|
7716
|
-
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.';
|
|
7821
|
+
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.")();
|
|
7822
|
+
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.')();
|
|
7717
7823
|
var VIEW_FILTER_OR_SPELLING_GUIDANCE = {
|
|
7718
7824
|
$or: VIEW_FILTER_OR_SPELLING,
|
|
7719
7825
|
any: VIEW_FILTER_OR_SPELLING,
|
|
@@ -7721,7 +7827,7 @@ var VIEW_FILTER_OR_SPELLING_GUIDANCE = {
|
|
|
7721
7827
|
logic: VIEW_FILTER_OR_SPELLING,
|
|
7722
7828
|
conditions: VIEW_FILTER_OR_SPELLING
|
|
7723
7829
|
};
|
|
7724
|
-
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.";
|
|
7830
|
+
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.")();
|
|
7725
7831
|
function stripRowDecorations(value, isRow, depth) {
|
|
7726
7832
|
if (depth > VIEW_DECORATION_MAX_DEPTH || !value || typeof value !== "object") return value;
|
|
7727
7833
|
if (Array.isArray(value)) {
|
|
@@ -8054,7 +8160,7 @@ var GroupingConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ stri
|
|
|
8054
8160
|
}).describe(
|
|
8055
8161
|
"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`"
|
|
8056
8162
|
));
|
|
8057
|
-
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.";
|
|
8163
|
+
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.")();
|
|
8058
8164
|
var GalleryConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
8059
8165
|
surface: "this gallery configuration",
|
|
8060
8166
|
history: VIEW_HISTORY,
|
|
@@ -8080,7 +8186,7 @@ var TimelineConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ stri
|
|
|
8080
8186
|
colorField: 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"),
|
|
8081
8187
|
scale: z.enum(["hour", "day", "week", "month", "quarter", "year"]).default("week").describe("Default timeline scale")
|
|
8082
8188
|
}).describe("Timeline view configuration"));
|
|
8083
|
-
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.";
|
|
8189
|
+
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.")();
|
|
8084
8190
|
var VIEW_SHARING_RETIRED_KEY_RESIDUE = { type: "collaborative" };
|
|
8085
8191
|
var ViewSharingSchema = /* @__PURE__ */ lazySchema(() => acceptRetiredDefaultResidue(/* @__PURE__ */ strictObject({
|
|
8086
8192
|
surface: "this view sharing",
|
|
@@ -8187,9 +8293,9 @@ var UserFiltersSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictO
|
|
|
8187
8293
|
showAllRecords: z.boolean().optional().describe('Show an "All records" tab before the presets (tabs element)'),
|
|
8188
8294
|
allowAddTab: 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")
|
|
8189
8295
|
}).describe('End-user quick-filter configuration (Airtable "User filters" parity)'));
|
|
8190
|
-
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.";
|
|
8191
|
-
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.";
|
|
8192
|
-
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.";
|
|
8296
|
+
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.")();
|
|
8297
|
+
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.")();
|
|
8298
|
+
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.")();
|
|
8193
8299
|
var AddRecordConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
8194
8300
|
surface: "this add record configuration",
|
|
8195
8301
|
history: VIEW_HISTORY
|
|
@@ -8199,8 +8305,8 @@ var AddRecordConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ str
|
|
|
8199
8305
|
mode: retiredKey(ADD_RECORD_MODE_RETIRED),
|
|
8200
8306
|
formView: retiredKey(ADD_RECORD_FORM_VIEW_RETIRED)
|
|
8201
8307
|
}).describe("Add record entry point configuration"));
|
|
8202
|
-
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.';
|
|
8203
|
-
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 }`.";
|
|
8308
|
+
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.')();
|
|
8309
|
+
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 }`.")();
|
|
8204
8310
|
var EMPTY_STATE_LINK_URL_SUBJECT = "An empty-state link's `url`";
|
|
8205
8311
|
var emptyStateLinkSchema = () => /* @__PURE__ */ strictObject({
|
|
8206
8312
|
surface: "this empty-state link",
|
|
@@ -8367,6 +8473,38 @@ var KanbanConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strict
|
|
|
8367
8473
|
hideEmptyFields: z.boolean().optional().describe(
|
|
8368
8474
|
"Whether a card leaves out a field that holds no value. Omit for true (left out); false keeps the field with an empty value."
|
|
8369
8475
|
),
|
|
8476
|
+
/**
|
|
8477
|
+
* objectstack#36423 — the counts a card shows at its foot. `comments: true`
|
|
8478
|
+
* shows how many comment threads of the record are open (top-level and not
|
|
8479
|
+
* resolved): the number the record page's comments icon shows, except a
|
|
8480
|
+
* reply whose parent was deleted (a thread of its own there) and a comment
|
|
8481
|
+
* not yet stamped with the record pair (`os migrate comment-parent-pair
|
|
8482
|
+
* --apply`; the record page reads by `thread_id`). `attachments: true`
|
|
8483
|
+
* shows how many files are attached to it (an object with `enable.files`).
|
|
8484
|
+
* Each is read for the whole board in one grouped read per counted object
|
|
8485
|
+
* over the cards it has loaded, never one read per card, under the reader's
|
|
8486
|
+
* permissions; where the server cuts that answer to its default page size,
|
|
8487
|
+
* one more grouped read over the cards it did not name, up to 20 in all.
|
|
8488
|
+
* A count of zero draws nothing. Absent, or a member absent or `false`:
|
|
8489
|
+
* that count is neither read nor drawn — the board as it was before this
|
|
8490
|
+
* key.
|
|
8491
|
+
*
|
|
8492
|
+
* An object, so a later foot item is one more member rather than a second
|
|
8493
|
+
* key. ⛔ No spec-side default.
|
|
8494
|
+
*/
|
|
8495
|
+
cardFooter: /* @__PURE__ */ strictObject({
|
|
8496
|
+
surface: "this kanban card footer",
|
|
8497
|
+
history: VIEW_HISTORY
|
|
8498
|
+
}, {
|
|
8499
|
+
comments: z.boolean().optional().describe(
|
|
8500
|
+
"Show how many comment threads of the record are open (not resolved). Omit or false: not shown, and not read."
|
|
8501
|
+
),
|
|
8502
|
+
attachments: z.boolean().optional().describe(
|
|
8503
|
+
"Show how many files are attached to the record (objects with enable.files). Omit or false: not shown, and not read."
|
|
8504
|
+
)
|
|
8505
|
+
}).optional().describe(
|
|
8506
|
+
"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."
|
|
8507
|
+
),
|
|
8370
8508
|
/**
|
|
8371
8509
|
* [#16894] The one item-titled view config of the family that omitted this
|
|
8372
8510
|
* key. `GalleryConfigSchema`, `TimelineConfigSchema`, `CalendarConfigSchema`,
|
|
@@ -8413,9 +8551,9 @@ var ListChartConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ str
|
|
|
8413
8551
|
values: z.array(z.string()).min(1).describe("Measure names \u2014 Y (at least one)")
|
|
8414
8552
|
}).describe("List chart view configuration"));
|
|
8415
8553
|
var CALENDAR_INITIAL_DATE_RECORD_ANCHORS = ["first_record", "next_record"];
|
|
8416
|
-
var CALENDAR_INITIAL_DATE_RE = new RegExp(
|
|
8554
|
+
var CALENDAR_INITIAL_DATE_RE = /* @__PURE__ */ (() => new RegExp(
|
|
8417
8555
|
"^(?:" + CALENDAR_INITIAL_DATE_RECORD_ANCHORS.join("|") + "|\\$?\\{(?:" + DATE_MACRO_TOKENS.join("|") + "|" + DATE_MACRO_PARAM_RE.source.replace(/^\^/, "").replace(/\$$/, "") + ")\\})$"
|
|
8418
|
-
);
|
|
8556
|
+
))();
|
|
8419
8557
|
function calendarInitialDateRefusal(input) {
|
|
8420
8558
|
const bareToken = typeof input === "string" && isDateMacroToken(input) ? ` \`${input}\` is a date-macro token written without its braces: write \`{${input}}\`.` : "";
|
|
8421
8559
|
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.`;
|
|
@@ -8655,12 +8793,12 @@ var ListMapConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ stric
|
|
|
8655
8793
|
center: z.tuple([z.number(), z.number()]).optional().describe("Initial camera center as [latitude, longitude]. Omit to let the renderer fit the camera to the queried records"),
|
|
8656
8794
|
style: 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")
|
|
8657
8795
|
}).describe("Map view configuration"));
|
|
8658
|
-
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.";
|
|
8659
|
-
var NAVIGATION_MODE_RETIRED = {
|
|
8796
|
+
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.")();
|
|
8797
|
+
var NAVIGATION_MODE_RETIRED = /* @__PURE__ */ (() => ({
|
|
8660
8798
|
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,
|
|
8661
8799
|
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,
|
|
8662
8800
|
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
|
|
8663
|
-
};
|
|
8801
|
+
}))();
|
|
8664
8802
|
var NavigationModeSchema = /* @__PURE__ */ lazySchema(() => enumWithRetiredValues([
|
|
8665
8803
|
"drawer",
|
|
8666
8804
|
// Open the record in the side drawer, which expands to the full page (default); ignored on an object's list
|
|
@@ -8671,7 +8809,7 @@ var NavigationModeSchema = /* @__PURE__ */ lazySchema(() => enumWithRetiredValue
|
|
|
8671
8809
|
"none"
|
|
8672
8810
|
// No navigation (read-only list), on every surface
|
|
8673
8811
|
], NAVIGATION_MODE_RETIRED));
|
|
8674
|
-
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`).";
|
|
8812
|
+
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`).")();
|
|
8675
8813
|
var NavigationConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
8676
8814
|
surface: "this navigation configuration",
|
|
8677
8815
|
history: VIEW_HISTORY
|
|
@@ -8711,8 +8849,9 @@ var NavigationConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ st
|
|
|
8711
8849
|
*
|
|
8712
8850
|
* `'auto'` (default) is the host's fixed default width, the same for every
|
|
8713
8851
|
* object whatever its field count — nothing is derived from the object's
|
|
8714
|
-
* fields. The console's record side panel (opened from an object's list,
|
|
8715
|
-
* the
|
|
8852
|
+
* fields. The console's record side panel (opened from an object's list, from
|
|
8853
|
+
* the bare data page or an interface list page, and the drawer level over a
|
|
8854
|
+
* record page) opens at `min(92vw, 460px)`; a page
|
|
8716
8855
|
* block's drawer opens at that block's own default (`min(960px, 60vw)` for
|
|
8717
8856
|
* the grid, kanban, calendar, gantt and tree; 42rem for the list, gallery,
|
|
8718
8857
|
* map and timeline). A width the reader drags is remembered and wins over
|
|
@@ -8725,9 +8864,10 @@ var NavigationConfigSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ st
|
|
|
8725
8864
|
size: 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."),
|
|
8726
8865
|
/**
|
|
8727
8866
|
* @deprecated [#2578 → `size`] A pixel/percent width cannot be authored blind:
|
|
8728
|
-
* the author (often an AI) does not know the client viewport.
|
|
8729
|
-
*
|
|
8730
|
-
*
|
|
8867
|
+
* the author (often an AI) does not know the client viewport. It is still
|
|
8868
|
+
* honoured, and where a renderer reads both keys an authored `width` wins over
|
|
8869
|
+
* `size` (the console's record drawer does), so new metadata sets `size` (or
|
|
8870
|
+
* omits it for `auto`) and leaves `width` out.
|
|
8731
8871
|
*/
|
|
8732
8872
|
width: z.union([z.string(), 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.')
|
|
8733
8873
|
}));
|
|
@@ -8736,11 +8876,11 @@ var exportOptionsPdfUnionError = (issue) => {
|
|
|
8736
8876
|
const declaresPdf = Array.isArray(input) ? input.includes("pdf") : !!input && typeof input === "object" && Array.isArray(input.formats) && input.formats.includes("pdf");
|
|
8737
8877
|
return declaresPdf ? LIST_VIEW_EXPORT_PDF_RETIRED : void 0;
|
|
8738
8878
|
};
|
|
8739
|
-
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.";
|
|
8740
|
-
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.";
|
|
8741
|
-
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.";
|
|
8742
|
-
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.";
|
|
8743
|
-
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`.";
|
|
8879
|
+
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.")();
|
|
8880
|
+
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.")();
|
|
8881
|
+
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.")();
|
|
8882
|
+
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.")();
|
|
8883
|
+
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`.")();
|
|
8744
8884
|
function checkListViewCalendarVisualization(view, ctx) {
|
|
8745
8885
|
const allowed = view.appearance?.allowedVisualizations;
|
|
8746
8886
|
if (!Array.isArray(allowed) || !allowed.includes("calendar")) return;
|
|
@@ -8752,18 +8892,18 @@ function checkListViewCalendarVisualization(view, ctx) {
|
|
|
8752
8892
|
});
|
|
8753
8893
|
}
|
|
8754
8894
|
}
|
|
8755
|
-
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.";
|
|
8756
|
-
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
|
|
8895
|
+
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.")();
|
|
8896
|
+
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\`.`)();
|
|
8757
8897
|
function checkListViewChartBinding(view, ctx) {
|
|
8758
8898
|
if (view.type !== "chart" || view.chart !== void 0) return;
|
|
8759
8899
|
ctx.addIssue({ code: "custom", path: ["chart"], message: LIST_VIEW_CHART_NEEDS_BINDING });
|
|
8760
8900
|
}
|
|
8761
|
-
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`.";
|
|
8901
|
+
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`.")();
|
|
8762
8902
|
function checkListViewTimesheetBinding(view, ctx) {
|
|
8763
8903
|
if (view.type !== "timesheet" || view.timesheet !== void 0) return;
|
|
8764
8904
|
ctx.addIssue({ code: "custom", path: ["timesheet"], message: LIST_VIEW_TIMESHEET_NEEDS_BINDING });
|
|
8765
8905
|
}
|
|
8766
|
-
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.";
|
|
8906
|
+
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.")();
|
|
8767
8907
|
var ListViewShapeSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
8768
8908
|
surface: "this list view",
|
|
8769
8909
|
history: VIEW_HISTORY,
|
|
@@ -9125,10 +9265,10 @@ var FormSelectOptionSchema = /* @__PURE__ */ lazySchema(() => {
|
|
|
9125
9265
|
"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)."
|
|
9126
9266
|
);
|
|
9127
9267
|
});
|
|
9128
|
-
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.";
|
|
9129
|
-
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`.";
|
|
9130
|
-
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`.";
|
|
9131
|
-
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.";
|
|
9268
|
+
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.")();
|
|
9269
|
+
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`.")();
|
|
9270
|
+
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`.")();
|
|
9271
|
+
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.")();
|
|
9132
9272
|
var FormFieldBaseSchema = /* @__PURE__ */ lazySchema(() => {
|
|
9133
9273
|
const shape = {
|
|
9134
9274
|
/** Field name (snake_case) */
|
|
@@ -9148,7 +9288,7 @@ var FormFieldBaseSchema = /* @__PURE__ */ lazySchema(() => {
|
|
|
9148
9288
|
* shares by reference with the object-field face, so an enum member carrying
|
|
9149
9289
|
* a hyphen or a capital (`system-data`, `new-tab`, `perRecord`) cannot be
|
|
9150
9290
|
* written as one at all. On a metadata form — schema-bound, built by
|
|
9151
|
-
* {@link
|
|
9291
|
+
* {@link defineMetadataForm} — an enum-typed row MAY carry an inline `options` list,
|
|
9152
9292
|
* for human labels or a deliberate subset (the #19331 `object.ownership` /
|
|
9153
9293
|
* `sharingModel` rows and the master_detail `deleteBehavior` rows are the
|
|
9154
9294
|
* reference shapes). A row whose members cannot be spelled as option values
|
|
@@ -9156,10 +9296,10 @@ var FormFieldBaseSchema = /* @__PURE__ */ lazySchema(() => {
|
|
|
9156
9296
|
* Schema, and their meanings go in `helpText` (the `object.managedBy` /
|
|
9157
9297
|
* `action.openIn` / `action.execution` rows are the reference shape). The
|
|
9158
9298
|
* describe below states the rule where an author meets it, and
|
|
9159
|
-
* `
|
|
9299
|
+
* `defineMetadataForm`'s module-load refusal of an unspellable value names the
|
|
9160
9300
|
* derive path as its remedy.
|
|
9161
9301
|
*/
|
|
9162
|
-
options: 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 `
|
|
9302
|
+
options: 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`."),
|
|
9163
9303
|
/** Reference object for lookup/master_detail fields */
|
|
9164
9304
|
reference: z.string().optional().describe("Target object name for lookup/master_detail fields"),
|
|
9165
9305
|
/**
|
|
@@ -9230,7 +9370,7 @@ var FormFieldBaseSchema = /* @__PURE__ */ lazySchema(() => {
|
|
|
9230
9370
|
* The read points (`resolveColSpan`, the wide-type list, the span ladder)
|
|
9231
9371
|
* are recorded in `packages/spec/liveness/view.json`, row `form.sections`.
|
|
9232
9372
|
*/
|
|
9233
|
-
span: 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
|
|
9373
|
+
span: 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."),
|
|
9234
9374
|
/** Custom widget override — only needed when auto-inference is insufficient */
|
|
9235
9375
|
widget: z.string().optional().describe("Custom widget/component name (overrides type-based inference)"),
|
|
9236
9376
|
/** For `code` fields: source language (e.g. 'javascript', 'sql', 'json', 'typescript', 'expression', 'cel'). Drives syntax highlighting. */
|
|
@@ -9269,7 +9409,7 @@ var FormFieldBaseSchema = /* @__PURE__ */ lazySchema(() => {
|
|
|
9269
9409
|
* (ADR-0089, canonical `*When` name). Binding root depends on the surface:
|
|
9270
9410
|
* runtime record forms bind `record` (plus `previous`, the saved record, and
|
|
9271
9411
|
* `parent` for master-detail line items); metadata-editing forms
|
|
9272
|
-
* (`*.form.ts`) bind the row under edit as `data`.
|
|
9412
|
+
* (`*.metadata-form.ts`) bind the row under edit as `data`.
|
|
9273
9413
|
*
|
|
9274
9414
|
* ## `current_user` DOES bind here — client-side, and only under a host that
|
|
9275
9415
|
* publishes a scope (objectui#6010)
|
|
@@ -9401,7 +9541,7 @@ var FormSectionSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictO
|
|
|
9401
9541
|
* translation linter (`collectViewRecord`) accepts it and `translateView`
|
|
9402
9542
|
* serves it. A section without a `name` has no key there and keeps its
|
|
9403
9543
|
* authored text in every locale.
|
|
9404
|
-
* - **A metadata-editing form** (`
|
|
9544
|
+
* - **A metadata-editing form** (`defineMetadataForm({ schemaId })`):
|
|
9405
9545
|
* `metadataForms.<type>.sections.<name>`, read by
|
|
9406
9546
|
* `resolveMetadataFormLabels`. A section without a `name` is looked up
|
|
9407
9547
|
* there under a slug of its `label`.
|
|
@@ -9681,21 +9821,70 @@ function refineFormFieldFeaturesRoot(field, path, ctx) {
|
|
|
9681
9821
|
});
|
|
9682
9822
|
}
|
|
9683
9823
|
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.";
|
|
9684
|
-
var FORM_VIEW_TYPE_RETIRED = {
|
|
9824
|
+
var FORM_VIEW_TYPE_RETIRED = /* @__PURE__ */ (() => ({
|
|
9685
9825
|
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,
|
|
9686
9826
|
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,
|
|
9687
9827
|
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
|
|
9688
|
-
};
|
|
9689
|
-
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;
|
|
9690
|
-
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;
|
|
9691
|
-
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;
|
|
9692
|
-
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;
|
|
9693
|
-
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;
|
|
9694
|
-
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;
|
|
9695
|
-
var FORM_VIEW_LAYOUT_RETIRED = /* @__PURE__ */ new Map([
|
|
9828
|
+
}))();
|
|
9829
|
+
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)();
|
|
9830
|
+
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)();
|
|
9831
|
+
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)();
|
|
9832
|
+
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)();
|
|
9833
|
+
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)();
|
|
9834
|
+
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)();
|
|
9835
|
+
var FORM_VIEW_LAYOUT_RETIRED = /* @__PURE__ */ (() => /* @__PURE__ */ new Map([
|
|
9696
9836
|
["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."],
|
|
9697
9837
|
["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."]
|
|
9698
|
-
]);
|
|
9838
|
+
]))();
|
|
9839
|
+
function checkFormViewBody(view, ctx) {
|
|
9840
|
+
for (const [key, sections] of [["sections", view.sections], ["groups", view.groups]]) {
|
|
9841
|
+
sections?.forEach((section, index) => {
|
|
9842
|
+
const sectionRefusal = checkFormViewPredicateFeaturesRoot(section?.visibleWhen);
|
|
9843
|
+
if (sectionRefusal) {
|
|
9844
|
+
ctx.addIssue({ code: "custom", path: [key, index, "visibleWhen"], message: sectionRefusal });
|
|
9845
|
+
}
|
|
9846
|
+
section?.fields?.forEach((field, fieldIndex) => {
|
|
9847
|
+
refineFormFieldFeaturesRoot(field, [key, index, "fields", fieldIndex], ctx);
|
|
9848
|
+
});
|
|
9849
|
+
if (view.type === "wizard" && section != null) {
|
|
9850
|
+
if (section.visibleWhen != null) {
|
|
9851
|
+
ctx.addIssue({
|
|
9852
|
+
code: "custom",
|
|
9853
|
+
path: [key, index, "visibleWhen"],
|
|
9854
|
+
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."
|
|
9855
|
+
});
|
|
9856
|
+
}
|
|
9857
|
+
for (const collapseKey of ["collapsible", "collapsed"]) {
|
|
9858
|
+
if (section[collapseKey] === true) {
|
|
9859
|
+
ctx.addIssue({
|
|
9860
|
+
code: "custom",
|
|
9861
|
+
path: [key, index, collapseKey],
|
|
9862
|
+
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.`
|
|
9863
|
+
});
|
|
9864
|
+
}
|
|
9865
|
+
}
|
|
9866
|
+
if (section.group != null) {
|
|
9867
|
+
ctx.addIssue({
|
|
9868
|
+
code: "custom",
|
|
9869
|
+
path: [key, index, "group"],
|
|
9870
|
+
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."
|
|
9871
|
+
});
|
|
9872
|
+
}
|
|
9873
|
+
}
|
|
9874
|
+
});
|
|
9875
|
+
}
|
|
9876
|
+
if (view.type === "wizard" && typeof view.viewKind !== "string") {
|
|
9877
|
+
const steps = view.sections !== void 0 ? view.sections : view.groups;
|
|
9878
|
+
if (steps === void 0 || steps.length === 0) {
|
|
9879
|
+
const authoredKey = view.sections !== void 0 ? "sections" : view.groups !== void 0 ? "groups" : "sections";
|
|
9880
|
+
ctx.addIssue({
|
|
9881
|
+
code: "custom",
|
|
9882
|
+
path: [authoredKey],
|
|
9883
|
+
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."
|
|
9884
|
+
});
|
|
9885
|
+
}
|
|
9886
|
+
}
|
|
9887
|
+
}
|
|
9699
9888
|
var FormViewSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
9700
9889
|
surface: "this form view",
|
|
9701
9890
|
history: VIEW_HISTORY,
|
|
@@ -9805,7 +9994,7 @@ var FormViewSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObje
|
|
|
9805
9994
|
/**
|
|
9806
9995
|
* Data Source Configuration. NOT removed in the #3896 sweep despite the
|
|
9807
9996
|
* ledger's dead verdict — the removal attempt broke the build and thereby
|
|
9808
|
-
* re-verified the entry: `
|
|
9997
|
+
* re-verified the entry: `defineMetadataForm` (below) writes
|
|
9809
9998
|
* `data: { provider: 'schema', schemaId }` onto EVERY metadata form, and
|
|
9810
9999
|
* `metadata-protocol` serves it to the metadata-admin pipeline. The
|
|
9811
10000
|
* record-form provider values (`object`/`value`) may still be unread — that
|
|
@@ -9997,55 +10186,7 @@ var FormViewSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObje
|
|
|
9997
10186
|
* still wins.
|
|
9998
10187
|
*/
|
|
9999
10188
|
defaults: z.record(z.string(), z.unknown()).optional().describe("Initial field values for create-mode forms (folded into ObjectUI ObjectForm initial values;).")
|
|
10000
|
-
}).superRefine((
|
|
10001
|
-
for (const [key, sections] of [["sections", view.sections], ["groups", view.groups]]) {
|
|
10002
|
-
sections?.forEach((section, index) => {
|
|
10003
|
-
const sectionRefusal = checkFormViewPredicateFeaturesRoot(section?.visibleWhen);
|
|
10004
|
-
if (sectionRefusal) {
|
|
10005
|
-
ctx.addIssue({ code: "custom", path: [key, index, "visibleWhen"], message: sectionRefusal });
|
|
10006
|
-
}
|
|
10007
|
-
section?.fields?.forEach((field, fieldIndex) => {
|
|
10008
|
-
refineFormFieldFeaturesRoot(field, [key, index, "fields", fieldIndex], ctx);
|
|
10009
|
-
});
|
|
10010
|
-
if (view.type === "wizard" && section != null) {
|
|
10011
|
-
if (section.visibleWhen != null) {
|
|
10012
|
-
ctx.addIssue({
|
|
10013
|
-
code: "custom",
|
|
10014
|
-
path: [key, index, "visibleWhen"],
|
|
10015
|
-
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."
|
|
10016
|
-
});
|
|
10017
|
-
}
|
|
10018
|
-
for (const collapseKey of ["collapsible", "collapsed"]) {
|
|
10019
|
-
if (section[collapseKey] === true) {
|
|
10020
|
-
ctx.addIssue({
|
|
10021
|
-
code: "custom",
|
|
10022
|
-
path: [key, index, collapseKey],
|
|
10023
|
-
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.`
|
|
10024
|
-
});
|
|
10025
|
-
}
|
|
10026
|
-
}
|
|
10027
|
-
if (section.group != null) {
|
|
10028
|
-
ctx.addIssue({
|
|
10029
|
-
code: "custom",
|
|
10030
|
-
path: [key, index, "group"],
|
|
10031
|
-
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."
|
|
10032
|
-
});
|
|
10033
|
-
}
|
|
10034
|
-
}
|
|
10035
|
-
});
|
|
10036
|
-
}
|
|
10037
|
-
if (view.type === "wizard" && typeof view.viewKind !== "string") {
|
|
10038
|
-
const steps = view.sections !== void 0 ? view.sections : view.groups;
|
|
10039
|
-
if (steps === void 0 || steps.length === 0) {
|
|
10040
|
-
const authoredKey = view.sections !== void 0 ? "sections" : view.groups !== void 0 ? "groups" : "sections";
|
|
10041
|
-
ctx.addIssue({
|
|
10042
|
-
code: "custom",
|
|
10043
|
-
path: [authoredKey],
|
|
10044
|
-
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."
|
|
10045
|
-
});
|
|
10046
|
-
}
|
|
10047
|
-
}
|
|
10048
|
-
}).overwrite(foldFormGroupsIntoSections));
|
|
10189
|
+
}).superRefine(checkFormViewBody).overwrite(foldFormGroupsIntoSections));
|
|
10049
10190
|
var ObjectUserFiltersSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
10050
10191
|
surface: "these object user filters",
|
|
10051
10192
|
history: VIEW_HISTORY,
|
|
@@ -10059,7 +10200,7 @@ var ObjectUserFiltersSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ s
|
|
|
10059
10200
|
element: 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.')
|
|
10060
10201
|
}));
|
|
10061
10202
|
var ObjectListViewSchema = /* @__PURE__ */ lazySchema(() => ListViewShapeSchema.omit({ userFilters: true }).extend({ userFilters: ObjectUserFiltersSchema.optional() }).superRefine(checkListViewCalendarVisualization).superRefine(checkListViewChartBinding).superRefine(checkListViewTimesheetBinding));
|
|
10062
|
-
var VIEW_WRAP_REMEDY = "Wrap it: `defineView({ list: { type, data, columns, \u2026 } })`, or name it \u2014 `defineView({ listViews: { my_view: { \u2026 } } })`.";
|
|
10203
|
+
var VIEW_WRAP_REMEDY = /* @__PURE__ */ (() => "Wrap it: `defineView({ list: { type, data, columns, \u2026 } })`, or name it \u2014 `defineView({ listViews: { my_view: { \u2026 } } })`.")();
|
|
10063
10204
|
var ViewSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
10064
10205
|
surface: "this view container",
|
|
10065
10206
|
history: VIEW_HISTORY,
|
|
@@ -10142,17 +10283,17 @@ function defineView(config) {
|
|
|
10142
10283
|
}
|
|
10143
10284
|
return parsed;
|
|
10144
10285
|
}
|
|
10145
|
-
var ViewItemNameSchema = z.string().regex(
|
|
10286
|
+
var ViewItemNameSchema = /* @__PURE__ */ (() => z.string().regex(
|
|
10146
10287
|
QUALIFIED_ITEM_NAME_PATTERN,
|
|
10147
10288
|
'View item name must be a dotted snake_case qualified name, e.g. "crm_lead.pipeline".'
|
|
10148
|
-
).describe("Globally-unique view id, `<object>.<viewKey>`.");
|
|
10149
|
-
var VIEW_SCOPE_RETIRED = {
|
|
10289
|
+
).describe("Globally-unique view id, `<object>.<viewKey>`."))();
|
|
10290
|
+
var VIEW_SCOPE_RETIRED = /* @__PURE__ */ (() => ({
|
|
10150
10291
|
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."
|
|
10151
|
-
};
|
|
10152
|
-
var ViewScopeSchema = enumWithRetiredValues(["package", "shared"], VIEW_SCOPE_RETIRED).describe("View identity layer: package | shared.");
|
|
10153
|
-
var ViewKindSchema = z.enum(["list", "form"]).describe("Whether `config` is a ListView (list family) or a FormView.");
|
|
10154
|
-
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.";
|
|
10155
|
-
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.";
|
|
10292
|
+
}))();
|
|
10293
|
+
var ViewScopeSchema = /* @__PURE__ */ (() => enumWithRetiredValues(["package", "shared"], VIEW_SCOPE_RETIRED).describe("View identity layer: package | shared."))();
|
|
10294
|
+
var ViewKindSchema = /* @__PURE__ */ (() => z.enum(["list", "form"]).describe("Whether `config` is a ListView (list family) or a FormView."))();
|
|
10295
|
+
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.")();
|
|
10296
|
+
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.")();
|
|
10156
10297
|
function viewItemBaseShape() {
|
|
10157
10298
|
return {
|
|
10158
10299
|
// The dot is REQUIRED here and NOWHERE ELSE in the `view` family — the
|
|
@@ -10211,7 +10352,7 @@ function viewItemArmShape(viewKind, config) {
|
|
|
10211
10352
|
...viewItemBaseShape()
|
|
10212
10353
|
};
|
|
10213
10354
|
}
|
|
10214
|
-
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.";
|
|
10355
|
+
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.")();
|
|
10215
10356
|
var VIEW_ITEM_SURFACE = {
|
|
10216
10357
|
surface: "this view item",
|
|
10217
10358
|
history: VIEW_HISTORY,
|
|
@@ -10252,7 +10393,7 @@ function viewSwitcherRowStateFields() {
|
|
|
10252
10393
|
)
|
|
10253
10394
|
};
|
|
10254
10395
|
}
|
|
10255
|
-
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`.";
|
|
10396
|
+
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`.")();
|
|
10256
10397
|
function viewItemWireFields() {
|
|
10257
10398
|
return {
|
|
10258
10399
|
...viewSwitcherRowStateFields(),
|
|
@@ -10271,7 +10412,7 @@ function viewItemWireFields() {
|
|
|
10271
10412
|
)
|
|
10272
10413
|
};
|
|
10273
10414
|
}
|
|
10274
|
-
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.";
|
|
10415
|
+
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.")();
|
|
10275
10416
|
var VIEW_WIRE_ALIASES = { objectName: "object", id: "name" };
|
|
10276
10417
|
var VIEW_ITEM_WIRE_SURFACE = {
|
|
10277
10418
|
surface: "this view item record",
|
|
@@ -10308,8 +10449,51 @@ var ViewItemWireSchema = /* @__PURE__ */ lazySchema(
|
|
|
10308
10449
|
function defineViewItem(config) {
|
|
10309
10450
|
return ViewItemSchema.parse(config);
|
|
10310
10451
|
}
|
|
10311
|
-
var
|
|
10312
|
-
var
|
|
10452
|
+
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.")();
|
|
10453
|
+
var FORM_ITEM_GUIDANCE = /* @__PURE__ */ (() => ({
|
|
10454
|
+
data: FORM_ITEM_DATA_REFUSED,
|
|
10455
|
+
viewKind: "A form item has no `viewKind`: the `form` type is the discriminator (ADR-0159 D2). Remove the key.",
|
|
10456
|
+
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`.",
|
|
10457
|
+
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.",
|
|
10458
|
+
order: "A form item has no `order`: forms are not in the view switcher (ADR-0159 D2). Remove the key.",
|
|
10459
|
+
scope: "A form item has no `scope`: the registry's provenance already says package or runtime (ADR-0159 D2). Remove the key."
|
|
10460
|
+
}))();
|
|
10461
|
+
function checkFormItemNamePrefix(form, ctx) {
|
|
10462
|
+
if (typeof form.name !== "string" || typeof form.object !== "string") return;
|
|
10463
|
+
const cut = form.name.lastIndexOf(".");
|
|
10464
|
+
if (cut <= 0) return;
|
|
10465
|
+
const prefix = form.name.slice(0, cut);
|
|
10466
|
+
if (prefix === form.object) return;
|
|
10467
|
+
ctx.addIssue({
|
|
10468
|
+
code: "custom",
|
|
10469
|
+
path: ["name"],
|
|
10470
|
+
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}'.`
|
|
10471
|
+
});
|
|
10472
|
+
}
|
|
10473
|
+
function formItemBodyShape() {
|
|
10474
|
+
const { data: _data, ...body } = FormViewSchema.shape;
|
|
10475
|
+
return body;
|
|
10476
|
+
}
|
|
10477
|
+
var FormSchema = /* @__PURE__ */ lazySchema(() => /* @__PURE__ */ strictObject({
|
|
10478
|
+
surface: "this form",
|
|
10479
|
+
history: VIEW_HISTORY,
|
|
10480
|
+
guidance: FORM_ITEM_GUIDANCE
|
|
10481
|
+
}, {
|
|
10482
|
+
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`."),
|
|
10483
|
+
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."),
|
|
10484
|
+
label: I18nLabelSchema.optional().describe("The form's name in lists (Setup, Studio). When absent a surface shows `title`, then the name."),
|
|
10485
|
+
...formItemBodyShape(),
|
|
10486
|
+
protection: ProtectionSchema.optional().describe("Package author protection block \u2014 lock policy for this form."),
|
|
10487
|
+
// ADR-0010 — runtime protection envelope (internal — set by the loader).
|
|
10488
|
+
...MetadataProtectionFields,
|
|
10489
|
+
// ADR-0146 D2 / ADR-0159 D4 — the override declaration (authored; travels with the item).
|
|
10490
|
+
...OverrideDeclarationFields
|
|
10491
|
+
}).superRefine(checkFormViewBody).superRefine(checkFormItemNamePrefix).overwrite(foldFormGroupsIntoSections));
|
|
10492
|
+
function defineForm(config) {
|
|
10493
|
+
return FormSchema.parse(config);
|
|
10494
|
+
}
|
|
10495
|
+
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)();
|
|
10496
|
+
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)();
|
|
10313
10497
|
function otherViewKind(kind) {
|
|
10314
10498
|
return kind === "list" ? "form" : "list";
|
|
10315
10499
|
}
|
|
@@ -10378,12 +10562,12 @@ function containerHasAView(v) {
|
|
|
10378
10562
|
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
|
|
10379
10563
|
);
|
|
10380
10564
|
}
|
|
10381
|
-
var VIEW_WRITE_PATH_IDENTITY_KEYS = /* @__PURE__ */ new Set([
|
|
10565
|
+
var VIEW_WRITE_PATH_IDENTITY_KEYS = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([
|
|
10382
10566
|
"name",
|
|
10383
10567
|
"viewKind",
|
|
10384
10568
|
"object",
|
|
10385
10569
|
"label"
|
|
10386
|
-
]);
|
|
10570
|
+
]))();
|
|
10387
10571
|
function collectDeclaredTopLevelKeys(schema, into, depth = 0) {
|
|
10388
10572
|
const def = schema?._zod?.def;
|
|
10389
10573
|
if (!def || depth > 6) return;
|
|
@@ -10423,11 +10607,11 @@ var ViewContainerWireSchema = /* @__PURE__ */ lazySchema(
|
|
|
10423
10607
|
message: "A view container must define at least one of `list`, `form`, `listViews`, or `formViews`."
|
|
10424
10608
|
})
|
|
10425
10609
|
);
|
|
10426
|
-
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.";
|
|
10427
|
-
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`).';
|
|
10610
|
+
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.")();
|
|
10611
|
+
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`).')();
|
|
10428
10612
|
var LIST_OVERLAY_DEFAULT_TYPE = "grid";
|
|
10429
|
-
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.';
|
|
10430
|
-
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: [...] }]`.';
|
|
10613
|
+
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.')();
|
|
10614
|
+
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: [...] }]`.')();
|
|
10431
10615
|
function listOverlayPatchFields() {
|
|
10432
10616
|
const shape = ListViewShapeSchema.shape;
|
|
10433
10617
|
return {
|
|
@@ -10756,7 +10940,106 @@ function expandViewContainerWithDiagnostics(object, container) {
|
|
|
10756
10940
|
function expandViewContainer(object, container) {
|
|
10757
10941
|
return expandViewContainerWithDiagnostics(object, container).items;
|
|
10758
10942
|
}
|
|
10759
|
-
|
|
10943
|
+
var PROJECTED_FORM_SOURCE_KEY = "_formDefinedIn";
|
|
10944
|
+
var PROJECTED_ITEM_KEYS = ["label", "overrides", "protection", "_lock", "_lockReason", "_lockSource", "_packageId", "_packageVersion", "_provenance"];
|
|
10945
|
+
function namedPublicLinks(value, out = /* @__PURE__ */ new Set(), depth = 0) {
|
|
10946
|
+
if (depth > 12 || value === null || typeof value !== "object") return [...out];
|
|
10947
|
+
if (Array.isArray(value)) {
|
|
10948
|
+
for (const v of value) namedPublicLinks(v, out, depth + 1);
|
|
10949
|
+
return [...out];
|
|
10950
|
+
}
|
|
10951
|
+
const rec = value;
|
|
10952
|
+
const sharing = rec.sharing;
|
|
10953
|
+
if (sharing && typeof sharing === "object" && typeof sharing.publicLink === "string") {
|
|
10954
|
+
const link = sharing.publicLink;
|
|
10955
|
+
if (link) out.add(publicFormSlug(link));
|
|
10956
|
+
}
|
|
10957
|
+
for (const [k, v] of Object.entries(rec)) if (k !== "sharing") namedPublicLinks(v, out, depth + 1);
|
|
10958
|
+
return [...out];
|
|
10959
|
+
}
|
|
10960
|
+
function projectedItem(name, object, body, carrier) {
|
|
10961
|
+
const item = { ...body, name, object };
|
|
10962
|
+
for (const key of PROJECTED_ITEM_KEYS) {
|
|
10963
|
+
if (carrier[key] !== void 0 && item[key] === void 0) item[key] = carrier[key];
|
|
10964
|
+
}
|
|
10965
|
+
const own = Array.isArray(carrier.requiredPermissions) ? carrier.requiredPermissions : [];
|
|
10966
|
+
if (own.length > 0) {
|
|
10967
|
+
const inner = Array.isArray(body.requiredPermissions) ? body.requiredPermissions : [];
|
|
10968
|
+
item.requiredPermissions = [.../* @__PURE__ */ new Set([...own, ...inner])];
|
|
10969
|
+
}
|
|
10970
|
+
item[PROJECTED_FORM_SOURCE_KEY] = "view";
|
|
10971
|
+
return item;
|
|
10972
|
+
}
|
|
10973
|
+
function projectViewForms(body, options = {}) {
|
|
10974
|
+
const out = { forms: [], lists: [] };
|
|
10975
|
+
if (!body || typeof body !== "object" || Array.isArray(body)) return out;
|
|
10976
|
+
const v = body;
|
|
10977
|
+
const unreadable = (reason, content) => ({
|
|
10978
|
+
forms: [],
|
|
10979
|
+
lists: out.lists,
|
|
10980
|
+
unreadable: { reason, links: namedPublicLinks(content) }
|
|
10981
|
+
});
|
|
10982
|
+
if (isAggregatedViewContainer(v)) {
|
|
10983
|
+
if (v.form !== void 0 && v.form !== null && (typeof v.form !== "object" || Array.isArray(v.form))) {
|
|
10984
|
+
return unreadable("the container's `form` is not an object", { form: v.form, formViews: v.formViews });
|
|
10985
|
+
}
|
|
10986
|
+
if (v.formViews !== void 0 && v.formViews !== null) {
|
|
10987
|
+
if (typeof v.formViews !== "object" || Array.isArray(v.formViews)) {
|
|
10988
|
+
return unreadable("the container's `formViews` is not an object", { form: v.form, formViews: v.formViews });
|
|
10989
|
+
}
|
|
10990
|
+
for (const [key, entry] of Object.entries(v.formViews)) {
|
|
10991
|
+
if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
|
|
10992
|
+
return unreadable(`the container's \`formViews.${key}\` is not an object`, { form: v.form, formViews: v.formViews });
|
|
10993
|
+
}
|
|
10994
|
+
}
|
|
10995
|
+
}
|
|
10996
|
+
const object = deriveViewContainerObject(v) ?? options.object;
|
|
10997
|
+
if (object === void 0) return unreadable("the container names no object", { form: v.form, formViews: v.formViews });
|
|
10998
|
+
let expanded;
|
|
10999
|
+
try {
|
|
11000
|
+
expanded = expandViewContainerWithDiagnostics(object, v).items;
|
|
11001
|
+
} catch (err) {
|
|
11002
|
+
return unreadable(`the container cannot be expanded (${err instanceof Error ? err.message : String(err)})`, { form: v.form, formViews: v.formViews });
|
|
11003
|
+
}
|
|
11004
|
+
for (const item of expanded) {
|
|
11005
|
+
if (item.viewKind !== "form") {
|
|
11006
|
+
out.lists.push(item.name);
|
|
11007
|
+
continue;
|
|
11008
|
+
}
|
|
11009
|
+
const config = item.config ?? {};
|
|
11010
|
+
const carrier = { ...v, label: item.label };
|
|
11011
|
+
out.forms.push(projectedItem(item.name, anonymousFormObjectName({ object: item.object }, config) ?? item.object, config, carrier));
|
|
11012
|
+
}
|
|
11013
|
+
return out;
|
|
11014
|
+
}
|
|
11015
|
+
const name = typeof v.name === "string" && v.name ? v.name : void 0;
|
|
11016
|
+
if (v.viewKind === "form") {
|
|
11017
|
+
if (!v.config || typeof v.config !== "object" || Array.isArray(v.config)) {
|
|
11018
|
+
return unreadable("a `viewKind: 'form'` item carries no `config` object", v);
|
|
11019
|
+
}
|
|
11020
|
+
if (name === void 0) return unreadable("a `viewKind: 'form'` item names no `name`", v.config);
|
|
11021
|
+
const object = anonymousFormObjectName(v, v.config);
|
|
11022
|
+
if (typeof object !== "string" || !object) return unreadable("a `viewKind: 'form'` item names no object", v.config);
|
|
11023
|
+
out.forms.push(projectedItem(name, object, v.config, v));
|
|
11024
|
+
return out;
|
|
11025
|
+
}
|
|
11026
|
+
if (name !== void 0) out.lists.push(name);
|
|
11027
|
+
return out;
|
|
11028
|
+
}
|
|
11029
|
+
function projectedFormsOf(bodies) {
|
|
11030
|
+
const seen = /* @__PURE__ */ new Set();
|
|
11031
|
+
const out = [];
|
|
11032
|
+
const ordered = [...bodies].sort((a, b) => Number(!isAggregatedViewContainer(a)) - Number(!isAggregatedViewContainer(b)));
|
|
11033
|
+
for (const body of ordered) {
|
|
11034
|
+
for (const form of projectViewForms(body).forms) {
|
|
11035
|
+
if (seen.has(form.name)) continue;
|
|
11036
|
+
seen.add(form.name);
|
|
11037
|
+
out.push(form);
|
|
11038
|
+
}
|
|
11039
|
+
}
|
|
11040
|
+
return out;
|
|
11041
|
+
}
|
|
11042
|
+
function defineMetadataForm(config) {
|
|
10760
11043
|
const { schemaId, ...rest } = config;
|
|
10761
11044
|
const parsed = FormViewSchema.safeParse({
|
|
10762
11045
|
...rest,
|
|
@@ -10764,7 +11047,7 @@ function defineForm(config) {
|
|
|
10764
11047
|
});
|
|
10765
11048
|
if (parsed.success) return parsed.data;
|
|
10766
11049
|
const refusal = new z.ZodRealError(withOptionValueDeriveRemedy(parsed.error.issues));
|
|
10767
|
-
z.core.util.captureStackTrace(refusal,
|
|
11050
|
+
z.core.util.captureStackTrace(refusal, defineMetadataForm);
|
|
10768
11051
|
throw refusal;
|
|
10769
11052
|
}
|
|
10770
11053
|
function defineList(config) {
|
|
@@ -10778,8 +11061,8 @@ function defineList(config) {
|
|
|
10778
11061
|
z.core.util.captureStackTrace(refusal, defineList);
|
|
10779
11062
|
throw refusal;
|
|
10780
11063
|
}
|
|
10781
|
-
var FORM_OPTION_VALUE_DERIVE_REMEDY = "An enum member carrying a hyphen
|
|
10782
|
-
var OPTION_VALUE_GRAMMAR_CODES = /* @__PURE__ */ new Set(["invalid_format", "too_small"]);
|
|
11064
|
+
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`.")();
|
|
11065
|
+
var OPTION_VALUE_GRAMMAR_CODES = /* @__PURE__ */ (() => /* @__PURE__ */ new Set(["invalid_format", "too_small"]))();
|
|
10783
11066
|
function isInlineOptionValuePath(path) {
|
|
10784
11067
|
const n = path.length;
|
|
10785
11068
|
return n >= 3 && path[n - 1] === "value" && typeof path[n - 2] === "number" && path[n - 3] === "options";
|
|
@@ -10800,6 +11083,6 @@ function withOptionValueDeriveRemedy(issues, at = []) {
|
|
|
10800
11083
|
});
|
|
10801
11084
|
}
|
|
10802
11085
|
|
|
10803
|
-
export { ACCEPTED_FILTER_COMPARAND_TYPES, ACCEPTED_FILTER_COMPARAND_TYPES_SENTENCE, ALL_OPERATORS, AUDIENCE_REQUIRED_PERMISSIONS_DESCRIPTION, AUDIT_PROVENANCE_FIELDS, AddRecordConfigSchema, AddressSchema, AddressValueSchema, AppearanceConfigSchema, AriaPropsSchema, BOOLEAN_VALUE_TYPES, BOUNDED_STRING_FIELD_TYPES, BULK_CONFIRM_COUNT_ROOT, BulkActionDefSchema, BulkActionExecutionSchema, BulkActionOperationSchema, BulkActionParamSchema, BulkActionResultSchema, CALENDAR_DATE_TYPES, CLOCK_TIME_TYPES, COMPOSED_READABLE_IDS_BRAND, COMPUTED_VALUE_TYPES, CURRENCY_FRACTION_DIGITS, CUSTOMIZATION_PACKAGE_SUFFIX, CalendarConfigSchema, CalendarDateValueSchema, ChartAggregateFunctionSchema, ChartAggregateSchema, ChartAnnotationSchema, ChartAxisSchema, ChartConfigSchema, ChartDrillDownSchema, ChartGroupBySchema, ChartInteractionSchema, ChartSeriesSchema, ChartTypeSchema, ClockTimeValueSchema, ColumnPrefixSchema, ColumnSummaryConfigSchema, ColumnSummarySchema, ComparisonOperatorSchema, CorsConfigSchema, CronExpressionInputSchema, CurrencyConfigSchema, DATE_MACRO_ALIAS_TOKENS, DATE_MACRO_DESCRIPTIONS, DATE_MACRO_INSTANT_TOKENS, DATE_MACRO_PARAM_RE, DATE_MACRO_PERIOD_TOKENS, DATE_MACRO_TOKENS, DATE_MACRO_UNITS, DATE_MACRO_WRAPPED_RE, DATE_RANGE_PRESETS, DATE_RANGE_PRESET_MACRO_WINDOWS, DEFAULT_AUTONUMBER_FORMAT, DEFAULT_VALUE_TOKENS, DEFAULT_VALUE_TOKEN_CURRENT_USER, DEFAULT_VALUE_TOKEN_DESCRIPTIONS, DEFAULT_VALUE_TOKEN_NOW, DEFAULT_VALUE_TOKEN_SUGGESTIONS, DateMacroPlaceholderSchema, DateMacroTokenSchema, EVALUATED_EXPRESSION_SOURCE_REQUIRED, EmptyStateSchema, EqualityOperatorSchema, EvaluatedExpressionInputSchema, EvaluatedExpressionSchema, ExpressionDialect, ExpressionInputSchema, ExpressionMetaSchema, ExpressionSchema, F, FIELD_CHOICE_WITHOUT_OPTIONS, FIELD_FORMULA_WITHOUT_EXPRESSION, FIELD_GROUP_KEY_PATTERN, FIELD_GROUP_SYSTEM_FIELDS, FIELD_KEY_GUIDANCE, FIELD_MASKING_PRESETS, FIELD_RELATIONSHIP_WITHOUT_REFERENCE, FIELD_SUMMARY_WITHOUT_OPERATIONS, FILE_REFERENCE_TYPES, FILTER_ARRAY_LOGIC_KEYWORDS, FILTER_COMPARAND_BIGINT_EXACT_LIMIT, FILTER_OPERATORS, FIXED_READ_LEAF_NAMES, FUNCTIONAL_COMPLETENESS_RULES, Field, FieldMaskingKeepSchema, FieldMaskingRuleSchema, FieldOperatorsSchema, FieldReferenceSchema, FieldSchema, FieldType, FileLikeValueSchema, FileReferenceIdValueSchema, FileRefusedValueSchema, FileValueSchema, FilterArraySchema, FilterConditionSchema, FormButtonConfigSchema, FormFieldSchema, FormSectionSchema, FormSelectOptionSchema, FormViewSchema, GalleryConfigSchema, GanttConfigSchema, GanttQuickFilterSchema, GroupingConfigSchema, GroupingFieldSchema, HttpMethod, HttpMethodSubsetSchema, HttpRequestSchema, I18nLabelSchema, INSTANT_TYPES, ISO_3166_ALPHA2_CODES, InlineGridColumnSchema, InlineLocaleMapSchema, InstantValueSchema, KanbanConfigSchema, KanbanLaneSummarySchema, LOGICAL_OPERATORS, ListChartConfigSchema, ListColumnSchema, ListMapConfigSchema, ListViewExportOptionsSchema, ListViewSchema, LocationCoordinatesSchema, LocationValueSchema, LookupFilterRecordReferenceSchema, METADATA_ITEM_NAME_PATTERN, MULTI_CAPABLE_TYPES, MULTI_OPTION_TYPES, MetadataItemNameSchema, MetadataListCellTypeSchema, MetadataListColumnSchema, MetadataListViewSchema, NON_TEXT_STORED_VALUE_TYPES, NOW_DEFAULT_LEGAL_TYPES, NUMERIC_VALUE_TYPES, NavigationConfigSchema, NavigationModeSchema, NormalizedFilterSchema, NowAnchorSchema, OBJECT_KEY_GUIDANCE, ORGANIZATION_UNIT_CODE_PATTERN, ObjectListViewSchema, ObjectUserFiltersSchema, OverrideDeclarationFields, OverrideDeclarationSchema, P, PERIOD_KEY_TOKENS, PERIOD_KEY_TOKEN_DESCRIPTIONS, PaginationConfigSchema, PredicateInputSchema, PredicateSchema, ProtectionSchema, QUALIFIED_ITEM_NAME_PATTERN, QueryFilterSchema, RAW_FILE_VALUES_CONTEXT_KEY, READABLE_IDS_BRAND, REFERENCE_VALUE_TYPES, REFUSAL_HEAD_MAX, RETIRED_FILTER_OPERATORS, RLS_DENY_FILTER, RUNTIME_OWNED_FIELD_TYPES, RangeOperatorSchema, RateLimitConfigSchema, ReadableIds, ReferenceIdValueSchema, ReferenceNameOnlyValueSchema, ReportExportOptionsSchema, RowColorConfigSchema, RowHeightSchema, SELECT_OPTION_ALIASES, SHARED_RECORD_IDS_BRAND, SINGLE_OPTION_TYPES, STACK_KEY_GUIDANCE, STACK_RUNTIME_MEMBERS, STANDARD_UNITS, STANDARD_UNIT_NAMES, STRING_VALUE_TYPES, STRUCTURED_JSON_TYPES, SectionGroupKeySchema, SelectOptionSchema, SelectionConfigSchema, SetOperatorSchema, SharedRecordIds, SharingConfigSchema, SnakeCaseIdentifierSchema, SpecialOperatorSchema, StaticMountSchema, StorageNameMapping, StringOperatorSchema, SystemFieldName, SystemIdentifierSchema, SystemObjectName, SystemUserId, TYPED_EXPRESSION_DIALECT_ONLY, TYPED_EXPRESSION_SOURCE_REQUIRED, TemplateExpressionInputSchema, TimelineConfigSchema, TimesheetConfigSchema, TreeConfigSchema, UNIT_DIMENSIONS, UNIT_DIMENSION_BASE_CODES, UniqueScopeSchema, UnitConfigSchema, UserActionsConfigSchema, UserFilterFieldSchema, UserFiltersSchema, VALID_AST_OPERATORS, VALUE_DOMAIN_FIELD_NAMES, VALUE_DOMAIN_FIELD_TYPES, VIEW_CONSOLE_ROUND_TRIP_KEYS, VIEW_CONSOLE_ROW_DECORATIONS, VIEW_FILTER_LIST_VALUE_OPERATORS, VIEW_FILTER_OPERATORS, VIEW_FILTER_OPERATOR_ALIASES, VIEW_FILTER_PAIR_VALUE_OPERATORS, VIEW_LAYOUT_WITHOUT_BINDING, VIEW_METADATA_BRANCHES, VIEW_METADATA_MEMBERS, VIEW_ROW_COLOR_UNRESOLVABLE_VALUE, VIEW_ROW_COLOR_WITHOUT_COLORS, VIEW_TREE_WITHOUT_PARENT_FIELD, VIEW_WRITE_PATH_IDENTITY_KEYS, VISIBILITY_ONLY_STRICT_OPTIONS, ValueDomainSchema, ViewDataSchema, ViewFilterElementSchema, ViewFilterOrGroupSchema, ViewFilterRuleSchema, ViewItemNameSchema, ViewItemSchema, ViewItemWireSchema, ViewKindSchema, ViewMetadataSchema, ViewSchema, ViewScopeSchema, ViewSharingSchema, ViewTabSchema, VisualizationTypeSchema, WEBHOOK_WITHOUT_TRIGGERS, applyProtection, asciiCaseInsensitiveContains, asciiCaseInsensitiveRegexSource, assertListComparandShapes, bareDateRangePresetComparandMessage, bulkConfirmTemplateRoots, canonicalAstOperator, cel, checkFieldCompleteness, checkListViewCalendarVisualization, checkListViewChartBinding, checkListViewTimesheetBinding, checkLiteralDefaultValue, checkViewCompleteness, checkWebhookCompleteness, cron, defaultValueTokenIssue, defineForm, defineList, defineView, defineViewItem, deriveFieldGroupLayout, diagnoseViewMetadata, discriminateDefaultValueShape, dollarFilterOperatorOf, expandViewContainer, expandViewContainerWithDiagnostics, expression, fieldSchemaAliases, fixedInnerReadOf, fixedReadLeafBrandOf, fixedReadLeafNameOf, foldAsciiCase, formatUnknownAuthoringKey, hasDanglingLikeEscape, hasDynamicTokens, hasNulInLikePattern, isAcceptedFilterComparand, isAggregatedViewContainer, isAppResolvedDefaultToken, isComposedReadableIds, isCurrentUserDefaultToken, isDateMacroToken, isDateRangePresetName, isExpressionEnvelopeDefault, isFileIdToken, isFilterAST, isFixedReadLeaf, isGlobalUnique, isListComparandOperator, isMultiValueField, isNowDefaultToken, isOrganizationUnique, isPeriodKeyToken, isPlainRecord, isReadableIds, isRefusedTextComparand, isRuntimeDefaultToken, isSharedRecordIds, isUniqueDeclared, isValueDomainMember, isViewFilterOrGroup, likePatternToGlobPattern, likePatternToRegExp, likePatternToRegexSource, lintAuthoredRecordKeys, matchesLikePattern, missingFieldValues, multiDeclarableFieldTypes, navigationTargetRefusal, normalizeFilterComparandTypes, normalizeFilterOperator, parseAutonumberFormat, parseDateMacroParam, parseFilterAST, readAutonumberCounter, readFieldGroupMembership, referenceCarrierOf, referenceTargetOf, referencedFields, refusalHeadOf, renderAutonumber, reportQueryFaceRefusals, resolveAutonumberFormat, sectionGroupReferenceRefinement, selectViewMetadataBranch, sequenceWidth, shapePreview, standardUnitName, standardUnitOf, stripViewConsoleDecorations, suggestDefaultValueToken, summaryFunctionReadsField, templateExpressionInput, textComparandRefusalReason, thankYouRecordFieldNames, tmpl, valueSchemaFor, withRefusalHead };
|
|
10804
|
-
//# sourceMappingURL=chunk-
|
|
10805
|
-
//# sourceMappingURL=chunk-
|
|
11086
|
+
export { ACCEPTED_FILTER_COMPARAND_TYPES, ACCEPTED_FILTER_COMPARAND_TYPES_SENTENCE, ALL_OPERATORS, AUDIENCE_REQUIRED_PERMISSIONS_DESCRIPTION, AUDIT_PROVENANCE_FIELDS, AddRecordConfigSchema, AddressSchema, AddressValueSchema, AppearanceConfigSchema, AriaPropsSchema, BOOLEAN_VALUE_TYPES, BOUNDED_STRING_FIELD_TYPES, BULK_CONFIRM_COUNT_ROOT, BulkActionDefSchema, BulkActionExecutionSchema, BulkActionOperationSchema, BulkActionParamSchema, BulkActionResultSchema, CALENDAR_DATE_TYPES, CLOCK_TIME_TYPES, COMPOSED_READABLE_IDS_BRAND, COMPUTED_VALUE_TYPES, CURRENCY_FRACTION_DIGITS, CUSTOMIZATION_PACKAGE_SUFFIX, CalendarConfigSchema, CalendarDateValueSchema, ChartAggregateFunctionSchema, ChartAggregateSchema, ChartAnnotationSchema, ChartAxisSchema, ChartConfigSchema, ChartDrillDownSchema, ChartGroupBySchema, ChartInteractionSchema, ChartSeriesSchema, ChartTypeSchema, ClockTimeValueSchema, ColumnPrefixSchema, ColumnSummaryConfigSchema, ColumnSummarySchema, ComparisonOperatorSchema, CorsConfigSchema, CronExpressionInputSchema, CurrencyConfigSchema, DATE_MACRO_ALIAS_TOKENS, DATE_MACRO_DESCRIPTIONS, DATE_MACRO_INSTANT_TOKENS, DATE_MACRO_PARAM_RE, DATE_MACRO_PERIOD_TOKENS, DATE_MACRO_TOKENS, DATE_MACRO_UNITS, DATE_MACRO_WRAPPED_RE, DATE_RANGE_PRESETS, DATE_RANGE_PRESET_MACRO_WINDOWS, DEFAULT_AUTONUMBER_FORMAT, DEFAULT_VALUE_TOKENS, DEFAULT_VALUE_TOKEN_CURRENT_USER, DEFAULT_VALUE_TOKEN_DESCRIPTIONS, DEFAULT_VALUE_TOKEN_NOW, DEFAULT_VALUE_TOKEN_SUGGESTIONS, DateMacroPlaceholderSchema, DateMacroTokenSchema, EVALUATED_EXPRESSION_SOURCE_REQUIRED, EmptyStateSchema, EqualityOperatorSchema, EvaluatedExpressionInputSchema, EvaluatedExpressionSchema, ExpressionDialect, ExpressionInputSchema, ExpressionMetaSchema, ExpressionSchema, F, FIELD_CHOICE_WITHOUT_OPTIONS, FIELD_FORMULA_WITHOUT_EXPRESSION, FIELD_GROUP_KEY_PATTERN, FIELD_GROUP_SYSTEM_FIELDS, FIELD_KEY_GUIDANCE, FIELD_MASKING_PRESETS, FIELD_RELATIONSHIP_WITHOUT_REFERENCE, FIELD_SUMMARY_WITHOUT_OPERATIONS, FILE_REFERENCE_TYPES, FILTER_ARRAY_LOGIC_KEYWORDS, FILTER_COMPARAND_BIGINT_EXACT_LIMIT, FILTER_OPERATORS, FIXED_READ_LEAF_NAMES, FUNCTIONAL_COMPLETENESS_RULES, Field, FieldMaskingKeepSchema, FieldMaskingRuleSchema, FieldOperatorsSchema, FieldReferenceSchema, FieldSchema, FieldType, FileLikeValueSchema, FileReferenceIdValueSchema, FileRefusedValueSchema, FileValueSchema, FilterArraySchema, FilterConditionSchema, FormButtonConfigSchema, FormFieldSchema, FormSchema, FormSectionSchema, FormSelectOptionSchema, FormViewSchema, GalleryConfigSchema, GanttConfigSchema, GanttQuickFilterSchema, GroupingConfigSchema, GroupingFieldSchema, HttpMethod, HttpMethodSubsetSchema, HttpRequestSchema, I18nLabelSchema, INSTANT_TYPES, ISO_3166_ALPHA2_CODES, InlineGridColumnSchema, InlineLocaleMapSchema, InstantValueSchema, KanbanConfigSchema, KanbanLaneSummarySchema, LOGICAL_OPERATORS, ListChartConfigSchema, ListColumnSchema, ListMapConfigSchema, ListViewExportOptionsSchema, ListViewSchema, LocationCoordinatesSchema, LocationValueSchema, LookupFilterRecordReferenceSchema, METADATA_ITEM_NAME_PATTERN, MULTI_CAPABLE_TYPES, MULTI_OPTION_TYPES, MetadataItemNameSchema, MetadataListCellTypeSchema, MetadataListColumnSchema, MetadataListViewSchema, NON_TEXT_STORED_VALUE_TYPES, NOW_DEFAULT_LEGAL_TYPES, NUMERIC_VALUE_TYPES, NavigationConfigSchema, NavigationModeSchema, NormalizedFilterSchema, NowAnchorSchema, OBJECT_KEY_GUIDANCE, ORGANIZATION_UNIT_CODE_PATTERN, ObjectListViewSchema, ObjectUserFiltersSchema, OverrideDeclarationFields, OverrideDeclarationSchema, P, PERIOD_KEY_TOKENS, PERIOD_KEY_TOKEN_DESCRIPTIONS, PROJECTED_FORM_SOURCE_KEY, PaginationConfigSchema, PredicateInputSchema, PredicateSchema, ProtectionSchema, QUALIFIED_ITEM_NAME_PATTERN, QueryFilterSchema, RAW_FILE_VALUES_CONTEXT_KEY, READABLE_IDS_BRAND, REFERENCE_VALUE_TYPES, REFUSAL_HEAD_MAX, RETIRED_FILTER_OPERATORS, RLS_DENY_FILTER, RUNTIME_OWNED_FIELD_TYPES, RangeOperatorSchema, RateLimitConfigSchema, ReadableIds, ReferenceIdValueSchema, ReferenceNameOnlyValueSchema, ReportExportOptionsSchema, RowColorConfigSchema, RowHeightSchema, SELECT_OPTION_ALIASES, SHARED_RECORD_IDS_BRAND, SINGLE_OPTION_TYPES, STACK_KEY_GUIDANCE, STACK_RUNTIME_MEMBERS, STANDARD_UNITS, STANDARD_UNIT_NAMES, STRING_VALUE_TYPES, STRUCTURED_JSON_TYPES, SectionGroupKeySchema, SelectOptionSchema, SelectionConfigSchema, SetOperatorSchema, SharedRecordIds, SharingConfigSchema, SnakeCaseIdentifierSchema, SpecialOperatorSchema, StaticMountSchema, StorageNameMapping, StringOperatorSchema, SystemFieldName, SystemIdentifierSchema, SystemObjectName, SystemUserId, TYPED_EXPRESSION_DIALECT_ONLY, TYPED_EXPRESSION_SOURCE_REQUIRED, TemplateExpressionInputSchema, TimelineConfigSchema, TimesheetConfigSchema, TreeConfigSchema, UNIT_DIMENSIONS, UNIT_DIMENSION_BASE_CODES, UniqueScopeSchema, UnitConfigSchema, UserActionsConfigSchema, UserFilterFieldSchema, UserFiltersSchema, VALID_AST_OPERATORS, VALUE_DOMAIN_FIELD_NAMES, VALUE_DOMAIN_FIELD_TYPES, VIEW_CONSOLE_ROUND_TRIP_KEYS, VIEW_CONSOLE_ROW_DECORATIONS, VIEW_FILTER_LIST_VALUE_OPERATORS, VIEW_FILTER_OPERATORS, VIEW_FILTER_OPERATOR_ALIASES, VIEW_FILTER_PAIR_VALUE_OPERATORS, VIEW_LAYOUT_WITHOUT_BINDING, VIEW_METADATA_BRANCHES, VIEW_METADATA_MEMBERS, VIEW_ROW_COLOR_UNRESOLVABLE_VALUE, VIEW_ROW_COLOR_WITHOUT_COLORS, VIEW_TREE_WITHOUT_PARENT_FIELD, VIEW_WRITE_PATH_IDENTITY_KEYS, VISIBILITY_ONLY_STRICT_OPTIONS, ValueDomainSchema, ViewDataSchema, ViewFilterElementSchema, ViewFilterOrGroupSchema, ViewFilterRuleSchema, ViewItemNameSchema, ViewItemSchema, ViewItemWireSchema, ViewKindSchema, ViewMetadataSchema, ViewSchema, ViewScopeSchema, ViewSharingSchema, ViewTabSchema, VisualizationTypeSchema, WEBHOOK_WITHOUT_TRIGGERS, anonymousFormIntakeCandidates, anonymousFormIntakeSlug, anonymousFormIntakeSlugs, anonymousFormIntakeWithdrawnIn, anonymousFormObjectName, applyProtection, asciiCaseInsensitiveContains, asciiCaseInsensitiveRegexSource, assertListComparandShapes, bareDateRangePresetComparandMessage, bulkConfirmTemplateRoots, canonicalAstOperator, cel, checkFieldCompleteness, checkFormItemNamePrefix, checkListViewCalendarVisualization, checkListViewChartBinding, checkListViewTimesheetBinding, checkLiteralDefaultValue, checkViewCompleteness, checkWebhookCompleteness, cron, defaultValueTokenIssue, defineForm, defineList, defineMetadataForm, defineView, defineViewItem, deriveFieldGroupLayout, deriveViewContainerObject, diagnoseViewMetadata, discriminateDefaultValueShape, dollarFilterOperatorOf, expandViewContainer, expandViewContainerWithDiagnostics, expression, fieldSchemaAliases, fixedInnerReadOf, fixedReadLeafBrandOf, fixedReadLeafNameOf, foldAsciiCase, formExplicitlyWithdraws, formatUnknownAuthoringKey, hasDanglingLikeEscape, hasDynamicTokens, hasNulInLikePattern, isAcceptedFilterComparand, isAggregatedViewContainer, isAppResolvedDefaultToken, isComposedReadableIds, isCurrentUserDefaultToken, isDateMacroToken, isDateRangePresetName, isExpressionEnvelopeDefault, isFileIdToken, isFilterAST, isFixedReadLeaf, isGlobalUnique, isListComparandOperator, isMultiValueField, isNowDefaultToken, isOrganizationUnique, isPeriodKeyToken, isPlainRecord, isReadableIds, isRefusedTextComparand, isRuntimeDefaultToken, isSharedRecordIds, isUniqueDeclared, isValueDomainMember, isViewFilterOrGroup, likePatternToGlobPattern, likePatternToRegExp, likePatternToRegexSource, lintAuthoredRecordKeys, matchesLikePattern, missingFieldValues, multiDeclarableFieldTypes, navigationTargetRefusal, normalizeFilterComparandTypes, normalizeFilterOperator, parseAutonumberFormat, parseDateMacroParam, parseFilterAST, projectViewForms, projectedFormsOf, publicFormSlug, readAutonumberCounter, readFieldGroupMembership, referenceCarrierOf, referenceTargetOf, referencedFields, refusalHeadOf, renderAutonumber, reportQueryFaceRefusals, resolveAutonumberFormat, sectionGroupReferenceRefinement, selectViewMetadataBranch, sequenceWidth, shapePreview, standardUnitName, standardUnitOf, stripViewConsoleDecorations, suggestDefaultValueToken, summaryFunctionReadsField, templateExpressionInput, textComparandRefusalReason, thankYouRecordFieldNames, tmpl, valueSchemaFor, withRefusalHead };
|
|
11087
|
+
//# sourceMappingURL=chunk-B7X3JOJX.mjs.map
|
|
11088
|
+
//# sourceMappingURL=chunk-B7X3JOJX.mjs.map
|