altair-graphql-core 4.6.0 → 4.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PostrequestState } from
|
|
2
|
-
import { PrerequestState } from
|
|
3
|
-
import { ExportWindowState } from
|
|
4
|
-
export declare type SortByOptions =
|
|
1
|
+
import { PostrequestState } from "./postrequest.interfaces";
|
|
2
|
+
import { PrerequestState } from "./prerequest.interfaces";
|
|
3
|
+
import { ExportWindowState } from "./window.interfaces";
|
|
4
|
+
export declare type SortByOptions = "a-z" | "z-a" | "newest" | "oldest";
|
|
5
5
|
export interface CollectionState {
|
|
6
6
|
list: IQueryCollection[];
|
|
7
7
|
activeCollection: any;
|
|
@@ -9,13 +9,13 @@ export interface CollectionState {
|
|
|
9
9
|
}
|
|
10
10
|
export interface IQuery extends ExportWindowState {
|
|
11
11
|
id?: string;
|
|
12
|
-
serverId?: number;
|
|
12
|
+
serverId?: number | string;
|
|
13
13
|
created_at?: number;
|
|
14
14
|
updated_at?: number;
|
|
15
15
|
}
|
|
16
16
|
export interface IQueryCollection {
|
|
17
17
|
id?: number | string;
|
|
18
|
-
serverId?: number;
|
|
18
|
+
serverId?: number | string;
|
|
19
19
|
title: string;
|
|
20
20
|
queries: IQuery[];
|
|
21
21
|
description?: string;
|
|
@@ -35,6 +35,6 @@ export interface IQueryCollectionTree extends IQueryCollection {
|
|
|
35
35
|
}
|
|
36
36
|
export interface ExportCollectionState extends IQueryCollectionTree {
|
|
37
37
|
version: 1;
|
|
38
|
-
type:
|
|
38
|
+
type: "collection";
|
|
39
39
|
}
|
|
40
40
|
//# sourceMappingURL=collection.interfaces.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "altair-graphql-core",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.4",
|
|
4
4
|
"description": "Several of the core logic for altair graphql client",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"util": "0.12.4",
|
|
62
62
|
"uuid": "8.3.2"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "c42d38f84e24f9fb475094783ec3fd2ba3cea2c8"
|
|
65
65
|
}
|