We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c681dc0 commit d422b8fCopy full SHA for d422b8f
src/collections.ts
@@ -0,0 +1 @@
1
+export function buildCollections(collections: any): any {}
src/index.ts
@@ -1 +1,13 @@
-export function buildQuery(query: any): any {}
+import {buildCollections} from './collections'
2
+
3
+export interface query {
4
+ collections: any,
5
+ terms: any,
6
+ filters: any,
7
+}
8
9
+export function buildQuery(query: query): any {
10
+ const collections: any = buildCollections(query.collections)
11
12
+ return collections
13
tsconfig.json
@@ -2,7 +2,7 @@
"compilerOptions": {
"outDir": "./built",
"allowJs": true,
- "target": "es5",
+ "target": "es2015",
"declaration": true,
"emitDeclarationOnly": true
},
0 commit comments