Compare commits
1 Commits
test-async
...
js-in-ts
Author | SHA1 | Date | |
---|---|---|---|
![]() |
321019d36a |
10
packages/backend/src/graphql/queries/get-use-js-file.js
Normal file
10
packages/backend/src/graphql/queries/get-use-js-file.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import appConfig from '../../config/app';
|
||||
|
||||
const getUseJsFile = async () => {
|
||||
return {
|
||||
canInvoke: true,
|
||||
appConfig,
|
||||
};
|
||||
};
|
||||
|
||||
export default getUseJsFile;
|
@@ -6,6 +6,7 @@ import getApps from './queries/get-apps';
|
||||
import getAutomatischInfo from './queries/get-automatisch-info';
|
||||
import getBillingAndUsage from './queries/get-billing-and-usage.ee';
|
||||
import getConfig from './queries/get-config.ee';
|
||||
import getUseJsFile from './queries/get-use-js-file.js';
|
||||
import getConnectedApps from './queries/get-connected-apps';
|
||||
import getCurrentUser from './queries/get-current-user';
|
||||
import getDynamicData from './queries/get-dynamic-data';
|
||||
@@ -68,6 +69,7 @@ const queryResolvers = {
|
||||
healthcheck,
|
||||
listSamlAuthProviders,
|
||||
testConnection,
|
||||
getUseJsFile,
|
||||
};
|
||||
|
||||
export default queryResolvers;
|
||||
|
@@ -11,6 +11,7 @@ type Query {
|
||||
getConnectedApps(name: String): [App]
|
||||
testConnection(id: String!): Connection
|
||||
getFlow(id: String!): Flow
|
||||
getUseJsFile: JSONObject
|
||||
getFlows(
|
||||
limit: Int!
|
||||
offset: Int!
|
||||
|
@@ -2,11 +2,12 @@
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"allowJs": true,
|
||||
"esModuleInterop": true,
|
||||
"lib": ["es2021"],
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"noImplicitAny": true,
|
||||
"noImplicitAny": false,
|
||||
"outDir": "dist",
|
||||
"paths": {
|
||||
"*": ["../../node_modules/*", "node_modules/*", "src/types/*"]
|
||||
|
Reference in New Issue
Block a user