lucid-extension-sdk 0.0.425 → 0.0.427
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/commandtypes.d.ts +2 -0
- package/core/cardintegration/cardfielddisplaysettings.d.ts +6 -1
- package/core/cardintegration/cardfielddisplaysettings.js +6 -1
- package/core/cardintegration/cardintegrationparams.d.ts +5 -1
- package/core/cardintegration/lucidcardintegration.d.ts +8 -1
- package/core/cardintegration/lucidcardintegrationregistry.js +10 -2
- package/core/importcardfromdetails/importcardfromdetails.d.ts +50 -0
- package/core/importcardfromdetails/importcardfromdetails.js +35 -0
- package/core/importcardfrompastedlink/importcardfrompastedlinkcallback.d.ts +2 -2
- package/core/importcardfrompastedlink/importcardfrompastedlinkdetails.d.ts +21 -39
- package/core/importcardfrompastedlink/importcardfrompastedlinkdetails.js +13 -32
- package/package.json +1 -1
package/commandtypes.d.ts
CHANGED
|
@@ -764,6 +764,8 @@ export type AddCardIntegrationQuery = {
|
|
|
764
764
|
'ts'?: Partial<TextStyle> | undefined;
|
|
765
765
|
/** Field configuration */
|
|
766
766
|
'fc': SerializedFieldConfiguration;
|
|
767
|
+
/** Import from serialized fields callback */
|
|
768
|
+
'ifs'?: string | undefined;
|
|
767
769
|
/** If we can only search for user by their name (and not email) in the card integration. */
|
|
768
770
|
'subn'?: boolean | undefined;
|
|
769
771
|
/** Callback to search for a user in the card integration */
|
|
@@ -3,7 +3,7 @@ import { HorizontalBadgePos, VerticalBadgePos } from '../properties/datagraphic/
|
|
|
3
3
|
/**
|
|
4
4
|
* When configuring a field on a LucidCardBlock to be displayed as a data graphic, one of these values specifies
|
|
5
5
|
* the function to convert the field value to the data graphic settings. The definition of these functions is in
|
|
6
|
-
*
|
|
6
|
+
* LucidCardsRegistry.registerDefaults.
|
|
7
7
|
*/
|
|
8
8
|
export declare enum FieldDisplayType {
|
|
9
9
|
/**
|
|
@@ -34,6 +34,11 @@ export declare enum FieldDisplayType {
|
|
|
34
34
|
* as a string, e.g. "Sep 9"
|
|
35
35
|
*/
|
|
36
36
|
DateBadge = "DateBadge",
|
|
37
|
+
/**
|
|
38
|
+
* Given a date range, display a small calendar icon alongside a short version of the date range
|
|
39
|
+
* as a string, e.g. "1/16/2025 - 2/16/2025"
|
|
40
|
+
*/
|
|
41
|
+
DateRangeBadge = "DateRangeBadge",
|
|
37
42
|
/** Given an object containing iconUrl (optional) and name (optional), determine whether
|
|
38
43
|
* to display as an ImageBadge or InitializedString (or nothing, if neither is present).
|
|
39
44
|
*
|
|
@@ -7,7 +7,7 @@ const validators_1 = require("../validators/validators");
|
|
|
7
7
|
/**
|
|
8
8
|
* When configuring a field on a LucidCardBlock to be displayed as a data graphic, one of these values specifies
|
|
9
9
|
* the function to convert the field value to the data graphic settings. The definition of these functions is in
|
|
10
|
-
*
|
|
10
|
+
* LucidCardsRegistry.registerDefaults.
|
|
11
11
|
*/
|
|
12
12
|
var FieldDisplayType;
|
|
13
13
|
(function (FieldDisplayType) {
|
|
@@ -39,6 +39,11 @@ var FieldDisplayType;
|
|
|
39
39
|
* as a string, e.g. "Sep 9"
|
|
40
40
|
*/
|
|
41
41
|
FieldDisplayType["DateBadge"] = "DateBadge";
|
|
42
|
+
/**
|
|
43
|
+
* Given a date range, display a small calendar icon alongside a short version of the date range
|
|
44
|
+
* as a string, e.g. "1/16/2025 - 2/16/2025"
|
|
45
|
+
*/
|
|
46
|
+
FieldDisplayType["DateRangeBadge"] = "DateRangeBadge";
|
|
42
47
|
/** Given an object containing iconUrl (optional) and name (optional), determine whether
|
|
43
48
|
* to display as an ImageBadge or InitializedString (or nothing, if neither is present).
|
|
44
49
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SerializedFieldType } from '../data/serializedfield/serializedfields';
|
|
1
|
+
import { SerializedFieldType, SerializedFields } from '../data/serializedfield/serializedfields';
|
|
2
2
|
import { UnsafeJsonSerializableOrUndefined } from '../jsonserializable';
|
|
3
3
|
/** @ignore */
|
|
4
4
|
export interface GetFieldsParam {
|
|
@@ -86,4 +86,8 @@ export interface FieldLabelIconsCallbackParam {
|
|
|
86
86
|
'c': string;
|
|
87
87
|
'p': string;
|
|
88
88
|
}
|
|
89
|
+
/** @ignore */
|
|
90
|
+
export interface ImportFromSerializedFieldsCallbackParam {
|
|
91
|
+
'sf': SerializedFields[];
|
|
92
|
+
}
|
|
89
93
|
export {};
|
|
@@ -3,7 +3,8 @@ import { DataSourceProxy } from '../../data/datasourceproxy';
|
|
|
3
3
|
import { TextStyle } from '../../document/text/textstyle';
|
|
4
4
|
import { EditorClient } from '../../editorclient';
|
|
5
5
|
import { isString } from '../checks';
|
|
6
|
-
import { SerializedFieldType } from '../data/serializedfield/serializedfields';
|
|
6
|
+
import { SerializedFieldType, SerializedFields } from '../data/serializedfield/serializedfields';
|
|
7
|
+
import { ImportCardFromDetails } from '../importcardfromdetails/importcardfromdetails';
|
|
7
8
|
import { ImportCardFromPastedLinkCallback } from '../importcardfrompastedlink/importcardfrompastedlinkcallback';
|
|
8
9
|
import { DependenciesForItems, ExtensionCardFieldDefinition, ExtensionFieldConfiguration, ImportResult } from '../sharedcardintegration/cardintegrationdefinitions';
|
|
9
10
|
import { CardIntegrationConfig } from './cardintegrationconfig';
|
|
@@ -136,4 +137,10 @@ export declare abstract class LucidCardIntegration {
|
|
|
136
137
|
domain: string;
|
|
137
138
|
callback: ImportCardFromPastedLinkCallback;
|
|
138
139
|
};
|
|
140
|
+
/**
|
|
141
|
+
* If specified, allows users to import cards by copying a card on one board and pasting it to another board.
|
|
142
|
+
* This function should interface with `SerializedFields` to get the data from the copied card necessary to trigger
|
|
143
|
+
* the import.
|
|
144
|
+
*/
|
|
145
|
+
importFromSerializedFields?: (data: SerializedFields[]) => Promise<ImportCardFromDetails>;
|
|
139
146
|
}
|
|
@@ -7,7 +7,7 @@ const dataitemproxy_1 = require("../../data/dataitemproxy");
|
|
|
7
7
|
const datasourceproxy_1 = require("../../data/datasourceproxy");
|
|
8
8
|
const importcardfrompastedlinkeventmessage_1 = require("../../message/importcardfrompastedlinkeventmessage");
|
|
9
9
|
const checks_1 = require("../checks");
|
|
10
|
-
const
|
|
10
|
+
const importcardfromdetails_1 = require("../importcardfromdetails/importcardfromdetails");
|
|
11
11
|
const cardintegrationdefinitions_1 = require("../sharedcardintegration/cardintegrationdefinitions");
|
|
12
12
|
const cardintegrationconfig_1 = require("./cardintegrationconfig");
|
|
13
13
|
const lucidcardintegrationcustomimportmodal_1 = require("./lucidcardintegrationcustomimportmodal");
|
|
@@ -189,7 +189,7 @@ class LucidCardIntegrationRegistry {
|
|
|
189
189
|
const msg = (0, importcardfrompastedlinkeventmessage_1.deserializeImportCardFromPastedLinkEventMessage)(rawMsg);
|
|
190
190
|
const result = await callback(msg.url);
|
|
191
191
|
if (result) {
|
|
192
|
-
return (0,
|
|
192
|
+
return (0, importcardfromdetails_1.serializeImportCardFromDetails)(result);
|
|
193
193
|
}
|
|
194
194
|
return undefined;
|
|
195
195
|
}
|
|
@@ -350,6 +350,14 @@ class LucidCardIntegrationRegistry {
|
|
|
350
350
|
}
|
|
351
351
|
this.registerDependencyMapping(client, cardIntegration, serialized);
|
|
352
352
|
this.registerImportCardFromPastedLinkHandler(client, cardIntegration, serialized);
|
|
353
|
+
if (cardIntegration.importFromSerializedFields) {
|
|
354
|
+
const importFromSerializedFields = cardIntegration.importFromSerializedFields;
|
|
355
|
+
serialized['ifs'] = LucidCardIntegrationRegistry.nextHookName();
|
|
356
|
+
client.registerAction(serialized['ifs'], async ({ 'sf': serializedFields }) => {
|
|
357
|
+
const result = await importFromSerializedFields(serializedFields);
|
|
358
|
+
return (0, importcardfromdetails_1.serializeImportCardFromDetails)(result);
|
|
359
|
+
});
|
|
360
|
+
}
|
|
353
361
|
client.sendCommand("aci" /* CommandName.AddCardIntegration */, serialized);
|
|
354
362
|
}
|
|
355
363
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { isString } from '../checks';
|
|
2
|
+
import { SerializedFieldType } from '../data/serializedfield/serializedfields';
|
|
3
|
+
import { PlaceholderImportMetadata, SerializedPlaceholderImportMetadata } from '../sharedcardintegration/cardintegrationdefinitions';
|
|
4
|
+
/**
|
|
5
|
+
* A definition of the details required to import a card into the editor from a pasted url or pasted card clipboard data.
|
|
6
|
+
*/
|
|
7
|
+
export interface ImportCardFromDetails {
|
|
8
|
+
/**
|
|
9
|
+
* A list of primary keys to import onto the canvas via your extension's import action.
|
|
10
|
+
*
|
|
11
|
+
* These should be formatted the same as primary keys on the document's collection. For example, numeric keys would
|
|
12
|
+
* be formatted as `['123']`, and string keys would be formatted inside double quotes `['"my-item"']`
|
|
13
|
+
*/
|
|
14
|
+
primaryKeys: string[];
|
|
15
|
+
/**
|
|
16
|
+
* If `placeholderImportMetadataList` is provided, it is used to quickly splat a card on the canvas while waiting
|
|
17
|
+
* for the import action to finish, identical to how modal-based imports use search results to splat cards. Ensure
|
|
18
|
+
* that the schema of the `collectionDefinition` field in each placeholder import metadata is a subset of the
|
|
19
|
+
* collection that the imported cards will be added to.
|
|
20
|
+
*/
|
|
21
|
+
placeholderImportMetadataList?: PlaceholderImportMetadata[] | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* `importActionData` can be used to pass key-value pairs to your action. This data will be sent to your import
|
|
24
|
+
* modal's `import` method as the `searchFields: Map<string, SerializedFieldType>` parameter.
|
|
25
|
+
*/
|
|
26
|
+
importActionData?: Map<string, SerializedFieldType> | undefined;
|
|
27
|
+
}
|
|
28
|
+
/** @ignore */
|
|
29
|
+
export interface SerializedImportCardFromDetails {
|
|
30
|
+
'pk': string[];
|
|
31
|
+
'piml'?: SerializedPlaceholderImportMetadata[] | undefined;
|
|
32
|
+
'iad'?: [string, SerializedFieldType][] | undefined;
|
|
33
|
+
}
|
|
34
|
+
/** @ignore */
|
|
35
|
+
export declare const isValidImportCardFromDetails: (subject: unknown) => subject is import("../guards").DestructureGuardedTypeObj<{
|
|
36
|
+
pk: (val: unknown) => val is string[];
|
|
37
|
+
piml: (x: unknown) => x is import("../guards").DestructureGuardedTypeObj<{
|
|
38
|
+
cid: typeof isString;
|
|
39
|
+
sid: (x: unknown) => x is string | undefined;
|
|
40
|
+
cd: (subject: unknown) => subject is import("../guards").DestructureGuardedTypeObj<{
|
|
41
|
+
Schema: typeof import("../..").isSerializedSchema;
|
|
42
|
+
Items: (val: unknown) => val is [string, Record<string | number, SerializedFieldType>][];
|
|
43
|
+
}>;
|
|
44
|
+
}>[] | undefined;
|
|
45
|
+
iad: (x: unknown) => x is [string, SerializedFieldType][] | undefined;
|
|
46
|
+
}>;
|
|
47
|
+
/** @ignore */
|
|
48
|
+
export declare function serializeImportCardFromDetails(concrete: ImportCardFromDetails): SerializedImportCardFromDetails;
|
|
49
|
+
/** @ignore */
|
|
50
|
+
export declare function deserializeImportCardFromDetails(serialized: SerializedImportCardFromDetails): ImportCardFromDetails;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deserializeImportCardFromDetails = exports.serializeImportCardFromDetails = exports.isValidImportCardFromDetails = void 0;
|
|
4
|
+
const checks_1 = require("../checks");
|
|
5
|
+
const serializedfields_1 = require("../data/serializedfield/serializedfields");
|
|
6
|
+
const cardintegrationdefinitions_1 = require("../sharedcardintegration/cardintegrationdefinitions");
|
|
7
|
+
const validators_1 = require("../validators/validators");
|
|
8
|
+
/** @ignore */
|
|
9
|
+
exports.isValidImportCardFromDetails = (0, validators_1.objectValidator)({
|
|
10
|
+
'pk': (0, checks_1.isTypedArray)(checks_1.isString),
|
|
11
|
+
'piml': (0, validators_1.option)((0, checks_1.isTypedArray)(cardintegrationdefinitions_1.isSerializedPlaceholderImportMetadata)),
|
|
12
|
+
'iad': (0, validators_1.option)((0, checks_1.isTypedArray)((0, checks_1.isPair)(checks_1.isString, serializedfields_1.isSerializedFieldType))),
|
|
13
|
+
});
|
|
14
|
+
/** @ignore */
|
|
15
|
+
function serializeImportCardFromDetails(concrete) {
|
|
16
|
+
var _a, _b;
|
|
17
|
+
return {
|
|
18
|
+
'pk': concrete.primaryKeys,
|
|
19
|
+
'piml': (_a = concrete.placeholderImportMetadataList) === null || _a === void 0 ? void 0 : _a.map((data) => (0, cardintegrationdefinitions_1.serializePlaceholderImportMetadata)(data)),
|
|
20
|
+
'iad': concrete.importActionData ? [...(_b = concrete.importActionData) === null || _b === void 0 ? void 0 : _b.entries()] : undefined,
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
exports.serializeImportCardFromDetails = serializeImportCardFromDetails;
|
|
24
|
+
/** @ignore */
|
|
25
|
+
function deserializeImportCardFromDetails(serialized) {
|
|
26
|
+
var _a;
|
|
27
|
+
const placeholderImportMetadataList = serialized['piml']
|
|
28
|
+
? {
|
|
29
|
+
placeholderImportMetadataList: (_a = serialized['piml']) === null || _a === void 0 ? void 0 : _a.map((data) => (0, cardintegrationdefinitions_1.deserializePlaceholderImportMetadata)(data)),
|
|
30
|
+
}
|
|
31
|
+
: {};
|
|
32
|
+
const importActionData = serialized['iad'] ? { importActionData: new Map(serialized['iad']) } : {};
|
|
33
|
+
return Object.assign(Object.assign({ primaryKeys: serialized['pk'] }, placeholderImportMetadataList), importActionData);
|
|
34
|
+
}
|
|
35
|
+
exports.deserializeImportCardFromDetails = deserializeImportCardFromDetails;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ImportCardFromDetails } from '../importcardfromdetails/importcardfromdetails';
|
|
2
2
|
/**
|
|
3
3
|
* Callback to attempt to extract primary keys from a pasted url to be imported as cards onto the canvas.
|
|
4
4
|
*
|
|
5
5
|
* @param url The url to be interpreted into primary keys for the extension to import.
|
|
6
6
|
* @return The details of the cards, or `undefined` if the url couldn't be interpreted.
|
|
7
7
|
*/
|
|
8
|
-
export type ImportCardFromPastedLinkCallback = (url: string) => Promise<
|
|
8
|
+
export type ImportCardFromPastedLinkCallback = (url: string) => Promise<ImportCardFromDetails | undefined>;
|
|
@@ -1,50 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SerializedFieldType } from '../data/serializedfield/serializedfields';
|
|
3
|
-
import { PlaceholderImportMetadata, SerializedPlaceholderImportMetadata } from '../sharedcardintegration/cardintegrationdefinitions';
|
|
1
|
+
import { ImportCardFromDetails, SerializedImportCardFromDetails, deserializeImportCardFromDetails, serializeImportCardFromDetails } from '../importcardfromdetails/importcardfromdetails';
|
|
4
2
|
/**
|
|
5
|
-
*
|
|
3
|
+
* @deprecated Use {@link ImportCardFromDetails} instead.
|
|
4
|
+
*/
|
|
5
|
+
export type ImportCardFromPastedLinkDetails = ImportCardFromDetails;
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use {@link SerializedImportCardFromDetails} instead.
|
|
8
|
+
*/
|
|
9
|
+
export type SerializedImportCardFromPastedLinkDetails = SerializedImportCardFromDetails;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use {@link isValidImportCardFromDetails} instead.
|
|
6
12
|
*/
|
|
7
|
-
export interface ImportCardFromPastedLinkDetails {
|
|
8
|
-
/**
|
|
9
|
-
* A list of primary keys to import onto the canvas via your extension's import action.
|
|
10
|
-
*
|
|
11
|
-
* These should be formatted the same as primary keys on the document's collection. For example, numeric keys would
|
|
12
|
-
* be formatted as `['123']`, and string keys would be formatted inside double quotes `['"my-item"']`
|
|
13
|
-
*/
|
|
14
|
-
primaryKeys: string[];
|
|
15
|
-
/**
|
|
16
|
-
* If `placeholderImportMetadataList` is provided, it is used to quickly splat a card on the canvas while waiting
|
|
17
|
-
* for the import action to finish, identical to how modal-based imports use search results to splat cards. Ensure
|
|
18
|
-
* that the schema of the `collectionDefinition` field in each placeholder import metadata is a subset of the
|
|
19
|
-
* collection that the imported cards will be added to.
|
|
20
|
-
*/
|
|
21
|
-
placeholderImportMetadataList?: PlaceholderImportMetadata[] | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* `importActionData` can be used to pass key-value pairs to your action. This data will be sent to your import
|
|
24
|
-
* modal's `import` method as the `searchFields: Map<string, SerializedFieldType>` parameter.
|
|
25
|
-
*/
|
|
26
|
-
importActionData?: Map<string, SerializedFieldType> | undefined;
|
|
27
|
-
}
|
|
28
|
-
/** @ignore */
|
|
29
|
-
export interface SerializedImportCardFromPastedLinkDetails {
|
|
30
|
-
'pk': string[];
|
|
31
|
-
'piml'?: SerializedPlaceholderImportMetadata[] | undefined;
|
|
32
|
-
'iad'?: [string, SerializedFieldType][] | undefined;
|
|
33
|
-
}
|
|
34
|
-
/** @ignore */
|
|
35
13
|
export declare const isValidImportCardFromPastedLinkDetails: (subject: unknown) => subject is import("../guards").DestructureGuardedTypeObj<{
|
|
36
14
|
pk: (val: unknown) => val is string[];
|
|
37
15
|
piml: (x: unknown) => x is import("../guards").DestructureGuardedTypeObj<{
|
|
38
|
-
cid: typeof isString;
|
|
16
|
+
cid: typeof import("../checks").isString;
|
|
39
17
|
sid: (x: unknown) => x is string | undefined;
|
|
40
18
|
cd: (subject: unknown) => subject is import("../guards").DestructureGuardedTypeObj<{
|
|
41
19
|
Schema: typeof import("../..").isSerializedSchema;
|
|
42
|
-
Items: (val: unknown) => val is [string, Record<string | number, SerializedFieldType>][];
|
|
20
|
+
Items: (val: unknown) => val is [string, Record<string | number, import("../..").SerializedFieldType>][];
|
|
43
21
|
}>;
|
|
44
22
|
}>[] | undefined;
|
|
45
|
-
iad: (x: unknown) => x is [string, SerializedFieldType][] | undefined;
|
|
23
|
+
iad: (x: unknown) => x is [string, import("../..").SerializedFieldType][] | undefined;
|
|
46
24
|
}>;
|
|
47
|
-
/**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
export declare
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Use {@link serializeImportCardFromDetails} instead.
|
|
27
|
+
*/
|
|
28
|
+
export declare const serializeImportCardFromPastedLinkDetails: typeof serializeImportCardFromDetails;
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated Use {@link deserializeImportCardFromDetails} instead.
|
|
31
|
+
*/
|
|
32
|
+
export declare const deserializeImportCardFromPastedLinkDetails: typeof deserializeImportCardFromDetails;
|
|
@@ -1,35 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.deserializeImportCardFromPastedLinkDetails = exports.serializeImportCardFromPastedLinkDetails = exports.isValidImportCardFromPastedLinkDetails = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return {
|
|
18
|
-
'pk': concrete.primaryKeys,
|
|
19
|
-
'piml': (_a = concrete.placeholderImportMetadataList) === null || _a === void 0 ? void 0 : _a.map((data) => (0, cardintegrationdefinitions_1.serializePlaceholderImportMetadata)(data)),
|
|
20
|
-
'iad': concrete.importActionData ? [...(_b = concrete.importActionData) === null || _b === void 0 ? void 0 : _b.entries()] : undefined,
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
exports.serializeImportCardFromPastedLinkDetails = serializeImportCardFromPastedLinkDetails;
|
|
24
|
-
/** @ignore */
|
|
25
|
-
function deserializeImportCardFromPastedLinkDetails(serialized) {
|
|
26
|
-
var _a;
|
|
27
|
-
const placeholderImportMetadataList = serialized['piml']
|
|
28
|
-
? {
|
|
29
|
-
placeholderImportMetadataList: (_a = serialized['piml']) === null || _a === void 0 ? void 0 : _a.map((data) => (0, cardintegrationdefinitions_1.deserializePlaceholderImportMetadata)(data)),
|
|
30
|
-
}
|
|
31
|
-
: {};
|
|
32
|
-
const importActionData = serialized['iad'] ? { importActionData: new Map(serialized['iad']) } : {};
|
|
33
|
-
return Object.assign(Object.assign({ primaryKeys: serialized['pk'] }, placeholderImportMetadataList), importActionData);
|
|
34
|
-
}
|
|
35
|
-
exports.deserializeImportCardFromPastedLinkDetails = deserializeImportCardFromPastedLinkDetails;
|
|
4
|
+
const importcardfromdetails_1 = require("../importcardfromdetails/importcardfromdetails");
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use {@link isValidImportCardFromDetails} instead.
|
|
7
|
+
*/
|
|
8
|
+
exports.isValidImportCardFromPastedLinkDetails = importcardfromdetails_1.isValidImportCardFromDetails;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use {@link serializeImportCardFromDetails} instead.
|
|
11
|
+
*/
|
|
12
|
+
exports.serializeImportCardFromPastedLinkDetails = importcardfromdetails_1.serializeImportCardFromDetails;
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use {@link deserializeImportCardFromDetails} instead.
|
|
15
|
+
*/
|
|
16
|
+
exports.deserializeImportCardFromPastedLinkDetails = importcardfromdetails_1.deserializeImportCardFromDetails;
|