Skip to content

Commit 6308875

Browse files
authored
chore(schema-compiler): Move DataSchemaCompiler to typescript (#9695)
1 parent b4a9597 commit 6308875

File tree

5 files changed

+184
-81
lines changed

5 files changed

+184
-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)