@memberjunction/skip-types 0.9.27 → 0.9.29
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.
- package/dist/types.d.ts +44 -2
- package/dist/types.js +9 -3
- package/dist/types.js.map +1 -1
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -99,7 +99,7 @@ export declare const SkipRequestPhase: {
|
|
|
99
99
|
readonly data_gathering_failure: "data_gathering_failure";
|
|
100
100
|
};
|
|
101
101
|
export type SkipRequestPhase = typeof SkipRequestPhase[keyof typeof SkipRequestPhase];
|
|
102
|
-
export declare class
|
|
102
|
+
export declare class SkipEntityFieldInfo {
|
|
103
103
|
entityID: number;
|
|
104
104
|
sequence: number;
|
|
105
105
|
name: string;
|
|
@@ -148,9 +148,47 @@ export declare class SkipEntityInfo {
|
|
|
148
148
|
description?: string;
|
|
149
149
|
schemaName: string;
|
|
150
150
|
baseView: string;
|
|
151
|
-
fields:
|
|
151
|
+
fields: SkipEntityFieldInfo[];
|
|
152
152
|
relatedEntities: SkipEntityRelationshipInfo[];
|
|
153
153
|
}
|
|
154
|
+
export declare class SkipQueryInfo {
|
|
155
|
+
id: number;
|
|
156
|
+
name: string;
|
|
157
|
+
description: string;
|
|
158
|
+
categoryID: number;
|
|
159
|
+
sql: string;
|
|
160
|
+
originalSQL: string;
|
|
161
|
+
feedback: string;
|
|
162
|
+
status: 'Pending' | 'In-Review' | 'Approved' | 'Rejected' | 'Obsolete';
|
|
163
|
+
qualityRank: number;
|
|
164
|
+
createdAt: Date;
|
|
165
|
+
updatedAt: Date;
|
|
166
|
+
category: string;
|
|
167
|
+
fields: SkipQueryFieldInfo[];
|
|
168
|
+
}
|
|
169
|
+
export declare class SkipQueryFieldInfo {
|
|
170
|
+
name: string;
|
|
171
|
+
queryID: number;
|
|
172
|
+
description: string;
|
|
173
|
+
sequence: number;
|
|
174
|
+
/**
|
|
175
|
+
* The base type, not including parameters, in SQL. For example this field would be nvarchar or decimal, and wouldn't include type parameters. The SQLFullType field provides that information.
|
|
176
|
+
*/
|
|
177
|
+
sqlBaseType: string;
|
|
178
|
+
/**
|
|
179
|
+
* The full SQL type for the field, for example datetime or nvarchar(10) etc.
|
|
180
|
+
*/
|
|
181
|
+
sqlFullType: string;
|
|
182
|
+
sourceEntityID: number;
|
|
183
|
+
sourceFieldName: string;
|
|
184
|
+
isComputed: boolean;
|
|
185
|
+
computationDescription: string;
|
|
186
|
+
isSummary: boolean;
|
|
187
|
+
summaryDescription: string;
|
|
188
|
+
createdAt: Date;
|
|
189
|
+
updatedAt: Date;
|
|
190
|
+
sourceEntity: string;
|
|
191
|
+
}
|
|
154
192
|
/**
|
|
155
193
|
* Defines the shape of the data that is expected by the Skip API Server when making a request
|
|
156
194
|
*/
|
|
@@ -169,6 +207,10 @@ export declare class SkipAPIRequest {
|
|
|
169
207
|
* Summary entity metadata that is passed into the Skip Server so that Skip has knowledge of the schema of the calling MJAPI environment
|
|
170
208
|
*/
|
|
171
209
|
entities: SkipEntityInfo[];
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
*/
|
|
213
|
+
queries: SkipQueryInfo[];
|
|
172
214
|
/**
|
|
173
215
|
* The conversation ID
|
|
174
216
|
*/
|
package/dist/types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SkipDataRequest = exports.SkipDataRequestType = exports.SkipAPIDataRequestResponse = exports.SkipAPIClarifyingQuestionResponse = exports.SkipAPIAnalysisCompleteResponse = exports.SkipAPIResponse = exports.SkipResponsePhase = exports.SkipAPIRequest = exports.SkipEntityInfo = exports.SkipEntityRelationshipInfo = exports.
|
|
3
|
+
exports.SkipDataRequest = exports.SkipDataRequestType = exports.SkipAPIDataRequestResponse = exports.SkipAPIClarifyingQuestionResponse = exports.SkipAPIAnalysisCompleteResponse = exports.SkipAPIResponse = exports.SkipResponsePhase = exports.SkipAPIRequest = exports.SkipQueryFieldInfo = exports.SkipQueryInfo = exports.SkipEntityInfo = exports.SkipEntityRelationshipInfo = exports.SkipEntityFieldInfo = exports.SkipRequestPhase = exports.SkipColumnInfo = exports.SkipMessage = exports.SkipSubProcessResponse = exports.MJAPISkipResult = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* This type defines the shape of data that is passed back from the MJ API server to callers, typically the MJ Explorer UI
|
|
6
6
|
*/
|
|
@@ -42,9 +42,9 @@ exports.SkipRequestPhase = {
|
|
|
42
42
|
data_gathering_response: 'data_gathering_response',
|
|
43
43
|
data_gathering_failure: 'data_gathering_failure'
|
|
44
44
|
};
|
|
45
|
-
class
|
|
45
|
+
class SkipEntityFieldInfo {
|
|
46
46
|
}
|
|
47
|
-
exports.
|
|
47
|
+
exports.SkipEntityFieldInfo = SkipEntityFieldInfo;
|
|
48
48
|
class SkipEntityRelationshipInfo {
|
|
49
49
|
}
|
|
50
50
|
exports.SkipEntityRelationshipInfo = SkipEntityRelationshipInfo;
|
|
@@ -55,6 +55,12 @@ class SkipEntityInfo {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
exports.SkipEntityInfo = SkipEntityInfo;
|
|
58
|
+
class SkipQueryInfo {
|
|
59
|
+
}
|
|
60
|
+
exports.SkipQueryInfo = SkipQueryInfo;
|
|
61
|
+
class SkipQueryFieldInfo {
|
|
62
|
+
}
|
|
63
|
+
exports.SkipQueryFieldInfo = SkipQueryFieldInfo;
|
|
58
64
|
/**
|
|
59
65
|
* Defines the shape of the data that is expected by the Skip API Server when making a request
|
|
60
66
|
*/
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACH,MAAa,eAAe;CAgD3B;AAhDD,0CAgDC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|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/skip-types",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.29",
|
|
4
4
|
"description": "MemberJunction: Skip AI Assistant - Types that are used between the MJAPI and the Skip API as well as the UI within MemberJunction Explorer",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"typescript": "^5.3.3"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@memberjunction/core-entities": "^0.9.
|
|
23
|
-
"@memberjunction/data-context": "^0.9.
|
|
22
|
+
"@memberjunction/core-entities": "^0.9.128",
|
|
23
|
+
"@memberjunction/data-context": "^0.9.15"
|
|
24
24
|
}
|
|
25
25
|
}
|