@nocobase/data-source-manager 1.3.38-beta → 1.4.0-alpha

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.
@@ -15,7 +15,7 @@ export declare class Collection implements ICollection {
15
15
  fields: Map<string, IField>;
16
16
  constructor(options: CollectionOptions, collectionManager: ICollectionManager);
17
17
  get name(): string;
18
- get filterTargetKey(): string;
18
+ get filterTargetKey(): string | string[];
19
19
  updateOptions(options: CollectionOptions, mergeOptions?: any): this;
20
20
  setFields(fields: any[]): void;
21
21
  setField(name: string, options: any): CollectionField;
package/lib/types.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  export type CollectionOptions = {
10
10
  name: string;
11
11
  repository?: string;
12
- filterTargetKey?: string;
12
+ filterTargetKey?: string | Array<string>;
13
13
  fields: any[];
14
14
  [key: string]: any;
15
15
  };
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@nocobase/data-source-manager",
3
- "version": "1.3.38-beta",
3
+ "version": "1.4.0-alpha",
4
4
  "description": "",
5
5
  "license": "AGPL-3.0",
6
6
  "main": "./lib/index.js",
7
7
  "types": "./lib/index.d.ts",
8
8
  "dependencies": {
9
- "@nocobase/actions": "1.3.38-beta",
10
- "@nocobase/cache": "1.3.38-beta",
11
- "@nocobase/database": "1.3.38-beta",
12
- "@nocobase/resourcer": "1.3.38-beta",
13
- "@nocobase/utils": "1.3.38-beta",
9
+ "@nocobase/actions": "1.4.0-alpha",
10
+ "@nocobase/cache": "1.4.0-alpha",
11
+ "@nocobase/database": "1.4.0-alpha",
12
+ "@nocobase/resourcer": "1.4.0-alpha",
13
+ "@nocobase/utils": "1.4.0-alpha",
14
14
  "@types/jsonwebtoken": "^8.5.8",
15
15
  "jsonwebtoken": "^8.5.1"
16
16
  },
@@ -19,5 +19,5 @@
19
19
  "url": "git+https://github.com/nocobase/nocobase.git",
20
20
  "directory": "packages/auth"
21
21
  },
22
- "gitHead": "1b9490667c9224cd0b179cbf75e10a581c49b230"
22
+ "gitHead": "f097a2bddec152522b5645bd5d451f4c866d2060"
23
23
  }