@apify/input_schema 3.10.0 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/index.d.ts CHANGED
@@ -1010,6 +1010,9 @@ type ResourceFieldDefinition = CommonResourceFieldDefinition<string> & {
1010
1010
  };
1011
1011
  type ResourceArrayFieldDefinition = CommonResourceFieldDefinition<string[]> & {
1012
1012
  type: 'array';
1013
+ maxItems?: number;
1014
+ minItems?: number;
1015
+ uniqueItems?: boolean;
1013
1016
  };
1014
1017
  type AllTypes = StringFieldDefinition['type'] | BooleanFieldDefinition['type'] | IntegerFieldDefinition['type'] | ObjectFieldDefinition['type'] | ArrayFieldDefinition['type'];
1015
1018
  type MixedFieldDefinition = CommonFieldDefinition<never> & {
package/esm/index.d.mts CHANGED
@@ -1010,6 +1010,9 @@ type ResourceFieldDefinition = CommonResourceFieldDefinition<string> & {
1010
1010
  };
1011
1011
  type ResourceArrayFieldDefinition = CommonResourceFieldDefinition<string[]> & {
1012
1012
  type: 'array';
1013
+ maxItems?: number;
1014
+ minItems?: number;
1015
+ uniqueItems?: boolean;
1013
1016
  };
1014
1017
  type AllTypes = StringFieldDefinition['type'] | BooleanFieldDefinition['type'] | IntegerFieldDefinition['type'] | ObjectFieldDefinition['type'] | ArrayFieldDefinition['type'];
1015
1018
  type MixedFieldDefinition = CommonFieldDefinition<never> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/input_schema",
3
- "version": "3.10.0",
3
+ "version": "3.11.0",
4
4
  "description": "Tools and constants shared across Apify projects.",
5
5
  "main": "./cjs/index.cjs",
6
6
  "module": "./esm/index.mjs",
@@ -55,5 +55,5 @@
55
55
  "peerDependencies": {
56
56
  "ajv": "^8.0.0"
57
57
  },
58
- "gitHead": "a567f4e5e72f380ee658c9a116f02f1dd294ef85"
58
+ "gitHead": "0588848f145b26e0681292aa087136e05cb02dbc"
59
59
  }