lucid-extension-sdk 0.0.283 → 0.0.286
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,10 +1,16 @@
|
|
|
1
1
|
import { isString } from '../../checks';
|
|
2
2
|
import { SerializedUpstreamConfig } from './serializedupstreamconfig';
|
|
3
|
+
export declare enum Direction {
|
|
4
|
+
Inward = "inward",
|
|
5
|
+
Outward = "outward"
|
|
6
|
+
}
|
|
7
|
+
export type DirectionType = Direction | null | undefined;
|
|
3
8
|
export type SerializedSourceForeignKey = {
|
|
4
9
|
'Id': string;
|
|
5
10
|
'SourceFields': string[];
|
|
6
11
|
'RelationshipType': string;
|
|
7
12
|
'Represents'?: string | null | undefined;
|
|
13
|
+
'Direction'?: DirectionType;
|
|
8
14
|
};
|
|
9
15
|
export declare const isSerializedSourceForeignKey: (subject: unknown) => subject is import("../../guards").DestructureGuardedTypeObj<{
|
|
10
16
|
Id: typeof isString;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isSerializedDataSourceProperties = exports.isSerializedSourceForeignKey = void 0;
|
|
3
|
+
exports.isSerializedDataSourceProperties = exports.isSerializedSourceForeignKey = exports.Direction = void 0;
|
|
4
4
|
const checks_1 = require("../../checks");
|
|
5
5
|
const validators_1 = require("../../validators/validators");
|
|
6
6
|
const serializedupstreamconfig_1 = require("./serializedupstreamconfig");
|
|
7
|
+
var Direction;
|
|
8
|
+
(function (Direction) {
|
|
9
|
+
Direction["Inward"] = "inward";
|
|
10
|
+
Direction["Outward"] = "outward";
|
|
11
|
+
})(Direction || (exports.Direction = Direction = {}));
|
|
7
12
|
exports.isSerializedSourceForeignKey = (0, validators_1.objectValidator)({
|
|
8
13
|
'Id': checks_1.isString,
|
|
9
14
|
'SourceFields': (0, validators_1.arrayValidator)(checks_1.isString),
|
|
@@ -56,6 +56,7 @@ export declare const isSerializedImportedDataSource: (subject: unknown) => subje
|
|
|
56
56
|
SourceConfig: typeof isObject;
|
|
57
57
|
}> | null | undefined;
|
|
58
58
|
SourceForeignKeys: (x: unknown) => x is import("../../guards").DestructureGuardedTypeObj<{
|
|
59
|
+
/** @ignore until spreadsheet integration is ready for launch (CHART-51946) */
|
|
59
60
|
Id: typeof isString;
|
|
60
61
|
SourceFields: (p1: unknown) => p1 is string[];
|
|
61
62
|
RelationshipType: typeof isString;
|
|
@@ -92,6 +93,7 @@ export declare const isSerializedPreviewData: (subject: unknown) => subject is i
|
|
|
92
93
|
SourceConfig: typeof isObject;
|
|
93
94
|
}> | null | undefined;
|
|
94
95
|
SourceForeignKeys: (x: unknown) => x is import("../../guards").DestructureGuardedTypeObj<{
|
|
96
|
+
/** @ignore until spreadsheet integration is ready for launch (CHART-51946) */
|
|
95
97
|
Id: typeof isString;
|
|
96
98
|
SourceFields: (p1: unknown) => p1 is string[];
|
|
97
99
|
RelationshipType: typeof isString;
|