@webiny/api 6.4.0-beta.0 → 6.4.0-beta.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.
@@ -3,3 +3,4 @@ export type { DateInterfaceGenerator, DateStringInterfaceGenerator } from "./dat
3
3
  export type { IdentityInterfaceGenerator } from "./identity.js";
4
4
  export type { NumericInterfaceGenerator } from "./numeric.js";
5
5
  export type { TruthfulInterfaceGenerator } from "./truthful.js";
6
+ export type { TextInterfaceGenerator } from "./text.js";
@@ -0,0 +1,11 @@
1
+ type TextOperators<TType extends string> = {
2
+ "": TType;
3
+ _not: TType;
4
+ _in: TType[];
5
+ _not_in: TType[];
6
+ _contains: TType;
7
+ };
8
+ export type TextInterfaceGenerator<TName extends string, TType extends string = string> = {
9
+ [K in keyof TextOperators<TType> as `${TName}${K}`]?: TextOperators<TType>[K];
10
+ };
11
+ export {};
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/api",
3
- "version": "6.4.0-beta.0",
3
+ "version": "6.4.0-beta.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.js",
@@ -16,14 +16,14 @@
16
16
  ],
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
- "@webiny/aws-sdk": "6.4.0-beta.0",
20
- "@webiny/di": "0.2.3",
21
- "@webiny/plugins": "6.4.0-beta.0",
22
- "@webiny/utils": "6.4.0-beta.0"
19
+ "@webiny/aws-sdk": "6.4.0-beta.2",
20
+ "@webiny/di": "1.0.1",
21
+ "@webiny/plugins": "6.4.0-beta.2",
22
+ "@webiny/utils": "6.4.0-beta.2"
23
23
  },
24
24
  "devDependencies": {
25
- "@webiny/build-tools": "6.4.0-beta.0",
26
- "@webiny/project-utils": "6.4.0-beta.0",
25
+ "@webiny/build-tools": "6.4.0-beta.2",
26
+ "@webiny/project-utils": "6.4.0-beta.2",
27
27
  "rimraf": "6.1.3",
28
28
  "typescript": "6.0.3",
29
29
  "vitest": "4.1.6"
@@ -32,5 +32,5 @@
32
32
  "access": "public",
33
33
  "directory": "dist"
34
34
  },
35
- "gitHead": "a545d7529828af07d08d49c3da1bcb967483b9ce"
35
+ "gitHead": "872f9f50baa1ff6915a5f338216f84bf0b6dfd24"
36
36
  }