diff --git a/backend/migrations/20220624180013_workspace_premium_grant.down.sql b/backend/migrations/20220624180013_workspace_premium_grant.down.sql new file mode 100644 index 0000000000..d2f607c5b8 --- /dev/null +++ b/backend/migrations/20220624180013_workspace_premium_grant.down.sql @@ -0,0 +1 @@ +-- Add down migration script here diff --git a/backend/migrations/20220624180013_workspace_premium_grant.up.sql b/backend/migrations/20220624180013_workspace_premium_grant.up.sql new file mode 100644 index 0000000000..08ab13a24c --- /dev/null +++ b/backend/migrations/20220624180013_workspace_premium_grant.up.sql @@ -0,0 +1,3 @@ +-- Add up migration script here +GRANT SELECT ON workspace TO app; + diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 82036041fd..c39714312b 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { "moduleResolution": "node", - "module": "es2020", - "lib": ["es2021", "DOM"], - "target": "es2021", + "module": "esnext", + "lib": ["esnext", "DOM"], + "target": "esnext", + "preserveValueImports": true, + /** svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript to enforce using \`import type\` instead of \`import\` for Types.