lucid-extension-sdk
Advanced tools
Comparing version 0.0.271 to 0.0.272
import { isString } from '../../checks'; | ||
import { SerializedUpstreamConfig } from './serializedupstreamconfig'; | ||
export type SerializedSourceForeignKey = { | ||
'Id': string; | ||
'SourceFields': string[]; | ||
'RelationshipType': string; | ||
'Represents'?: string | null | undefined; | ||
}; | ||
export declare const isSerializedSourceForeignKey: (subject: unknown) => subject is import("../../guards").DestructureGuardedTypeObj<{ | ||
Id: typeof isString; | ||
SourceFields: (p1: unknown) => p1 is string[]; | ||
RelationshipType: typeof isString; | ||
}>; | ||
/** @ignore until spreadsheet integration is ready for launch (CHART-51946) */ | ||
@@ -7,2 +18,3 @@ export interface SerializedDataSourceProperties { | ||
'UpstreamConfig'?: SerializedUpstreamConfig | null | undefined; | ||
'SourceForeignKeys'?: SerializedSourceForeignKey[] | null | undefined; | ||
} | ||
@@ -18,2 +30,7 @@ /** @ignore until spreadsheet integration is ready for launch (CHART-51946) */ | ||
}> | null | undefined; | ||
SourceForeignKeys: (x: unknown) => x is import("../../guards").DestructureGuardedTypeObj<{ | ||
Id: typeof isString; | ||
SourceFields: (p1: unknown) => p1 is string[]; | ||
RelationshipType: typeof isString; | ||
}>[] | null | undefined; | ||
}>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isSerializedDataSourceProperties = void 0; | ||
exports.isSerializedDataSourceProperties = exports.isSerializedSourceForeignKey = void 0; | ||
const checks_1 = require("../../checks"); | ||
const validators_1 = require("../../validators/validators"); | ||
const serializedupstreamconfig_1 = require("./serializedupstreamconfig"); | ||
exports.isSerializedSourceForeignKey = (0, validators_1.objectValidator)({ | ||
'Id': checks_1.isString, | ||
'SourceFields': (0, validators_1.arrayValidator)(checks_1.isString), | ||
'RelationshipType': checks_1.isString, | ||
}); | ||
/** @ignore until spreadsheet integration is ready for launch (CHART-51946) */ | ||
@@ -11,2 +16,3 @@ exports.isSerializedDataSourceProperties = (0, validators_1.strictObjectValidator)({ | ||
'UpstreamConfig': (0, validators_1.nullableOption)(serializedupstreamconfig_1.isSerializedUpstreamConfig), | ||
'SourceForeignKeys': (0, validators_1.nullableOption)((0, validators_1.arrayValidator)(exports.isSerializedSourceForeignKey)), | ||
}); |
@@ -58,2 +58,7 @@ import { isObject, isString } from '../../checks'; | ||
}> | null | undefined; | ||
SourceForeignKeys: (x: unknown) => x is import("../../guards").DestructureGuardedTypeObj<{ | ||
Id: typeof isString; | ||
SourceFields: (p1: unknown) => p1 is string[]; | ||
RelationshipType: typeof isString; | ||
}>[] | null | undefined; | ||
}>; | ||
@@ -60,0 +65,0 @@ Collections: (val: unknown) => val is import("../../guards").DestructureGuardedTypeObj<{ |
{ | ||
"name": "lucid-extension-sdk", | ||
"version": "0.0.271", | ||
"version": "0.0.272", | ||
"description": "Utility classes for writing Lucid Software editor extensions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
762477
17665