@strapi/types 5.9.0 → 5.10.1

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 (303) hide show
  1. package/dist/core/api.js +3 -0
  2. package/dist/core/api.js.map +1 -0
  3. package/dist/core/commands/index.js +3 -0
  4. package/dist/core/commands/index.js.map +1 -0
  5. package/dist/core/config/admin.js +3 -0
  6. package/dist/core/config/admin.js.map +1 -0
  7. package/dist/core/config/api.js +3 -0
  8. package/dist/core/config/api.js.map +1 -0
  9. package/dist/core/config/database.js +3 -0
  10. package/dist/core/config/database.js.map +1 -0
  11. package/dist/core/config/index.js +3 -0
  12. package/dist/core/config/index.js.map +1 -0
  13. package/dist/core/config/middlewares.js +3 -0
  14. package/dist/core/config/middlewares.js.map +1 -0
  15. package/dist/core/config/plugin.js +3 -0
  16. package/dist/core/config/plugin.js.map +1 -0
  17. package/dist/core/config/server.js +3 -0
  18. package/dist/core/config/server.js.map +1 -0
  19. package/dist/core/config/shared.js +3 -0
  20. package/dist/core/config/shared.js.map +1 -0
  21. package/dist/core/container.js +3 -0
  22. package/dist/core/container.js.map +1 -0
  23. package/dist/core/controller.js +4 -0
  24. package/dist/core/controller.js.map +1 -0
  25. package/dist/core/core-api/controller.js +3 -0
  26. package/dist/core/core-api/controller.js.map +1 -0
  27. package/dist/core/core-api/index.js +30 -0
  28. package/dist/core/core-api/index.js.map +1 -0
  29. package/dist/core/core-api/router.js +3 -0
  30. package/dist/core/core-api/router.js.map +1 -0
  31. package/dist/core/core-api/service.js +3 -0
  32. package/dist/core/core-api/service.js.map +1 -0
  33. package/dist/core/index.js +43 -0
  34. package/dist/core/index.js.map +1 -0
  35. package/dist/core/middleware.js +3 -0
  36. package/dist/core/middleware.js.map +1 -0
  37. package/dist/core/module.js +3 -0
  38. package/dist/core/module.js.map +1 -0
  39. package/dist/core/plugin.js +3 -0
  40. package/dist/core/plugin.js.map +1 -0
  41. package/dist/core/policy.js +3 -0
  42. package/dist/core/policy.js.map +1 -0
  43. package/dist/core/router.js +3 -0
  44. package/dist/core/router.js.map +1 -0
  45. package/dist/core/service.js +3 -0
  46. package/dist/core/service.js.map +1 -0
  47. package/dist/core/strapi.js +3 -0
  48. package/dist/core/strapi.js.map +1 -0
  49. package/dist/data/component.js +3 -0
  50. package/dist/data/component.js.map +1 -0
  51. package/dist/data/constants.js +3 -0
  52. package/dist/data/constants.js.map +1 -0
  53. package/dist/data/content-type.js +3 -0
  54. package/dist/data/content-type.js.map +1 -0
  55. package/dist/data/entity.js +3 -0
  56. package/dist/data/entity.js.map +1 -0
  57. package/dist/data/index.js +3 -0
  58. package/dist/data/index.js.map +1 -0
  59. package/dist/index.js +2 -1
  60. package/dist/index.js.map +1 -1
  61. package/dist/internal/index.js +3 -0
  62. package/dist/internal/index.js.map +1 -0
  63. package/dist/internal/namespace.js +3 -0
  64. package/dist/internal/namespace.js.map +1 -0
  65. package/dist/internal/registry.js +3 -0
  66. package/dist/internal/registry.js.map +1 -0
  67. package/dist/internal/uid.js +3 -0
  68. package/dist/internal/uid.js.map +1 -0
  69. package/dist/modules/auth.js +3 -0
  70. package/dist/modules/auth.js.map +1 -0
  71. package/dist/modules/content-api.js +3 -0
  72. package/dist/modules/content-api.js.map +1 -0
  73. package/dist/modules/core-store.js +3 -0
  74. package/dist/modules/core-store.js.map +1 -0
  75. package/dist/modules/cron.js +3 -0
  76. package/dist/modules/cron.js.map +1 -0
  77. package/dist/modules/custom-fields.js +3 -0
  78. package/dist/modules/custom-fields.js.map +1 -0
  79. package/dist/modules/documents/component-extension.js +3 -0
  80. package/dist/modules/documents/component-extension.js.map +1 -0
  81. package/dist/modules/documents/document-engine.js +2 -0
  82. package/dist/modules/documents/document-engine.js.map +1 -0
  83. package/dist/modules/documents/draft-and-publish.js +3 -0
  84. package/dist/modules/documents/draft-and-publish.js.map +1 -0
  85. package/dist/modules/documents/index.js +35 -0
  86. package/dist/modules/documents/index.js.map +1 -0
  87. package/dist/modules/documents/middleware.js +3 -0
  88. package/dist/modules/documents/middleware.js.map +1 -0
  89. package/dist/modules/documents/params/attributes/id.js +3 -0
  90. package/dist/modules/documents/params/attributes/id.js.map +1 -0
  91. package/dist/modules/documents/params/attributes/index.js +3 -0
  92. package/dist/modules/documents/params/attributes/index.js.map +1 -0
  93. package/dist/modules/documents/params/attributes/relations.js +3 -0
  94. package/dist/modules/documents/params/attributes/relations.js.map +1 -0
  95. package/dist/modules/documents/params/data.js +3 -0
  96. package/dist/modules/documents/params/data.js.map +1 -0
  97. package/dist/modules/documents/params/document-engine.js +3 -0
  98. package/dist/modules/documents/params/document-engine.js.map +1 -0
  99. package/dist/modules/documents/params/fields.js +3 -0
  100. package/dist/modules/documents/params/fields.js.map +1 -0
  101. package/dist/modules/documents/params/filters/index.js +3 -0
  102. package/dist/modules/documents/params/filters/index.js.map +1 -0
  103. package/dist/modules/documents/params/filters/operators.js +3 -0
  104. package/dist/modules/documents/params/filters/operators.js.map +1 -0
  105. package/dist/modules/documents/params/index.js +3 -0
  106. package/dist/modules/documents/params/index.js.map +1 -0
  107. package/dist/modules/documents/params/locale.js +3 -0
  108. package/dist/modules/documents/params/locale.js.map +1 -0
  109. package/dist/modules/documents/params/pagination.js +3 -0
  110. package/dist/modules/documents/params/pagination.js.map +1 -0
  111. package/dist/modules/documents/params/populate.js +3 -0
  112. package/dist/modules/documents/params/populate.js.map +1 -0
  113. package/dist/modules/documents/params/search.js +3 -0
  114. package/dist/modules/documents/params/search.js.map +1 -0
  115. package/dist/modules/documents/params/sort.js +3 -0
  116. package/dist/modules/documents/params/sort.js.map +1 -0
  117. package/dist/modules/documents/params/status.js +3 -0
  118. package/dist/modules/documents/params/status.js.map +1 -0
  119. package/dist/modules/documents/plugin.js +3 -0
  120. package/dist/modules/documents/plugin.js.map +1 -0
  121. package/dist/modules/documents/result/document-engine.js +3 -0
  122. package/dist/modules/documents/result/document-engine.js.map +1 -0
  123. package/dist/modules/documents/result/index.js +3 -0
  124. package/dist/modules/documents/result/index.js.map +1 -0
  125. package/dist/modules/documents/service-instance.js +3 -0
  126. package/dist/modules/documents/service-instance.js.map +1 -0
  127. package/dist/modules/entity-service/index.js +33 -0
  128. package/dist/modules/entity-service/index.js.map +1 -0
  129. package/dist/modules/entity-service/params/attributes/id.js +3 -0
  130. package/dist/modules/entity-service/params/attributes/id.js.map +1 -0
  131. package/dist/modules/entity-service/params/attributes/index.js +21 -0
  132. package/dist/modules/entity-service/params/attributes/index.js.map +1 -0
  133. package/dist/modules/entity-service/params/attributes/literals.js +3 -0
  134. package/dist/modules/entity-service/params/attributes/literals.js.map +1 -0
  135. package/dist/modules/entity-service/params/attributes/relation.js +3 -0
  136. package/dist/modules/entity-service/params/attributes/relation.js.map +1 -0
  137. package/dist/modules/entity-service/params/attributes/utils.js +3 -0
  138. package/dist/modules/entity-service/params/attributes/utils.js.map +1 -0
  139. package/dist/modules/entity-service/params/data.js +3 -0
  140. package/dist/modules/entity-service/params/data.js.map +1 -0
  141. package/dist/modules/entity-service/params/fields.js +3 -0
  142. package/dist/modules/entity-service/params/fields.js.map +1 -0
  143. package/dist/modules/entity-service/params/filters/index.js +3 -0
  144. package/dist/modules/entity-service/params/filters/index.js.map +1 -0
  145. package/dist/modules/entity-service/params/filters/operators.js +3 -0
  146. package/dist/modules/entity-service/params/filters/operators.js.map +1 -0
  147. package/dist/modules/entity-service/params/index.js +3 -0
  148. package/dist/modules/entity-service/params/index.js.map +1 -0
  149. package/dist/modules/entity-service/params/pagination.js +3 -0
  150. package/dist/modules/entity-service/params/pagination.js.map +1 -0
  151. package/dist/modules/entity-service/params/populate.js +3 -0
  152. package/dist/modules/entity-service/params/populate.js.map +1 -0
  153. package/dist/modules/entity-service/params/search.js +3 -0
  154. package/dist/modules/entity-service/params/search.js.map +1 -0
  155. package/dist/modules/entity-service/params/sort.js +3 -0
  156. package/dist/modules/entity-service/params/sort.js.map +1 -0
  157. package/dist/modules/entity-service/plugin.js +3 -0
  158. package/dist/modules/entity-service/plugin.js.map +1 -0
  159. package/dist/modules/entity-service/result.js +3 -0
  160. package/dist/modules/entity-service/result.js.map +1 -0
  161. package/dist/modules/entity-validator.js +3 -0
  162. package/dist/modules/entity-validator.js.map +1 -0
  163. package/dist/modules/event-hub.js +3 -0
  164. package/dist/modules/event-hub.js.map +1 -0
  165. package/dist/modules/features.d.ts +4 -1
  166. package/dist/modules/features.d.ts.map +1 -1
  167. package/dist/modules/features.js +3 -0
  168. package/dist/modules/features.js.map +1 -0
  169. package/dist/modules/fetch.js +3 -0
  170. package/dist/modules/fetch.js.map +1 -0
  171. package/dist/modules/index.js +3 -0
  172. package/dist/modules/index.js.map +1 -0
  173. package/dist/modules/metrics.js +3 -0
  174. package/dist/modules/metrics.js.map +1 -0
  175. package/dist/modules/permissions.js +3 -0
  176. package/dist/modules/permissions.js.map +1 -0
  177. package/dist/modules/request-context.js +3 -0
  178. package/dist/modules/request-context.js.map +1 -0
  179. package/dist/modules/sanitizers.js +3 -0
  180. package/dist/modules/sanitizers.js.map +1 -0
  181. package/dist/modules/server.js +3 -0
  182. package/dist/modules/server.js.map +1 -0
  183. package/dist/modules/validators.js +3 -0
  184. package/dist/modules/validators.js.map +1 -0
  185. package/dist/modules/webhook-runner.js +3 -0
  186. package/dist/modules/webhook-runner.js.map +1 -0
  187. package/dist/modules/webhook-store.js +3 -0
  188. package/dist/modules/webhook-store.js.map +1 -0
  189. package/dist/plugin/config/index.js +3 -0
  190. package/dist/plugin/config/index.js.map +1 -0
  191. package/dist/plugin/config/strapi-admin/index.js +3 -0
  192. package/dist/plugin/config/strapi-admin/index.js.map +1 -0
  193. package/dist/plugin/config/strapi-server/config.js +3 -0
  194. package/dist/plugin/config/strapi-server/config.js.map +1 -0
  195. package/dist/plugin/config/strapi-server/content-types.js +3 -0
  196. package/dist/plugin/config/strapi-server/content-types.js.map +1 -0
  197. package/dist/plugin/config/strapi-server/controllers.js +3 -0
  198. package/dist/plugin/config/strapi-server/controllers.js.map +1 -0
  199. package/dist/plugin/config/strapi-server/index.js +3 -0
  200. package/dist/plugin/config/strapi-server/index.js.map +1 -0
  201. package/dist/plugin/config/strapi-server/lifecycle.js +3 -0
  202. package/dist/plugin/config/strapi-server/lifecycle.js.map +1 -0
  203. package/dist/plugin/config/strapi-server/routes.js +3 -0
  204. package/dist/plugin/config/strapi-server/routes.js.map +1 -0
  205. package/dist/plugin/index.js +28 -0
  206. package/dist/plugin/index.js.map +1 -0
  207. package/dist/public/index.js +22 -0
  208. package/dist/public/index.js.map +1 -0
  209. package/dist/public/registries.js +3 -0
  210. package/dist/public/registries.js.map +1 -0
  211. package/dist/public/shared.js +4 -0
  212. package/dist/public/shared.js.map +1 -0
  213. package/dist/schema/attribute/base.js +3 -0
  214. package/dist/schema/attribute/base.js.map +1 -0
  215. package/dist/schema/attribute/common.js +3 -0
  216. package/dist/schema/attribute/common.js.map +1 -0
  217. package/dist/schema/attribute/constants.js +3 -0
  218. package/dist/schema/attribute/constants.js.map +1 -0
  219. package/dist/schema/attribute/definitions/biginteger.js +3 -0
  220. package/dist/schema/attribute/definitions/biginteger.js.map +1 -0
  221. package/dist/schema/attribute/definitions/blocks.js +3 -0
  222. package/dist/schema/attribute/definitions/blocks.js.map +1 -0
  223. package/dist/schema/attribute/definitions/boolean.js +3 -0
  224. package/dist/schema/attribute/definitions/boolean.js.map +1 -0
  225. package/dist/schema/attribute/definitions/component.js +3 -0
  226. package/dist/schema/attribute/definitions/component.js.map +1 -0
  227. package/dist/schema/attribute/definitions/date-time.js +3 -0
  228. package/dist/schema/attribute/definitions/date-time.js.map +1 -0
  229. package/dist/schema/attribute/definitions/date.js +3 -0
  230. package/dist/schema/attribute/definitions/date.js.map +1 -0
  231. package/dist/schema/attribute/definitions/decimal.js +3 -0
  232. package/dist/schema/attribute/definitions/decimal.js.map +1 -0
  233. package/dist/schema/attribute/definitions/dynamic-zone.js +3 -0
  234. package/dist/schema/attribute/definitions/dynamic-zone.js.map +1 -0
  235. package/dist/schema/attribute/definitions/email.js +3 -0
  236. package/dist/schema/attribute/definitions/email.js.map +1 -0
  237. package/dist/schema/attribute/definitions/enumeration.js +3 -0
  238. package/dist/schema/attribute/definitions/enumeration.js.map +1 -0
  239. package/dist/schema/attribute/definitions/float.js +3 -0
  240. package/dist/schema/attribute/definitions/float.js.map +1 -0
  241. package/dist/schema/attribute/definitions/index.js +3 -0
  242. package/dist/schema/attribute/definitions/index.js.map +1 -0
  243. package/dist/schema/attribute/definitions/integer.js +3 -0
  244. package/dist/schema/attribute/definitions/integer.js.map +1 -0
  245. package/dist/schema/attribute/definitions/json.js +3 -0
  246. package/dist/schema/attribute/definitions/json.js.map +1 -0
  247. package/dist/schema/attribute/definitions/media.js +3 -0
  248. package/dist/schema/attribute/definitions/media.js.map +1 -0
  249. package/dist/schema/attribute/definitions/password.js +3 -0
  250. package/dist/schema/attribute/definitions/password.js.map +1 -0
  251. package/dist/schema/attribute/definitions/relation.js +3 -0
  252. package/dist/schema/attribute/definitions/relation.js.map +1 -0
  253. package/dist/schema/attribute/definitions/richtext.js +3 -0
  254. package/dist/schema/attribute/definitions/richtext.js.map +1 -0
  255. package/dist/schema/attribute/definitions/string.js +3 -0
  256. package/dist/schema/attribute/definitions/string.js.map +1 -0
  257. package/dist/schema/attribute/definitions/text.js +3 -0
  258. package/dist/schema/attribute/definitions/text.js.map +1 -0
  259. package/dist/schema/attribute/definitions/time.js +3 -0
  260. package/dist/schema/attribute/definitions/time.js.map +1 -0
  261. package/dist/schema/attribute/definitions/timestamp.js +3 -0
  262. package/dist/schema/attribute/definitions/timestamp.js.map +1 -0
  263. package/dist/schema/attribute/definitions/uid.js +3 -0
  264. package/dist/schema/attribute/definitions/uid.js.map +1 -0
  265. package/dist/schema/attribute/index.js +23 -0
  266. package/dist/schema/attribute/index.js.map +1 -0
  267. package/dist/schema/attribute/options.js +9 -0
  268. package/dist/schema/attribute/options.js.map +1 -0
  269. package/dist/schema/attribute/utils.js +3 -0
  270. package/dist/schema/attribute/utils.js.map +1 -0
  271. package/dist/schema/index.js +3 -0
  272. package/dist/schema/index.js.map +1 -0
  273. package/dist/struct/index.js +3 -0
  274. package/dist/struct/index.js.map +1 -0
  275. package/dist/struct/schema-definition.js +3 -0
  276. package/dist/struct/schema-definition.js.map +1 -0
  277. package/dist/struct/schema.js +3 -0
  278. package/dist/struct/schema.js.map +1 -0
  279. package/dist/uid/index.js +3 -0
  280. package/dist/uid/index.js.map +1 -0
  281. package/dist/utils/array.js +3 -0
  282. package/dist/utils/array.js.map +1 -0
  283. package/dist/utils/constants.js +3 -0
  284. package/dist/utils/constants.js.map +1 -0
  285. package/dist/utils/expression.js +3 -0
  286. package/dist/utils/expression.js.map +1 -0
  287. package/dist/utils/function.js +3 -0
  288. package/dist/utils/function.js.map +1 -0
  289. package/dist/utils/guard.js +3 -0
  290. package/dist/utils/guard.js.map +1 -0
  291. package/dist/utils/index.js +39 -0
  292. package/dist/utils/index.js.map +1 -0
  293. package/dist/utils/json.js +3 -0
  294. package/dist/utils/json.js.map +1 -0
  295. package/dist/utils/object.js +3 -0
  296. package/dist/utils/object.js.map +1 -0
  297. package/dist/utils/string.js +3 -0
  298. package/dist/utils/string.js.map +1 -0
  299. package/dist/utils/tuple.js +3 -0
  300. package/dist/utils/tuple.js.map +1 -0
  301. package/package.json +11 -12
  302. package/dist/index.mjs +0 -2
  303. package/dist/index.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blocks.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/blocks.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=boolean.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boolean.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/boolean.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/component.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=date-time.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-time.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/date-time.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=date.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/date.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=decimal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decimal.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/decimal.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dynamic-zone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-zone.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/dynamic-zone.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=email.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/email.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=enumeration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enumeration.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/enumeration.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=float.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"float.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/float.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=integer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integer.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/integer.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/json.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=media.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/media.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=password.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"password.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/password.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=relation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relation.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/relation.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=richtext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"richtext.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/richtext.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=string.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/string.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/text.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=time.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/time.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=timestamp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/timestamp.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=uid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uid.js","sourceRoot":"","sources":["../../../../src/schema/attribute/definitions/uid.ts"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./base"), exports);
18
+ __exportStar(require("./options"), exports);
19
+ __exportStar(require("./utils"), exports);
20
+ __exportStar(require("./constants"), exports);
21
+ __exportStar(require("./common"), exports);
22
+ __exportStar(require("./definitions"), exports);
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema/attribute/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,4CAA0B;AAC1B,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,gDAA8B"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Interfaces and types designed for managing attribute options.
4
+ *
5
+ * It includes (but is not limited to) settings for requirements, privacy, uniqueness, default values, configurability,
6
+ * constraints, visibility, and writability of an attribute as well as the provision for custom fields.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../src/schema/attribute/options.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/schema/attribute/utils.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/struct/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=schema-definition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-definition.js","sourceRoot":"","sources":["../../src/struct/schema-definition.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/struct/schema.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/uid/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=array.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array.js","sourceRoot":"","sources":["../../src/utils/array.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=expression.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expression.js","sourceRoot":"","sources":["../../src/utils/expression.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"function.js","sourceRoot":"","sources":["../../src/utils/function.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=guard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guard.js","sourceRoot":"","sources":["../../src/utils/guard.ts"],"names":[],"mappings":""}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Tuple = exports.Function = exports.String = exports.Object = exports.Guard = exports.Array = exports.Constants = void 0;
30
+ exports.Constants = __importStar(require("./constants"));
31
+ exports.Array = __importStar(require("./array"));
32
+ exports.Guard = __importStar(require("./guard"));
33
+ exports.Object = __importStar(require("./object"));
34
+ exports.String = __importStar(require("./string"));
35
+ exports.Function = __importStar(require("./function"));
36
+ exports.Tuple = __importStar(require("./tuple"));
37
+ __exportStar(require("./expression"), exports);
38
+ __exportStar(require("./json"), exports);
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yDAAyC;AACzC,iDAAiC;AACjC,iDAAiC;AACjC,mDAAmC;AACnC,mDAAmC;AACnC,uDAAuC;AACvC,iDAAiC;AAEjC,+CAA6B;AAC7B,yCAAuB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.js","sourceRoot":"","sources":["../../src/utils/json.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=object.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object.js","sourceRoot":"","sources":["../../src/utils/object.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=string.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.js","sourceRoot":"","sources":["../../src/utils/string.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=tuple.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tuple.js","sourceRoot":"","sources":["../../src/utils/tuple.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/types",
3
- "version": "5.9.0",
3
+ "version": "5.10.1",
4
4
  "description": "Shared typescript types for Strapi internal use",
5
5
  "keywords": [
6
6
  "strapi"
@@ -27,29 +27,29 @@
27
27
  }
28
28
  ],
29
29
  "main": "./dist/index.js",
30
- "module": "./dist/index.mjs",
31
30
  "source": "./src/index.ts",
32
31
  "types": "./dist/index.d.ts",
33
32
  "files": [
34
33
  "dist/"
35
34
  ],
36
35
  "scripts": {
37
- "build": "pack-up build",
36
+ "build": "run -T run-s clean build:types",
37
+ "build:types": "run -T tsc -p tsconfig.build.json",
38
38
  "clean": "run -T rimraf ./dist",
39
39
  "doc:ts": "typedoc",
40
40
  "doc:ts:watch": "typedoc --watch",
41
41
  "lint": "run -T eslint .",
42
42
  "test:ts": "run -T tsc --noEmit",
43
- "watch": "pack-up watch"
43
+ "watch": "run -T tsc -p tsconfig.build.json -w"
44
44
  },
45
45
  "dependencies": {
46
46
  "@casl/ability": "6.5.0",
47
47
  "@koa/cors": "5.0.0",
48
48
  "@koa/router": "12.0.2",
49
- "@strapi/database": "5.9.0",
50
- "@strapi/logger": "5.9.0",
51
- "@strapi/permissions": "5.9.0",
52
- "@strapi/utils": "5.9.0",
49
+ "@strapi/database": "5.10.1",
50
+ "@strapi/logger": "5.10.1",
51
+ "@strapi/permissions": "5.10.1",
52
+ "@strapi/utils": "5.10.1",
53
53
  "commander": "8.3.0",
54
54
  "koa": "2.15.2",
55
55
  "koa-body": "6.0.1",
@@ -59,16 +59,15 @@
59
59
  "typedoc-plugin-markdown": "3.17.1"
60
60
  },
61
61
  "devDependencies": {
62
- "@strapi/pack-up": "5.0.2",
63
62
  "@strapi/ts-zen": "^0.2.0",
64
63
  "@types/jest": "29.5.2",
65
64
  "@types/koa": "2.13.4",
66
65
  "@types/koa__router": "12.0.0",
67
66
  "@types/node-schedule": "2.1.7",
68
- "eslint-config-custom": "5.9.0",
67
+ "eslint-config-custom": "5.10.1",
69
68
  "lodash": "4.17.21",
70
- "tsconfig": "5.9.0",
71
- "typescript": "5.3.2",
69
+ "tsconfig": "5.10.1",
70
+ "typescript": "5.4.4",
72
71
  "undici": "6.19.2"
73
72
  },
74
73
  "engines": {
package/dist/index.mjs DELETED
@@ -1,2 +0,0 @@
1
-
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}