Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

remove non-ee files

Fendy Heryantob01cd268ada8
diff --git a/packages/nocodb/src/controllers/record-templates.controller.ts b/packages/nocodb/src/controllers/record-templates.controller.ts
deleted file mode 100644
index 59d6a08cce..0000000000
--- a/packages/nocodb/src/controllers/record-templates.controller.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-// DEPRECATED: Record Templates is an EE-only feature.
-// The actual implementation lives in src/ee/controllers/record-templates.controller.ts
-// This file exists only as a placeholder and is not imported by CE modules.
-export {};
diff --git a/packages/nocodb/src/models/RecordTemplate.ts b/packages/nocodb/src/models/RecordTemplate.ts
deleted file mode 100644
index d1d618826c..0000000000
--- a/packages/nocodb/src/models/RecordTemplate.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-// CE stub – Record Templates is an EE-only feature.
-// The actual implementation lives in src/ee/models/RecordTemplate.ts
-export default class RecordTemplate {
- constructor(data: any) {
- Object.assign(this, data);
- }
-
- public static async insert(..._args: any) {
- return null;
- }
-
- public static async get(..._args: any) {
- return null;
- }
-
- public static async list(..._args: any) {
- return [];
- }
-
- public static async update(..._args: any) {
- return null;
- }
-
- public static async delete(..._args: any) {
- return true;
- }
-
- public static async incrementUsageCount(..._args: any) {
- return null;
- }
-
- public static castType(_template: any): RecordTemplate | null {
- return null;
- }
-}
diff --git a/packages/nocodb/src/models/index.ts b/packages/nocodb/src/models/index.ts
index 886370170b..e369516458 100644
--- a/packages/nocodb/src/models/index.ts
+++ b/packages/nocodb/src/models/index.ts
@@ -64,4 +64,3 @@ export { default as Workspace } from './Workspace';
export { default as DependencyTracker } from './DependencyTracker';
export { default as Widget } from './Widget';
export { default as Workflow } from './Workflow';
-export { default as RecordTemplate } from './RecordTemplate';