@kardalum/plugin-sdk 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/admin-section-registry.d.ts +14 -5
  3. package/dist/admin-section-registry.js +14 -4
  4. package/dist/capabilities.js +0 -3
  5. package/dist/host-entry.d.ts +1 -1
  6. package/dist/host-entry.js +1 -1
  7. package/dist/index.d.ts +2 -2
  8. package/dist/index.js +8 -8
  9. package/dist/license-verdict-keys.d.ts +4 -3
  10. package/dist/license-verdict-keys.js +4 -7
  11. package/dist/manifest-entry.d.ts +2 -2
  12. package/dist/manifest-entry.js +1 -1
  13. package/dist/manifest-schema.d.ts +51 -62
  14. package/dist/manifest-schema.js +97 -249
  15. package/dist/manifest.d.ts +41 -73
  16. package/dist/manifest.js +13 -36
  17. package/dist/plugin-screen-context.d.ts +11 -1
  18. package/dist/richtext/block-panel.js +2 -2
  19. package/dist/richtext/insert-menu.js +1 -1
  20. package/dist/richtext/style-listbox.js +4 -4
  21. package/dist/tokens/tokens.css +1 -0
  22. package/dist/tokens/tokens.json +2 -1
  23. package/dist/type-equality.d.ts +2 -0
  24. package/dist/type-equality.js +1 -0
  25. package/dist/views/html-view.js +1 -1
  26. package/dist/views/rich-text-view.js +1 -1
  27. package/node_modules/@kardalum/api-schemas/dist/asset-api.schema.d.ts +90 -0
  28. package/node_modules/@kardalum/api-schemas/dist/asset-api.schema.js +32 -1
  29. package/node_modules/@kardalum/api-schemas/dist/asset.schema.d.ts +22 -1
  30. package/node_modules/@kardalum/api-schemas/dist/asset.schema.js +50 -15
  31. package/node_modules/@kardalum/api-schemas/dist/audit-api.schema.d.ts +204 -0
  32. package/node_modules/@kardalum/api-schemas/dist/audit-api.schema.js +134 -0
  33. package/node_modules/@kardalum/api-schemas/dist/content-api.schema.js +6 -5
  34. package/node_modules/@kardalum/api-schemas/dist/content-list.schema.d.ts +2 -2
  35. package/node_modules/@kardalum/api-schemas/dist/content-trash-api.schema.d.ts +4 -0
  36. package/node_modules/@kardalum/api-schemas/dist/content-trash-api.schema.js +3 -0
  37. package/node_modules/@kardalum/api-schemas/dist/content-trash.schema.js +2 -1
  38. package/node_modules/@kardalum/api-schemas/dist/core-actions.d.ts +41 -5
  39. package/node_modules/@kardalum/api-schemas/dist/core-actions.js +23 -9
  40. package/node_modules/@kardalum/api-schemas/dist/index.d.ts +36 -20
  41. package/node_modules/@kardalum/api-schemas/dist/index.js +21 -11
  42. package/node_modules/@kardalum/api-schemas/dist/install-warnings.schema.d.ts +4 -0
  43. package/node_modules/@kardalum/api-schemas/dist/install-warnings.schema.js +8 -0
  44. package/node_modules/@kardalum/api-schemas/dist/issue-list.d.ts +6 -0
  45. package/node_modules/@kardalum/api-schemas/dist/issue-list.js +6 -0
  46. package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.d.ts +101 -62
  47. package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.js +15 -4
  48. package/node_modules/@kardalum/api-schemas/dist/plugin-actions.schema.d.ts +6 -2
  49. package/node_modules/@kardalum/api-schemas/dist/plugin-actions.schema.js +8 -6
  50. package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.d.ts +1 -16
  51. package/node_modules/@kardalum/api-schemas/dist/plugin-docs.d.ts +3 -19
  52. package/node_modules/@kardalum/api-schemas/dist/plugin-docs.js +13 -15
  53. package/node_modules/@kardalum/api-schemas/dist/plugin-id-rules.d.ts +17 -7
  54. package/node_modules/@kardalum/api-schemas/dist/plugin-id-rules.js +18 -8
  55. package/node_modules/@kardalum/api-schemas/dist/plugin-install-record.schema.d.ts +1 -1
  56. package/node_modules/@kardalum/api-schemas/dist/plugin-install.d.ts +97 -85
  57. package/node_modules/@kardalum/api-schemas/dist/plugin-install.js +35 -68
  58. package/node_modules/@kardalum/api-schemas/dist/plugin-labels.d.ts +60 -0
  59. package/node_modules/@kardalum/api-schemas/dist/plugin-labels.js +116 -0
  60. package/node_modules/@kardalum/api-schemas/dist/plugin-locales.d.ts +9 -2
  61. package/node_modules/@kardalum/api-schemas/dist/plugin-locales.js +22 -7
  62. package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.d.ts +13 -6
  63. package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.js +7 -1
  64. package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.d.ts +4 -3
  65. package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.js +1 -1
  66. package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.d.ts +14 -0
  67. package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.js +37 -1
  68. package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-fields.d.ts +64 -0
  69. package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-fields.js +134 -0
  70. package/node_modules/@kardalum/api-schemas/dist/plugin-registry-api.schema.d.ts +2 -0
  71. package/node_modules/@kardalum/api-schemas/dist/plugin-registry-api.schema.js +4 -0
  72. package/node_modules/@kardalum/api-schemas/dist/plugin-template-payload.d.ts +74 -0
  73. package/node_modules/@kardalum/api-schemas/dist/plugin-template-payload.js +132 -0
  74. package/node_modules/@kardalum/api-schemas/dist/plugin-vocabulary.d.ts +13 -0
  75. package/node_modules/@kardalum/api-schemas/dist/plugin-vocabulary.js +15 -0
  76. package/node_modules/@kardalum/api-schemas/dist/public-api.schema.js +12 -3
  77. package/node_modules/@kardalum/api-schemas/dist/role.schema.d.ts +11 -0
  78. package/node_modules/@kardalum/api-schemas/dist/role.schema.js +7 -0
  79. package/node_modules/@kardalum/api-schemas/dist/sample-content.schema.d.ts +11 -2
  80. package/node_modules/@kardalum/api-schemas/dist/sample-content.schema.js +21 -3
  81. package/node_modules/@kardalum/api-schemas/dist/sandbox-attach.schema.d.ts +126 -0
  82. package/node_modules/@kardalum/api-schemas/dist/sandbox-attach.schema.js +70 -0
  83. package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.d.ts +6 -6
  84. package/node_modules/@kardalum/api-schemas/dist/sites.schema.d.ts +44 -25
  85. package/node_modules/@kardalum/api-schemas/dist/sites.schema.js +187 -48
  86. package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.d.ts +15 -3
  87. package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.js +14 -0
  88. package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.d.ts +1 -1
  89. package/node_modules/@kardalum/api-schemas/dist/strict-url.d.ts +12 -0
  90. package/node_modules/@kardalum/api-schemas/dist/strict-url.js +31 -0
  91. package/node_modules/@kardalum/api-schemas/dist/template-api.schema.d.ts +105 -1
  92. package/node_modules/@kardalum/api-schemas/dist/template-api.schema.js +43 -3
  93. package/node_modules/@kardalum/api-schemas/dist/template.schema.d.ts +30 -2
  94. package/node_modules/@kardalum/api-schemas/dist/template.schema.js +19 -5
  95. package/node_modules/@kardalum/api-schemas/dist/trash-cursor.schema.d.ts +4 -0
  96. package/node_modules/@kardalum/api-schemas/dist/trash-cursor.schema.js +29 -0
  97. package/node_modules/@kardalum/api-schemas/dist/user-api.schema.d.ts +4 -0
  98. package/node_modules/@kardalum/api-schemas/dist/user-api.schema.js +3 -0
  99. package/node_modules/@kardalum/api-schemas/dist/whoami-api.schema.d.ts +19 -0
  100. package/node_modules/@kardalum/api-schemas/dist/whoami-api.schema.js +22 -0
  101. package/node_modules/@kardalum/api-schemas/package.json +2 -2
  102. package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.d.ts +1 -0
  103. package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.js +2 -0
  104. package/node_modules/@kardalum/design-tokens/dist/tokens.css +1 -0
  105. package/node_modules/@kardalum/design-tokens/dist/tokens.js +3 -0
  106. package/node_modules/@kardalum/design-tokens/dist/tokens.json +2 -1
  107. package/node_modules/@kardalum/design-tokens/dist/types.d.ts +1 -0
  108. package/node_modules/@kardalum/plugin-package/README.md +4 -1
  109. package/node_modules/@kardalum/plugin-package/dist/build-reference.d.ts +6 -21
  110. package/node_modules/@kardalum/plugin-package/dist/build-reference.js +13 -8
  111. package/node_modules/@kardalum/plugin-package/dist/capabilities.d.ts +4 -4
  112. package/node_modules/@kardalum/plugin-package/dist/capabilities.js +9 -14
  113. package/node_modules/@kardalum/plugin-package/dist/client-bundle.d.ts +4 -0
  114. package/node_modules/@kardalum/plugin-package/dist/client-bundle.js +25 -0
  115. package/node_modules/@kardalum/plugin-package/dist/delivery/archive-names.d.ts +25 -0
  116. package/node_modules/@kardalum/plugin-package/dist/delivery/archive-names.js +203 -0
  117. package/node_modules/@kardalum/plugin-package/dist/delivery/bundle.d.ts +3 -0
  118. package/node_modules/@kardalum/plugin-package/dist/delivery/bundle.js +73 -0
  119. package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.d.ts +5 -0
  120. package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.js +60 -0
  121. package/node_modules/@kardalum/plugin-package/dist/delivery/icon-names.generated.d.ts +1 -0
  122. package/node_modules/@kardalum/plugin-package/dist/delivery/icon-names.generated.js +2052 -0
  123. package/node_modules/@kardalum/plugin-package/dist/delivery/icons.d.ts +2 -0
  124. package/node_modules/@kardalum/plugin-package/dist/delivery/icons.js +51 -0
  125. package/node_modules/@kardalum/plugin-package/dist/delivery/index.d.ts +8 -0
  126. package/node_modules/@kardalum/plugin-package/dist/delivery/index.js +7 -0
  127. package/node_modules/@kardalum/plugin-package/dist/delivery/label-languages.d.ts +17 -0
  128. package/node_modules/@kardalum/plugin-package/dist/delivery/label-languages.js +119 -0
  129. package/node_modules/@kardalum/plugin-package/dist/delivery/limits.d.ts +14 -0
  130. package/node_modules/@kardalum/plugin-package/dist/delivery/limits.js +21 -0
  131. package/node_modules/@kardalum/plugin-package/dist/delivery/locales.d.ts +5 -0
  132. package/node_modules/@kardalum/plugin-package/dist/delivery/locales.js +148 -0
  133. package/node_modules/@kardalum/plugin-package/dist/delivery/package-files.d.ts +5 -0
  134. package/node_modules/@kardalum/plugin-package/dist/delivery/package-files.js +76 -0
  135. package/node_modules/@kardalum/plugin-package/dist/delivery/registry.d.ts +22 -0
  136. package/node_modules/@kardalum/plugin-package/dist/delivery/registry.js +133 -0
  137. package/node_modules/@kardalum/plugin-package/dist/delivery/sample-content.d.ts +3 -0
  138. package/node_modules/@kardalum/plugin-package/dist/delivery/sample-content.js +90 -0
  139. package/node_modules/@kardalum/plugin-package/dist/delivery/support.d.ts +24 -0
  140. package/node_modules/@kardalum/plugin-package/dist/delivery/support.js +55 -0
  141. package/node_modules/@kardalum/plugin-package/dist/delivery/templates.d.ts +6 -0
  142. package/node_modules/@kardalum/plugin-package/dist/delivery/templates.js +158 -0
  143. package/node_modules/@kardalum/plugin-package/dist/delivery/types.d.ts +53 -0
  144. package/node_modules/@kardalum/plugin-package/dist/delivery/types.js +1 -0
  145. package/node_modules/@kardalum/plugin-package/dist/docs-contract.d.ts +3 -2
  146. package/node_modules/@kardalum/plugin-package/dist/docs-contract.js +4 -2
  147. package/node_modules/@kardalum/plugin-package/dist/extract.d.ts +92 -3
  148. package/node_modules/@kardalum/plugin-package/dist/extract.js +251 -41
  149. package/node_modules/@kardalum/plugin-package/dist/index.d.ts +9 -2
  150. package/node_modules/@kardalum/plugin-package/dist/index.js +7 -2
  151. package/node_modules/@kardalum/plugin-package/dist/manifest-entry.d.ts +5 -0
  152. package/node_modules/@kardalum/plugin-package/dist/manifest-entry.js +20 -0
  153. package/node_modules/@kardalum/plugin-package/dist/reference-entry.d.ts +1 -0
  154. package/node_modules/@kardalum/plugin-package/dist/reference-entry.js +1 -0
  155. package/node_modules/@kardalum/plugin-package/dist/sample-content.d.ts +21 -3
  156. package/node_modules/@kardalum/plugin-package/dist/sample-content.js +37 -9
  157. package/node_modules/@kardalum/plugin-package/dist/shipped-files.d.ts +39 -0
  158. package/node_modules/@kardalum/plugin-package/dist/shipped-files.js +133 -0
  159. package/node_modules/@kardalum/plugin-package/dist/shipped-locales.d.ts +7 -0
  160. package/node_modules/@kardalum/plugin-package/dist/shipped-locales.js +27 -0
  161. package/node_modules/@kardalum/plugin-package/package.json +4 -2
  162. package/node_modules/@kardalum/ui/dist/components/dropdown-menu.js +2 -2
  163. package/node_modules/@kardalum/ui/package.json +1 -1
  164. package/package.json +6 -6
@@ -27,11 +27,15 @@ export declare const MarketplaceListingVersionSchema: z.ZodObject<{
27
27
  }, z.core.$strip>>;
28
28
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
29
29
  id: z.ZodString;
30
- label: z.ZodString;
30
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
31
+ en: z.ZodString;
32
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
31
33
  }, z.core.$strip>>>;
32
34
  roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
33
35
  id: z.ZodString;
34
- label: z.ZodString;
36
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
37
+ en: z.ZodString;
38
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
35
39
  actions: z.ZodArray<z.ZodString>;
36
40
  }, z.core.$strip>>>;
37
41
  license: z.ZodString;
@@ -64,11 +68,15 @@ export declare const MarketplaceListingSchema: z.ZodObject<{
64
68
  }, z.core.$strip>>;
65
69
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
66
70
  id: z.ZodString;
67
- label: z.ZodString;
71
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
72
+ en: z.ZodString;
73
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
68
74
  }, z.core.$strip>>>;
69
75
  roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
70
76
  id: z.ZodString;
71
- label: z.ZodString;
77
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
78
+ en: z.ZodString;
79
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
72
80
  actions: z.ZodArray<z.ZodString>;
73
81
  }, z.core.$strip>>>;
74
82
  license: z.ZodString;
@@ -119,11 +127,15 @@ export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
119
127
  }, z.core.$strip>>;
120
128
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
121
129
  id: z.ZodString;
122
- label: z.ZodString;
130
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
131
+ en: z.ZodString;
132
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
123
133
  }, z.core.$strip>>>;
124
134
  roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
125
135
  id: z.ZodString;
126
- label: z.ZodString;
136
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
137
+ en: z.ZodString;
138
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
127
139
  actions: z.ZodArray<z.ZodString>;
128
140
  }, z.core.$strip>>>;
129
141
  license: z.ZodString;
@@ -152,17 +164,21 @@ export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
152
164
  installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
153
165
  consent: z.ZodArray<z.ZodObject<{
154
166
  id: z.ZodString;
155
- details: z.ZodArray<z.ZodString>;
167
+ details: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
168
+ en: z.ZodString;
169
+ }, z.core.$catchall<z.ZodString>>, unknown>]>>;
156
170
  }, z.core.$strip>>;
157
171
  sampleContent: z.ZodNullable<z.ZodObject<{
158
172
  default: z.ZodLiteral<true>;
159
173
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
160
174
  en: z.ZodString;
161
- }, z.core.$catchall<z.ZodString>>>>;
175
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
162
176
  }, z.core.$strip>>;
163
177
  roles: z.ZodArray<z.ZodObject<{
164
178
  id: z.ZodString;
165
- label: z.ZodString;
179
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
180
+ en: z.ZodString;
181
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
166
182
  actions: z.ZodArray<z.ZodString>;
167
183
  default: z.ZodLiteral<false>;
168
184
  }, z.core.$strip>>;
@@ -170,59 +186,59 @@ export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
170
186
  id: z.ZodString;
171
187
  label: z.ZodPreprocess<z.ZodObject<{
172
188
  en: z.ZodString;
173
- }, z.core.$catchall<z.ZodString>>>;
189
+ }, z.core.$catchall<z.ZodString>>, unknown>;
174
190
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
175
191
  en: z.ZodString;
176
- }, z.core.$catchall<z.ZodString>>>>;
192
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
177
193
  options: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
178
194
  kind: z.ZodLiteral<"boolean">;
179
195
  default: z.ZodBoolean;
180
196
  id: z.ZodString;
181
197
  label: z.ZodPreprocess<z.ZodObject<{
182
198
  en: z.ZodString;
183
- }, z.core.$catchall<z.ZodString>>>;
199
+ }, z.core.$catchall<z.ZodString>>, unknown>;
184
200
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
185
201
  en: z.ZodString;
186
- }, z.core.$catchall<z.ZodString>>>>;
202
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
187
203
  }, z.core.$strict>, z.ZodObject<{
188
204
  kind: z.ZodLiteral<"select">;
189
205
  choices: z.ZodArray<z.ZodObject<{
190
206
  id: z.ZodString;
191
207
  label: z.ZodPreprocess<z.ZodObject<{
192
208
  en: z.ZodString;
193
- }, z.core.$catchall<z.ZodString>>>;
209
+ }, z.core.$catchall<z.ZodString>>, unknown>;
194
210
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
195
211
  en: z.ZodString;
196
- }, z.core.$catchall<z.ZodString>>>>;
212
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
197
213
  }, z.core.$strict>>;
198
214
  default: z.ZodOptional<z.ZodString>;
199
215
  required: z.ZodOptional<z.ZodBoolean>;
200
216
  id: z.ZodString;
201
217
  label: z.ZodPreprocess<z.ZodObject<{
202
218
  en: z.ZodString;
203
- }, z.core.$catchall<z.ZodString>>>;
219
+ }, z.core.$catchall<z.ZodString>>, unknown>;
204
220
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
205
221
  en: z.ZodString;
206
- }, z.core.$catchall<z.ZodString>>>>;
222
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
207
223
  }, z.core.$strict>, z.ZodObject<{
208
224
  kind: z.ZodLiteral<"multiSelect">;
209
225
  choices: z.ZodArray<z.ZodObject<{
210
226
  id: z.ZodString;
211
227
  label: z.ZodPreprocess<z.ZodObject<{
212
228
  en: z.ZodString;
213
- }, z.core.$catchall<z.ZodString>>>;
229
+ }, z.core.$catchall<z.ZodString>>, unknown>;
214
230
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
215
231
  en: z.ZodString;
216
- }, z.core.$catchall<z.ZodString>>>>;
232
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
217
233
  }, z.core.$strict>>;
218
234
  default: z.ZodArray<z.ZodString>;
219
235
  id: z.ZodString;
220
236
  label: z.ZodPreprocess<z.ZodObject<{
221
237
  en: z.ZodString;
222
- }, z.core.$catchall<z.ZodString>>>;
238
+ }, z.core.$catchall<z.ZodString>>, unknown>;
223
239
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
224
240
  en: z.ZodString;
225
- }, z.core.$catchall<z.ZodString>>>>;
241
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
226
242
  }, z.core.$strict>], "kind">>;
227
243
  }, z.core.$strict>>;
228
244
  }, z.core.$strip>>>;
@@ -256,11 +272,15 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
256
272
  }, z.core.$strip>>;
257
273
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
258
274
  id: z.ZodString;
259
- label: z.ZodString;
275
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
276
+ en: z.ZodString;
277
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
260
278
  }, z.core.$strip>>>;
261
279
  roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
262
280
  id: z.ZodString;
263
- label: z.ZodString;
281
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
282
+ en: z.ZodString;
283
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
264
284
  actions: z.ZodArray<z.ZodString>;
265
285
  }, z.core.$strip>>>;
266
286
  license: z.ZodString;
@@ -289,17 +309,21 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
289
309
  installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
290
310
  consent: z.ZodArray<z.ZodObject<{
291
311
  id: z.ZodString;
292
- details: z.ZodArray<z.ZodString>;
312
+ details: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
313
+ en: z.ZodString;
314
+ }, z.core.$catchall<z.ZodString>>, unknown>]>>;
293
315
  }, z.core.$strip>>;
294
316
  sampleContent: z.ZodNullable<z.ZodObject<{
295
317
  default: z.ZodLiteral<true>;
296
318
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
297
319
  en: z.ZodString;
298
- }, z.core.$catchall<z.ZodString>>>>;
320
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
299
321
  }, z.core.$strip>>;
300
322
  roles: z.ZodArray<z.ZodObject<{
301
323
  id: z.ZodString;
302
- label: z.ZodString;
324
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
325
+ en: z.ZodString;
326
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
303
327
  actions: z.ZodArray<z.ZodString>;
304
328
  default: z.ZodLiteral<false>;
305
329
  }, z.core.$strip>>;
@@ -307,59 +331,59 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
307
331
  id: z.ZodString;
308
332
  label: z.ZodPreprocess<z.ZodObject<{
309
333
  en: z.ZodString;
310
- }, z.core.$catchall<z.ZodString>>>;
334
+ }, z.core.$catchall<z.ZodString>>, unknown>;
311
335
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
312
336
  en: z.ZodString;
313
- }, z.core.$catchall<z.ZodString>>>>;
337
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
314
338
  options: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
315
339
  kind: z.ZodLiteral<"boolean">;
316
340
  default: z.ZodBoolean;
317
341
  id: z.ZodString;
318
342
  label: z.ZodPreprocess<z.ZodObject<{
319
343
  en: z.ZodString;
320
- }, z.core.$catchall<z.ZodString>>>;
344
+ }, z.core.$catchall<z.ZodString>>, unknown>;
321
345
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
322
346
  en: z.ZodString;
323
- }, z.core.$catchall<z.ZodString>>>>;
347
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
324
348
  }, z.core.$strict>, z.ZodObject<{
325
349
  kind: z.ZodLiteral<"select">;
326
350
  choices: z.ZodArray<z.ZodObject<{
327
351
  id: z.ZodString;
328
352
  label: z.ZodPreprocess<z.ZodObject<{
329
353
  en: z.ZodString;
330
- }, z.core.$catchall<z.ZodString>>>;
354
+ }, z.core.$catchall<z.ZodString>>, unknown>;
331
355
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
332
356
  en: z.ZodString;
333
- }, z.core.$catchall<z.ZodString>>>>;
357
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
334
358
  }, z.core.$strict>>;
335
359
  default: z.ZodOptional<z.ZodString>;
336
360
  required: z.ZodOptional<z.ZodBoolean>;
337
361
  id: z.ZodString;
338
362
  label: z.ZodPreprocess<z.ZodObject<{
339
363
  en: z.ZodString;
340
- }, z.core.$catchall<z.ZodString>>>;
364
+ }, z.core.$catchall<z.ZodString>>, unknown>;
341
365
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
342
366
  en: z.ZodString;
343
- }, z.core.$catchall<z.ZodString>>>>;
367
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
344
368
  }, z.core.$strict>, z.ZodObject<{
345
369
  kind: z.ZodLiteral<"multiSelect">;
346
370
  choices: z.ZodArray<z.ZodObject<{
347
371
  id: z.ZodString;
348
372
  label: z.ZodPreprocess<z.ZodObject<{
349
373
  en: z.ZodString;
350
- }, z.core.$catchall<z.ZodString>>>;
374
+ }, z.core.$catchall<z.ZodString>>, unknown>;
351
375
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
352
376
  en: z.ZodString;
353
- }, z.core.$catchall<z.ZodString>>>>;
377
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
354
378
  }, z.core.$strict>>;
355
379
  default: z.ZodArray<z.ZodString>;
356
380
  id: z.ZodString;
357
381
  label: z.ZodPreprocess<z.ZodObject<{
358
382
  en: z.ZodString;
359
- }, z.core.$catchall<z.ZodString>>>;
383
+ }, z.core.$catchall<z.ZodString>>, unknown>;
360
384
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
361
385
  en: z.ZodString;
362
- }, z.core.$catchall<z.ZodString>>>>;
386
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
363
387
  }, z.core.$strict>], "kind">>;
364
388
  }, z.core.$strict>>;
365
389
  }, z.core.$strip>>>;
@@ -380,11 +404,15 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
380
404
  }, z.core.$strip>>;
381
405
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
382
406
  id: z.ZodString;
383
- label: z.ZodString;
407
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
408
+ en: z.ZodString;
409
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
384
410
  }, z.core.$strip>>>;
385
411
  roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
386
412
  id: z.ZodString;
387
- label: z.ZodString;
413
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
414
+ en: z.ZodString;
415
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
388
416
  actions: z.ZodArray<z.ZodString>;
389
417
  }, z.core.$strip>>>;
390
418
  license: z.ZodString;
@@ -413,17 +441,21 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
413
441
  installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
414
442
  consent: z.ZodArray<z.ZodObject<{
415
443
  id: z.ZodString;
416
- details: z.ZodArray<z.ZodString>;
444
+ details: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
445
+ en: z.ZodString;
446
+ }, z.core.$catchall<z.ZodString>>, unknown>]>>;
417
447
  }, z.core.$strip>>;
418
448
  sampleContent: z.ZodNullable<z.ZodObject<{
419
449
  default: z.ZodLiteral<true>;
420
450
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
421
451
  en: z.ZodString;
422
- }, z.core.$catchall<z.ZodString>>>>;
452
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
423
453
  }, z.core.$strip>>;
424
454
  roles: z.ZodArray<z.ZodObject<{
425
455
  id: z.ZodString;
426
- label: z.ZodString;
456
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
457
+ en: z.ZodString;
458
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
427
459
  actions: z.ZodArray<z.ZodString>;
428
460
  default: z.ZodLiteral<false>;
429
461
  }, z.core.$strip>>;
@@ -431,59 +463,59 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
431
463
  id: z.ZodString;
432
464
  label: z.ZodPreprocess<z.ZodObject<{
433
465
  en: z.ZodString;
434
- }, z.core.$catchall<z.ZodString>>>;
466
+ }, z.core.$catchall<z.ZodString>>, unknown>;
435
467
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
436
468
  en: z.ZodString;
437
- }, z.core.$catchall<z.ZodString>>>>;
469
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
438
470
  options: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
439
471
  kind: z.ZodLiteral<"boolean">;
440
472
  default: z.ZodBoolean;
441
473
  id: z.ZodString;
442
474
  label: z.ZodPreprocess<z.ZodObject<{
443
475
  en: z.ZodString;
444
- }, z.core.$catchall<z.ZodString>>>;
476
+ }, z.core.$catchall<z.ZodString>>, unknown>;
445
477
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
446
478
  en: z.ZodString;
447
- }, z.core.$catchall<z.ZodString>>>>;
479
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
448
480
  }, z.core.$strict>, z.ZodObject<{
449
481
  kind: z.ZodLiteral<"select">;
450
482
  choices: z.ZodArray<z.ZodObject<{
451
483
  id: z.ZodString;
452
484
  label: z.ZodPreprocess<z.ZodObject<{
453
485
  en: z.ZodString;
454
- }, z.core.$catchall<z.ZodString>>>;
486
+ }, z.core.$catchall<z.ZodString>>, unknown>;
455
487
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
456
488
  en: z.ZodString;
457
- }, z.core.$catchall<z.ZodString>>>>;
489
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
458
490
  }, z.core.$strict>>;
459
491
  default: z.ZodOptional<z.ZodString>;
460
492
  required: z.ZodOptional<z.ZodBoolean>;
461
493
  id: z.ZodString;
462
494
  label: z.ZodPreprocess<z.ZodObject<{
463
495
  en: z.ZodString;
464
- }, z.core.$catchall<z.ZodString>>>;
496
+ }, z.core.$catchall<z.ZodString>>, unknown>;
465
497
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
466
498
  en: z.ZodString;
467
- }, z.core.$catchall<z.ZodString>>>>;
499
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
468
500
  }, z.core.$strict>, z.ZodObject<{
469
501
  kind: z.ZodLiteral<"multiSelect">;
470
502
  choices: z.ZodArray<z.ZodObject<{
471
503
  id: z.ZodString;
472
504
  label: z.ZodPreprocess<z.ZodObject<{
473
505
  en: z.ZodString;
474
- }, z.core.$catchall<z.ZodString>>>;
506
+ }, z.core.$catchall<z.ZodString>>, unknown>;
475
507
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
476
508
  en: z.ZodString;
477
- }, z.core.$catchall<z.ZodString>>>>;
509
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
478
510
  }, z.core.$strict>>;
479
511
  default: z.ZodArray<z.ZodString>;
480
512
  id: z.ZodString;
481
513
  label: z.ZodPreprocess<z.ZodObject<{
482
514
  en: z.ZodString;
483
- }, z.core.$catchall<z.ZodString>>>;
515
+ }, z.core.$catchall<z.ZodString>>, unknown>;
484
516
  description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
485
517
  en: z.ZodString;
486
- }, z.core.$catchall<z.ZodString>>>>;
518
+ }, z.core.$catchall<z.ZodString>>, unknown>>;
487
519
  }, z.core.$strict>], "kind">>;
488
520
  }, z.core.$strict>>;
489
521
  }, z.core.$strip>>>;
@@ -493,7 +525,7 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
493
525
  }, z.core.$strip>;
494
526
  export type MarketplaceListingDetail = z.infer<typeof MarketplaceListingDetailSchema>;
495
527
  export declare const MarketplacePublicBaseSchema: z.ZodObject<{
496
- publicBaseUrl: z.ZodURL;
528
+ publicBaseUrl: z.ZodPipe<z.ZodString, z.ZodURL>;
497
529
  }, z.core.$strip>;
498
530
  export type MarketplacePublicBase = z.infer<typeof MarketplacePublicBaseSchema>;
499
531
  export declare const MarketplaceListQuerySchema: z.ZodObject<{
@@ -528,11 +560,15 @@ export declare const MarketplaceListResponseSchema: z.ZodObject<{
528
560
  }, z.core.$strip>>;
529
561
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
530
562
  id: z.ZodString;
531
- label: z.ZodString;
563
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
564
+ en: z.ZodString;
565
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
532
566
  }, z.core.$strip>>>;
533
567
  roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
534
568
  id: z.ZodString;
535
- label: z.ZodString;
569
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
570
+ en: z.ZodString;
571
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
536
572
  actions: z.ZodArray<z.ZodString>;
537
573
  }, z.core.$strip>>>;
538
574
  license: z.ZodString;
@@ -610,7 +646,7 @@ export declare const MarketplaceInstallBodySchema: z.ZodObject<{
610
646
  answers: z.ZodOptional<z.ZodObject<{
611
647
  sampleContent: z.ZodOptional<z.ZodBoolean>;
612
648
  roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
613
- options: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodArray<z.ZodString>]>>>>;
649
+ options: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodArray<z.ZodString>]>>, unknown>>;
614
650
  }, z.core.$strict>>;
615
651
  }, z.core.$strict>;
616
652
  export declare const MarketplaceInstallMemberSchema: z.ZodObject<{
@@ -658,21 +694,24 @@ export declare const MarketplaceInstallResponseSchema: z.ZodObject<{
658
694
  roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
659
695
  id: z.ZodString;
660
696
  outcome: z.ZodEnum<{
697
+ failed: "failed";
661
698
  created: "created";
662
699
  "already-exists": "already-exists";
663
- failed: "failed";
664
700
  }>;
665
701
  }, z.core.$strip>>>;
702
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
666
703
  }, z.core.$strip>;
667
704
  export type MarketplaceInstallResponse = z.infer<typeof MarketplaceInstallResponseSchema>;
668
705
  /** The 409 a marketplace install or update answers. `reason` is present
669
706
  * only for "license-not-recorded" (S284, D4): the plugin IS installed (or
670
707
  * updated), and only its licence row is another request's, so a client
671
- * refreshes its installed state rather than offering Install again. Every
672
- * other 409 carries `message` alone. */
708
+ * refreshes its installed state rather than offering Install again. That
709
+ * 409 after an update also carries the landing's `warnings` (S314), as the
710
+ * 201 would have. Every other 409 carries `message` alone. */
673
711
  export declare const MarketplaceInstallConflictSchema: z.ZodObject<{
674
712
  message: z.ZodString;
675
713
  reason: z.ZodOptional<z.ZodLiteral<"license-not-recorded">>;
714
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
676
715
  }, z.core.$strip>;
677
716
  export type MarketplaceInstallConflict = z.infer<typeof MarketplaceInstallConflictSchema>;
678
717
  export type MarketplaceListQuery = z.infer<typeof MarketplaceListQuerySchema>;
@@ -4,6 +4,8 @@ import { MANIFEST_ID_SEGMENT_MAX, PLUGIN_ID_REGEX, isPluginManifestId } from "./
4
4
  import { SampleContentOutcomeSchema } from "./sample-content-outcome.schema.js";
5
5
  import { InstallAnswersSchema, InstallInterfaceWireSchema } from "./plugin-install.js";
6
6
  import { InstallRoleOutcomeSchema } from "./plugin-install-record.schema.js";
7
+ import { InstallWarningsSchema } from "./install-warnings.schema.js";
8
+ import { strictUrl } from "./strict-url.js";
7
9
  // S268 Task 5: one derived capability, the wire form of the SDK's
8
10
  // `Capability` (packages/plugin-sdk/src/capabilities.ts, which the
9
11
  // marketplace computes at ingest). Deliberately NOT imported from there:
@@ -141,9 +143,12 @@ export const MarketplaceListingDetailSchema = MarketplaceListingSchema.extend({
141
143
  // cannot (the demo's server calls a loopback on purpose), so the proxy hands
142
144
  // the admin this value as `marketplaceBaseUrl` for covers, buy links and
143
145
  // downloads, and keeps its configured URL for its own requests. http and
144
- // https only, because the admin puts it straight into src and href.
146
+ // https only, because the admin puts it straight into src and href. S314e
147
+ // (spec C6): the strict URL helper refuses a control character on the raw
148
+ // string, since zod's URL check strips a tab or a line break first; a value
149
+ // with a trailing newline or tab was accepted before and is refused now.
145
150
  export const MarketplacePublicBaseSchema = z.object({
146
- publicBaseUrl: z.url({ protocol: /^https?$/ }),
151
+ publicBaseUrl: strictUrl({ protocol: /^https?$/ }),
147
152
  });
148
153
  export const MarketplaceListQuerySchema = z.object({
149
154
  q: z.string().optional(),
@@ -257,13 +262,19 @@ export const MarketplaceInstallResponseSchema = z.object({
257
262
  // S293: what the install did with each offered role its answers named;
258
263
  // absent when they named none.
259
264
  roles: z.array(InstallRoleOutcomeSchema).optional(),
265
+ // S314 (D4, W7): on an update, one sentence per template or asset the
266
+ // update did not apply as shipped, or removed. Absent on a fresh install
267
+ // and when there is nothing to say.
268
+ warnings: InstallWarningsSchema.optional(),
260
269
  });
261
270
  /** The 409 a marketplace install or update answers. `reason` is present
262
271
  * only for "license-not-recorded" (S284, D4): the plugin IS installed (or
263
272
  * updated), and only its licence row is another request's, so a client
264
- * refreshes its installed state rather than offering Install again. Every
265
- * other 409 carries `message` alone. */
273
+ * refreshes its installed state rather than offering Install again. That
274
+ * 409 after an update also carries the landing's `warnings` (S314), as the
275
+ * 201 would have. Every other 409 carries `message` alone. */
266
276
  export const MarketplaceInstallConflictSchema = z.object({
267
277
  message: z.string(),
268
278
  reason: z.literal("license-not-recorded").optional(),
279
+ warnings: InstallWarningsSchema.optional(),
269
280
  });
@@ -1,7 +1,9 @@
1
1
  import { z } from "zod";
2
2
  export declare const PluginActionDeclarationSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
- label: z.ZodString;
4
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
5
+ en: z.ZodString;
6
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
5
7
  }, z.core.$strip>;
6
8
  export type PluginActionDeclaration = z.infer<typeof PluginActionDeclarationSchema>;
7
9
  /** A role a plugin offers. Never applied unasked: the operator accepts it
@@ -9,7 +11,9 @@ export type PluginActionDeclaration = z.infer<typeof PluginActionDeclarationSche
9
11
  * result is an ordinary editable role. */
10
12
  export declare const PluginRoleOfferSchema: z.ZodObject<{
11
13
  id: z.ZodString;
12
- label: z.ZodString;
14
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
15
+ en: z.ZodString;
16
+ }, z.core.$catchall<z.ZodString>>, unknown>]>;
13
17
  actions: z.ZodArray<z.ZodString>;
14
18
  }, z.core.$strip>;
15
19
  export type PluginRoleOffer = z.infer<typeof PluginRoleOfferSchema>;
@@ -1,24 +1,26 @@
1
1
  import { z } from "zod";
2
2
  import { ActionStringSchema } from "./action.schema.js";
3
+ import { PluginLabelSchema } from "./plugin-labels.js";
3
4
  import { RoleIdSchema } from "./role.schema.js";
4
5
  // S273: what a plugin declares about permissions. These two shapes are the
5
6
  // one definition the SDK manifest schema, the marketplace listing and the
6
7
  // installed-plugin list all reuse, so a label an author wrote reaches the
7
8
  // install screen and the Roles screen unchanged.
8
- /** A label is what the role editor and the install screen show; nothing
9
- * ever shows an operator a raw action string. Capped for MySQL's
10
- * VARCHAR(191) with room to spare. */
11
- const ActionLabelSchema = z.string().trim().min(1).max(120);
9
+ // A label is what the role editor and the install screen show; nothing ever
10
+ // shows an operator a raw action string. Since S311 it may be a language map
11
+ // (PluginLabelSchema, the shape a section's label has) or a plain string; the
12
+ // server stores one string per action and per role, the map resolved to the
13
+ // site's default language when the plugin is installed.
12
14
  export const PluginActionDeclarationSchema = z.object({
13
15
  id: ActionStringSchema,
14
- label: ActionLabelSchema,
16
+ label: PluginLabelSchema,
15
17
  });
16
18
  /** A role a plugin offers. Never applied unasked: the operator accepts it
17
19
  * on the install screen or later from the installed-plugins view, and the
18
20
  * result is an ordinary editable role. */
19
21
  export const PluginRoleOfferSchema = z.object({
20
22
  id: RoleIdSchema,
21
- label: ActionLabelSchema,
23
+ label: PluginLabelSchema,
22
24
  actions: z.array(ActionStringSchema).min(1),
23
25
  });
24
26
  export const OfferedRoleParamsSchema = z.object({
@@ -100,8 +100,8 @@ export declare const PluginDocsReferenceResponseSchema: z.ZodObject<{
100
100
  }, z.core.$strip>>;
101
101
  roles: z.ZodArray<z.ZodObject<{
102
102
  id: z.ZodString;
103
- label: z.ZodString;
104
103
  actions: z.ZodArray<z.ZodString>;
104
+ label: z.ZodString;
105
105
  }, z.core.$strip>>;
106
106
  apiRoutes: z.ZodArray<z.ZodObject<{
107
107
  method: z.ZodString;
@@ -135,11 +135,6 @@ export declare const PluginDocsReferenceResponseSchema: z.ZodObject<{
135
135
  kind: z.ZodString;
136
136
  documentType: z.ZodOptional<z.ZodString>;
137
137
  }, z.core.$strict>>;
138
- settingsPages: z.ZodArray<z.ZodObject<{
139
- id: z.ZodString;
140
- name: z.ZodString;
141
- action: z.ZodString;
142
- }, z.core.$strict>>;
143
138
  adminSections: z.ZodArray<z.ZodObject<{
144
139
  label: z.ZodRecord<z.ZodString, z.ZodString>;
145
140
  rail: z.ZodArray<z.ZodObject<{
@@ -161,16 +156,6 @@ export declare const PluginDocsReferenceResponseSchema: z.ZodObject<{
161
156
  id: z.ZodString;
162
157
  action: z.ZodString;
163
158
  }, z.core.$strict>>;
164
- editorToolbar: z.ZodArray<z.ZodObject<{
165
- label: z.ZodString;
166
- id: z.ZodString;
167
- action: z.ZodString;
168
- }, z.core.$strict>>;
169
- contentTreeActions: z.ZodArray<z.ZodObject<{
170
- label: z.ZodString;
171
- id: z.ZodString;
172
- action: z.ZodString;
173
- }, z.core.$strict>>;
174
159
  hooks: z.ZodArray<z.ZodString>;
175
160
  scheduledTasks: z.ZodArray<z.ZodObject<{
176
161
  id: z.ZodString;
@@ -32,9 +32,8 @@ export interface DocsFacts {
32
32
  hasDependencies: boolean;
33
33
  hasPrice: boolean;
34
34
  hasDocumentTypes: boolean;
35
- hasSettingsPages: boolean;
36
35
  }
37
- /** Reads the five facts from a live manifest or from manifest.json. The
36
+ /** Reads the four facts from a live manifest or from manifest.json. The
38
37
  * summary keeps each contribution list as a list of redacted entries,
39
38
  * reduces migrations to their ids, and says `paid: true` where the live
40
39
  * manifest has a price above 0: the amount itself never reaches
@@ -57,8 +56,8 @@ export declare const PluginReferenceSchema: z.ZodObject<{
57
56
  }, z.core.$strip>>;
58
57
  roles: z.ZodArray<z.ZodObject<{
59
58
  id: z.ZodString;
60
- label: z.ZodString;
61
59
  actions: z.ZodArray<z.ZodString>;
60
+ label: z.ZodString;
62
61
  }, z.core.$strip>>;
63
62
  apiRoutes: z.ZodArray<z.ZodObject<{
64
63
  method: z.ZodString;
@@ -92,11 +91,6 @@ export declare const PluginReferenceSchema: z.ZodObject<{
92
91
  kind: z.ZodString;
93
92
  documentType: z.ZodOptional<z.ZodString>;
94
93
  }, z.core.$strict>>;
95
- settingsPages: z.ZodArray<z.ZodObject<{
96
- id: z.ZodString;
97
- name: z.ZodString;
98
- action: z.ZodString;
99
- }, z.core.$strict>>;
100
94
  adminSections: z.ZodArray<z.ZodObject<{
101
95
  label: z.ZodRecord<z.ZodString, z.ZodString>;
102
96
  rail: z.ZodArray<z.ZodObject<{
@@ -118,16 +112,6 @@ export declare const PluginReferenceSchema: z.ZodObject<{
118
112
  id: z.ZodString;
119
113
  action: z.ZodString;
120
114
  }, z.core.$strict>>;
121
- editorToolbar: z.ZodArray<z.ZodObject<{
122
- label: z.ZodString;
123
- id: z.ZodString;
124
- action: z.ZodString;
125
- }, z.core.$strict>>;
126
- contentTreeActions: z.ZodArray<z.ZodObject<{
127
- label: z.ZodString;
128
- id: z.ZodString;
129
- action: z.ZodString;
130
- }, z.core.$strict>>;
131
115
  hooks: z.ZodArray<z.ZodString>;
132
116
  scheduledTasks: z.ZodArray<z.ZodObject<{
133
117
  id: z.ZodString;
@@ -157,7 +141,7 @@ export declare const PluginReferenceSchema: z.ZodObject<{
157
141
  }, z.core.$strict>;
158
142
  export type PluginReference = z.infer<typeof PluginReferenceSchema>;
159
143
  export declare function emptyPluginReference(): PluginReference;
160
- export declare const REFERENCE_PAGE_SLUGS: readonly ["permissions", "api-routes", "capabilities", "content", "settings", "admin-surfaces", "lifecycle"];
144
+ export declare const REFERENCE_PAGE_SLUGS: readonly ["permissions", "api-routes", "capabilities", "content", "admin-surfaces", "lifecycle"];
161
145
  export type ReferencePageSlug = (typeof REFERENCE_PAGE_SLUGS)[number];
162
146
  /** Which lists each page's tables are drawn from. Every list belongs to
163
147
  * exactly one page (pinned by plugin-docs.test.ts), so a list added to the