@panneau/protocol 5.0.0-alpha.28 → 5.0.0-alpha.29

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.
Files changed (47) hide show
  1. package/dist/index.js +3 -2
  2. package/dist/lint.d.ts +1 -1
  3. package/dist/lint.d.ts.map +1 -1
  4. package/dist/lint.js +57 -8
  5. package/dist/lint.js.map +1 -1
  6. package/dist/mock/example.d.ts.map +1 -1
  7. package/dist/mock/example.js +39 -22
  8. package/dist/mock/example.js.map +1 -1
  9. package/dist/mock/index.d.ts +3 -1
  10. package/dist/mock/index.d.ts.map +1 -1
  11. package/dist/mock/index.js +37 -12
  12. package/dist/mock/index.js.map +1 -1
  13. package/dist/resourceTypes.d.ts +39 -0
  14. package/dist/resourceTypes.d.ts.map +1 -0
  15. package/dist/resourceTypes.js +34 -0
  16. package/dist/resourceTypes.js.map +1 -0
  17. package/dist/runtime/index.d.ts +1 -0
  18. package/dist/runtime/index.d.ts.map +1 -1
  19. package/dist/runtime/index.js +2 -1
  20. package/dist/schemas/action.d.ts +1 -0
  21. package/dist/schemas/action.d.ts.map +1 -1
  22. package/dist/schemas/api.d.ts +6 -0
  23. package/dist/schemas/api.d.ts.map +1 -1
  24. package/dist/schemas/api.js +2 -1
  25. package/dist/schemas/api.js.map +1 -1
  26. package/dist/schemas/definition.d.ts +8 -0
  27. package/dist/schemas/definition.d.ts.map +1 -1
  28. package/dist/schemas/index.d.ts +32 -0
  29. package/dist/schemas/index.d.ts.map +1 -1
  30. package/dist/schemas/index.js +3 -2
  31. package/dist/schemas/index.js.map +1 -1
  32. package/dist/schemas/layout.d.ts +1 -0
  33. package/dist/schemas/layout.d.ts.map +1 -1
  34. package/dist/schemas/layout.js +2 -1
  35. package/dist/schemas/layout.js.map +1 -1
  36. package/dist/schemas/resource.d.ts +16 -3
  37. package/dist/schemas/resource.d.ts.map +1 -1
  38. package/dist/schemas/resource.js +13 -3
  39. package/dist/schemas/resource.js.map +1 -1
  40. package/dist/schemas/theme.d.ts +4 -0
  41. package/dist/schemas/theme.d.ts.map +1 -1
  42. package/dist/schemas/theme.js +1 -0
  43. package/dist/schemas/theme.js.map +1 -1
  44. package/package.json +1 -1
  45. package/schema/boot.schema.json +45 -1
  46. package/schema/definition.schema.json +45 -1
  47. package/schema/openapi.json +65 -3
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/schemas/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,IAAI;;;;iBAUX,CAAC;AAEP,eAAO,MAAM,UAAU;;;;;iBAKrB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;iBAiBvB,CAAC;AAEP,eAAO,MAAM,YAAY;;;;;;iBAAgC,CAAC;AAE1D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;iBAGvB,CAAC;AAEH,eAAO,MAAM,OAAO;;;;;;;;;;;;;iBAiB6E,CAAC;AAElG,eAAO,MAAM,SAAS;;;;;;;;mBAYpB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;iBASxB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;iBAQ3B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2CvB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUpB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAoC,CAAC;AAEnE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;mBAgCE,CAAC,CAAC,WAAW,CAAC,OAAO,cAAc,CAAC;iBAU3D,CAAC;AAEP,eAAO,MAAM,eAAe;;iBAG1B,CAAC;AAEH,eAAO,MAA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5D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAC9D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAC9C,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAC9D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AACpD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AACxD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAClD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -5,7 +5,8 @@ import { z } from "zod";
5
5
  var Item = z.looseObject({
6
6
  id: Id,
7
7
  version: z.string().nullable().meta({ description: "Changes on every update. `null` when the backend has no versions." }),
8
- abilities: Abilities
8
+ abilities: Abilities,
9
+ type: z.string().min(1).optional().meta({ description: "In a resource with `types`: the id of the item's type (decision 0077). Set when the item is created; updates ignore it." })
9
10
  }).meta({ description: "An item of a resource. Its other properties are the values of its fields." });
10
11
  var Pagination = z.looseObject({
11
12
  page: z.number().int().positive(),
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","names":[],"sources":["../../src/schemas/api.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { Abilities, Id, RouteReference } from './common';\nimport { ContextOption, User } from './definition';\n\nexport const Item = z\n .looseObject({\n id: Id,\n version: z.string().nullable().meta({\n description: 'Changes on every update. `null` when the backend has no versions.',\n }),\n abilities: Abilities,\n })\n .meta({\n description: 'An item of a resource. Its other properties are the values of its fields.',\n });\n\nexport const Pagination = z.looseObject({\n page: z.number().int().positive(),\n perPage: z.number().int().positive(),\n total: z.number().int().nonnegative(),\n lastPage: z.number().int().positive(),\n});\n\nexport const CursorPagination = z\n .looseObject({\n perPage: z.number().int().positive(),\n nextCursor: z.string().min(1).nullable().meta({\n description: 'The `cursor` of the next page, or `null` on the last page.',\n }),\n previousCursor: z.string().min(1).nullable().optional().meta({\n description:\n 'The `cursor` of the previous page, or `null` when it is the first page, which has none (and on the first page). Without it, clients go back through the cursors they followed.',\n }),\n total: z.number().int().nonnegative().nullable().optional().meta({\n description: 'How many items match, when the backend counts them.',\n }),\n })\n .meta({\n description:\n 'The meta of a page of a list whose `pagination` is `cursor`: no page numbers, and no total unless the backend has one.',\n });\n\nexport const ItemResponse = z.looseObject({ data: Item });\n\nexport const ListResponse = z.looseObject({\n data: z.array(Item),\n meta: z.union([Pagination, CursorPagination]),\n});\n\nexport const Problem = z\n .looseObject({\n type: z.string().meta({ description: 'A URI reference that identifies the problem type.' }),\n title: z.string(),\n status: z.number().int().min(400).max(599),\n detail: z.string().optional(),\n instance: z.string().optional(),\n errors: z\n .record(z.string(), z.array(z.string()))\n .optional()\n .meta({ description: '`422`: messages keyed by the dot path of the invalid value.' }),\n current: Item.optional().meta({ description: '`412`: the current version of the item.' }),\n param: z.string().optional().meta({\n description:\n \"`403` of type `urn:panneau:problem:context`: the param of the context whose value the user can't use.\",\n }),\n })\n .meta({ description: 'An error, as RFC 9457 problem details (`application/problem+json`).' });\n\nexport const Selection = z.union([\n z.looseObject({ ids: z.array(Id).min(1) }),\n z.looseObject({\n query: z.looseObject({\n filter: z.record(z.string(), z.unknown()).optional().meta({\n description:\n 'The `filter` of the list query, by filter id: a value, a list of values, or the bounds of a range (`{ \"from\": \"2026-01-01\", \"to\": \"2026-01-31\" }`).',\n }),\n q: z.string().optional(),\n }),\n except: z.array(Id).optional(),\n }),\n]);\n\nexport const ActionRequest = z.looseObject({\n selection: Selection.optional().meta({\n description: 'Omitted for actions on the whole resource.',\n }),\n values: z.record(z.string(), z.unknown()).optional(),\n dryRun: z.boolean().optional().meta({\n description:\n 'Answer what the action would do without running it: a `200` action result whose `summary` counts the items that would succeed and those that would be skipped. Only for actions with `dryRun: true`.',\n }),\n});\n\nexport const ActionItemResult = z.looseObject({\n id: Id,\n status: z.enum(['failed', 'skipped']),\n message: z.string().optional(),\n reason: z.string().optional().meta({\n description:\n '`skipped`: `forbidden`, `not_found`, `unchanged`, or `in_use` (something else uses the item, so it can’t be deleted).',\n }),\n});\n\nexport const ActionResult = z.looseObject({\n message: z.string().optional(),\n summary: z\n .looseObject({\n succeeded: z.number().int().nonnegative(),\n failed: z.number().int().nonnegative(),\n skipped: z.number().int().nonnegative(),\n })\n .optional(),\n results: z\n .array(ActionItemResult)\n .optional()\n .meta({ description: 'The items that did not succeed.' }),\n refresh: z.enum(['none', 'items', 'list']).optional(),\n redirect: z.union([z.string(), RouteReference]).nullable().optional(),\n download: z\n .looseObject({\n url: z.string(),\n filename: z.string().optional(),\n expiresAt: z.string().optional(),\n })\n .nullable()\n .optional(),\n undo: z\n .looseObject({\n action: z.string().min(1).meta({\n description:\n 'An action of the same resource that undoes this run: `restore` after a `delete` with a trash, or the inverse a project declares (`unarchive`).',\n }),\n items: z.array(Id).min(1).max(100).meta({\n description:\n 'The items the run changed, to run the undo on: not those it skipped or failed. At most `UNDO_LIMIT` (100): a larger run has no `undo`.',\n }),\n params: z\n .record(z.string(), z.unknown())\n .optional()\n .meta({ description: 'The `values` of the request that runs the undo.' }),\n })\n .optional()\n .meta({\n description:\n 'How to undo the run, for an `undoable` action (decision 0063): the client runs it as any action, through the action endpoint, when the user presses \"Undo\" in the toast of the result. Without it, the run can not be undone.',\n }),\n});\n\nexport const ActionRun = z.looseObject({\n id: Id,\n action: z.string(),\n resource: z.string(),\n status: z.enum(['queued', 'running', 'succeeded', 'partial', 'failed', 'cancelled']),\n progress: z.number().int().nonnegative(),\n total: z.number().int().nonnegative().nullable(),\n result: ActionResult.optional().meta({ description: 'Set once the run has finished.' }),\n createdAt: z.string().optional(),\n finishedAt: z.string().nullable().optional(),\n});\n\nexport const ActionRunResponse = z.looseObject({ run: ActionRun });\n\nexport const MediaTransform = z\n .looseObject({\n crop: z\n .looseObject({\n x: z.number().int().nonnegative(),\n y: z.number().int().nonnegative(),\n width: z.number().int().positive(),\n height: z.number().int().positive(),\n })\n .optional()\n .meta({\n description:\n 'In whole pixels of the upright original image (after its EXIF orientation), from its top left corner.',\n }),\n rotate: z\n .union([z.literal(0), z.literal(90), z.literal(180), z.literal(270)])\n .optional()\n .meta({ description: 'Clockwise, in degrees.' }),\n flipX: z.boolean().optional().meta({ description: 'Mirrors left to right (horizontal).' }),\n flipY: z.boolean().optional().meta({ description: 'Mirrors top to bottom (vertical).' }),\n focalPoint: z\n .looseObject({ x: z.number().min(0).max(1), y: z.number().min(0).max(1) })\n .optional()\n .meta({\n description:\n 'From 0 to 1, relative to the width and height of the upright original image, not of the crop: changing the crop does not move it. Renderers map it into the transformed image and clamp it to the crop.',\n }),\n base: z.enum(['media', 'original']).optional().meta({\n description:\n \"What a transform for one use starts from: the original file by default, or the media's own transform (`media`). With `media`, the crop and the focal point are relative to the media's version instead of the original (decision 0031).\",\n }),\n // Return types are written out so that declaration files keep the recursion.\n get baseTransform(): z.ZodOptional<typeof MediaTransform> {\n return MediaTransform.optional().meta({\n description:\n 'With `base: \"media\"`: the media\\'s own transform this one was made on. When the media\\'s transform is no longer the same, clients ask to check the crop, and renderers clamp it.',\n });\n },\n })\n .meta({\n description:\n \"Non-destructive edits of an image, applied in this order: crop, then rotate, then flip. Renderers ignore the keys they don't know, which editor tools can add.\",\n });\n\nexport const UploadReference = z.looseObject({ upload: z.string().min(1) }).meta({\n description:\n 'A file uploaded directly to storage, by the id of its upload: in a file value, such as the `file` of a media, or an action parameter.',\n});\n\nexport const StoredFile = z\n .looseObject({\n name: z.string().meta({ description: 'The name of the file, as the user knows it.' }),\n url: z.string().nullable().optional().meta({\n description: 'Where to download it. A private file gets a temporary URL.',\n }),\n mime: z.string().nullable().optional(),\n size: z.number().int().nonnegative().nullable().optional(),\n thumbnailUrl: z.string().nullable().optional().meta({\n description:\n 'The URL of a preview image, such as the poster of a video or the first page of a PDF. Without one, clients show an image (its `url`, when browsers show its type) or the icon of its type.',\n }),\n })\n .meta({\n description:\n 'A file stored by the backend: the value of a `file` field in items. Requests send it back to keep the file, `{ \"upload\" }` to replace it, or `null` to remove it.',\n });\n\nexport const Upload = z\n .looseObject({\n id: z.string().min(1).meta({ description: 'The id of the upload: `upl_…`.' }),\n key: z.string().optional().meta({ description: 'The key of the object in storage.' }),\n name: z.string().optional(),\n mime: z.string().optional(),\n size: z.number().int().nonnegative().optional(),\n })\n .meta({\n description:\n 'A file the browser uploaded to storage, before it becomes a media, an import or another value.',\n });\n\nexport const UploadResponse = z.looseObject({ data: Upload });\n\nexport const UploadSignRequest = z\n .looseObject({\n method: z.enum(['GET', 'POST', 'PUT', 'DELETE']),\n key: z.string().min(1),\n uploadId: z.string().optional().meta({ description: 'The S3 multipart upload.' }),\n partNumber: z.number().int().positive().optional(),\n contentType: z.string().optional(),\n expiresIn: z.number().int().positive().optional(),\n })\n .meta({\n description: \"A request of the browser's S3 client to sign (Uppy 6's `signRequest`).\",\n });\n\nexport const UploadSignResponse = z\n .looseObject({\n url: z.string(),\n key: z\n .string()\n .optional()\n .meta({ description: 'The key the backend chose, for the first request of a file.' }),\n headers: z.record(z.string(), z.string()).optional().meta({\n description: 'Headers the URL was signed with, which the browser sends.',\n }),\n upload: z\n .string()\n .optional()\n .meta({ description: 'The upload the first request of a file created: `upl_…`.' }),\n })\n .meta({ description: 'A presigned request.' });\n\nexport const MediaInfo = z\n .looseObject({\n type: z.string().meta({\n description:\n '`image`, `video`, `audio`, `document`, `font`, or another type the backend knows.',\n }),\n mime: z.string().nullable().optional(),\n size: z.number().int().nonnegative().nullable().optional(),\n url: z.string().nullable().optional().meta({\n description:\n 'The main file to show or play: a rendition, or the original until it exists.',\n }),\n thumbnailUrl: z.string().nullable().optional(),\n variants: z\n .record(\n z.string(),\n z.looseObject({\n url: z.string(),\n width: z.number().optional(),\n height: z.number().optional(),\n }),\n )\n .optional()\n .meta({ description: 'Named renditions: sizes of an image, qualities of a video.' }),\n width: z.number().nullable().optional(),\n height: z.number().nullable().optional(),\n duration: z.number().nullable().optional().meta({ description: 'In seconds.' }),\n status: z.enum(['pending', 'processing', 'ready', 'failed']).optional().meta({\n description:\n 'Where the processing of the file is: `pending` and `processing` until its renditions are made, then `ready` or `failed`. Without it, the media is ready.',\n }),\n error: z\n .looseObject({\n code: z.string().meta({\n description:\n 'The code of the step that failed, such as a transcoder task code (`timeout`, `input_unreadable`).',\n }),\n message: z.string().optional().meta({ description: 'Why it failed, for people.' }),\n })\n .nullable()\n .optional()\n .meta({\n description:\n \"Why the processing failed, when `status` is `failed`, so that editors see it without the backend's monitoring.\",\n }),\n metadata: z.record(z.string(), z.unknown()).optional(),\n transform: MediaTransform.nullable().optional().meta({\n description:\n \"The media's own transform, from its library, which clients need to draw a transform for one use made over it (decision 0031).\",\n }),\n })\n .meta({\n description:\n 'What the backend computed about the file of a media item: the `media` of the items of a `media` resource, and of the values of `media` fields. Read-only: the editable properties of a media are the fields of its resource.',\n });\n\nexport const MediaItem = Item.extend({\n media: MediaInfo,\n}).meta({\n description:\n 'An item of a resource of kind `media`: the values of its fields (`file`, the original, and those of the project), and the `media` the backend computed.',\n});\n\nexport const MediaReference = z\n .looseObject({\n id: Id,\n resource: z.string().optional().meta({\n description:\n 'The library of the media. Required for a field that allows several libraries, since ids are unique only within their resource (decision 0027).',\n }),\n label: z.string().optional().meta({ description: 'The `itemTitle` of the media.' }),\n media: MediaInfo.optional(),\n transform: MediaTransform.nullable().optional().meta({\n description:\n 'The edits of the image for this use only: from the original file, or over the media\\'s own transform with `base: \"media\"`.',\n }),\n })\n .meta({\n description:\n 'The value of a `media` or `image` field in items: the media, with what lists and fields show, and its edits for this use. Requests send the id, or `{ id, resource, transform }`: `resource` is required when the field allows several libraries.',\n });\n\nexport const FieldCheckRequest = z\n .looseObject({\n value: z.string().meta({ description: 'The value to check, as it is typed.' }),\n locale: z\n .string()\n .optional()\n .meta({ description: 'The locale of the value, for a localized field.' }),\n id: Id.nullable()\n .optional()\n .meta({ description: 'The item being edited, or null when creating one.' }),\n values: z.record(z.string(), z.unknown()).optional().meta({\n description:\n \"The form's current values, as they would be sent to save, for what the check depends on (a page's parent).\",\n }),\n })\n .meta({ description: 'A value of a field with `check`, to check with the backend.' });\n\nexport const FieldCheckResponse = z\n .looseObject({\n available: z.boolean().meta({\n description:\n 'Whether no other item of the resource, in its scope and the same locale, has the value.',\n }),\n suggestion: z.string().nullable().optional().meta({\n description: 'An available value close to the one checked, when it is taken.',\n }),\n prefix: z.string().nullable().optional().meta({\n description: 'What the field shows in front of the value: the start of its URL.',\n }),\n url: z\n .string()\n .nullable()\n .optional()\n .meta({ description: 'The URL the value gives the item, which the field links to.' }),\n disabled: z.boolean().optional().meta({\n description:\n \"The field doesn't apply to this item (the home page has no slug): the field is read-only.\",\n }),\n })\n .meta({\n description:\n 'What the backend says about a value: not authoritative, since saving still validates it.',\n });\n\nexport const Session = z.looseObject({ user: User });\n\nexport const TwoFactorChallenge = z.looseObject({ twoFactor: z.literal(true) }).meta({\n description:\n 'The answer of `POST /auth/login` when a second factor is needed: the login waits for `POST /auth/two-factor/challenge`.',\n});\n\nexport const TwoFactorStatus = z\n .looseObject({\n status: z.enum(['disabled', 'pending', 'enabled']).meta({\n description: '`pending`: set up, not confirmed with a code yet.',\n }),\n required: z.boolean().meta({\n description: \"The backend requires it for this user: it can't be turned off.\",\n }),\n })\n .meta({ description: 'The two-factor authentication of the current user.' });\n\nexport const TwoFactorSetup = z\n .looseObject({\n secret: z.string().meta({ description: 'The secret, to type in an authenticator app.' }),\n otpauthUrl: z.string().meta({ description: 'The `otpauth://totp/…` URL of the secret.' }),\n qrCode: z.string().optional().meta({\n description:\n 'An SVG document of the QR code of `otpauthUrl`. Clients show it as an image, never as markup.',\n }),\n })\n .meta({ description: 'A two-factor authentication to confirm with a code.' });\n\nexport const WebAuthnOptions = z\n .looseObject({\n options: z.record(z.string(), z.unknown()).meta({\n description:\n 'The options of `navigator.credentials.get()` or `create()`, in the JSON form of the WebAuthn spec.',\n }),\n })\n .meta({ description: 'The options of a WebAuthn ceremony.' });\n\nexport const Passkey = z\n .looseObject({\n id: Id,\n name: z.string(),\n authenticator: z.string().nullable().optional().meta({\n description: 'What keeps it, when the backend knows: \"iCloud Keychain\", \"1Password\"…',\n }),\n createdAt: z.string().meta({ description: 'ISO 8601.' }),\n lastUsedAt: z\n .string()\n .nullable()\n .meta({ description: 'ISO 8601, or null before its first login.' }),\n })\n .meta({ description: 'A passkey of the current user.' });\n\nexport const RecoveryCodes = z.looseObject({ recoveryCodes: z.array(z.string()) }).meta({\n description: 'Codes that each log in once in place of a code of the authenticator app.',\n});\n\nexport const ContextOptionsResponse = z\n .looseObject({ data: z.array(ContextOption) })\n .meta({ description: 'The first choices of a param of the context that match `q`.' });\n\nexport const SearchResponse = z\n .looseObject({\n data: z.array(\n z.looseObject({\n resource: z.string().meta({ description: 'The id of the resource.' }),\n items: z.array(Item),\n total: z.number().int().nonnegative().optional().meta({\n description:\n 'How many items of the resource match, when the backend counts them: the list of the resource, searched, shows them all.',\n }),\n }),\n ),\n })\n .meta({\n description:\n 'The results of the global search: the resources with results, in the order of the definition.',\n });\n\nexport const PreviewResponse = z.looseObject({ url: z.string(), expiresAt: z.string().optional() });\n\nexport const EmbedValue = z\n .looseObject({\n url: z.string().meta({ description: 'The URL of the video, sound or post.' }),\n type: z.enum(['video', 'audio', 'photo', 'rich', 'link']).optional(),\n title: z.string().optional(),\n provider: z.string().optional().meta({ description: 'The name of the provider.' }),\n thumbnailUrl: z.string().optional(),\n html: z\n .string()\n .optional()\n .meta({ description: 'The HTML that embeds it, from the oEmbed of its provider.' }),\n width: z.number().optional(),\n height: z.number().optional(),\n duration: z.number().nonnegative().optional().meta({\n description:\n 'How long the video or the sound lasts, in seconds, when its provider says (Vimeo’s oEmbed does).',\n }),\n })\n .meta({\n description:\n 'The value of an `embed` field: its URL, and what the backend got from its oEmbed.',\n });\n\nexport const EmbedResponse = z.looseObject({ data: EmbedValue });\n\nexport const LocationValue = z\n .looseObject({\n lat: z.number().min(-90).max(90),\n lng: z.number().min(-180).max(180),\n address: z.string().optional(),\n })\n .meta({ description: 'The value of a `location` field: a point, and its address.' });\n\nexport const AddressValue = z\n .looseObject({\n street: z.string().optional().meta({ description: 'The number and the street.' }),\n unit: z.string().optional().meta({ description: 'An apartment, a suite or a floor.' }),\n city: z.string().optional(),\n region: z.string().optional().meta({\n description:\n 'A value of the `region` type for the country: the code of the region without its country (`QC`) for the countries Panneau knows the regions of, the text as typed for the others.',\n }),\n postalCode: z.string().optional().meta({\n description: 'Normalized for its country: `H2X 1Y4`, `12345-6789`.',\n }),\n country: z\n .string()\n .regex(/^[A-Z]{2}$/)\n .optional()\n .meta({ description: 'An ISO 3166-1 alpha-2 code: `CA`.' }),\n point: z\n .looseObject({ lat: z.number().min(-90).max(90), lng: z.number().min(-180).max(180) })\n .optional()\n .meta({ description: 'The place of the address on a map, with `settings.point`.' }),\n })\n .meta({\n description:\n 'The value of an `address` field (decision 0054): the parts of a postal address, the empty ones left out.',\n });\n\nexport const LinkValue = z\n .looseObject({\n type: z.string().min(1).meta({\n description:\n 'The type of the link: `url`, `page`, `email`, `tel`, `file`, or a type of the site.',\n }),\n url: z.string().optional().meta({\n description:\n 'The `href` of the link: `https://…`, `mailto:…`, `tel:+…`, or the text of a type of the site. For `page` and `file` links, the URL the backend resolved, in items only.',\n }),\n page: z\n .union([\n z.string(),\n z.looseObject({\n id: z.string(),\n resource: z.string().optional(),\n label: z.string().optional(),\n }),\n ])\n .optional()\n .meta({\n description:\n '`page` links: the item, `{ \"id\", \"resource\", \"label\" }` in items, its id or `{ \"id\", \"resource\" }` in requests.',\n }),\n file: z\n .union([z.string(), z.looseObject({ id: z.string() })])\n .optional()\n .meta({ description: '`file` links: the media, as a `media` value.' }),\n label: z\n .union([z.string(), z.record(z.string(), z.string().nullable())])\n .nullable()\n .optional()\n .meta({\n description:\n 'The words of the link, per locale; a string in a `localized` link field.',\n }),\n newTab: z.boolean().optional().meta({ description: 'The link opens in a new tab.' }),\n })\n .meta({ description: 'The value of a `link` field (decision 0055).' });\n\nexport const DateRangeValue = z\n .looseObject({\n start: z.string().nullable().meta({\n description:\n 'The first day (`2026-11-04`) or the start (`2026-11-04T23:30:00Z`), or `null` when the range is open at its start.',\n }),\n end: z.string().nullable().meta({\n description:\n 'The last day, included, or the end, or `null` when the range is open at its end. On or after the start.',\n }),\n allDay: z\n .boolean()\n .optional()\n .meta({ description: 'The range takes whole days: its bounds are days.' }),\n timeZone: z.string().optional().meta({\n description:\n 'The IANA time zone the date-times are shown and typed in (`America/Toronto`), when the field lets the user choose it.',\n }),\n })\n .meta({\n description:\n 'The value of a `daterange` field: a start and an end, days or date-times (decision 0053).',\n });\n\nexport const MoneyValue = z\n .looseObject({\n amount: z.number().int().meta({\n description:\n 'The amount in the minor unit of the currency, its ISO 4217 exponent: `1250` is 12.50 CAD, `1250` is 1,250 JPY.',\n }),\n currency: z\n .string()\n .regex(/^[A-Z]{3}$/)\n .meta({ description: 'An ISO 4217 currency code, in capitals: `CAD`.' }),\n })\n .meta({\n description: 'The value of a `money` field: an amount and its currency (decision 0053).',\n });\n\nexport type Item = z.infer<typeof Item>;\nexport type Pagination = z.infer<typeof Pagination>;\nexport type ItemResponse = z.infer<typeof ItemResponse>;\nexport type CursorPagination = z.infer<typeof CursorPagination>;\nexport type ListResponse = z.infer<typeof ListResponse>;\nexport type ContextOptionsResponse = z.infer<typeof ContextOptionsResponse>;\nexport type Problem = z.infer<typeof Problem>;\nexport type Selection = z.infer<typeof Selection>;\nexport type ActionRequest = z.infer<typeof ActionRequest>;\nexport type ActionItemResult = z.infer<typeof ActionItemResult>;\nexport type ActionResult = z.infer<typeof ActionResult>;\nexport type ActionRun = z.infer<typeof ActionRun>;\nexport type ActionRunResponse = z.infer<typeof ActionRunResponse>;\nexport type MediaTransform = z.infer<typeof MediaTransform>;\nexport type UploadReference = z.infer<typeof UploadReference>;\nexport type StoredFile = z.infer<typeof StoredFile>;\nexport type Upload = z.infer<typeof Upload>;\nexport type UploadResponse = z.infer<typeof UploadResponse>;\nexport type UploadSignRequest = z.infer<typeof UploadSignRequest>;\nexport type UploadSignResponse = z.infer<typeof UploadSignResponse>;\nexport type FieldCheckRequest = z.infer<typeof FieldCheckRequest>;\nexport type FieldCheckResponse = z.infer<typeof FieldCheckResponse>;\nexport type MediaInfo = z.infer<typeof MediaInfo>;\nexport type MediaItem = z.infer<typeof MediaItem>;\nexport type MediaReference = z.infer<typeof MediaReference>;\nexport type Session = z.infer<typeof Session>;\nexport type TwoFactorChallenge = z.infer<typeof TwoFactorChallenge>;\nexport type TwoFactorStatus = z.infer<typeof TwoFactorStatus>;\nexport type TwoFactorSetup = z.infer<typeof TwoFactorSetup>;\nexport type RecoveryCodes = z.infer<typeof RecoveryCodes>;\nexport type WebAuthnOptions = z.infer<typeof WebAuthnOptions>;\nexport type Passkey = z.infer<typeof Passkey>;\nexport type SearchResponse = z.infer<typeof SearchResponse>;\nexport type PreviewResponse = z.infer<typeof PreviewResponse>;\nexport type EmbedValue = z.infer<typeof EmbedValue>;\nexport type EmbedResponse = z.infer<typeof EmbedResponse>;\nexport type LocationValue = z.infer<typeof LocationValue>;\nexport type AddressValue = z.infer<typeof AddressValue>;\nexport type LinkValue = z.infer<typeof LinkValue>;\nexport type DateRangeValue = z.infer<typeof DateRangeValue>;\nexport type MoneyValue = z.infer<typeof MoneyValue>;\n"],"mappings":";;;;AAKA,IAAa,OAAO,EACf,YAAY;CACT,IAAI;CACJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAChC,aAAa,oEACjB,CAAC;CACD,WAAW;AACf,CAAC,CAAC,CACD,KAAK,EACF,aAAa,4EACjB,CAAC;AAEL,IAAa,aAAa,EAAE,YAAY;CACpC,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAChC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACnC,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY;CACpC,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;AACxC,CAAC;AAED,IAAa,mBAAmB,EAC3B,YAAY;CACT,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACnC,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAC1C,aAAa,6DACjB,CAAC;CACD,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EACzD,aACI,iLACR,CAAC;CACD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAC7D,aAAa,sDACjB,CAAC;AACL,CAAC,CAAC,CACD,KAAK,EACF,aACI,yHACR,CAAC;AAEL,IAAa,eAAe,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AAExD,IAAa,eAAe,EAAE,YAAY;CACtC,MAAM,EAAE,MAAM,IAAI;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I,iHACR,CAAC;CACD,UAAU,EACL,OAAO,CAAC,CACR,MAAM,YAAY,CAAC,CACnB,KAAK,EAAE,aAAa,iDAAiD,CAAC;AAC/E,CAAC,CAAC,CACD,KAAK,EACF,aAAa,4EACjB,CAAC"}
1
+ {"version":3,"file":"api.js","names":[],"sources":["../../src/schemas/api.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { Abilities, Id, RouteReference } from './common';\nimport { ContextOption, User } from './definition';\n\nexport const Item = z\n .looseObject({\n id: Id,\n version: z.string().nullable().meta({\n description: 'Changes on every update. `null` when the backend has no versions.',\n }),\n abilities: Abilities,\n type: z.string().min(1).optional().meta({\n description:\n \"In a resource with `types`: the id of the item's type (decision 0077). Set when the item is created; updates ignore it.\",\n }),\n })\n .meta({\n description: 'An item of a resource. Its other properties are the values of its fields.',\n });\n\nexport const Pagination = z.looseObject({\n page: z.number().int().positive(),\n perPage: z.number().int().positive(),\n total: z.number().int().nonnegative(),\n lastPage: z.number().int().positive(),\n});\n\nexport const CursorPagination = z\n .looseObject({\n perPage: z.number().int().positive(),\n nextCursor: z.string().min(1).nullable().meta({\n description: 'The `cursor` of the next page, or `null` on the last page.',\n }),\n previousCursor: z.string().min(1).nullable().optional().meta({\n description:\n 'The `cursor` of the previous page, or `null` when it is the first page, which has none (and on the first page). Without it, clients go back through the cursors they followed.',\n }),\n total: z.number().int().nonnegative().nullable().optional().meta({\n description: 'How many items match, when the backend counts them.',\n }),\n })\n .meta({\n description:\n 'The meta of a page of a list whose `pagination` is `cursor`: no page numbers, and no total unless the backend has one.',\n });\n\nexport const ItemResponse = z.looseObject({ data: Item });\n\nexport const ListResponse = z.looseObject({\n data: z.array(Item),\n meta: z.union([Pagination, CursorPagination]),\n});\n\nexport const Problem = z\n .looseObject({\n type: z.string().meta({ description: 'A URI reference that identifies the problem type.' }),\n title: z.string(),\n status: z.number().int().min(400).max(599),\n detail: z.string().optional(),\n instance: z.string().optional(),\n errors: z\n .record(z.string(), z.array(z.string()))\n .optional()\n .meta({ description: '`422`: messages keyed by the dot path of the invalid value.' }),\n current: Item.optional().meta({ description: '`412`: the current version of the item.' }),\n param: z.string().optional().meta({\n description:\n \"`403` of type `urn:panneau:problem:context`: the param of the context whose value the user can't use.\",\n }),\n })\n .meta({ description: 'An error, as RFC 9457 problem details (`application/problem+json`).' });\n\nexport const Selection = z.union([\n z.looseObject({ ids: z.array(Id).min(1) }),\n z.looseObject({\n query: z.looseObject({\n filter: z.record(z.string(), z.unknown()).optional().meta({\n description:\n 'The `filter` of the list query, by filter id: a value, a list of values, or the bounds of a range (`{ \"from\": \"2026-01-01\", \"to\": \"2026-01-31\" }`).',\n }),\n q: z.string().optional(),\n }),\n except: z.array(Id).optional(),\n }),\n]);\n\nexport const ActionRequest = z.looseObject({\n selection: Selection.optional().meta({\n description: 'Omitted for actions on the whole resource.',\n }),\n values: z.record(z.string(), z.unknown()).optional(),\n dryRun: z.boolean().optional().meta({\n description:\n 'Answer what the action would do without running it: a `200` action result whose `summary` counts the items that would succeed and those that would be skipped. Only for actions with `dryRun: true`.',\n }),\n});\n\nexport const ActionItemResult = z.looseObject({\n id: Id,\n status: z.enum(['failed', 'skipped']),\n message: z.string().optional(),\n reason: z.string().optional().meta({\n description:\n '`skipped`: `forbidden`, `not_found`, `unchanged`, or `in_use` (something else uses the item, so it can’t be deleted).',\n }),\n});\n\nexport const ActionResult = z.looseObject({\n message: z.string().optional(),\n summary: z\n .looseObject({\n succeeded: z.number().int().nonnegative(),\n failed: z.number().int().nonnegative(),\n skipped: z.number().int().nonnegative(),\n })\n .optional(),\n results: z\n .array(ActionItemResult)\n .optional()\n .meta({ description: 'The items that did not succeed.' }),\n refresh: z.enum(['none', 'items', 'list']).optional(),\n redirect: z.union([z.string(), RouteReference]).nullable().optional(),\n download: z\n .looseObject({\n url: z.string(),\n filename: z.string().optional(),\n expiresAt: z.string().optional(),\n })\n .nullable()\n .optional(),\n undo: z\n .looseObject({\n action: z.string().min(1).meta({\n description:\n 'An action of the same resource that undoes this run: `restore` after a `delete` with a trash, or the inverse a project declares (`unarchive`).',\n }),\n items: z.array(Id).min(1).max(100).meta({\n description:\n 'The items the run changed, to run the undo on: not those it skipped or failed. At most `UNDO_LIMIT` (100): a larger run has no `undo`.',\n }),\n params: z\n .record(z.string(), z.unknown())\n .optional()\n .meta({ description: 'The `values` of the request that runs the undo.' }),\n })\n .optional()\n .meta({\n description:\n 'How to undo the run, for an `undoable` action (decision 0063): the client runs it as any action, through the action endpoint, when the user presses \"Undo\" in the toast of the result. Without it, the run can not be undone.',\n }),\n});\n\nexport const ActionRun = z.looseObject({\n id: Id,\n action: z.string(),\n resource: z.string(),\n status: z.enum(['queued', 'running', 'succeeded', 'partial', 'failed', 'cancelled']),\n progress: z.number().int().nonnegative(),\n total: z.number().int().nonnegative().nullable(),\n result: ActionResult.optional().meta({ description: 'Set once the run has finished.' }),\n createdAt: z.string().optional(),\n finishedAt: z.string().nullable().optional(),\n});\n\nexport const ActionRunResponse = z.looseObject({ run: ActionRun });\n\nexport const MediaTransform = z\n .looseObject({\n crop: z\n .looseObject({\n x: z.number().int().nonnegative(),\n y: z.number().int().nonnegative(),\n width: z.number().int().positive(),\n height: z.number().int().positive(),\n })\n .optional()\n .meta({\n description:\n 'In whole pixels of the upright original image (after its EXIF orientation), from its top left corner.',\n }),\n rotate: z\n .union([z.literal(0), z.literal(90), z.literal(180), z.literal(270)])\n .optional()\n .meta({ description: 'Clockwise, in degrees.' }),\n flipX: z.boolean().optional().meta({ description: 'Mirrors left to right (horizontal).' }),\n flipY: z.boolean().optional().meta({ description: 'Mirrors top to bottom (vertical).' }),\n focalPoint: z\n .looseObject({ x: z.number().min(0).max(1), y: z.number().min(0).max(1) })\n .optional()\n .meta({\n description:\n 'From 0 to 1, relative to the width and height of the upright original image, not of the crop: changing the crop does not move it. Renderers map it into the transformed image and clamp it to the crop.',\n }),\n base: z.enum(['media', 'original']).optional().meta({\n description:\n \"What a transform for one use starts from: the original file by default, or the media's own transform (`media`). With `media`, the crop and the focal point are relative to the media's version instead of the original (decision 0031).\",\n }),\n // Return types are written out so that declaration files keep the recursion.\n get baseTransform(): z.ZodOptional<typeof MediaTransform> {\n return MediaTransform.optional().meta({\n description:\n 'With `base: \"media\"`: the media\\'s own transform this one was made on. When the media\\'s transform is no longer the same, clients ask to check the crop, and renderers clamp it.',\n });\n },\n })\n .meta({\n description:\n \"Non-destructive edits of an image, applied in this order: crop, then rotate, then flip. Renderers ignore the keys they don't know, which editor tools can add.\",\n });\n\nexport const UploadReference = z.looseObject({ upload: z.string().min(1) }).meta({\n description:\n 'A file uploaded directly to storage, by the id of its upload: in a file value, such as the `file` of a media, or an action parameter.',\n});\n\nexport const StoredFile = z\n .looseObject({\n name: z.string().meta({ description: 'The name of the file, as the user knows it.' }),\n url: z.string().nullable().optional().meta({\n description: 'Where to download it. A private file gets a temporary URL.',\n }),\n mime: z.string().nullable().optional(),\n size: z.number().int().nonnegative().nullable().optional(),\n thumbnailUrl: z.string().nullable().optional().meta({\n description:\n 'The URL of a preview image, such as the poster of a video or the first page of a PDF. Without one, clients show an image (its `url`, when browsers show its type) or the icon of its type.',\n }),\n })\n .meta({\n description:\n 'A file stored by the backend: the value of a `file` field in items. Requests send it back to keep the file, `{ \"upload\" }` to replace it, or `null` to remove it.',\n });\n\nexport const Upload = z\n .looseObject({\n id: z.string().min(1).meta({ description: 'The id of the upload: `upl_…`.' }),\n key: z.string().optional().meta({ description: 'The key of the object in storage.' }),\n name: z.string().optional(),\n mime: z.string().optional(),\n size: z.number().int().nonnegative().optional(),\n })\n .meta({\n description:\n 'A file the browser uploaded to storage, before it becomes a media, an import or another value.',\n });\n\nexport const UploadResponse = z.looseObject({ data: Upload });\n\nexport const UploadSignRequest = z\n .looseObject({\n method: z.enum(['GET', 'POST', 'PUT', 'DELETE']),\n key: z.string().min(1),\n uploadId: z.string().optional().meta({ description: 'The S3 multipart upload.' }),\n partNumber: z.number().int().positive().optional(),\n contentType: z.string().optional(),\n expiresIn: z.number().int().positive().optional(),\n })\n .meta({\n description: \"A request of the browser's S3 client to sign (Uppy 6's `signRequest`).\",\n });\n\nexport const UploadSignResponse = z\n .looseObject({\n url: z.string(),\n key: z\n .string()\n .optional()\n .meta({ description: 'The key the backend chose, for the first request of a file.' }),\n headers: z.record(z.string(), z.string()).optional().meta({\n description: 'Headers the URL was signed with, which the browser sends.',\n }),\n upload: z\n .string()\n .optional()\n .meta({ description: 'The upload the first request of a file created: `upl_…`.' }),\n })\n .meta({ description: 'A presigned request.' });\n\nexport const MediaInfo = z\n .looseObject({\n type: z.string().meta({\n description:\n '`image`, `video`, `audio`, `document`, `font`, or another type the backend knows.',\n }),\n mime: z.string().nullable().optional(),\n size: z.number().int().nonnegative().nullable().optional(),\n url: z.string().nullable().optional().meta({\n description:\n 'The main file to show or play: a rendition, or the original until it exists.',\n }),\n thumbnailUrl: z.string().nullable().optional(),\n variants: z\n .record(\n z.string(),\n z.looseObject({\n url: z.string(),\n width: z.number().optional(),\n height: z.number().optional(),\n }),\n )\n .optional()\n .meta({ description: 'Named renditions: sizes of an image, qualities of a video.' }),\n width: z.number().nullable().optional(),\n height: z.number().nullable().optional(),\n duration: z.number().nullable().optional().meta({ description: 'In seconds.' }),\n status: z.enum(['pending', 'processing', 'ready', 'failed']).optional().meta({\n description:\n 'Where the processing of the file is: `pending` and `processing` until its renditions are made, then `ready` or `failed`. Without it, the media is ready.',\n }),\n error: z\n .looseObject({\n code: z.string().meta({\n description:\n 'The code of the step that failed, such as a transcoder task code (`timeout`, `input_unreadable`).',\n }),\n message: z.string().optional().meta({ description: 'Why it failed, for people.' }),\n })\n .nullable()\n .optional()\n .meta({\n description:\n \"Why the processing failed, when `status` is `failed`, so that editors see it without the backend's monitoring.\",\n }),\n metadata: z.record(z.string(), z.unknown()).optional(),\n transform: MediaTransform.nullable().optional().meta({\n description:\n \"The media's own transform, from its library, which clients need to draw a transform for one use made over it (decision 0031).\",\n }),\n })\n .meta({\n description:\n 'What the backend computed about the file of a media item: the `media` of the items of a `media` resource, and of the values of `media` fields. Read-only: the editable properties of a media are the fields of its resource.',\n });\n\nexport const MediaItem = Item.extend({\n media: MediaInfo,\n}).meta({\n description:\n 'An item of a resource of kind `media`: the values of its fields (`file`, the original, and those of the project), and the `media` the backend computed.',\n});\n\nexport const MediaReference = z\n .looseObject({\n id: Id,\n resource: z.string().optional().meta({\n description:\n 'The library of the media. Required for a field that allows several libraries, since ids are unique only within their resource (decision 0027).',\n }),\n label: z.string().optional().meta({ description: 'The `itemTitle` of the media.' }),\n media: MediaInfo.optional(),\n transform: MediaTransform.nullable().optional().meta({\n description:\n 'The edits of the image for this use only: from the original file, or over the media\\'s own transform with `base: \"media\"`.',\n }),\n })\n .meta({\n description:\n 'The value of a `media` or `image` field in items: the media, with what lists and fields show, and its edits for this use. Requests send the id, or `{ id, resource, transform }`: `resource` is required when the field allows several libraries.',\n });\n\nexport const FieldCheckRequest = z\n .looseObject({\n value: z.string().meta({ description: 'The value to check, as it is typed.' }),\n locale: z\n .string()\n .optional()\n .meta({ description: 'The locale of the value, for a localized field.' }),\n id: Id.nullable()\n .optional()\n .meta({ description: 'The item being edited, or null when creating one.' }),\n values: z.record(z.string(), z.unknown()).optional().meta({\n description:\n \"The form's current values, as they would be sent to save, for what the check depends on (a page's parent).\",\n }),\n })\n .meta({ description: 'A value of a field with `check`, to check with the backend.' });\n\nexport const FieldCheckResponse = z\n .looseObject({\n available: z.boolean().meta({\n description:\n 'Whether no other item of the resource, in its scope and the same locale, has the value.',\n }),\n suggestion: z.string().nullable().optional().meta({\n description: 'An available value close to the one checked, when it is taken.',\n }),\n prefix: z.string().nullable().optional().meta({\n description: 'What the field shows in front of the value: the start of its URL.',\n }),\n url: z\n .string()\n .nullable()\n .optional()\n .meta({ description: 'The URL the value gives the item, which the field links to.' }),\n disabled: z.boolean().optional().meta({\n description:\n \"The field doesn't apply to this item (the home page has no slug): the field is read-only.\",\n }),\n })\n .meta({\n description:\n 'What the backend says about a value: not authoritative, since saving still validates it.',\n });\n\nexport const Session = z.looseObject({ user: User });\n\nexport const TwoFactorChallenge = z.looseObject({ twoFactor: z.literal(true) }).meta({\n description:\n 'The answer of `POST /auth/login` when a second factor is needed: the login waits for `POST /auth/two-factor/challenge`.',\n});\n\nexport const TwoFactorStatus = z\n .looseObject({\n status: z.enum(['disabled', 'pending', 'enabled']).meta({\n description: '`pending`: set up, not confirmed with a code yet.',\n }),\n required: z.boolean().meta({\n description: \"The backend requires it for this user: it can't be turned off.\",\n }),\n })\n .meta({ description: 'The two-factor authentication of the current user.' });\n\nexport const TwoFactorSetup = z\n .looseObject({\n secret: z.string().meta({ description: 'The secret, to type in an authenticator app.' }),\n otpauthUrl: z.string().meta({ description: 'The `otpauth://totp/…` URL of the secret.' }),\n qrCode: z.string().optional().meta({\n description:\n 'An SVG document of the QR code of `otpauthUrl`. Clients show it as an image, never as markup.',\n }),\n })\n .meta({ description: 'A two-factor authentication to confirm with a code.' });\n\nexport const WebAuthnOptions = z\n .looseObject({\n options: z.record(z.string(), z.unknown()).meta({\n description:\n 'The options of `navigator.credentials.get()` or `create()`, in the JSON form of the WebAuthn spec.',\n }),\n })\n .meta({ description: 'The options of a WebAuthn ceremony.' });\n\nexport const Passkey = z\n .looseObject({\n id: Id,\n name: z.string(),\n authenticator: z.string().nullable().optional().meta({\n description: 'What keeps it, when the backend knows: \"iCloud Keychain\", \"1Password\"…',\n }),\n createdAt: z.string().meta({ description: 'ISO 8601.' }),\n lastUsedAt: z\n .string()\n .nullable()\n .meta({ description: 'ISO 8601, or null before its first login.' }),\n })\n .meta({ description: 'A passkey of the current user.' });\n\nexport const RecoveryCodes = z.looseObject({ recoveryCodes: z.array(z.string()) }).meta({\n description: 'Codes that each log in once in place of a code of the authenticator app.',\n});\n\nexport const ContextOptionsResponse = z\n .looseObject({ data: z.array(ContextOption) })\n .meta({ description: 'The first choices of a param of the context that match `q`.' });\n\nexport const SearchResponse = z\n .looseObject({\n data: z.array(\n z.looseObject({\n resource: z.string().meta({ description: 'The id of the resource.' }),\n items: z.array(Item),\n total: z.number().int().nonnegative().optional().meta({\n description:\n 'How many items of the resource match, when the backend counts them: the list of the resource, searched, shows them all.',\n }),\n }),\n ),\n })\n .meta({\n description:\n 'The results of the global search: the resources with results, in the order of the definition.',\n });\n\nexport const PreviewResponse = z.looseObject({ url: z.string(), expiresAt: z.string().optional() });\n\nexport const EmbedValue = z\n .looseObject({\n url: z.string().meta({ description: 'The URL of the video, sound or post.' }),\n type: z.enum(['video', 'audio', 'photo', 'rich', 'link']).optional(),\n title: z.string().optional(),\n provider: z.string().optional().meta({ description: 'The name of the provider.' }),\n thumbnailUrl: z.string().optional(),\n html: z\n .string()\n .optional()\n .meta({ description: 'The HTML that embeds it, from the oEmbed of its provider.' }),\n width: z.number().optional(),\n height: z.number().optional(),\n duration: z.number().nonnegative().optional().meta({\n description:\n 'How long the video or the sound lasts, in seconds, when its provider says (Vimeo’s oEmbed does).',\n }),\n })\n .meta({\n description:\n 'The value of an `embed` field: its URL, and what the backend got from its oEmbed.',\n });\n\nexport const EmbedResponse = z.looseObject({ data: EmbedValue });\n\nexport const LocationValue = z\n .looseObject({\n lat: z.number().min(-90).max(90),\n lng: z.number().min(-180).max(180),\n address: z.string().optional(),\n })\n .meta({ description: 'The value of a `location` field: a point, and its address.' });\n\nexport const AddressValue = z\n .looseObject({\n street: z.string().optional().meta({ description: 'The number and the street.' }),\n unit: z.string().optional().meta({ description: 'An apartment, a suite or a floor.' }),\n city: z.string().optional(),\n region: z.string().optional().meta({\n description:\n 'A value of the `region` type for the country: the code of the region without its country (`QC`) for the countries Panneau knows the regions of, the text as typed for the others.',\n }),\n postalCode: z.string().optional().meta({\n description: 'Normalized for its country: `H2X 1Y4`, `12345-6789`.',\n }),\n country: z\n .string()\n .regex(/^[A-Z]{2}$/)\n .optional()\n .meta({ description: 'An ISO 3166-1 alpha-2 code: `CA`.' }),\n point: z\n .looseObject({ lat: z.number().min(-90).max(90), lng: z.number().min(-180).max(180) })\n .optional()\n .meta({ description: 'The place of the address on a map, with `settings.point`.' }),\n })\n .meta({\n description:\n 'The value of an `address` field (decision 0054): the parts of a postal address, the empty ones left out.',\n });\n\nexport const LinkValue = z\n .looseObject({\n type: z.string().min(1).meta({\n description:\n 'The type of the link: `url`, `page`, `email`, `tel`, `file`, or a type of the site.',\n }),\n url: z.string().optional().meta({\n description:\n 'The `href` of the link: `https://…`, `mailto:…`, `tel:+…`, or the text of a type of the site. For `page` and `file` links, the URL the backend resolved, in items only.',\n }),\n page: z\n .union([\n z.string(),\n z.looseObject({\n id: z.string(),\n resource: z.string().optional(),\n label: z.string().optional(),\n }),\n ])\n .optional()\n .meta({\n description:\n '`page` links: the item, `{ \"id\", \"resource\", \"label\" }` in items, its id or `{ \"id\", \"resource\" }` in requests.',\n }),\n file: z\n .union([z.string(), z.looseObject({ id: z.string() })])\n .optional()\n .meta({ description: '`file` links: the media, as a `media` value.' }),\n label: z\n .union([z.string(), z.record(z.string(), z.string().nullable())])\n .nullable()\n .optional()\n .meta({\n description:\n 'The words of the link, per locale; a string in a `localized` link field.',\n }),\n newTab: z.boolean().optional().meta({ description: 'The link opens in a new tab.' }),\n })\n .meta({ description: 'The value of a `link` field (decision 0055).' });\n\nexport const DateRangeValue = z\n .looseObject({\n start: z.string().nullable().meta({\n description:\n 'The first day (`2026-11-04`) or the start (`2026-11-04T23:30:00Z`), or `null` when the range is open at its start.',\n }),\n end: z.string().nullable().meta({\n description:\n 'The last day, included, or the end, or `null` when the range is open at its end. On or after the start.',\n }),\n allDay: z\n .boolean()\n .optional()\n .meta({ description: 'The range takes whole days: its bounds are days.' }),\n timeZone: z.string().optional().meta({\n description:\n 'The IANA time zone the date-times are shown and typed in (`America/Toronto`), when the field lets the user choose it.',\n }),\n })\n .meta({\n description:\n 'The value of a `daterange` field: a start and an end, days or date-times (decision 0053).',\n });\n\nexport const MoneyValue = z\n .looseObject({\n amount: z.number().int().meta({\n description:\n 'The amount in the minor unit of the currency, its ISO 4217 exponent: `1250` is 12.50 CAD, `1250` is 1,250 JPY.',\n }),\n currency: z\n .string()\n .regex(/^[A-Z]{3}$/)\n .meta({ description: 'An ISO 4217 currency code, in capitals: `CAD`.' }),\n })\n .meta({\n description: 'The value of a `money` field: an amount and its currency (decision 0053).',\n });\n\nexport type Item = z.infer<typeof Item>;\nexport type Pagination = z.infer<typeof Pagination>;\nexport type ItemResponse = z.infer<typeof ItemResponse>;\nexport type CursorPagination = z.infer<typeof CursorPagination>;\nexport type ListResponse = z.infer<typeof ListResponse>;\nexport type ContextOptionsResponse = z.infer<typeof ContextOptionsResponse>;\nexport type Problem = z.infer<typeof Problem>;\nexport type Selection = z.infer<typeof Selection>;\nexport type ActionRequest = z.infer<typeof ActionRequest>;\nexport type ActionItemResult = z.infer<typeof ActionItemResult>;\nexport type ActionResult = z.infer<typeof ActionResult>;\nexport type ActionRun = z.infer<typeof ActionRun>;\nexport type ActionRunResponse = z.infer<typeof ActionRunResponse>;\nexport type MediaTransform = z.infer<typeof MediaTransform>;\nexport type UploadReference = z.infer<typeof UploadReference>;\nexport type StoredFile = z.infer<typeof StoredFile>;\nexport type Upload = z.infer<typeof Upload>;\nexport type UploadResponse = z.infer<typeof UploadResponse>;\nexport type UploadSignRequest = z.infer<typeof UploadSignRequest>;\nexport type UploadSignResponse = z.infer<typeof UploadSignResponse>;\nexport type FieldCheckRequest = z.infer<typeof FieldCheckRequest>;\nexport type FieldCheckResponse = z.infer<typeof FieldCheckResponse>;\nexport type MediaInfo = z.infer<typeof MediaInfo>;\nexport type MediaItem = z.infer<typeof MediaItem>;\nexport type MediaReference = z.infer<typeof MediaReference>;\nexport type Session = z.infer<typeof Session>;\nexport type TwoFactorChallenge = z.infer<typeof TwoFactorChallenge>;\nexport type TwoFactorStatus = z.infer<typeof TwoFactorStatus>;\nexport type TwoFactorSetup = z.infer<typeof TwoFactorSetup>;\nexport type RecoveryCodes = z.infer<typeof RecoveryCodes>;\nexport type WebAuthnOptions = z.infer<typeof WebAuthnOptions>;\nexport type Passkey = z.infer<typeof Passkey>;\nexport type SearchResponse = z.infer<typeof SearchResponse>;\nexport type PreviewResponse = z.infer<typeof PreviewResponse>;\nexport type EmbedValue = z.infer<typeof EmbedValue>;\nexport type EmbedResponse = z.infer<typeof EmbedResponse>;\nexport type LocationValue = z.infer<typeof LocationValue>;\nexport type AddressValue = z.infer<typeof AddressValue>;\nexport type LinkValue = z.infer<typeof LinkValue>;\nexport type DateRangeValue = z.infer<typeof DateRangeValue>;\nexport type MoneyValue = z.infer<typeof MoneyValue>;\n"],"mappings":";;;;AAKA,IAAa,OAAO,EACf,YAAY;CACT,IAAI;CACJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAChC,aAAa,oEACjB,CAAC;CACD,WAAW;CACX,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EACpC,aACI,0HACR,CAAC;AACL,CAAC,CAAC,CACD,KAAK,EACF,aAAa,4EACjB,CAAC;AAEL,IAAa,aAAa,EAAE,YAAY;CACpC,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAChC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACnC,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY;CACpC,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;AACxC,CAAC;AAED,IAAa,mBAAmB,EAC3B,YAAY;CACT,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACnC,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAC1C,aAAa,6DACjB,CAAC;CACD,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EACzD,aACI,iLACR,CA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,EACH,QAAQ,CAAC,CACT,SAAS,CAAC,CACV,KAAK,EAAE,aAAa,mDAAmD,CAAC;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EACjC,aACI,wHACR,CAAC;AACL,CAAC,CAAC,CACD,KAAK,EACF,aACI,4FACR,CAAC;AAEL,IAAa,aAAa,EACrB,YAAY;CACT,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAC1B,aACI,iHACR,CAAC;CACD,UAAU,EACL,OAAO,CAAC,CACR,MAAM,YAAY,CAAC,CACnB,KAAK,EAAE,aAAa,iDAAiD,CAAC;AAC/E,CAAC,CAAC,CACD,KAAK,EACF,aAAa,4EACjB,CAAC"}
@@ -323,6 +323,7 @@ export declare const Definition: z.ZodObject<{
323
323
  description: z.ZodOptional<z.ZodString>;
324
324
  text: z.ZodOptional<z.ZodString>;
325
325
  component: z.ZodOptional<z.ZodString>;
326
+ panel: z.ZodOptional<z.ZodString>;
326
327
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
327
328
  width: z.ZodOptional<z.ZodNumber>;
328
329
  collapsible: z.ZodOptional<z.ZodBoolean>;
@@ -609,6 +610,7 @@ export declare const Definition: z.ZodObject<{
609
610
  description: z.ZodOptional<z.ZodString>;
610
611
  text: z.ZodOptional<z.ZodString>;
611
612
  component: z.ZodOptional<z.ZodString>;
613
+ panel: z.ZodOptional<z.ZodString>;
612
614
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
613
615
  width: z.ZodOptional<z.ZodNumber>;
614
616
  collapsible: z.ZodOptional<z.ZodBoolean>;
@@ -648,8 +650,10 @@ export declare const Definition: z.ZodObject<{
648
650
  types: z.ZodOptional<z.ZodArray<z.ZodObject<{
649
651
  id: z.ZodString;
650
652
  label: z.ZodString;
653
+ description: z.ZodOptional<z.ZodString>;
651
654
  icon: z.ZodOptional<z.ZodString>;
652
655
  fields: z.ZodArray<typeof import("./field.js").Field>;
656
+ abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
653
657
  }, z.core.$loose>>>;
654
658
  settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
655
659
  }, z.core.$loose>>;
@@ -749,6 +753,10 @@ export declare const Definition: z.ZodObject<{
749
753
  comfortable: "comfortable";
750
754
  touch: "touch";
751
755
  }>>;
756
+ navigation: z.ZodOptional<z.ZodEnum<{
757
+ sidebar: "sidebar";
758
+ dock: "dock";
759
+ }>>;
752
760
  extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
753
761
  label: z.ZodOptional<z.ZodString>;
754
762
  dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1 +1 @@
1
- {"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../src/schemas/definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,IAAI;;;;;;;iBAUf,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;iBAQvB,CAAC;AAEH,eAAO,MAAM,SAAS;;;iBAGpB,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;iBA0Cf,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;cAYG,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;iBAIjB,CAAC;AAElD,eAAO,MAAM,IAAI;;;;;;;iBAmBf,CAAC;AAEH,eAAO,MAAM,aAAa;;;;iBAMuC,CAAC;AAElE,eAAO,MAAM,YAAY;;;;;;;;;;;;;iBAqCoD,CAAC;AAE9E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;iBAUxB,CAAC;AAEP,eAAO,MAAM,OAAO;;;;;;;;iBAUlB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;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,OAAO,YAAY,CAAC,CAAC;AACxD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAClD,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AACxC,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAChD,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AACxC,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AACxD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAClE,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAC9C,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AACpD,wEAAwE;AACxE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -504,6 +504,7 @@ export declare const namedSchemas: {
504
504
  description: z.ZodOptional<z.ZodString>;
505
505
  text: z.ZodOptional<z.ZodString>;
506
506
  component: z.ZodOptional<z.ZodString>;
507
+ panel: z.ZodOptional<z.ZodString>;
507
508
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
508
509
  width: z.ZodOptional<z.ZodNumber>;
509
510
  collapsible: z.ZodOptional<z.ZodBoolean>;
@@ -841,6 +842,7 @@ export declare const namedSchemas: {
841
842
  description: z.ZodOptional<z.ZodString>;
842
843
  text: z.ZodOptional<z.ZodString>;
843
844
  component: z.ZodOptional<z.ZodString>;
845
+ panel: z.ZodOptional<z.ZodString>;
844
846
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
845
847
  width: z.ZodOptional<z.ZodNumber>;
846
848
  collapsible: z.ZodOptional<z.ZodBoolean>;
@@ -876,6 +878,14 @@ export declare const namedSchemas: {
876
878
  }, z.core.$loose>]>>;
877
879
  search: z.ZodOptional<z.ZodBoolean>;
878
880
  }, z.core.$loose>;
881
+ ResourceType: z.ZodObject<{
882
+ id: z.ZodString;
883
+ label: z.ZodString;
884
+ description: z.ZodOptional<z.ZodString>;
885
+ icon: z.ZodOptional<z.ZodString>;
886
+ fields: z.ZodArray<typeof Field>;
887
+ abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
888
+ }, z.core.$loose>;
879
889
  Resource: z.ZodObject<{
880
890
  id: z.ZodString;
881
891
  kind: z.ZodOptional<z.ZodString>;
@@ -1088,6 +1098,7 @@ export declare const namedSchemas: {
1088
1098
  description: z.ZodOptional<z.ZodString>;
1089
1099
  text: z.ZodOptional<z.ZodString>;
1090
1100
  component: z.ZodOptional<z.ZodString>;
1101
+ panel: z.ZodOptional<z.ZodString>;
1091
1102
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1092
1103
  width: z.ZodOptional<z.ZodNumber>;
1093
1104
  collapsible: z.ZodOptional<z.ZodBoolean>;
@@ -1374,6 +1385,7 @@ export declare const namedSchemas: {
1374
1385
  description: z.ZodOptional<z.ZodString>;
1375
1386
  text: z.ZodOptional<z.ZodString>;
1376
1387
  component: z.ZodOptional<z.ZodString>;
1388
+ panel: z.ZodOptional<z.ZodString>;
1377
1389
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1378
1390
  width: z.ZodOptional<z.ZodNumber>;
1379
1391
  collapsible: z.ZodOptional<z.ZodBoolean>;
@@ -1413,8 +1425,10 @@ export declare const namedSchemas: {
1413
1425
  types: z.ZodOptional<z.ZodArray<z.ZodObject<{
1414
1426
  id: z.ZodString;
1415
1427
  label: z.ZodString;
1428
+ description: z.ZodOptional<z.ZodString>;
1416
1429
  icon: z.ZodOptional<z.ZodString>;
1417
1430
  fields: z.ZodArray<typeof Field>;
1431
+ abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1418
1432
  }, z.core.$loose>>>;
1419
1433
  settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1420
1434
  }, z.core.$loose>;
@@ -1658,6 +1672,10 @@ export declare const namedSchemas: {
1658
1672
  comfortable: "comfortable";
1659
1673
  touch: "touch";
1660
1674
  }>>;
1675
+ navigation: z.ZodOptional<z.ZodEnum<{
1676
+ sidebar: "sidebar";
1677
+ dock: "dock";
1678
+ }>>;
1661
1679
  extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1662
1680
  label: z.ZodOptional<z.ZodString>;
1663
1681
  dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1925,6 +1943,7 @@ export declare const namedSchemas: {
1925
1943
  description: z.ZodOptional<z.ZodString>;
1926
1944
  text: z.ZodOptional<z.ZodString>;
1927
1945
  component: z.ZodOptional<z.ZodString>;
1946
+ panel: z.ZodOptional<z.ZodString>;
1928
1947
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1929
1948
  width: z.ZodOptional<z.ZodNumber>;
1930
1949
  collapsible: z.ZodOptional<z.ZodBoolean>;
@@ -2211,6 +2230,7 @@ export declare const namedSchemas: {
2211
2230
  description: z.ZodOptional<z.ZodString>;
2212
2231
  text: z.ZodOptional<z.ZodString>;
2213
2232
  component: z.ZodOptional<z.ZodString>;
2233
+ panel: z.ZodOptional<z.ZodString>;
2214
2234
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2215
2235
  width: z.ZodOptional<z.ZodNumber>;
2216
2236
  collapsible: z.ZodOptional<z.ZodBoolean>;
@@ -2250,8 +2270,10 @@ export declare const namedSchemas: {
2250
2270
  types: z.ZodOptional<z.ZodArray<z.ZodObject<{
2251
2271
  id: z.ZodString;
2252
2272
  label: z.ZodString;
2273
+ description: z.ZodOptional<z.ZodString>;
2253
2274
  icon: z.ZodOptional<z.ZodString>;
2254
2275
  fields: z.ZodArray<typeof Field>;
2276
+ abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2255
2277
  }, z.core.$loose>>>;
2256
2278
  settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2257
2279
  }, z.core.$loose>>;
@@ -2351,6 +2373,10 @@ export declare const namedSchemas: {
2351
2373
  comfortable: "comfortable";
2352
2374
  touch: "touch";
2353
2375
  }>>;
2376
+ navigation: z.ZodOptional<z.ZodEnum<{
2377
+ sidebar: "sidebar";
2378
+ dock: "dock";
2379
+ }>>;
2354
2380
  extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2355
2381
  label: z.ZodOptional<z.ZodString>;
2356
2382
  dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2411,6 +2437,7 @@ export declare const namedSchemas: {
2411
2437
  id: z.ZodString;
2412
2438
  version: z.ZodNullable<z.ZodString>;
2413
2439
  abilities: z.ZodRecord<z.ZodString, z.ZodBoolean>;
2440
+ type: z.ZodOptional<z.ZodString>;
2414
2441
  }, z.core.$loose>;
2415
2442
  Pagination: z.ZodObject<{
2416
2443
  page: z.ZodNumber;
@@ -2429,6 +2456,7 @@ export declare const namedSchemas: {
2429
2456
  id: z.ZodString;
2430
2457
  version: z.ZodNullable<z.ZodString>;
2431
2458
  abilities: z.ZodRecord<z.ZodString, z.ZodBoolean>;
2459
+ type: z.ZodOptional<z.ZodString>;
2432
2460
  }, z.core.$loose>;
2433
2461
  }, z.core.$loose>;
2434
2462
  ListResponse: z.ZodObject<{
@@ -2436,6 +2464,7 @@ export declare const namedSchemas: {
2436
2464
  id: z.ZodString;
2437
2465
  version: z.ZodNullable<z.ZodString>;
2438
2466
  abilities: z.ZodRecord<z.ZodString, z.ZodBoolean>;
2467
+ type: z.ZodOptional<z.ZodString>;
2439
2468
  }, z.core.$loose>>;
2440
2469
  meta: z.ZodUnion<readonly [z.ZodObject<{
2441
2470
  page: z.ZodNumber;
@@ -2460,6 +2489,7 @@ export declare const namedSchemas: {
2460
2489
  id: z.ZodString;
2461
2490
  version: z.ZodNullable<z.ZodString>;
2462
2491
  abilities: z.ZodRecord<z.ZodString, z.ZodBoolean>;
2492
+ type: z.ZodOptional<z.ZodString>;
2463
2493
  }, z.core.$loose>>;
2464
2494
  param: z.ZodOptional<z.ZodString>;
2465
2495
  }, z.core.$loose>;
@@ -2766,6 +2796,7 @@ export declare const namedSchemas: {
2766
2796
  id: z.ZodString;
2767
2797
  version: z.ZodNullable<z.ZodString>;
2768
2798
  abilities: z.ZodRecord<z.ZodString, z.ZodBoolean>;
2799
+ type: z.ZodOptional<z.ZodString>;
2769
2800
  media: z.ZodObject<{
2770
2801
  type: z.ZodString;
2771
2802
  mime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2930,6 +2961,7 @@ export declare const namedSchemas: {
2930
2961
  id: z.ZodString;
2931
2962
  version: z.ZodNullable<z.ZodString>;
2932
2963
  abilities: z.ZodRecord<z.ZodString, z.ZodBoolean>;
2964
+ type: z.ZodOptional<z.ZodString>;
2933
2965
  }, z.core.$loose>>;
2934
2966
  total: z.ZodOptional<z.ZodNumber>;
2935
2967
  }, z.core.$loose>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAsBH,cAAc,EAoBjB,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,SAAS,EAA8B,MAAM,UAAU,CAAC;AAC5E,OAAO,EAQH,QAAQ,EA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0F;AAC1F,wBAAgB,oBAAoB;QACE,MAAM;4GAK3C"}
@@ -4,7 +4,7 @@ import { actionJsonRules } from "./jsonRules.js";
4
4
  import { LayoutNode } from "./layout.js";
5
5
  import { Action, ActionConfirm, ActionPlacement, ActionScope } from "./action.js";
6
6
  import { Column, Filter, ListCalendar, ListDefinition } from "./list.js";
7
- import { Resource, ResourceFeatures } from "./resource.js";
7
+ import { Resource, ResourceFeatures, ResourceType } from "./resource.js";
8
8
  import { DefinitionTheme, Theme, ThemeFont, ThemeFontFace, ThemeFontStylesheet, ThemeTokens, ToneInput, ToneValues } from "./theme.js";
9
9
  import { ListWidgetData, ListWidgetItem, SeriesPoint, SeriesWidgetData, StatWidgetData, Widget, WidgetBadge, WidgetSettings, widgetDataSchemas } from "./widget.js";
10
10
  import { Auth, AuthProvider, AuthToken, ContextOption, ContextParam, Definition, DefinitionContext, MenuItem, Page, Uploads, User } from "./definition.js";
@@ -40,6 +40,7 @@ var namedSchemas = {
40
40
  ActionConfirm,
41
41
  Action,
42
42
  ResourceFeatures,
43
+ ResourceType,
43
44
  Resource,
44
45
  User,
45
46
  AuthProvider,
@@ -121,6 +122,6 @@ function createSchemaRegistry() {
121
122
  return registry;
122
123
  }
123
124
  //#endregion
124
- export { Abilities, Action, ActionConfirm, ActionItemResult, ActionPlacement, ActionRequest, ActionResult, ActionRun, ActionRunResponse, ActionScope, AddressSettings, AddressValue, Auth, AuthProvider, AuthToken, BlockType, BootConfig, Column, Condition, ContextOption, ContextOptionsResponse, ContextParam, CursorPagination, DateRangeSettings, DateRangeValue, Definition, DefinitionContext, DefinitionTheme, DurationSettings, EmbedResponse, EmbedValue, Field, FieldCheckRequest, FieldCheckResponse, Filter, Id, Item, ItemResponse, LayoutNode, LinkSettings, LinkTypeSetting, LinkValue, ListCalendar, ListDefinition, ListResponse, ListWidgetData, ListWidgetItem, LocationValue, MediaInfo, MediaItem, MediaReference, MediaTransform, MenuItem, MoneySettings, MoneyValue, Option, Page, Pagination, Passkey, PreviewResponse, Problem, RecoveryCodes, Resource, ResourceFeatures, RichTextSettings, RichTextStyle, RouteReference, Rule, SearchResponse, Selection, SeriesPoint, SeriesWidgetData, Session, StatWidgetData, StoredFile, Theme, ThemeFont, ThemeFontFace, ThemeFontStylesheet, ThemeTokens, ToneInput, ToneValues, TwoFactorChallenge, TwoFactorSetup, TwoFactorStatus, Upload, UploadReference, UploadResponse, UploadSignRequest, UploadSignResponse, Uploads, User, WebAuthnOptions, Widget, WidgetBadge, WidgetSettings, createSchemaRegistry, namedSchemas, widgetDataSchemas };
125
+ export { Abilities, Action, ActionConfirm, ActionItemResult, ActionPlacement, ActionRequest, ActionResult, ActionRun, ActionRunResponse, ActionScope, AddressSettings, AddressValue, Auth, AuthProvider, AuthToken, BlockType, BootConfig, Column, Condition, ContextOption, ContextOptionsResponse, ContextParam, CursorPagination, DateRangeSettings, DateRangeValue, Definition, DefinitionContext, DefinitionTheme, DurationSettings, EmbedResponse, EmbedValue, Field, FieldCheckRequest, FieldCheckResponse, Filter, Id, Item, ItemResponse, LayoutNode, LinkSettings, LinkTypeSetting, LinkValue, ListCalendar, ListDefinition, ListResponse, ListWidgetData, ListWidgetItem, LocationValue, MediaInfo, MediaItem, MediaReference, MediaTransform, MenuItem, MoneySettings, MoneyValue, Option, Page, Pagination, Passkey, PreviewResponse, Problem, RecoveryCodes, Resource, ResourceFeatures, ResourceType, RichTextSettings, RichTextStyle, RouteReference, Rule, SearchResponse, Selection, SeriesPoint, SeriesWidgetData, Session, StatWidgetData, StoredFile, Theme, ThemeFont, ThemeFontFace, ThemeFontStylesheet, ThemeTokens, ToneInput, ToneValues, TwoFactorChallenge, TwoFactorSetup, TwoFactorStatus, Upload, UploadReference, UploadResponse, UploadSignRequest, UploadSignResponse, Uploads, User, WebAuthnOptions, Widget, WidgetBadge, WidgetSettings, createSchemaRegistry, namedSchemas, widgetDataSchemas };
125
126
 
126
127
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/schemas/index.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { Action, ActionConfirm, ActionPlacement, ActionScope } from './action';\nimport {\n ActionItemResult,\n ActionRequest,\n ActionResult,\n ActionRun,\n ActionRunResponse,\n AddressValue,\n ContextOptionsResponse,\n CursorPagination,\n DateRangeValue,\n EmbedResponse,\n EmbedValue,\n FieldCheckRequest,\n FieldCheckResponse,\n Item,\n ItemResponse,\n LinkValue,\n ListResponse,\n LocationValue,\n MediaInfo,\n MediaItem,\n MediaReference,\n MediaTransform,\n MoneyValue,\n Pagination,\n Passkey,\n PreviewResponse,\n Problem,\n RecoveryCodes,\n SearchResponse,\n Selection,\n Session,\n StoredFile,\n TwoFactorChallenge,\n TwoFactorSetup,\n TwoFactorStatus,\n Upload,\n UploadReference,\n UploadResponse,\n UploadSignRequest,\n UploadSignResponse,\n WebAuthnOptions,\n} from './api';\nimport { Abilities, Condition, Id, Option, RouteReference } from './common';\nimport {\n Auth,\n AuthProvider,\n AuthToken,\n ContextOption,\n ContextParam,\n Definition,\n DefinitionContext,\n MenuItem,\n Page,\n Uploads,\n User,\n} from './definition';\nimport {\n AddressSettings,\n BlockType,\n DateRangeSettings,\n DurationSettings,\n Field,\n LinkSettings,\n LinkTypeSetting,\n MoneySettings,\n RichTextSettings,\n RichTextStyle,\n Rule,\n} from './field';\nimport { actionJsonRules } from './jsonRules';\nimport { LayoutNode } from './layout';\nimport { Column, Filter, ListCalendar, ListDefinition } from './list';\nimport { Resource, ResourceFeatures } from './resource';\nimport {\n DefinitionTheme,\n Theme,\n ThemeFont,\n ThemeFontFace,\n ThemeFontStylesheet,\n ThemeTokens,\n ToneInput,\n ToneValues,\n} from './theme';\nimport {\n ListWidgetData,\n ListWidgetItem,\n SeriesPoint,\n SeriesWidgetData,\n StatWidgetData,\n Widget,\n WidgetBadge,\n WidgetSettings,\n} from './widget';\n\nexport * from './common';\nexport * from './field';\nexport * from './layout';\nexport * from './list';\nexport * from './action';\nexport * from './resource';\nexport * from './theme';\nexport * from './widget';\nexport * from './definition';\nexport * from './api';\nexport * from './boot';\n\n/** The named schemas of the protocol, as they appear in the generated JSON Schema and OpenAPI files. */\nexport const namedSchemas = {\n Id,\n Abilities,\n RouteReference,\n Condition,\n Option,\n Rule,\n BlockType,\n Field,\n RichTextStyle,\n RichTextSettings,\n LinkTypeSetting,\n LinkSettings,\n AddressSettings,\n DateRangeSettings,\n MoneySettings,\n DurationSettings,\n LayoutNode,\n Column,\n Filter,\n ListCalendar,\n ListDefinition,\n ActionScope,\n ActionPlacement,\n ActionConfirm,\n Action,\n ResourceFeatures,\n Resource,\n User,\n AuthProvider,\n AuthToken,\n Auth,\n MenuItem,\n Page,\n WidgetSettings,\n Widget,\n Uploads,\n ContextOption,\n ContextParam,\n DefinitionContext,\n ThemeTokens,\n ToneValues,\n ToneInput,\n ThemeFontFace,\n ThemeFontStylesheet,\n ThemeFont,\n Theme,\n DefinitionTheme,\n Definition,\n Item,\n Pagination,\n CursorPagination,\n ItemResponse,\n ListResponse,\n Problem,\n Selection,\n ActionRequest,\n ActionItemResult,\n ActionResult,\n ActionRun,\n ActionRunResponse,\n MediaTransform,\n StoredFile,\n UploadReference,\n Upload,\n UploadResponse,\n UploadSignRequest,\n UploadSignResponse,\n FieldCheckRequest,\n FieldCheckResponse,\n MediaInfo,\n MediaItem,\n MediaReference,\n Session,\n TwoFactorChallenge,\n TwoFactorStatus,\n TwoFactorSetup,\n RecoveryCodes,\n WebAuthnOptions,\n Passkey,\n SearchResponse,\n ContextOptionsResponse,\n PreviewResponse,\n EmbedValue,\n EmbedResponse,\n LocationValue,\n AddressValue,\n LinkValue,\n DateRangeValue,\n MoneyValue,\n WidgetBadge,\n StatWidgetData,\n SeriesPoint,\n SeriesWidgetData,\n ListWidgetItem,\n ListWidgetData,\n} satisfies Record<string, z.ZodType>;\n\n/** A registry of the named schemas, used to reference them by name in generated files. */\nexport function createSchemaRegistry() {\n const registry = z.registry<{ id: string } & Record<string, unknown>>();\n Object.entries(namedSchemas).forEach(([id, schema]) => registry.add(schema, { id }));\n // Checks that Zod makes in code, which the JSON Schema of the definition must make too.\n registry.add(Action, { id: 'Action', ...actionJsonRules });\n return registry;\n}\n"],"mappings":";;;;;;;;;;;;;;;AA+GA,IAAa,eAAe;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACJ;;AAGA,SAAgB,uBAAuB;CACnC,MAAM,WAAW,EAAE,SAAmD;CACtE,OAAO,QAAQ,YAAY,CAAC,CAAC,SAAS,CAAC,IAAI,YAAY,SAAS,IAAI,QAAQ,EAAE,GAAG,CAAC,CAAC;CAEnF,SAAS,IAAI,QAAQ;EAAE,IAAI;EAAU,GAAG;CAAgB,CAAC;CACzD,OAAO;AACX"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/schemas/index.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { Action, ActionConfirm, ActionPlacement, ActionScope } from './action';\nimport {\n ActionItemResult,\n ActionRequest,\n ActionResult,\n ActionRun,\n ActionRunResponse,\n AddressValue,\n ContextOptionsResponse,\n CursorPagination,\n DateRangeValue,\n EmbedResponse,\n EmbedValue,\n FieldCheckRequest,\n FieldCheckResponse,\n Item,\n ItemResponse,\n LinkValue,\n ListResponse,\n LocationValue,\n MediaInfo,\n MediaItem,\n MediaReference,\n MediaTransform,\n MoneyValue,\n Pagination,\n Passkey,\n PreviewResponse,\n Problem,\n RecoveryCodes,\n SearchResponse,\n Selection,\n Session,\n StoredFile,\n TwoFactorChallenge,\n TwoFactorSetup,\n TwoFactorStatus,\n Upload,\n UploadReference,\n UploadResponse,\n UploadSignRequest,\n UploadSignResponse,\n WebAuthnOptions,\n} from './api';\nimport { Abilities, Condition, Id, Option, RouteReference } from './common';\nimport {\n Auth,\n AuthProvider,\n AuthToken,\n ContextOption,\n ContextParam,\n Definition,\n DefinitionContext,\n MenuItem,\n Page,\n Uploads,\n User,\n} from './definition';\nimport {\n AddressSettings,\n BlockType,\n DateRangeSettings,\n DurationSettings,\n Field,\n LinkSettings,\n LinkTypeSetting,\n MoneySettings,\n RichTextSettings,\n RichTextStyle,\n Rule,\n} from './field';\nimport { actionJsonRules } from './jsonRules';\nimport { LayoutNode } from './layout';\nimport { Column, Filter, ListCalendar, ListDefinition } from './list';\nimport { Resource, ResourceFeatures, ResourceType } from './resource';\nimport {\n DefinitionTheme,\n Theme,\n ThemeFont,\n ThemeFontFace,\n ThemeFontStylesheet,\n ThemeTokens,\n ToneInput,\n ToneValues,\n} from './theme';\nimport {\n ListWidgetData,\n ListWidgetItem,\n SeriesPoint,\n SeriesWidgetData,\n StatWidgetData,\n Widget,\n WidgetBadge,\n WidgetSettings,\n} from './widget';\n\nexport * from './common';\nexport * from './field';\nexport * from './layout';\nexport * from './list';\nexport * from './action';\nexport * from './resource';\nexport * from './theme';\nexport * from './widget';\nexport * from './definition';\nexport * from './api';\nexport * from './boot';\n\n/** The named schemas of the protocol, as they appear in the generated JSON Schema and OpenAPI files. */\nexport const namedSchemas = {\n Id,\n Abilities,\n RouteReference,\n Condition,\n Option,\n Rule,\n BlockType,\n Field,\n RichTextStyle,\n RichTextSettings,\n LinkTypeSetting,\n LinkSettings,\n AddressSettings,\n DateRangeSettings,\n MoneySettings,\n DurationSettings,\n LayoutNode,\n Column,\n Filter,\n ListCalendar,\n ListDefinition,\n ActionScope,\n ActionPlacement,\n ActionConfirm,\n Action,\n ResourceFeatures,\n ResourceType,\n Resource,\n User,\n AuthProvider,\n AuthToken,\n Auth,\n MenuItem,\n Page,\n WidgetSettings,\n Widget,\n Uploads,\n ContextOption,\n ContextParam,\n DefinitionContext,\n ThemeTokens,\n ToneValues,\n ToneInput,\n ThemeFontFace,\n ThemeFontStylesheet,\n ThemeFont,\n Theme,\n DefinitionTheme,\n Definition,\n Item,\n Pagination,\n CursorPagination,\n ItemResponse,\n ListResponse,\n Problem,\n Selection,\n ActionRequest,\n ActionItemResult,\n ActionResult,\n ActionRun,\n ActionRunResponse,\n MediaTransform,\n StoredFile,\n UploadReference,\n Upload,\n UploadResponse,\n UploadSignRequest,\n UploadSignResponse,\n FieldCheckRequest,\n FieldCheckResponse,\n MediaInfo,\n MediaItem,\n MediaReference,\n Session,\n TwoFactorChallenge,\n TwoFactorStatus,\n TwoFactorSetup,\n RecoveryCodes,\n WebAuthnOptions,\n Passkey,\n SearchResponse,\n ContextOptionsResponse,\n PreviewResponse,\n EmbedValue,\n EmbedResponse,\n LocationValue,\n AddressValue,\n LinkValue,\n DateRangeValue,\n MoneyValue,\n WidgetBadge,\n StatWidgetData,\n SeriesPoint,\n SeriesWidgetData,\n ListWidgetItem,\n ListWidgetData,\n} satisfies Record<string, z.ZodType>;\n\n/** A registry of the named schemas, used to reference them by name in generated files. */\nexport function createSchemaRegistry() {\n const registry = z.registry<{ id: string } & Record<string, unknown>>();\n Object.entries(namedSchemas).forEach(([id, schema]) => registry.add(schema, { id }));\n // Checks that Zod makes in code, which the JSON Schema of the definition must make too.\n registry.add(Action, { id: 'Action', ...actionJsonRules });\n return registry;\n}\n"],"mappings":";;;;;;;;;;;;;;;AA+GA,IAAa,eAAe;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACJ;;AAGA,SAAgB,uBAAuB;CACnC,MAAM,WAAW,EAAE,SAAmD;CACtE,OAAO,QAAQ,YAAY,CAAC,CAAC,SAAS,CAAC,IAAI,YAAY,SAAS,IAAI,QAAQ,EAAE,GAAG,CAAC,CAAC;CAEnF,SAAS,IAAI,QAAQ;EAAE,IAAI;EAAU,GAAG;CAAgB,CAAC;CACzD,OAAO;AACX"}
@@ -7,6 +7,7 @@ export declare const LayoutNode: z.ZodObject<{
7
7
  description: z.ZodOptional<z.ZodString>;
8
8
  text: z.ZodOptional<z.ZodString>;
9
9
  component: z.ZodOptional<z.ZodString>;
10
+ panel: z.ZodOptional<z.ZodString>;
10
11
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
12
  width: z.ZodOptional<z.ZodNumber>;
12
13
  collapsible: z.ZodOptional<z.ZodBoolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/schemas/layout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;cA0BC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;iBAO9D,CAAC;AAEP,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/schemas/layout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;cAiCC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;iBAO9D,CAAC;AAEP,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -4,10 +4,11 @@ import { z } from "zod";
4
4
  var LayoutNode = z.looseObject({
5
5
  type: z.string().min(1).meta({ description: "A built-in node type, or a type provided by a plugin." }),
6
6
  name: z.string().min(1).optional().meta({ description: "`field`: the name of the field." }),
7
- label: z.string().optional().meta({ description: "`section`, `tab`: the title." }),
7
+ label: z.string().optional().meta({ description: "`section`, `tab`, `sidebar`: the title." }),
8
8
  description: z.string().optional(),
9
9
  text: z.string().optional().meta({ description: "`text`: a static paragraph." }),
10
10
  component: z.string().optional().meta({ description: "`component`: a component provided by a plugin." }),
11
+ panel: z.string().min(1).optional().meta({ description: "`sidebar`: the panel it is, by name: a built-in panel (`save`, `errors`, `publication`, `actions`) or one provided by a plugin. Without its component, the node renders its children." }),
11
12
  props: z.record(z.string(), z.unknown()).optional(),
12
13
  width: z.number().int().min(1).max(12).optional().meta({ description: "Width on a 12-column grid, inside a `row`." }),
13
14
  collapsible: z.boolean().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"layout.js","names":[],"sources":["../../src/schemas/layout.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { Condition } from './common';\n\nexport const LayoutNode = z\n .looseObject({\n type: z\n .string()\n .min(1)\n .meta({ description: 'A built-in node type, or a type provided by a plugin.' }),\n name: z.string().min(1).optional().meta({ description: '`field`: the name of the field.' }),\n label: z.string().optional().meta({ description: '`section`, `tab`: the title.' }),\n description: z.string().optional(),\n text: z.string().optional().meta({ description: '`text`: a static paragraph.' }),\n component: z\n .string()\n .optional()\n .meta({ description: '`component`: a component provided by a plugin.' }),\n props: z.record(z.string(), z.unknown()).optional(),\n width: z\n .number()\n .int()\n .min(1)\n .max(12)\n .optional()\n .meta({ description: 'Width on a 12-column grid, inside a `row`.' }),\n collapsible: z.boolean().optional(),\n collapsed: z.boolean().optional(),\n visibleWhen: Condition.optional(),\n // The return type is written out so that declaration files keep the recursion.\n get children(): z.ZodOptional<z.ZodArray<typeof LayoutNode>> {\n return z.array(LayoutNode).optional();\n },\n })\n .meta({\n description:\n 'A node of a form layout. Containers (`row`, `column`, `section`, `tabs`, `tab`, `sidebar`) have `children`. Fields that no node references are appended at the end of the form.',\n });\n\nexport type LayoutNode = z.infer<typeof LayoutNode>;\n"],"mappings":";;;AAIA,IAAa,aAAa,EACrB,YAAY;CACT,MAAM,EACD,OAAO,CAAC,CACR,IAAI,CAAC,CAAC,CACN,KAAK,EAAE,aAAa,wDAAwD,CAAC;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,aAAa,kCAAkC,CAAC;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,aAAa,+BAA+B,CAAC;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS;CACjC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,aAAa,8BAA8B,CAAC;CAC/E,WAAW,EACN,OAAO,CAAC,CACR,SAAS,CAAC,CACV,KAAK,EAAE,aAAa,iDAAiD,CAAC;CAC3E,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS;CAClD,OAAO,EACF,OAAO,CAAC,CACR,IAAI,CAAC,CACL,IAAI,CAAC,CAAC,CACN,IAAI,EAAE,CAAC,CACP,SAAS,CAAC,CACV,KAAK,EAAE,aAAa,6CAA6C,CAAC;CACvE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS;CAClC,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS;CAChC,aAAa,UAAU,SAAS;CAEhC,IAAI,WAAyD;EACzD,OAAO,EAAE,MAAM,UAAU,CAAC,CAAC,SAAS;CACxC;AACJ,CAAC,CAAC,CACD,KAAK,EACF,aACI,kLACR,CAAC"}
1
+ {"version":3,"file":"layout.js","names":[],"sources":["../../src/schemas/layout.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { Condition } from './common';\n\nexport const LayoutNode = z\n .looseObject({\n type: z\n .string()\n .min(1)\n .meta({ description: 'A built-in node type, or a type provided by a plugin.' }),\n name: z.string().min(1).optional().meta({ description: '`field`: the name of the field.' }),\n label: z\n .string()\n .optional()\n .meta({ description: '`section`, `tab`, `sidebar`: the title.' }),\n description: z.string().optional(),\n text: z.string().optional().meta({ description: '`text`: a static paragraph.' }),\n component: z\n .string()\n .optional()\n .meta({ description: '`component`: a component provided by a plugin.' }),\n panel: z.string().min(1).optional().meta({\n description:\n '`sidebar`: the panel it is, by name: a built-in panel (`save`, `errors`, `publication`, `actions`) or one provided by a plugin. Without its component, the node renders its children.',\n }),\n props: z.record(z.string(), z.unknown()).optional(),\n width: z\n .number()\n .int()\n .min(1)\n .max(12)\n .optional()\n .meta({ description: 'Width on a 12-column grid, inside a `row`.' }),\n collapsible: z.boolean().optional(),\n collapsed: z.boolean().optional(),\n visibleWhen: Condition.optional(),\n // The return type is written out so that declaration files keep the recursion.\n get children(): z.ZodOptional<z.ZodArray<typeof LayoutNode>> {\n return z.array(LayoutNode).optional();\n },\n })\n .meta({\n description:\n 'A node of a form layout. Containers (`row`, `column`, `section`, `tabs`, `tab`, `sidebar`) have `children`. Fields that no node references are appended at the end of the form.',\n });\n\nexport type LayoutNode = z.infer<typeof LayoutNode>;\n"],"mappings":";;;AAIA,IAAa,aAAa,EACrB,YAAY;CACT,MAAM,EACD,OAAO,CAAC,CACR,IAAI,CAAC,CAAC,CACN,KAAK,EAAE,aAAa,wDAAwD,CAAC;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,aAAa,kCAAkC,CAAC;CAC1F,OAAO,EACF,OAAO,CAAC,CACR,SAAS,CAAC,CACV,KAAK,EAAE,aAAa,0CAA0C,CAAC;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS;CACjC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,aAAa,8BAA8B,CAAC;CAC/E,WAAW,EACN,OAAO,CAAC,CACR,SAAS,CAAC,CACV,KAAK,EAAE,aAAa,iDAAiD,CAAC;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EACrC,aACI,wLACR,CAAC;CACD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS;CAClD,OAAO,EACF,OAAO,CAAC,CACR,IAAI,CAAC,CACL,IAAI,CAAC,CAAC,CACN,IAAI,EAAE,CAAC,CACP,SAAS,CAAC,CACV,KAAK,EAAE,aAAa,6CAA6C,CAAC;CACvE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS;CAClC,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS;CAChC,aAAa,UAAU,SAAS;CAEhC,IAAI,WAAyD;EACzD,OAAO,EAAE,MAAM,UAAU,CAAC,CAAC,SAAS;CACxC;AACJ,CAAC,CAAC,CACD,KAAK,EACF,aACI,kLACR,CAAC"}