@nocobase/database 1.3.45-beta → 1.3.47-beta

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.
@@ -135,7 +135,7 @@ export declare class Collection<TModelAttributes extends {} = any, TCreationAttr
135
135
  quotedTableName(): any;
136
136
  collectionSchema(): string;
137
137
  isView(): boolean;
138
- unavailableActions(): string[];
138
+ unavailableActions(): any[];
139
139
  protected sequelizeModelOptions(): {
140
140
  modelName: string;
141
141
  sequelize: import("sequelize").Sequelize;
package/lib/collection.js CHANGED
@@ -617,9 +617,6 @@ const _Collection = class _Collection extends import_events.EventEmitter {
617
617
  return false;
618
618
  }
619
619
  unavailableActions() {
620
- if (this.options.template === "file") {
621
- return ["create", "update", "destroy"];
622
- }
623
620
  return [];
624
621
  }
625
622
  sequelizeModelOptions() {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@nocobase/database",
3
- "version": "1.3.45-beta",
3
+ "version": "1.3.47-beta",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
7
7
  "license": "AGPL-3.0",
8
8
  "dependencies": {
9
- "@nocobase/logger": "1.3.45-beta",
10
- "@nocobase/utils": "1.3.45-beta",
9
+ "@nocobase/logger": "1.3.47-beta",
10
+ "@nocobase/utils": "1.3.47-beta",
11
11
  "async-mutex": "^0.3.2",
12
12
  "chalk": "^4.1.1",
13
13
  "cron-parser": "4.4.0",
@@ -38,5 +38,5 @@
38
38
  "url": "git+https://github.com/nocobase/nocobase.git",
39
39
  "directory": "packages/database"
40
40
  },
41
- "gitHead": "d568bfc1a01f461fbec0cc50b8c6ae5e1901038c"
41
+ "gitHead": "dcc260ecf21d9fcb04ef56f2ec8c4de23a8484f3"
42
42
  }