lucid-extension-sdk 0.0.98 → 0.0.100
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/package.json +1 -5
- package/sdk/core/data/datasource/datasourcetype.d.ts +12 -0
- package/sdk/core/data/datasource/datasourcetype.js +16 -0
- package/sdk/core/data/datasource/serializeddatasourceproperties.d.ts +6 -0
- package/sdk/core/data/datasource/serializeddatasourceproperties.js +2 -0
- package/sdk/core/data/datasource/serializedupstreamconfig.d.ts +12 -0
- package/sdk/core/data/datasource/serializedupstreamconfig.js +2 -0
- package/sdk/core/data/datasource/upstreampatchtype.d.ts +6 -0
- package/sdk/core/data/datasource/upstreampatchtype.js +10 -0
- package/sdk/core/data/datasource/upstreamupdatetype.d.ts +7 -0
- package/sdk/core/data/datasource/upstreamupdatetype.js +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lucid-extension-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.100",
|
|
4
4
|
"description": "Utility classes for writing Lucid Software editor extensions",
|
|
5
5
|
"main": "sdk/index.js",
|
|
6
6
|
"types": "sdk/index.d.ts",
|
|
@@ -13,9 +13,5 @@
|
|
|
13
13
|
"typedoc": "^0.23.15",
|
|
14
14
|
"typedoc-plugin-markdown": "^3.13.6",
|
|
15
15
|
"typescript": "4.7.4"
|
|
16
|
-
},
|
|
17
|
-
"exports": {
|
|
18
|
-
".": "./sdk/index.js",
|
|
19
|
-
"./*": "./sdk/*.js"
|
|
20
16
|
}
|
|
21
17
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** @ignore until spreadsheet integration is ready for launch */
|
|
2
|
+
export declare enum DataSourceType {
|
|
3
|
+
GoogleSheets = 0,
|
|
4
|
+
CSV = 1,
|
|
5
|
+
Excel = 2,
|
|
6
|
+
Salesforce = 3,
|
|
7
|
+
Generator = 4,
|
|
8
|
+
DataService = 5,
|
|
9
|
+
ForeignKeyOverride = 7,
|
|
10
|
+
Extension = 8,
|
|
11
|
+
Unknown = 9
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DataSourceType = void 0;
|
|
4
|
+
/** @ignore until spreadsheet integration is ready for launch */
|
|
5
|
+
var DataSourceType;
|
|
6
|
+
(function (DataSourceType) {
|
|
7
|
+
DataSourceType[DataSourceType["GoogleSheets"] = 0] = "GoogleSheets";
|
|
8
|
+
DataSourceType[DataSourceType["CSV"] = 1] = "CSV";
|
|
9
|
+
DataSourceType[DataSourceType["Excel"] = 2] = "Excel";
|
|
10
|
+
DataSourceType[DataSourceType["Salesforce"] = 3] = "Salesforce";
|
|
11
|
+
DataSourceType[DataSourceType["Generator"] = 4] = "Generator";
|
|
12
|
+
DataSourceType[DataSourceType["DataService"] = 5] = "DataService";
|
|
13
|
+
DataSourceType[DataSourceType["ForeignKeyOverride"] = 7] = "ForeignKeyOverride";
|
|
14
|
+
DataSourceType[DataSourceType["Extension"] = 8] = "Extension";
|
|
15
|
+
DataSourceType[DataSourceType["Unknown"] = 9] = "Unknown";
|
|
16
|
+
})(DataSourceType = exports.DataSourceType || (exports.DataSourceType = {}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SerializedUpstreamConfig } from './serializedupstreamconfig';
|
|
2
|
+
/** @ignore until spreadsheet integration is ready for launch */
|
|
3
|
+
export interface SerializedDataSourceProperties {
|
|
4
|
+
'Name': string;
|
|
5
|
+
'UpstreamConfig'?: SerializedUpstreamConfig | null | undefined;
|
|
6
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DataSourceType } from './datasourcetype';
|
|
2
|
+
import { UpstreamPatchType } from './upstreampatchtype';
|
|
3
|
+
import { UpstreamUpdateType } from './upstreamupdatetype';
|
|
4
|
+
/** @ignore until spreadsheet integration is ready for launch */
|
|
5
|
+
export interface SerializedUpstreamConfig {
|
|
6
|
+
'SourceType': DataSourceType;
|
|
7
|
+
'UpdateType': UpstreamUpdateType;
|
|
8
|
+
'PatchType'?: UpstreamPatchType | null | undefined;
|
|
9
|
+
'SourceConfig': {
|
|
10
|
+
[index: string]: any;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpstreamPatchType = void 0;
|
|
4
|
+
/** @ignore until spreadsheet integration is ready for launch */
|
|
5
|
+
var UpstreamPatchType;
|
|
6
|
+
(function (UpstreamPatchType) {
|
|
7
|
+
UpstreamPatchType[UpstreamPatchType["NONE"] = 0] = "NONE";
|
|
8
|
+
UpstreamPatchType[UpstreamPatchType["MANUAL"] = 2] = "MANUAL";
|
|
9
|
+
UpstreamPatchType[UpstreamPatchType["AUTO"] = 3] = "AUTO";
|
|
10
|
+
})(UpstreamPatchType = exports.UpstreamPatchType || (exports.UpstreamPatchType = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpstreamUpdateType = void 0;
|
|
4
|
+
/** @ignore until spreadsheet integration is ready for launch */
|
|
5
|
+
var UpstreamUpdateType;
|
|
6
|
+
(function (UpstreamUpdateType) {
|
|
7
|
+
UpstreamUpdateType[UpstreamUpdateType["NONE"] = 0] = "NONE";
|
|
8
|
+
UpstreamUpdateType[UpstreamUpdateType["PULL"] = 1] = "PULL";
|
|
9
|
+
UpstreamUpdateType[UpstreamUpdateType["USER"] = 2] = "USER";
|
|
10
|
+
UpstreamUpdateType[UpstreamUpdateType["EVENTPULL"] = 3] = "EVENTPULL";
|
|
11
|
+
})(UpstreamUpdateType = exports.UpstreamUpdateType || (exports.UpstreamUpdateType = {}));
|