@memberjunction/skip-types 0.9.15 → 0.9.17
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 +22 -2
- package/dist/types.js.map +1 -1
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -125,18 +125,38 @@ export declare class SkipDataContextItem {
|
|
|
125
125
|
*/
|
|
126
126
|
Type: 'view' | 'query' | 'full_entity' | 'sql' | 'single_record';
|
|
127
127
|
/**
|
|
128
|
-
* The ID of the
|
|
128
|
+
* The ID of the single record in the system, only used if type = 'single_record'
|
|
129
129
|
*/
|
|
130
130
|
RecordID: number;
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* EntityID - the ID of the entity in the system, only used if type = 'full_entity', 'view', or 'single_record' --- for type of 'query' or 'sql' this property is not used as results can come from any number of entities in combination
|
|
133
|
+
*/
|
|
134
|
+
EntityID?: number;
|
|
135
|
+
/**
|
|
136
|
+
* ViewID - the ID of the view in the system, only used if type = 'view'
|
|
137
|
+
*/
|
|
138
|
+
ViewID?: number;
|
|
139
|
+
/**
|
|
140
|
+
* QueryID - the ID of the query in the system, only used if type = 'query'
|
|
141
|
+
*/
|
|
142
|
+
QueryID?: number;
|
|
143
|
+
/**
|
|
144
|
+
* The name of the view, query, or entity in the system. Not used with type='single_record' or type='sql'
|
|
133
145
|
*/
|
|
134
146
|
RecordName: string;
|
|
147
|
+
/**
|
|
148
|
+
* SQL - the SQL statement to execute, only used if type = 'sql'
|
|
149
|
+
*/
|
|
150
|
+
SQL?: string;
|
|
135
151
|
/**
|
|
136
152
|
* The name of the entity in the system, only used if type = 'full_entity', 'view', or 'single_record' --- for type of 'query' or 'sql' this property is not used as results can come from any number of entities in combination
|
|
137
153
|
*/
|
|
138
154
|
EntityName?: string;
|
|
139
155
|
Fields: SkipDataContextFieldInfo[];
|
|
156
|
+
/**
|
|
157
|
+
* This field can be used at run time to stash the record ID in the database of the Data Context Item, if it was already saved. For items that haven't/won't be saved, this property can be ignored.
|
|
158
|
+
*/
|
|
159
|
+
DataContextItemID?: number;
|
|
140
160
|
/**
|
|
141
161
|
* ViewEntity - the object instantiated that contains the metadata for the UserView being used - only populated if the type is 'view', also this is NOT to be sent to/from the API server, it is a placeholder that can be used
|
|
142
162
|
* within a given tier like in the MJAPI server or Skip Server or in the UI.
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAGA,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAGD;;GAEG;AACH,MAAa,WAAW;CASvB;AATD,kCASC;AAED;;GAEG;AACH,MAAa,cAAc;CA4B1B;AA5BD,wCA4BC;AAED;;GAEG;AACH,MAAa,eAAe;CAa3B;AAbD,0CAaC;AAED;;GAEG;AACH,MAAa,+BAAgC,SAAQ,eAAe;CAQnE;AARD,0EAQC;AAED;;GAEG;AACH,MAAa,iCAAkC,SAAQ,eAAe;CAErE;AAFD,8EAEC;AAED;;GAEG;AACH,MAAa,0BAA2B,SAAQ,eAAe;CAE9D;AAFD,gEAEC;AAED;;GAEG;AACH,MAAa,eAAe;CAa3B;AAbD,0CAaC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,mBAAmB;IAAhC;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAGA,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAGD;;GAEG;AACH,MAAa,WAAW;CASvB;AATD,kCASC;AAED;;GAEG;AACH,MAAa,cAAc;CA4B1B;AA5BD,wCA4BC;AAED;;GAEG;AACH,MAAa,eAAe;CAa3B;AAbD,0CAaC;AAED;;GAEG;AACH,MAAa,+BAAgC,SAAQ,eAAe;CAQnE;AARD,0EAQC;AAED;;GAEG;AACH,MAAa,iCAAkC,SAAQ,eAAe;CAErE;AAFD,8EAEC;A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AAC;QAC/C,CAAC;QACD,OAAO,GAAG,CAAC;IACf,CAAC;IAEM,gCAAgC;QACnC,IAAI,OAAO,GAAW,EAAE,CAAC;QACzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC3B,OAAO,IAAI,aAAa,CAAC,YAAY,IAAI,CAAC,WAAW,IAAI,CAAC;QAC9D,CAAC;QACD,OAAO,IAAI,OAAO,GAAG,CAAC;IAC1B,CAAC;CACJ;AA3BD,0CA2BC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/skip-types",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.17",
|
|
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,6 +19,6 @@
|
|
|
19
19
|
"typescript": "^5.3.3"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@memberjunction/core-entities": "^0.9.
|
|
22
|
+
"@memberjunction/core-entities": "^0.9.123"
|
|
23
23
|
}
|
|
24
24
|
}
|