lucid-extension-sdk 0.0.432 → 0.0.434
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.
|
@@ -45,11 +45,11 @@ export declare class DataConnectorResponseError extends Error {
|
|
|
45
45
|
constructor(message: string, response: string);
|
|
46
46
|
}
|
|
47
47
|
/** Used to track user collection access when EditorExtensionScope is PERSISTENT_SYNC. */
|
|
48
|
-
export interface
|
|
48
|
+
export interface AffectedDocumentCollectionsBody {
|
|
49
49
|
/** A mapping from collection IDs to item IDs indicating what was affected (e.g. imported, refreshed, updated) by the action. */
|
|
50
|
-
|
|
50
|
+
affectedDocumentCollections?: DocumentCollections;
|
|
51
51
|
}
|
|
52
|
-
type ActionTypeForName<P extends Patch, Name extends string, Asynchronous = boolean> = Name extends `${DataConnectorActionKeys.Patch}` ? ActionRequest<DataConnectorPatchAction<P>, PatchChange[]> : Name extends `${DataConnectorActionKeys.UnbatchedPatch}` ? ActionRequest<DataConnectorPatchAction<P>, PatchChange[]> : Name extends `${DataConnectorActionKeys.ManageWebhook}` ? ActionRequest<DataConnectorManageWebhookAction, Webhook> : ActionRequest<Asynchronous extends true ? DataConnectorAsynchronousAction : DataConnectorAction, unknown |
|
|
52
|
+
type ActionTypeForName<P extends Patch, Name extends string, Asynchronous = boolean> = Name extends `${DataConnectorActionKeys.Patch}` ? ActionRequest<DataConnectorPatchAction<P>, PatchChange[]> : Name extends `${DataConnectorActionKeys.UnbatchedPatch}` ? ActionRequest<DataConnectorPatchAction<P>, PatchChange[]> : Name extends `${DataConnectorActionKeys.ManageWebhook}` ? ActionRequest<DataConnectorManageWebhookAction, Webhook> : ActionRequest<Asynchronous extends true ? DataConnectorAsynchronousAction : DataConnectorAction, unknown | AffectedDocumentCollectionsBody>;
|
|
53
53
|
/** Factory class to define a bunch of action handlers. */
|
|
54
54
|
export declare class DataConnector<P extends Patch = ItemPatch> {
|
|
55
55
|
private client;
|
|
@@ -20,5 +20,6 @@ export declare enum DocumentElementType {
|
|
|
20
20
|
TrackedFormulaLocation = "TrackedFormulaLocation",
|
|
21
21
|
ElementAlias = "ElementAlias",
|
|
22
22
|
GeneratorCardSyncConfig = "GeneratorCardSyncConfig",
|
|
23
|
-
ScenarioSet = "ScenarioSet"
|
|
23
|
+
ScenarioSet = "ScenarioSet",
|
|
24
|
+
PropertyPrecedenceRegistry = "PropertyPrecedenceRegistry"
|
|
24
25
|
}
|
|
@@ -33,4 +33,5 @@ var DocumentElementType;
|
|
|
33
33
|
DocumentElementType["ElementAlias"] = "ElementAlias";
|
|
34
34
|
DocumentElementType["GeneratorCardSyncConfig"] = "GeneratorCardSyncConfig";
|
|
35
35
|
DocumentElementType["ScenarioSet"] = "ScenarioSet";
|
|
36
|
+
DocumentElementType["PropertyPrecedenceRegistry"] = "PropertyPrecedenceRegistry";
|
|
36
37
|
})(DocumentElementType || (exports.DocumentElementType = DocumentElementType = {}));
|