Skip to content

Commit b01b349

Browse files
committed
chore(schema-compiler): Move DataSchemaCompiler to typescript
1 parent ba13bd3 commit b01b349

File tree

5 files changed

+185
-81
lines changed

5 files changed

+185
-81
lines changed

packages/cubejs-backend-shared/src/FileRepository.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export interface FileContent {
55
fileName: string;
66
content: string;
77
readOnly?: boolean;
8+
isModule?: boolean;
89
}
910

1011
export interface SchemaFileRepository {
@@ -24,7 +25,7 @@ export class FileRepository implements SchemaFileRepository {
2425

2526
protected async getFiles(dir: string, fileList: string[] = []): Promise<string[]> {
2627
let files: string[] = [];
27-
28+
2829
try {
2930
const fullPath = path.join(this.localPath(), dir);
3031
await fs.ensureDir(fullPath);

0 commit comments

Comments
 (0)