@takeshape/schema 11.144.1 → 11.154.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (537) hide show
  1. package/examples/latest/all-fields-shapes-inline.json +1 -1
  2. package/examples/latest/all-fields-shapes.json +1 -1
  3. package/examples/latest/betzino.json +1 -1
  4. package/examples/latest/blog-schema.json +1 -1
  5. package/examples/latest/brewery-schema.json +1 -1
  6. package/examples/latest/chat-agent-schema.json +1 -1
  7. package/examples/latest/clear-cache-schema.json +1 -1
  8. package/examples/latest/complex-project-schema.json +1 -1
  9. package/examples/latest/complex-schema.json +1 -1
  10. package/examples/latest/edit-schema.json +1 -1
  11. package/examples/latest/frank-and-fred-schema.json +1 -1
  12. package/examples/latest/generate-agent-schema.json +1 -1
  13. package/examples/latest/klirr-schema.json +1 -1
  14. package/examples/latest/layers/rick-and-morty-layer.json +1 -1
  15. package/examples/latest/layers/shopify-layer-2023-01.json +1 -1
  16. package/examples/latest/layers/shopify-storefront-2023-04.json +1 -1
  17. package/examples/latest/layers/wordpress-2024-01.json +1 -1
  18. package/examples/latest/massive-schema.json +1 -1
  19. package/examples/latest/mill-components-schema.json +1 -1
  20. package/examples/latest/nested-shape-arrays.json +1 -1
  21. package/examples/latest/one-earth.json +1 -1
  22. package/examples/latest/pet-oneof-array.json +1 -1
  23. package/examples/latest/post-schema.json +1 -1
  24. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  25. package/examples/latest/rag-example.json +1 -1
  26. package/examples/latest/real-world-schema.json +1 -1
  27. package/examples/latest/recursive-repeater-schema.json +1 -1
  28. package/examples/latest/recursive-schema.json +1 -1
  29. package/examples/latest/rick-and-morty-ast.json +1 -1
  30. package/examples/latest/rick-and-morty-graphql.json +1 -1
  31. package/examples/latest/rick-and-morty-rest.json +1 -1
  32. package/examples/latest/rick-and-morty-user-schema.json +1 -1
  33. package/examples/latest/rick-and-morty-with-indexing.json +1 -1
  34. package/examples/latest/schema-where-filter.json +1 -1
  35. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  36. package/examples/latest/schema-with-rick-and-morty.json +1 -1
  37. package/examples/latest/shape-books-v3_2_0.json +1 -1
  38. package/examples/latest/shape-books.json +1 -1
  39. package/examples/latest/shape-editor-schema-edited.json +1 -1
  40. package/examples/latest/shape-editor-schema-initial.json +1 -1
  41. package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
  42. package/examples/latest/shopify-lookbook.json +1 -1
  43. package/examples/latest/shopify-product-2022-07.json +1 -1
  44. package/examples/latest/shopify-product-2023-04.json +1 -1
  45. package/examples/latest/shopify-store-with-widget.json +1 -1
  46. package/examples/latest/stripe-product-runtime-schema.json +1 -1
  47. package/examples/latest/stripe-starter-resolved.json +1 -1
  48. package/examples/latest/user-schema-no-required.json +1 -1
  49. package/examples/latest/user-schema-with-defaults.json +1 -1
  50. package/examples/latest/valvoline-ai-demo.json +1461 -1421
  51. package/examples/latest/vector-search-schema.json +1 -1
  52. package/package.json +10 -9
  53. package/dist/agents.d.ts +0 -62
  54. package/dist/agents.js +0 -338
  55. package/dist/api-version.d.ts +0 -5
  56. package/dist/api-version.js +0 -17
  57. package/dist/auth-schemas.d.ts +0 -128
  58. package/dist/auth-schemas.js +0 -7
  59. package/dist/auth-utils.d.ts +0 -5
  60. package/dist/auth-utils.js +0 -6
  61. package/dist/builtin-schema.d.ts +0 -18
  62. package/dist/builtin-schema.js +0 -683
  63. package/dist/constants.d.ts +0 -1
  64. package/dist/constants.js +0 -1
  65. package/dist/content-schema-transform.d.ts +0 -35
  66. package/dist/content-schema-transform.js +0 -162
  67. package/dist/create-input-schema.d.ts +0 -9
  68. package/dist/create-input-schema.js +0 -68
  69. package/dist/enum.d.ts +0 -2
  70. package/dist/enum.js +0 -9
  71. package/dist/flatten-templates.d.ts +0 -2
  72. package/dist/flatten-templates.js +0 -20
  73. package/dist/get-is-leaf.d.ts +0 -3
  74. package/dist/get-is-leaf.js +0 -56
  75. package/dist/index.d.ts +0 -62
  76. package/dist/index.js +0 -59
  77. package/dist/interfaces.d.ts +0 -14
  78. package/dist/interfaces.js +0 -86
  79. package/dist/layers/layers.d.ts +0 -26
  80. package/dist/layers/layers.js +0 -301
  81. package/dist/layers/refs.d.ts +0 -102
  82. package/dist/layers/refs.js +0 -220
  83. package/dist/layers/type-utils.d.ts +0 -59
  84. package/dist/layers/type-utils.js +0 -118
  85. package/dist/layers/visitor.d.ts +0 -5
  86. package/dist/layers/visitor.js +0 -38
  87. package/dist/migration/index.d.ts +0 -73
  88. package/dist/migration/index.js +0 -103
  89. package/dist/migration/to/v3.0.0.d.ts +0 -4
  90. package/dist/migration/to/v3.0.0.js +0 -212
  91. package/dist/migration/to/v3.1.0.d.ts +0 -4
  92. package/dist/migration/to/v3.1.0.js +0 -194
  93. package/dist/migration/to/v3.10.0.d.ts +0 -4
  94. package/dist/migration/to/v3.10.0.js +0 -67
  95. package/dist/migration/to/v3.11.0.d.ts +0 -4
  96. package/dist/migration/to/v3.11.0.js +0 -85
  97. package/dist/migration/to/v3.12.3.d.ts +0 -4
  98. package/dist/migration/to/v3.12.3.js +0 -87
  99. package/dist/migration/to/v3.13.0.d.ts +0 -4
  100. package/dist/migration/to/v3.13.0.js +0 -17
  101. package/dist/migration/to/v3.17.0.d.ts +0 -4
  102. package/dist/migration/to/v3.17.0.js +0 -22
  103. package/dist/migration/to/v3.18.0.d.ts +0 -4
  104. package/dist/migration/to/v3.18.0.js +0 -64
  105. package/dist/migration/to/v3.18.1.d.ts +0 -4
  106. package/dist/migration/to/v3.18.1.js +0 -12
  107. package/dist/migration/to/v3.18.2.d.ts +0 -4
  108. package/dist/migration/to/v3.18.2.js +0 -19
  109. package/dist/migration/to/v3.20.0.d.ts +0 -4
  110. package/dist/migration/to/v3.20.0.js +0 -24
  111. package/dist/migration/to/v3.22.0.d.ts +0 -4
  112. package/dist/migration/to/v3.22.0.js +0 -25
  113. package/dist/migration/to/v3.24.0.d.ts +0 -4
  114. package/dist/migration/to/v3.24.0.js +0 -11
  115. package/dist/migration/to/v3.25.0.d.ts +0 -4
  116. package/dist/migration/to/v3.25.0.js +0 -11
  117. package/dist/migration/to/v3.3.0.d.ts +0 -4
  118. package/dist/migration/to/v3.3.0.js +0 -13
  119. package/dist/migration/to/v3.31.0.d.ts +0 -4
  120. package/dist/migration/to/v3.31.0.js +0 -38
  121. package/dist/migration/to/v3.32.0.d.ts +0 -4
  122. package/dist/migration/to/v3.32.0.js +0 -59
  123. package/dist/migration/to/v3.34.0.d.ts +0 -6
  124. package/dist/migration/to/v3.34.0.js +0 -111
  125. package/dist/migration/to/v3.36.0.d.ts +0 -4
  126. package/dist/migration/to/v3.36.0.js +0 -22
  127. package/dist/migration/to/v3.39.0.d.ts +0 -4
  128. package/dist/migration/to/v3.39.0.js +0 -45
  129. package/dist/migration/to/v3.40.0.d.ts +0 -4
  130. package/dist/migration/to/v3.40.0.js +0 -26
  131. package/dist/migration/to/v3.46.0.d.ts +0 -4
  132. package/dist/migration/to/v3.46.0.js +0 -35
  133. package/dist/migration/to/v3.57.0.d.ts +0 -4
  134. package/dist/migration/to/v3.57.0.js +0 -18
  135. package/dist/migration/to/v3.9.0.d.ts +0 -4
  136. package/dist/migration/to/v3.9.0.js +0 -79
  137. package/dist/migration/types.d.ts +0 -26
  138. package/dist/migration/types.js +0 -3
  139. package/dist/migration/utils.d.ts +0 -2
  140. package/dist/migration/utils.js +0 -6
  141. package/dist/mocks.d.ts +0 -14
  142. package/dist/mocks.js +0 -58
  143. package/dist/models/agent.d.ts +0 -3
  144. package/dist/models/agent.js +0 -29
  145. package/dist/models/project-schema.d.ts +0 -18
  146. package/dist/models/project-schema.js +0 -119
  147. package/dist/models/query.d.ts +0 -3
  148. package/dist/models/query.js +0 -38
  149. package/dist/models/runtime-schema.d.ts +0 -9
  150. package/dist/models/runtime-schema.js +0 -20
  151. package/dist/models/shape.d.ts +0 -4
  152. package/dist/models/shape.js +0 -36
  153. package/dist/models/types.d.ts +0 -36
  154. package/dist/models/types.js +0 -1
  155. package/dist/models/user-schema.d.ts +0 -7
  156. package/dist/models/user-schema.js +0 -9
  157. package/dist/patterns.d.ts +0 -12
  158. package/dist/patterns.js +0 -1
  159. package/dist/project-schema/index.d.ts +0 -211
  160. package/dist/project-schema/index.js +0 -83
  161. package/dist/project-schema/latest.d.ts +0 -2619
  162. package/dist/project-schema/latest.js +0 -7
  163. package/dist/project-schema/migrate.d.ts +0 -4
  164. package/dist/project-schema/migrate.js +0 -218
  165. package/dist/project-schema/v1.0.0.d.ts +0 -299
  166. package/dist/project-schema/v1.0.0.js +0 -7
  167. package/dist/project-schema/v3.0.0.d.ts +0 -478
  168. package/dist/project-schema/v3.0.0.js +0 -7
  169. package/dist/project-schema/v3.1.0.d.ts +0 -621
  170. package/dist/project-schema/v3.1.0.js +0 -7
  171. package/dist/project-schema/v3.10.0.d.ts +0 -1201
  172. package/dist/project-schema/v3.10.0.js +0 -7
  173. package/dist/project-schema/v3.11.0.d.ts +0 -1210
  174. package/dist/project-schema/v3.11.0.js +0 -7
  175. package/dist/project-schema/v3.12.0.d.ts +0 -1214
  176. package/dist/project-schema/v3.12.0.js +0 -7
  177. package/dist/project-schema/v3.12.1.d.ts +0 -1273
  178. package/dist/project-schema/v3.12.1.js +0 -7
  179. package/dist/project-schema/v3.12.2.d.ts +0 -1283
  180. package/dist/project-schema/v3.12.2.js +0 -7
  181. package/dist/project-schema/v3.12.3.d.ts +0 -1306
  182. package/dist/project-schema/v3.12.3.js +0 -7
  183. package/dist/project-schema/v3.13.0.d.ts +0 -1317
  184. package/dist/project-schema/v3.13.0.js +0 -7
  185. package/dist/project-schema/v3.13.1.d.ts +0 -1412
  186. package/dist/project-schema/v3.13.1.js +0 -7
  187. package/dist/project-schema/v3.14.0.d.ts +0 -1436
  188. package/dist/project-schema/v3.14.0.js +0 -7
  189. package/dist/project-schema/v3.15.0.d.ts +0 -1458
  190. package/dist/project-schema/v3.15.0.js +0 -7
  191. package/dist/project-schema/v3.16.0.d.ts +0 -1470
  192. package/dist/project-schema/v3.16.0.js +0 -7
  193. package/dist/project-schema/v3.17.0.d.ts +0 -1467
  194. package/dist/project-schema/v3.17.0.js +0 -7
  195. package/dist/project-schema/v3.17.1.d.ts +0 -1468
  196. package/dist/project-schema/v3.17.1.js +0 -7
  197. package/dist/project-schema/v3.18.0.d.ts +0 -1333
  198. package/dist/project-schema/v3.18.0.js +0 -7
  199. package/dist/project-schema/v3.18.1.d.ts +0 -1332
  200. package/dist/project-schema/v3.18.1.js +0 -7
  201. package/dist/project-schema/v3.18.2.d.ts +0 -1332
  202. package/dist/project-schema/v3.18.2.js +0 -7
  203. package/dist/project-schema/v3.19.0.d.ts +0 -1336
  204. package/dist/project-schema/v3.19.0.js +0 -7
  205. package/dist/project-schema/v3.2.0.d.ts +0 -632
  206. package/dist/project-schema/v3.2.0.js +0 -7
  207. package/dist/project-schema/v3.20.0.d.ts +0 -1336
  208. package/dist/project-schema/v3.20.0.js +0 -7
  209. package/dist/project-schema/v3.21.0.d.ts +0 -1338
  210. package/dist/project-schema/v3.21.0.js +0 -7
  211. package/dist/project-schema/v3.22.0.d.ts +0 -1344
  212. package/dist/project-schema/v3.22.0.js +0 -7
  213. package/dist/project-schema/v3.23.0.d.ts +0 -1376
  214. package/dist/project-schema/v3.23.0.js +0 -7
  215. package/dist/project-schema/v3.24.0.d.ts +0 -1364
  216. package/dist/project-schema/v3.24.0.js +0 -7
  217. package/dist/project-schema/v3.25.0.d.ts +0 -1363
  218. package/dist/project-schema/v3.25.0.js +0 -7
  219. package/dist/project-schema/v3.26.0.d.ts +0 -1388
  220. package/dist/project-schema/v3.26.0.js +0 -7
  221. package/dist/project-schema/v3.27.0.d.ts +0 -1397
  222. package/dist/project-schema/v3.27.0.js +0 -7
  223. package/dist/project-schema/v3.28.0.d.ts +0 -1416
  224. package/dist/project-schema/v3.28.0.js +0 -7
  225. package/dist/project-schema/v3.29.0.d.ts +0 -1423
  226. package/dist/project-schema/v3.29.0.js +0 -7
  227. package/dist/project-schema/v3.3.0.d.ts +0 -632
  228. package/dist/project-schema/v3.3.0.js +0 -7
  229. package/dist/project-schema/v3.30.0.d.ts +0 -1416
  230. package/dist/project-schema/v3.30.0.js +0 -7
  231. package/dist/project-schema/v3.31.0.d.ts +0 -1448
  232. package/dist/project-schema/v3.31.0.js +0 -7
  233. package/dist/project-schema/v3.32.0.d.ts +0 -1439
  234. package/dist/project-schema/v3.32.0.js +0 -7
  235. package/dist/project-schema/v3.33.0.d.ts +0 -1445
  236. package/dist/project-schema/v3.33.0.js +0 -7
  237. package/dist/project-schema/v3.34.0.d.ts +0 -1445
  238. package/dist/project-schema/v3.34.0.js +0 -7
  239. package/dist/project-schema/v3.35.0.d.ts +0 -1464
  240. package/dist/project-schema/v3.35.0.js +0 -7
  241. package/dist/project-schema/v3.36.0.d.ts +0 -1470
  242. package/dist/project-schema/v3.36.0.js +0 -7
  243. package/dist/project-schema/v3.37.0.d.ts +0 -1522
  244. package/dist/project-schema/v3.37.0.js +0 -7
  245. package/dist/project-schema/v3.38.0.d.ts +0 -1522
  246. package/dist/project-schema/v3.38.0.js +0 -7
  247. package/dist/project-schema/v3.39.0.d.ts +0 -1529
  248. package/dist/project-schema/v3.39.0.js +0 -7
  249. package/dist/project-schema/v3.4.0.d.ts +0 -624
  250. package/dist/project-schema/v3.4.0.js +0 -7
  251. package/dist/project-schema/v3.40.0.d.ts +0 -1530
  252. package/dist/project-schema/v3.40.0.js +0 -7
  253. package/dist/project-schema/v3.41.0.d.ts +0 -1530
  254. package/dist/project-schema/v3.41.0.js +0 -7
  255. package/dist/project-schema/v3.42.0.d.ts +0 -1534
  256. package/dist/project-schema/v3.42.0.js +0 -7
  257. package/dist/project-schema/v3.43.0.d.ts +0 -1536
  258. package/dist/project-schema/v3.43.0.js +0 -7
  259. package/dist/project-schema/v3.44.0.d.ts +0 -1621
  260. package/dist/project-schema/v3.44.0.js +0 -7
  261. package/dist/project-schema/v3.45.0.d.ts +0 -1650
  262. package/dist/project-schema/v3.45.0.js +0 -7
  263. package/dist/project-schema/v3.46.0.d.ts +0 -1703
  264. package/dist/project-schema/v3.46.0.js +0 -7
  265. package/dist/project-schema/v3.47.0.d.ts +0 -1736
  266. package/dist/project-schema/v3.47.0.js +0 -7
  267. package/dist/project-schema/v3.48.0.d.ts +0 -2208
  268. package/dist/project-schema/v3.48.0.js +0 -7
  269. package/dist/project-schema/v3.49.0.d.ts +0 -2217
  270. package/dist/project-schema/v3.49.0.js +0 -7
  271. package/dist/project-schema/v3.5.0.d.ts +0 -649
  272. package/dist/project-schema/v3.5.0.js +0 -7
  273. package/dist/project-schema/v3.5.1.d.ts +0 -649
  274. package/dist/project-schema/v3.5.1.js +0 -7
  275. package/dist/project-schema/v3.50.0.d.ts +0 -2269
  276. package/dist/project-schema/v3.50.0.js +0 -7
  277. package/dist/project-schema/v3.51.0.d.ts +0 -2269
  278. package/dist/project-schema/v3.51.0.js +0 -7
  279. package/dist/project-schema/v3.52.0.d.ts +0 -2269
  280. package/dist/project-schema/v3.52.0.js +0 -7
  281. package/dist/project-schema/v3.53.0.d.ts +0 -2350
  282. package/dist/project-schema/v3.53.0.js +0 -7
  283. package/dist/project-schema/v3.54.0.d.ts +0 -2369
  284. package/dist/project-schema/v3.54.0.js +0 -7
  285. package/dist/project-schema/v3.55.0.d.ts +0 -2369
  286. package/dist/project-schema/v3.55.0.js +0 -7
  287. package/dist/project-schema/v3.56.0.d.ts +0 -2405
  288. package/dist/project-schema/v3.56.0.js +0 -7
  289. package/dist/project-schema/v3.57.0.d.ts +0 -2601
  290. package/dist/project-schema/v3.57.0.js +0 -7
  291. package/dist/project-schema/v3.58.0.d.ts +0 -2601
  292. package/dist/project-schema/v3.58.0.js +0 -7
  293. package/dist/project-schema/v3.59.0.d.ts +0 -2619
  294. package/dist/project-schema/v3.59.0.js +0 -7
  295. package/dist/project-schema/v3.6.0.d.ts +0 -658
  296. package/dist/project-schema/v3.6.0.js +0 -7
  297. package/dist/project-schema/v3.7.0.d.ts +0 -961
  298. package/dist/project-schema/v3.7.0.js +0 -7
  299. package/dist/project-schema/v3.8.0.d.ts +0 -979
  300. package/dist/project-schema/v3.8.0.js +0 -7
  301. package/dist/project-schema/v3.9.0.d.ts +0 -1178
  302. package/dist/project-schema/v3.9.0.js +0 -7
  303. package/dist/project-schema/v4.0.0.d.ts +0 -1328
  304. package/dist/project-schema/v4.0.0.js +0 -7
  305. package/dist/refs.d.ts +0 -218
  306. package/dist/refs.js +0 -616
  307. package/dist/relationships.d.ts +0 -40
  308. package/dist/relationships.js +0 -302
  309. package/dist/resolvers/ai/abort-agent-message-args.d.ts +0 -16
  310. package/dist/resolvers/ai/abort-agent-message-args.js +0 -13
  311. package/dist/resolvers/ai/abort-agent-message-response.d.ts +0 -39
  312. package/dist/resolvers/ai/abort-agent-message-response.js +0 -19
  313. package/dist/resolvers/ai/agent-chat-args.d.ts +0 -17
  314. package/dist/resolvers/ai/agent-chat-args.js +0 -14
  315. package/dist/resolvers/ai/agent-chat-payload.d.ts +0 -35
  316. package/dist/resolvers/ai/agent-chat-payload.js +0 -26
  317. package/dist/resolvers/ai/agent-chat-response.d.ts +0 -289
  318. package/dist/resolvers/ai/agent-chat-response.js +0 -21
  319. package/dist/resolvers/ai/agent-generate-args.d.ts +0 -17
  320. package/dist/resolvers/ai/agent-generate-args.js +0 -14
  321. package/dist/resolvers/ai/agent-message-input.d.ts +0 -73
  322. package/dist/resolvers/ai/agent-message-input.js +0 -39
  323. package/dist/resolvers/ai/agent-message-output.d.ts +0 -169
  324. package/dist/resolvers/ai/agent-message-output.js +0 -77
  325. package/dist/resolvers/ai/agent-message-payload.d.ts +0 -507
  326. package/dist/resolvers/ai/agent-message-payload.js +0 -156
  327. package/dist/resolvers/ai/agent-run-mode.d.ts +0 -7
  328. package/dist/resolvers/ai/agent-run-mode.js +0 -9
  329. package/dist/resolvers/ai/agent-session-payload.d.ts +0 -515
  330. package/dist/resolvers/ai/agent-session-payload.js +0 -175
  331. package/dist/resolvers/ai/create-agent-session-response.d.ts +0 -199
  332. package/dist/resolvers/ai/create-agent-session-response.js +0 -9
  333. package/dist/resolvers/ai/embedding-search.d.ts +0 -54
  334. package/dist/resolvers/ai/embedding-search.js +0 -46
  335. package/dist/resolvers/ai/get-agent-message-args.d.ts +0 -16
  336. package/dist/resolvers/ai/get-agent-message-args.js +0 -13
  337. package/dist/resolvers/ai/get-agent-message-response.d.ts +0 -805
  338. package/dist/resolvers/ai/get-agent-message-response.js +0 -63
  339. package/dist/resolvers/ai/inspect-agent-args.d.ts +0 -16
  340. package/dist/resolvers/ai/inspect-agent-args.js +0 -13
  341. package/dist/resolvers/ai/inspect-agent-response.d.ts +0 -504
  342. package/dist/resolvers/ai/inspect-agent-response.js +0 -48
  343. package/dist/resolvers/ai/send-agent-feedback-args.d.ts +0 -52
  344. package/dist/resolvers/ai/send-agent-feedback-args.js +0 -16
  345. package/dist/resolvers/ai/send-agent-message-args.d.ts +0 -48
  346. package/dist/resolvers/ai/send-agent-message-args.js +0 -36
  347. package/dist/resolvers/ai/send-agent-message-response.d.ts +0 -353
  348. package/dist/resolvers/ai/send-agent-message-response.js +0 -51
  349. package/dist/resolvers/ai/types.d.ts +0 -6
  350. package/dist/resolvers/ai/types.js +0 -1
  351. package/dist/resolvers/takeshape/assets/asset-image-meta.d.ts +0 -79
  352. package/dist/resolvers/takeshape/assets/asset-image-meta.js +0 -98
  353. package/dist/resolvers/takeshape/assets/asset-image-params.d.ts +0 -901
  354. package/dist/resolvers/takeshape/assets/asset-image-params.js +0 -726
  355. package/dist/resolvers/takeshape/assets/asset-image.d.ts +0 -17
  356. package/dist/resolvers/takeshape/assets/asset-image.js +0 -15
  357. package/dist/resolvers/takeshape/assets/asset.d.ts +0 -125
  358. package/dist/resolvers/takeshape/assets/asset.js +0 -107
  359. package/dist/resolvers/takeshape/assets/constants.d.ts +0 -11
  360. package/dist/resolvers/takeshape/assets/constants.js +0 -11
  361. package/dist/resolvers/takeshape/builtins/constants.d.ts +0 -1
  362. package/dist/resolvers/takeshape/builtins/constants.js +0 -1
  363. package/dist/runtime-schema.d.ts +0 -6
  364. package/dist/runtime-schema.js +0 -85
  365. package/dist/scalars.d.ts +0 -2
  366. package/dist/scalars.js +0 -4
  367. package/dist/schema-transform.d.ts +0 -19
  368. package/dist/schema-transform.js +0 -74
  369. package/dist/schema-util.d.ts +0 -266
  370. package/dist/schema-util.js +0 -1127
  371. package/dist/schemas/auth-schemas.json +0 -374
  372. package/dist/schemas/index.d.ts +0 -4
  373. package/dist/schemas/index.js +0 -170
  374. package/dist/schemas/project-schema/experimental-2025-07.json +0 -1297
  375. package/dist/schemas/project-schema/latest.d.ts +0 -180
  376. package/dist/schemas/project-schema/latest.js +0 -11
  377. package/dist/schemas/project-schema/latest.json +0 -4846
  378. package/dist/schemas/project-schema/meta-schema-v1.0.0.json +0 -193
  379. package/dist/schemas/project-schema/meta-schema-v3.0.0.json +0 -608
  380. package/dist/schemas/project-schema/meta-schema-v3.1.0.json +0 -608
  381. package/dist/schemas/project-schema/meta-schema-v3.2.0.json +0 -612
  382. package/dist/schemas/project-schema/meta-schema-v3.3.0.json +0 -612
  383. package/dist/schemas/project-schema/meta-schema-v3.4.0.json +0 -637
  384. package/dist/schemas/project-schema/meta-schema-v3.5.0.json +0 -626
  385. package/dist/schemas/project-schema/meta-schema-v3.5.1.json +0 -626
  386. package/dist/schemas/project-schema/meta-schema-v3.6.0.json +0 -629
  387. package/dist/schemas/project-schema/meta-schema-v3.7.0.json +0 -1137
  388. package/dist/schemas/project-schema/meta-schema-v3.8.0.json +0 -1137
  389. package/dist/schemas/project-schema/meta-schema-v3.9.0.json +0 -1477
  390. package/dist/schemas/project-schema/v1.0.0.json +0 -321
  391. package/dist/schemas/project-schema/v3.0.0.json +0 -414
  392. package/dist/schemas/project-schema/v3.1.0.json +0 -572
  393. package/dist/schemas/project-schema/v3.10.0.json +0 -2097
  394. package/dist/schemas/project-schema/v3.11.0.json +0 -2141
  395. package/dist/schemas/project-schema/v3.12.0.json +0 -2144
  396. package/dist/schemas/project-schema/v3.12.1.json +0 -2282
  397. package/dist/schemas/project-schema/v3.12.2.json +0 -2304
  398. package/dist/schemas/project-schema/v3.12.3.json +0 -2357
  399. package/dist/schemas/project-schema/v3.13.0.json +0 -2377
  400. package/dist/schemas/project-schema/v3.14.0.json +0 -2385
  401. package/dist/schemas/project-schema/v3.15.0.json +0 -2365
  402. package/dist/schemas/project-schema/v3.16.0.json +0 -2373
  403. package/dist/schemas/project-schema/v3.17.0.json +0 -2378
  404. package/dist/schemas/project-schema/v3.17.1.json +0 -2380
  405. package/dist/schemas/project-schema/v3.18.0.json +0 -2356
  406. package/dist/schemas/project-schema/v3.18.1.json +0 -2357
  407. package/dist/schemas/project-schema/v3.18.2.json +0 -2357
  408. package/dist/schemas/project-schema/v3.19.0.json +0 -2369
  409. package/dist/schemas/project-schema/v3.2.0.json +0 -580
  410. package/dist/schemas/project-schema/v3.20.0.json +0 -2369
  411. package/dist/schemas/project-schema/v3.21.0.json +0 -2376
  412. package/dist/schemas/project-schema/v3.22.0.json +0 -2381
  413. package/dist/schemas/project-schema/v3.23.0.json +0 -2456
  414. package/dist/schemas/project-schema/v3.24.0.json +0 -2556
  415. package/dist/schemas/project-schema/v3.25.0.json +0 -2552
  416. package/dist/schemas/project-schema/v3.26.0.json +0 -2599
  417. package/dist/schemas/project-schema/v3.27.0.json +0 -2611
  418. package/dist/schemas/project-schema/v3.28.0.json +0 -2656
  419. package/dist/schemas/project-schema/v3.29.0.json +0 -2670
  420. package/dist/schemas/project-schema/v3.3.0.json +0 -581
  421. package/dist/schemas/project-schema/v3.30.0.json +0 -2656
  422. package/dist/schemas/project-schema/v3.31.0.json +0 -2714
  423. package/dist/schemas/project-schema/v3.32.0.json +0 -2708
  424. package/dist/schemas/project-schema/v3.33.0.json +0 -2715
  425. package/dist/schemas/project-schema/v3.34.0.json +0 -2715
  426. package/dist/schemas/project-schema/v3.35.0.json +0 -2748
  427. package/dist/schemas/project-schema/v3.36.0.json +0 -2756
  428. package/dist/schemas/project-schema/v3.37.0.json +0 -2821
  429. package/dist/schemas/project-schema/v3.38.0.json +0 -2819
  430. package/dist/schemas/project-schema/v3.39.0.json +0 -2827
  431. package/dist/schemas/project-schema/v3.4.0.json +0 -571
  432. package/dist/schemas/project-schema/v3.40.0.json +0 -2830
  433. package/dist/schemas/project-schema/v3.41.0.json +0 -2830
  434. package/dist/schemas/project-schema/v3.42.0.json +0 -2835
  435. package/dist/schemas/project-schema/v3.43.0.json +0 -2841
  436. package/dist/schemas/project-schema/v3.44.0.json +0 -3013
  437. package/dist/schemas/project-schema/v3.45.0.json +0 -3064
  438. package/dist/schemas/project-schema/v3.46.0.json +0 -3136
  439. package/dist/schemas/project-schema/v3.47.0.json +0 -3189
  440. package/dist/schemas/project-schema/v3.48.0.json +0 -3196
  441. package/dist/schemas/project-schema/v3.49.0.json +0 -3239
  442. package/dist/schemas/project-schema/v3.5.0.json +0 -571
  443. package/dist/schemas/project-schema/v3.5.1.json +0 -571
  444. package/dist/schemas/project-schema/v3.50.0.json +0 -3320
  445. package/dist/schemas/project-schema/v3.51.0.json +0 -3326
  446. package/dist/schemas/project-schema/v3.52.0.json +0 -3326
  447. package/dist/schemas/project-schema/v3.53.0.json +0 -3476
  448. package/dist/schemas/project-schema/v3.54.0.json +0 -3512
  449. package/dist/schemas/project-schema/v3.55.0.json +0 -3515
  450. package/dist/schemas/project-schema/v3.56.0.json +0 -3530
  451. package/dist/schemas/project-schema/v3.57.0.json +0 -4815
  452. package/dist/schemas/project-schema/v3.58.0.json +0 -4815
  453. package/dist/schemas/project-schema/v3.59.0.json +0 -4846
  454. package/dist/schemas/project-schema/v3.6.0.json +0 -587
  455. package/dist/schemas/project-schema/v3.7.0.json +0 -587
  456. package/dist/schemas/project-schema/v3.8.0.json +0 -604
  457. package/dist/schemas/project-schema/v3.9.0.json +0 -604
  458. package/dist/schemas/project-schema/v4.0.0.json +0 -2316
  459. package/dist/schemas/project-schema.json +0 -214
  460. package/dist/service-dependencies.d.ts +0 -13
  461. package/dist/service-dependencies.js +0 -165
  462. package/dist/services/services.d.ts +0 -31
  463. package/dist/services/services.js +0 -145
  464. package/dist/services/types.d.ts +0 -11
  465. package/dist/services/types.js +0 -1
  466. package/dist/services/util.d.ts +0 -16
  467. package/dist/services/util.js +0 -36
  468. package/dist/shape-paths.d.ts +0 -7
  469. package/dist/shape-paths.js +0 -28
  470. package/dist/taxonomies.d.ts +0 -15
  471. package/dist/taxonomies.js +0 -24
  472. package/dist/template-shapes/index.d.ts +0 -7
  473. package/dist/template-shapes/index.js +0 -33
  474. package/dist/template-shapes/names.d.ts +0 -10
  475. package/dist/template-shapes/names.js +0 -21
  476. package/dist/template-shapes/templates.d.ts +0 -32
  477. package/dist/template-shapes/templates.js +0 -316
  478. package/dist/template-shapes/types.d.ts +0 -15
  479. package/dist/template-shapes/types.js +0 -7
  480. package/dist/template-shapes/where.d.ts +0 -37
  481. package/dist/template-shapes/where.js +0 -400
  482. package/dist/types/index.d.ts +0 -3
  483. package/dist/types/index.js +0 -2
  484. package/dist/types/transforms.d.ts +0 -15
  485. package/dist/types/transforms.js +0 -1
  486. package/dist/types/types.d.ts +0 -200
  487. package/dist/types/types.js +0 -10
  488. package/dist/types/utils.d.ts +0 -112
  489. package/dist/types/utils.js +0 -269
  490. package/dist/unions.d.ts +0 -14
  491. package/dist/unions.js +0 -77
  492. package/dist/util/ai-tools.d.ts +0 -2
  493. package/dist/util/ai-tools.js +0 -14
  494. package/dist/util/api-indexing.d.ts +0 -9
  495. package/dist/util/api-indexing.js +0 -57
  496. package/dist/util/coerce-value.d.ts +0 -9
  497. package/dist/util/coerce-value.js +0 -32
  498. package/dist/util/detect-cycles.d.ts +0 -7
  499. package/dist/util/detect-cycles.js +0 -45
  500. package/dist/util/expressions.d.ts +0 -34
  501. package/dist/util/expressions.js +0 -350
  502. package/dist/util/find-shape-at-path.d.ts +0 -21
  503. package/dist/util/find-shape-at-path.js +0 -53
  504. package/dist/util/form-config.d.ts +0 -11
  505. package/dist/util/form-config.js +0 -62
  506. package/dist/util/get-conflicting-properties.d.ts +0 -6
  507. package/dist/util/get-conflicting-properties.js +0 -55
  508. package/dist/util/get-return-shape.d.ts +0 -4
  509. package/dist/util/get-return-shape.js +0 -30
  510. package/dist/util/has-arg.d.ts +0 -6
  511. package/dist/util/has-arg.js +0 -25
  512. package/dist/util/is-asset-property.d.ts +0 -3
  513. package/dist/util/is-asset-property.js +0 -11
  514. package/dist/util/mcp.d.ts +0 -8
  515. package/dist/util/mcp.js +0 -21
  516. package/dist/util/merge.d.ts +0 -15
  517. package/dist/util/merge.js +0 -254
  518. package/dist/util/patch-schema.d.ts +0 -8
  519. package/dist/util/patch-schema.js +0 -51
  520. package/dist/util/query-field-path.d.ts +0 -9
  521. package/dist/util/query-field-path.js +0 -23
  522. package/dist/util/shapes.d.ts +0 -5
  523. package/dist/util/shapes.js +0 -22
  524. package/dist/validate/ai.d.ts +0 -6
  525. package/dist/validate/ai.js +0 -183
  526. package/dist/validate/errors.d.ts +0 -3
  527. package/dist/validate/errors.js +0 -20
  528. package/dist/validate/types.d.ts +0 -1
  529. package/dist/validate/types.js +0 -1
  530. package/dist/validate/util.d.ts +0 -3
  531. package/dist/validate/util.js +0 -28
  532. package/dist/validate/validate.d.ts +0 -80
  533. package/dist/validate/validate.js +0 -1058
  534. package/dist/versions.d.ts +0 -4
  535. package/dist/versions.js +0 -4
  536. package/dist/workflows.d.ts +0 -14
  537. package/dist/workflows.js +0 -66
@@ -1,901 +0,0 @@
1
- import type { FromSchema } from 'json-schema-to-ts';
2
- export declare const shapeName = "TSAssetImageParams";
3
- export declare const shapeId = "TSAssetImageParams";
4
- export declare const schema: {
5
- readonly type: "object";
6
- readonly properties: {
7
- readonly bri: {
8
- readonly type: "integer";
9
- readonly description: "Brightness";
10
- };
11
- readonly con: {
12
- readonly type: "integer";
13
- readonly description: "Contrast";
14
- };
15
- readonly exp: {
16
- readonly type: "integer";
17
- readonly description: "Exposure";
18
- };
19
- readonly gam: {
20
- readonly type: "number";
21
- readonly description: "Gamma";
22
- };
23
- readonly high: {
24
- readonly type: "integer";
25
- readonly description: "Highlights";
26
- };
27
- readonly hue: {
28
- readonly type: "integer";
29
- readonly description: "Hue";
30
- };
31
- readonly invert: {
32
- readonly type: "boolean";
33
- readonly description: "Invert";
34
- };
35
- readonly sat: {
36
- readonly type: "integer";
37
- readonly description: "Saturation";
38
- };
39
- readonly shad: {
40
- readonly type: "integer";
41
- readonly description: "Shadows";
42
- };
43
- readonly vib: {
44
- readonly type: "integer";
45
- readonly description: "Vibrance";
46
- };
47
- readonly sharp: {
48
- readonly type: "integer";
49
- readonly description: "Sharpen";
50
- };
51
- readonly usmrad: {
52
- readonly type: "integer";
53
- readonly description: "Unsharp Mask Radius";
54
- };
55
- readonly usm: {
56
- readonly type: "integer";
57
- readonly description: "Unsharp Mask";
58
- };
59
- readonly gifQ: {
60
- readonly type: "integer";
61
- readonly description: "Animated GIF Quality";
62
- };
63
- readonly loop: {
64
- readonly type: "integer";
65
- readonly description: "Animated Loop Count";
66
- };
67
- readonly interval: {
68
- readonly type: "integer";
69
- readonly description: "Frame Interval";
70
- };
71
- readonly frame: {
72
- readonly type: "string";
73
- readonly description: "Frame Selection";
74
- };
75
- readonly blend: {
76
- readonly type: "string";
77
- readonly title: "Blend image URL";
78
- };
79
- readonly blendMode: {
80
- readonly enum: ["color", "burn", "dodge", "darken", "difference", "exclusion", "hardlight", "hue", "lighten", "luminosity", "multiply", "overlay", "saturation", "screen", "softlight"];
81
- readonly title: "Blend mode";
82
- };
83
- readonly blendAlign: {
84
- readonly type: "string";
85
- readonly title: "Blend alignment";
86
- };
87
- readonly blendAlpha: {
88
- readonly type: "integer";
89
- readonly title: "Blend alpha";
90
- };
91
- readonly blendW: {
92
- readonly type: "integer";
93
- readonly title: "Blend width";
94
- };
95
- readonly blendH: {
96
- readonly type: "integer";
97
- readonly title: "Blend height";
98
- };
99
- readonly blendX: {
100
- readonly type: "integer";
101
- readonly title: "Blend x offset";
102
- };
103
- readonly blendY: {
104
- readonly type: "integer";
105
- readonly title: "Blend y offset";
106
- };
107
- readonly blendCrop: {
108
- readonly enum: ["top", "bottom", "left", "right", "faces", "entropy", "edges", "focalpoint"];
109
- readonly title: "Blend crop";
110
- };
111
- readonly blendFit: {
112
- readonly enum: ["clip", "crop", "scale"];
113
- readonly title: "Blend fit";
114
- };
115
- readonly blendPad: {
116
- readonly type: "integer";
117
- readonly title: "Blend padding";
118
- };
119
- readonly blendSize: {
120
- readonly enum: ["inherit"];
121
- readonly title: "Blend size";
122
- };
123
- readonly blendTile: {
124
- readonly enum: ["grid"];
125
- readonly title: "Blend tile";
126
- };
127
- readonly blendRot: {
128
- readonly type: "integer";
129
- readonly title: "Blend rotation";
130
- };
131
- readonly border: {
132
- readonly type: "string";
133
- readonly title: "Border";
134
- readonly description: "Draws a border around the image. The border overlaps the image rather than altering its size. The width and color must be specified as a comma-separated list. To round corners, use border-radius and border-radius-inner in addition to border.";
135
- };
136
- readonly borderBottom: {
137
- readonly type: "integer";
138
- readonly title: "Border Bottom";
139
- readonly description: "Sets the border size on the bottom side of the image.";
140
- };
141
- readonly borderLeft: {
142
- readonly type: "integer";
143
- readonly title: "Border Left";
144
- readonly description: "Sets the border size on the left side of the image.";
145
- };
146
- readonly borderRight: {
147
- readonly type: "integer";
148
- readonly title: "Border Right";
149
- readonly description: "Sets the border size on the right side of the image.";
150
- };
151
- readonly borderTop: {
152
- readonly type: "integer";
153
- readonly title: "Border Top";
154
- readonly description: "Sets the border size on the top side of the image.";
155
- };
156
- readonly borderRadius: {
157
- readonly type: "integer";
158
- readonly title: "Border Radius";
159
- readonly description: "Sets the outer radius of the border, applying to all corners of the image.";
160
- };
161
- readonly borderRadiusBottomLeft: {
162
- readonly type: "integer";
163
- readonly title: "Border Radius Bottom Left";
164
- readonly description: "Sets the outer radius of the bottom-left border, in pixels.";
165
- };
166
- readonly borderRadiusBottomRight: {
167
- readonly type: "integer";
168
- readonly title: "Border Radius Bottom Right";
169
- readonly description: "Sets the outer radius of the bottom-right border, in pixels.";
170
- };
171
- readonly borderRadiusInner: {
172
- readonly type: "integer";
173
- readonly title: "Border Radius Inner";
174
- readonly description: "Sets the inner radius of the border, applying to all corners.";
175
- };
176
- readonly borderRadiusInnerBottomLeft: {
177
- readonly type: "integer";
178
- readonly title: "Border Radius Inner Bottom Left";
179
- readonly description: "Sets the inner radius of the bottom-left border, in pixels.";
180
- };
181
- readonly borderRadiusInnerBottomRight: {
182
- readonly type: "integer";
183
- readonly title: "Border Radius Inner Bottom Right";
184
- readonly description: "Sets the inner radius of the bottom-right border, in pixels.";
185
- };
186
- readonly borderRadiusInnerTopLeft: {
187
- readonly type: "integer";
188
- readonly title: "Border Radius Inner Top Left";
189
- readonly description: "Sets the inner radius of the top-left border, in pixels.";
190
- };
191
- readonly borderRadiusInnerTopRight: {
192
- readonly type: "integer";
193
- readonly title: "Border Radius Inner Top Right";
194
- readonly description: "Sets the inner radius of the top-right border, in pixels.";
195
- };
196
- readonly borderRadiusTopLeft: {
197
- readonly type: "integer";
198
- readonly title: "Border Radius Top Left";
199
- readonly description: "Sets the outer radius of the top-left border, in pixels.";
200
- };
201
- readonly borderRadiusTopRight: {
202
- readonly type: "integer";
203
- readonly title: "Border Radius Top Right";
204
- readonly description: "Sets the outer radius of the top-right border, in pixels.";
205
- };
206
- readonly pad: {
207
- readonly type: "integer";
208
- readonly title: "Padding";
209
- readonly description: "Pads the image by the number of pixels specified. Must be a positive integer.";
210
- };
211
- readonly padBottom: {
212
- readonly type: "integer";
213
- readonly title: "Padding Bottom";
214
- readonly description: "Sets the padding on the bottom side of the image.";
215
- };
216
- readonly padLeft: {
217
- readonly type: "integer";
218
- readonly title: "Padding Left";
219
- readonly description: "Sets the padding on the left side of the image.";
220
- };
221
- readonly padRight: {
222
- readonly type: "integer";
223
- readonly title: "Padding Right";
224
- readonly description: "Sets the padding on the right side of the image.";
225
- };
226
- readonly padTop: {
227
- readonly type: "integer";
228
- readonly title: "Padding Top";
229
- readonly description: "Sets the padding on the top side of the image.";
230
- };
231
- readonly bg: {
232
- readonly type: "string";
233
- readonly title: "Background Color";
234
- readonly description: "Sets the background color for the padded area. When outputting image formats that do not support transparency (such as JPEG), set this value to a non-transparent color.";
235
- };
236
- readonly palette: {
237
- readonly enum: ["css", "json"];
238
- readonly title: "Color Palette Extraction";
239
- readonly description: "Extracts a palette of color values from an image and returns them in the specified format.";
240
- };
241
- readonly colors: {
242
- readonly type: "integer";
243
- readonly title: "Palette Color Count";
244
- readonly description: "Determines the size of the default palette returned by the palette parameter.";
245
- };
246
- readonly prefix: {
247
- readonly type: "string";
248
- readonly title: "CSS Prefix";
249
- readonly description: "Sets the prefix for the CSS classes when palette=css. Ignored if palette=json.";
250
- };
251
- readonly dpr: {
252
- readonly type: "number";
253
- readonly title: "Device Pixel Ratio";
254
- readonly description: "Controls the output density of your image, so you can serve images at the correct density for every user’s device from a single image.";
255
- };
256
- readonly expires: {
257
- readonly type: "integer";
258
- readonly title: "Expiration Timestamp";
259
- readonly description: "The expires parameter accepts a UNIX timestamp (expressed in absolute seconds) such as ?expires=1477789261, which translates to 10/30/2016 01:01:01 AM UTC. This value specifies an expiration date after which the image URL should no longer be served.";
260
- };
261
- readonly faceindex: {
262
- readonly type: "integer";
263
- readonly title: "Face Index";
264
- readonly description: "Selects a face on which to center an image when fit=facearea.";
265
- };
266
- readonly facepad: {
267
- readonly type: "number";
268
- readonly title: "Face Padding";
269
- readonly description: "Defines how much padding to allow for each face when fit=facearea. The value defines the padding ratio based on the pixel dimensions of the face.";
270
- };
271
- readonly faceBlur: {
272
- readonly type: "number";
273
- readonly title: "Face Blur";
274
- readonly description: "Blurs the detected faces in the image.";
275
- };
276
- readonly facePixel: {
277
- readonly type: "number";
278
- readonly title: "Face Pixelate";
279
- readonly description: "Pixelates the detected faces in the image.";
280
- };
281
- readonly faces: {
282
- readonly type: "integer";
283
- readonly title: "Faces";
284
- readonly description: "Returns the number of faces detected. Should be used with fm=json.";
285
- };
286
- readonly fill: {
287
- readonly enum: ["blur", "gen", "gradient", "solid"];
288
- readonly description: "Determines how the excess space in an image resized with fit=fill or fit=fillmax should be filled.";
289
- };
290
- readonly fillColor: {
291
- readonly type: "string";
292
- readonly description: "Specifies the solid color applied to the excess space when fill=solid. Accepts color keywords or 3, 4, 6, or 8-digit hexadecimal values (RGB, ARGB, RRGGBB, AARRGGBB). The 'A' in 4 or 8-digit hex represents alpha transparency. Default is transparent white (0FFF).";
293
- };
294
- readonly fillGenFallback: {
295
- readonly type: "boolean";
296
- readonly description: "Controls fallback behavior for generative fill (fill=gen). A value of 'true' means Imgix serves the original image if generative fill fails. A value of 'false' returns a 400 error. Defaults to 'true' when not specified.";
297
- };
298
- readonly fillGenNegPrompt: {
299
- readonly type: "string";
300
- readonly description: "Negative text input suggestion for generative fill. (Premium Feature)";
301
- };
302
- readonly fillGenPos: {
303
- readonly type: "string";
304
- readonly description: "Controls where the original image is positioned when using fit=fill&fill=gen. Accepts horizontal (left, middle, right) and vertical (top, center, bottom) options, comma-separated. Default is 'middle,center'. (Premium Feature)";
305
- };
306
- readonly fillGenPrompt: {
307
- readonly type: "string";
308
- readonly description: "Text input suggestion for generative fill. (Premium Feature)";
309
- };
310
- readonly fillGenSeed: {
311
- readonly type: "integer";
312
- readonly description: "Used to generate more predictable outputs for generative fill.";
313
- };
314
- readonly fillGradientCs: {
315
- readonly type: "string";
316
- readonly description: "Sets the color space for the fill gradient. Values typically include 'srgb', 'rgb', 'cmyk', 'p3', 'adobergb', 'prophoto', 'displayp3'.";
317
- };
318
- readonly fillGradientLinearDirection: {
319
- readonly type: "string";
320
- readonly description: "Sets the linear gradient color direction when fill-gradient-type=linear is used. Accepted values are 'top', 'bottom', 'right', and 'left'. Can be two comma-separated values. Defaults to 'bottom' when not specified.";
321
- };
322
- readonly fillGradientLinear: {
323
- readonly type: "string";
324
- readonly description: "Sets the linear gradient color when fill-gradient-type=linear is used. Accepts two comma-separated values expressed as either color keywords or 3- (RGB) or 6-digit (RRGGBB) hexadecimal color values. Defaults to image's color palette (vibrant dark for color1, vibrant light for color2) if not specified.";
325
- };
326
- readonly fillGradientRadial: {
327
- readonly type: "string";
328
- readonly description: "Sets the radial gradient color when fill-gradient-type=radial is used. Accepts two comma-separated values expressed as either color keywords or 3- (RGB) or 6-digit (RRGGBB) hexadecimal color values. Defaults to image's color palette (vibrant dark for color1, vibrant light for color2) if not specified.";
329
- };
330
- readonly fillGradientRadialRadius: {
331
- readonly type: "number";
332
- readonly description: "Sets the radius of the radial gradient when fill-gradient-type=radial is used. Can be expressed as a percentage (e.g., '50%') or pixels (e.g., '100').";
333
- };
334
- readonly fillGradientRadialX: {
335
- readonly type: "number";
336
- readonly description: "Sets the X-coordinate of the radial gradient's center when fill-gradient-type=radial is used. Can be expressed as a percentage or pixels.";
337
- };
338
- readonly fillGradientRadialY: {
339
- readonly type: "number";
340
- readonly description: "Sets the Y-coordinate of the radial gradient's center when fill-gradient-type=radial is used. Can be expressed as a percentage or pixels.";
341
- };
342
- readonly fillGradientType: {
343
- readonly enum: ["linear", "radial"];
344
- readonly description: "Sets the type of gradient used when fill=gradient. Accepted values are 'linear' and 'radial'.";
345
- };
346
- readonly gridColors: {
347
- readonly type: "string";
348
- readonly description: "Specifies the colors for the grid pattern when fill=grid. Accepts two comma-separated color values (keywords or hex codes).";
349
- };
350
- readonly gridSize: {
351
- readonly type: "number";
352
- readonly description: "Specifies the size of the grid cells in pixels when fill=grid.";
353
- };
354
- readonly transparency: {
355
- readonly type: "string";
356
- readonly description: "Controls the transparency of the fill. Can be a number (0-100) or 'alpha'. If 'alpha', it will use the alpha channel of the image. When outputting image formats that do not support transparency, set this value to a non-transparent color.";
357
- };
358
- readonly fpDebug: {
359
- readonly type: "boolean";
360
- readonly title: "Focal Point Debug";
361
- readonly description: "Focal Point Debug";
362
- };
363
- readonly fpX: {
364
- readonly type: "number";
365
- readonly title: "Focal Point X Position";
366
- readonly description: "Focal Point X Position";
367
- };
368
- readonly fpY: {
369
- readonly type: "number";
370
- readonly title: "Focal Point Y Position";
371
- readonly description: "Focal Point Y Position";
372
- };
373
- readonly fpZ: {
374
- readonly type: "number";
375
- readonly title: "Focal Point Zoom";
376
- readonly description: "Focal Point Zoom";
377
- };
378
- readonly fm: {
379
- readonly type: "string";
380
- readonly enum: ["avif", "gif", "jp2", "jpg", "json", "jxr", "pjpg", "mp4", "png", "png8", "png32", "webm", "webp", "blurhash"];
381
- readonly description: "Output Format";
382
- };
383
- readonly q: {
384
- readonly type: "integer";
385
- readonly description: "Quality";
386
- };
387
- readonly chromasub: {
388
- readonly enum: ["420", "422", "444"];
389
- readonly description: "Chroma Subsampling";
390
- };
391
- readonly lossless: {
392
- readonly type: "boolean";
393
- readonly description: "Lossless compression";
394
- };
395
- readonly cs: {
396
- readonly enum: ["origin", "srgb", "adobergb1998", "tinysrgb", "strip"];
397
- readonly description: "Color space";
398
- };
399
- readonly ch: {
400
- readonly type: "string";
401
- readonly description: "Client Hints";
402
- };
403
- readonly dpi: {
404
- readonly type: "integer";
405
- readonly description: "Dots Per Inch";
406
- };
407
- readonly dl: {
408
- readonly type: "boolean";
409
- readonly description: "Download";
410
- };
411
- readonly iptc: {
412
- readonly enum: ["allow", "block"];
413
- readonly description: "IPTC Passthrough";
414
- };
415
- readonly jpegProgressive: {
416
- readonly type: "boolean";
417
- readonly description: "JPG Progressive";
418
- };
419
- readonly rasterizeBypass: {
420
- readonly type: "boolean";
421
- readonly description: "Rasterize Bypass";
422
- };
423
- readonly svgSanitize: {
424
- readonly type: "boolean";
425
- readonly description: "Sanitize SVG";
426
- };
427
- readonly lpBlur: {
428
- readonly type: "integer";
429
- readonly title: "License Plate Blur";
430
- readonly description: "Automatically detects and blurs license plates in an image. The value determines the intensity of the blur.";
431
- };
432
- readonly mask: {
433
- readonly type: "string";
434
- readonly title: "Mask";
435
- readonly description: "Sets the type of mask from a pre-defined list of shapes, or from a transparent image URL.";
436
- };
437
- readonly nr: {
438
- readonly type: "integer";
439
- readonly title: "Noise Reduction Bound";
440
- readonly description: "Sets the threshold for noise reduction.";
441
- };
442
- readonly nrs: {
443
- readonly type: "integer";
444
- readonly title: "Noise Reduction Sharpen";
445
- readonly description: "Determines the amount of sharpening in pixels above the bound set by nr, reducing noise in the image.";
446
- };
447
- readonly flip: {
448
- readonly enum: ["h", "v", "hv"];
449
- readonly title: "Flip Axis";
450
- readonly description: "Flips the image along its axes.";
451
- };
452
- readonly orient: {
453
- readonly type: "integer";
454
- readonly title: "Orientation";
455
- readonly description: "Changes the cardinal orientation of the image by overriding any Exif orientation metadata.";
456
- };
457
- readonly rot: {
458
- readonly type: "integer";
459
- readonly title: "Rotation";
460
- readonly description: "Rotates the image by degrees according to the value specified.";
461
- };
462
- readonly rotType: {
463
- readonly enum: ["pivot", "straighten"];
464
- readonly title: "Rotation Type";
465
- readonly description: "Controls the type of rotation applied when rot is set.";
466
- };
467
- readonly w: {
468
- readonly type: "number";
469
- readonly title: "Width";
470
- readonly description: "The width of the output image.";
471
- };
472
- readonly h: {
473
- readonly type: "number";
474
- readonly title: "Height";
475
- readonly description: "The height of the output image.";
476
- };
477
- readonly ar: {
478
- readonly type: "number";
479
- readonly title: "Aspect Ratio";
480
- readonly description: "Resizes and crops the original image to match a specified aspect ratio.";
481
- };
482
- readonly fit: {
483
- readonly enum: ["clamp", "clip", "crop", "facearea", "fill", "fillmax", "max", "min", "scale"];
484
- readonly title: "Fit Mode";
485
- readonly description: "Controls how the output image is fit to its target dimensions.";
486
- };
487
- readonly crop: {
488
- readonly type: "string";
489
- readonly title: "Crop Mode";
490
- readonly description: "Controls how the image is aligned when fit=crop is set.";
491
- };
492
- readonly maxW: {
493
- readonly type: "integer";
494
- readonly title: "Maximum Width";
495
- readonly description: "The maximum allowed width of the output image. Only works with fit=crop.";
496
- };
497
- readonly maxH: {
498
- readonly type: "integer";
499
- readonly title: "Maximum Height";
500
- readonly description: "The maximum allowed height of the output image. Only works with fit=crop.";
501
- };
502
- readonly minW: {
503
- readonly type: "integer";
504
- readonly title: "Minimum Width";
505
- readonly description: "The minimum allowed width of the output image. Only works with fit=crop.";
506
- };
507
- readonly minH: {
508
- readonly type: "integer";
509
- readonly title: "Minimum Height";
510
- readonly description: "The minimum allowed height of the output image. Only works with fit=crop.";
511
- };
512
- readonly rect: {
513
- readonly type: "string";
514
- readonly title: "Rectangle";
515
- readonly description: "Specifies the dimensions of the rectangle to crop the image to";
516
- };
517
- readonly blur: {
518
- readonly type: "integer";
519
- readonly title: "Blur";
520
- readonly description: "Applies a Gaussian style blur to your image, smoothing out image noise.";
521
- };
522
- readonly duotone: {
523
- readonly type: "string";
524
- readonly title: "Duotone";
525
- readonly description: "Applies a duotone effect—a gradient with two different colors as its endpoints—to the image.";
526
- };
527
- readonly duotoneAlpha: {
528
- readonly type: "number";
529
- readonly title: "Duotone Alpha";
530
- readonly description: "Sets the level of transparency for a duotone effect.";
531
- };
532
- readonly htn: {
533
- readonly type: "integer";
534
- readonly title: "Halftone";
535
- readonly description: "Applies a half-toning effect to the image.";
536
- };
537
- readonly dtfHalftone: {
538
- readonly type: "boolean";
539
- readonly title: "DTF Halftone";
540
- readonly description: "Applies a halftone effect to images being prepared for printing with the Direct to Film process.";
541
- };
542
- readonly dtfHalftoneAngle: {
543
- readonly type: "integer";
544
- readonly title: "DTF Halftone Angle";
545
- readonly description: "Sets the angle of the halftone dots for images being prepared for printing with the Direct to Film process.";
546
- };
547
- readonly monochrome: {
548
- readonly type: "string";
549
- readonly title: "Monochrome";
550
- readonly description: "Applies an overall monochromatic hue change.";
551
- };
552
- readonly px: {
553
- readonly type: "integer";
554
- readonly title: "Pixelate";
555
- readonly description: "Applies a square pixellation effect to the image.";
556
- };
557
- readonly sepia: {
558
- readonly type: "integer";
559
- readonly title: "Sepia";
560
- readonly description: "Applies a sepia-toning effect to the image.";
561
- };
562
- readonly txt: {
563
- readonly type: "string";
564
- readonly title: "Text String";
565
- readonly description: "The text string to overlay on the image. For multi-line text, please see our ~text documentation instead.";
566
- };
567
- readonly txtAlign: {
568
- readonly type: "string";
569
- readonly title: "Text Align";
570
- readonly description: "Sets the horizontal and vertical alignment of the text.";
571
- };
572
- readonly txtClip: {
573
- readonly enum: ["start", "end", "middle", "ellipsis", "startellipsis", "endellipsis", "middleellipsis"];
574
- readonly title: "Text Clip Mode";
575
- readonly description: "Sets the region of the string that will be clipped if the string extends beyond the defined width of the text.";
576
- };
577
- readonly txtColor: {
578
- readonly type: "string";
579
- readonly title: "Text Color";
580
- readonly description: "Sets the color of the text.";
581
- };
582
- readonly txtFit: {
583
- readonly enum: ["max"];
584
- readonly title: "Text Fit Mode";
585
- readonly description: "Controls how the text is fit to its container.";
586
- };
587
- readonly txtFont: {
588
- readonly type: "string";
589
- readonly title: "Text Font";
590
- readonly description: "Defines the typeface and style to set the text in. The value may be either a CSS-style category, or an explicit font name.";
591
- };
592
- readonly txtLine: {
593
- readonly type: "integer";
594
- readonly title: "Text Line";
595
- readonly description: "Sets the line height of the text, as a multiplier of the font size.";
596
- };
597
- readonly txtLineColor: {
598
- readonly type: "string";
599
- readonly title: "Text Line Color";
600
- readonly description: "Sets the color of the line when txt-line is greater than 0.";
601
- };
602
- readonly txtPad: {
603
- readonly type: "integer";
604
- readonly title: "Text Padding";
605
- readonly description: "The amount of spacing (in pixels) to add around the text.";
606
- };
607
- readonly txtShad: {
608
- readonly type: "integer";
609
- readonly title: "Text Shadow";
610
- readonly description: "A number indicating the strength of a shadow to place on the text.";
611
- };
612
- readonly txtSize: {
613
- readonly type: "integer";
614
- readonly title: "Text Size";
615
- readonly description: "Sets the font size of the text, in pixels.";
616
- };
617
- readonly txtWidth: {
618
- readonly type: "integer";
619
- readonly title: "Text Width";
620
- readonly description: "The width (in pixels) to restrict the width of the text to.";
621
- };
622
- readonly txtX: {
623
- readonly type: "integer";
624
- readonly title: "Text X Position";
625
- readonly description: "The horizontal offset of the text from its alignment position";
626
- };
627
- readonly txtY: {
628
- readonly type: "integer";
629
- readonly title: "Text Y Position";
630
- readonly description: "The vertical offset of the text from its alignment position";
631
- };
632
- readonly trim: {
633
- readonly enum: ["auto", "color", "alpha", "colorunlesalpha"];
634
- readonly title: "Trim";
635
- readonly description: "Trims the image to remove a uniform border around the image.";
636
- };
637
- readonly trimAlpha: {
638
- readonly type: "number";
639
- readonly title: "Trim Alpha";
640
- readonly description: "Defines the alpha transparency threshold for trimming.";
641
- };
642
- readonly trimColor: {
643
- readonly type: "string";
644
- readonly title: "Trim Color";
645
- readonly description: "Defines which color to trim when trim=color is used.";
646
- };
647
- readonly trimMd: {
648
- readonly type: "integer";
649
- readonly title: "Trim Mean Difference";
650
- readonly description: "The mean difference threshold for the trimming operation when trim=auto.";
651
- };
652
- readonly trimPad: {
653
- readonly type: "integer";
654
- readonly title: "Trim Padding";
655
- readonly description: "Adds padding, in pixels, to the trimmed image.";
656
- };
657
- readonly trimSd: {
658
- readonly type: "number";
659
- readonly title: "Trim Standard Deviation";
660
- readonly description: "The standard deviation among pixels within a border when trim=auto.";
661
- };
662
- readonly trimTol: {
663
- readonly type: "number";
664
- readonly title: "Trim Tolerance";
665
- readonly description: "The color tolerance threshold as a percentage.";
666
- };
667
- readonly mark: {
668
- readonly type: "string";
669
- readonly title: "Watermark Image URL";
670
- readonly description: "Adds a watermark to the image.";
671
- };
672
- readonly markAlign: {
673
- readonly type: "string";
674
- readonly title: "Watermark Align";
675
- readonly description: "Specifies the alignment of the watermark.";
676
- };
677
- readonly markAlpha: {
678
- readonly type: "integer";
679
- readonly title: "Watermark Alpha";
680
- readonly description: "Adjusts the alpha transparency of the watermark image.";
681
- };
682
- readonly markFit: {
683
- readonly enum: ["clip", "crop", "max", "scale"];
684
- readonly title: "Watermark Fit Mode";
685
- readonly description: "Controls how the watermark image is fitted to its target dimensions.";
686
- };
687
- readonly markH: {
688
- readonly type: "string";
689
- readonly title: "Watermark Height";
690
- readonly description: "Specifies the watermark height.";
691
- };
692
- readonly markIfMinHeight: {
693
- readonly type: "integer";
694
- readonly title: "Watermark If Minimum Height";
695
- readonly description: "Specifies the minimum height the source image must have for the watermark to be applied. If the image is smaller than this value, the watermark will not be applied.";
696
- };
697
- readonly markIfMinWidth: {
698
- readonly type: "integer";
699
- readonly title: "Watermark If Minimum Width";
700
- readonly description: "Specifies the minimum width the source image must have for the watermark to be applied. If the image is smaller than this value, the watermark will not be applied.";
701
- };
702
- readonly markPad: {
703
- readonly type: "integer";
704
- readonly title: "Watermark Padding";
705
- readonly description: "Adds padding, in pixels, around the watermark.";
706
- };
707
- readonly markRot: {
708
- readonly type: "integer";
709
- readonly title: "Watermark Rotation";
710
- readonly description: "Controls the rotation of a watermark.";
711
- };
712
- readonly markScale: {
713
- readonly type: "number";
714
- readonly title: "Watermark Scale";
715
- readonly description: "Scales the watermark relative to the base image.";
716
- };
717
- readonly markTile: {
718
- readonly enum: ["grid"];
719
- readonly title: "Watermark Tile";
720
- readonly description: "Tiles the watermark on top of the image in the requested pattern.";
721
- };
722
- readonly markW: {
723
- readonly type: "string";
724
- readonly title: "Watermark Width";
725
- readonly description: "Specifies the watermark width.";
726
- };
727
- readonly markX: {
728
- readonly type: "integer";
729
- readonly title: "Watermark X Position";
730
- readonly description: "Positions the watermark on the x-axis.";
731
- };
732
- readonly markY: {
733
- readonly type: "integer";
734
- readonly title: "Watermark Y Position";
735
- readonly description: "Positions the watermark on the y-axis.";
736
- };
737
- };
738
- readonly required: [];
739
- readonly additionalProperties: false;
740
- };
741
- export type AssetImageParams = FromSchema<typeof schema>;
742
- export declare const validate: import("ajv").ValidateFunction<{
743
- trim?: "color" | "auto" | "alpha" | "colorunlesalpha" | undefined;
744
- fill?: "blur" | "gen" | "gradient" | "solid" | undefined;
745
- bri?: number | undefined;
746
- con?: number | undefined;
747
- exp?: number | undefined;
748
- gam?: number | undefined;
749
- high?: number | undefined;
750
- hue?: number | undefined;
751
- invert?: boolean | undefined;
752
- sat?: number | undefined;
753
- shad?: number | undefined;
754
- vib?: number | undefined;
755
- sharp?: number | undefined;
756
- usmrad?: number | undefined;
757
- usm?: number | undefined;
758
- gifQ?: number | undefined;
759
- loop?: number | undefined;
760
- interval?: number | undefined;
761
- frame?: string | undefined;
762
- blend?: string | undefined;
763
- blendMode?: "hue" | "color" | "burn" | "dodge" | "darken" | "difference" | "exclusion" | "hardlight" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "softlight" | undefined;
764
- blendAlign?: string | undefined;
765
- blendAlpha?: number | undefined;
766
- blendW?: number | undefined;
767
- blendH?: number | undefined;
768
- blendX?: number | undefined;
769
- blendY?: number | undefined;
770
- blendCrop?: "top" | "bottom" | "left" | "right" | "faces" | "entropy" | "edges" | "focalpoint" | undefined;
771
- faces?: number | undefined;
772
- blendFit?: "clip" | "crop" | "scale" | undefined;
773
- crop?: string | undefined;
774
- blendPad?: number | undefined;
775
- blendSize?: "inherit" | undefined;
776
- blendTile?: "grid" | undefined;
777
- blendRot?: number | undefined;
778
- border?: string | undefined;
779
- borderBottom?: number | undefined;
780
- borderLeft?: number | undefined;
781
- borderRight?: number | undefined;
782
- borderTop?: number | undefined;
783
- borderRadius?: number | undefined;
784
- borderRadiusBottomLeft?: number | undefined;
785
- borderRadiusBottomRight?: number | undefined;
786
- borderRadiusInner?: number | undefined;
787
- borderRadiusInnerBottomLeft?: number | undefined;
788
- borderRadiusInnerBottomRight?: number | undefined;
789
- borderRadiusInnerTopLeft?: number | undefined;
790
- borderRadiusInnerTopRight?: number | undefined;
791
- borderRadiusTopLeft?: number | undefined;
792
- borderRadiusTopRight?: number | undefined;
793
- pad?: number | undefined;
794
- padBottom?: number | undefined;
795
- padLeft?: number | undefined;
796
- padRight?: number | undefined;
797
- padTop?: number | undefined;
798
- bg?: string | undefined;
799
- palette?: "css" | "json" | undefined;
800
- colors?: number | undefined;
801
- prefix?: string | undefined;
802
- dpr?: number | undefined;
803
- expires?: number | undefined;
804
- faceindex?: number | undefined;
805
- facepad?: number | undefined;
806
- faceBlur?: number | undefined;
807
- facePixel?: number | undefined;
808
- blur?: number | undefined;
809
- fillColor?: string | undefined;
810
- fillGenFallback?: boolean | undefined;
811
- fillGenNegPrompt?: string | undefined;
812
- fillGenPos?: string | undefined;
813
- fillGenPrompt?: string | undefined;
814
- fillGenSeed?: number | undefined;
815
- fillGradientCs?: string | undefined;
816
- fillGradientLinearDirection?: string | undefined;
817
- fillGradientLinear?: string | undefined;
818
- fillGradientRadial?: string | undefined;
819
- fillGradientRadialRadius?: number | undefined;
820
- fillGradientRadialX?: number | undefined;
821
- fillGradientRadialY?: number | undefined;
822
- fillGradientType?: "linear" | "radial" | undefined;
823
- gridColors?: string | undefined;
824
- gridSize?: number | undefined;
825
- transparency?: string | undefined;
826
- fpDebug?: boolean | undefined;
827
- fpX?: number | undefined;
828
- fpY?: number | undefined;
829
- fpZ?: number | undefined;
830
- fm?: "json" | "avif" | "gif" | "jp2" | "jpg" | "jxr" | "pjpg" | "mp4" | "png" | "png8" | "png32" | "webm" | "webp" | "blurhash" | undefined;
831
- q?: number | undefined;
832
- chromasub?: "420" | "422" | "444" | undefined;
833
- lossless?: boolean | undefined;
834
- cs?: "origin" | "srgb" | "adobergb1998" | "tinysrgb" | "strip" | undefined;
835
- ch?: string | undefined;
836
- dpi?: number | undefined;
837
- dl?: boolean | undefined;
838
- iptc?: "allow" | "block" | undefined;
839
- jpegProgressive?: boolean | undefined;
840
- rasterizeBypass?: boolean | undefined;
841
- svgSanitize?: boolean | undefined;
842
- lpBlur?: number | undefined;
843
- mask?: string | undefined;
844
- nr?: number | undefined;
845
- nrs?: number | undefined;
846
- flip?: "h" | "v" | "hv" | undefined;
847
- h?: number | undefined;
848
- orient?: number | undefined;
849
- rot?: number | undefined;
850
- rotType?: "pivot" | "straighten" | undefined;
851
- w?: number | undefined;
852
- ar?: number | undefined;
853
- fit?: "fill" | "clip" | "crop" | "scale" | "clamp" | "facearea" | "fillmax" | "max" | "min" | undefined;
854
- maxW?: number | undefined;
855
- maxH?: number | undefined;
856
- minW?: number | undefined;
857
- minH?: number | undefined;
858
- rect?: string | undefined;
859
- duotone?: string | undefined;
860
- duotoneAlpha?: number | undefined;
861
- htn?: number | undefined;
862
- dtfHalftone?: boolean | undefined;
863
- dtfHalftoneAngle?: number | undefined;
864
- monochrome?: string | undefined;
865
- px?: number | undefined;
866
- sepia?: number | undefined;
867
- txt?: string | undefined;
868
- txtAlign?: string | undefined;
869
- txtClip?: "start" | "end" | "middle" | "ellipsis" | "startellipsis" | "endellipsis" | "middleellipsis" | undefined;
870
- txtColor?: string | undefined;
871
- txtFit?: "max" | undefined;
872
- txtFont?: string | undefined;
873
- txtLine?: number | undefined;
874
- txtLineColor?: string | undefined;
875
- txtPad?: number | undefined;
876
- txtShad?: number | undefined;
877
- txtSize?: number | undefined;
878
- txtWidth?: number | undefined;
879
- txtX?: number | undefined;
880
- txtY?: number | undefined;
881
- trimAlpha?: number | undefined;
882
- trimColor?: string | undefined;
883
- trimMd?: number | undefined;
884
- trimPad?: number | undefined;
885
- trimSd?: number | undefined;
886
- trimTol?: number | undefined;
887
- mark?: string | undefined;
888
- markAlign?: string | undefined;
889
- markAlpha?: number | undefined;
890
- markFit?: "clip" | "crop" | "scale" | "max" | undefined;
891
- markH?: string | undefined;
892
- markIfMinHeight?: number | undefined;
893
- markIfMinWidth?: number | undefined;
894
- markPad?: number | undefined;
895
- markRot?: number | undefined;
896
- markScale?: number | undefined;
897
- markTile?: "grid" | undefined;
898
- markW?: string | undefined;
899
- markX?: number | undefined;
900
- markY?: number | undefined;
901
- }>;