skyflow-js 2.7.2 → 2.7.4
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.
|
Binary file
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ export declare const getFileURLFromVaultBySkyflowID: (skyflowIdRecord: IRevealRe
|
|
|
5
5
|
export declare const getFileURLFromVaultBySkyflowIDComposable: (skyflowIdRecord: IRevealRecord, client: Client, authToken: string) => Promise<IRenderResponseType>;
|
|
6
6
|
export declare const fetchRecordsByTokenId: (tokenIdRecords: IRevealRecord[], client: Client, purejs: boolean) => Promise<IRevealResponseType>;
|
|
7
7
|
export declare const fetchRecordsByTokenIdComposable: (tokenIdRecords: IRevealRecordComposable[], client: Client, authToken: string) => Promise<IRevealResponseType>;
|
|
8
|
-
export declare const formatRecordsForIframe: (response: IRevealResponseType) => Record<string,
|
|
8
|
+
export declare const formatRecordsForIframe: (response: IRevealResponseType) => Record<string, any>;
|
|
9
9
|
export declare const formatRecordsForRender: (response: IRenderResponseType, column: any, skyflowID: any) => {
|
|
10
10
|
column: any;
|
|
11
11
|
skyflowID: any;
|
|
@@ -243,26 +243,29 @@ export interface DeleteErrorRecords {
|
|
|
243
243
|
id: string;
|
|
244
244
|
error: ErrorRecord;
|
|
245
245
|
}
|
|
246
|
+
export type Style = string | {
|
|
247
|
+
[key: string]: Style;
|
|
248
|
+
};
|
|
246
249
|
export interface ContainerOptions {
|
|
247
250
|
layout: number[];
|
|
248
251
|
styles?: InputStyles;
|
|
249
252
|
errorTextStyles?: ErrorTextStyles;
|
|
250
253
|
}
|
|
251
254
|
export interface ErrorTextStyles {
|
|
252
|
-
base?: Record<string,
|
|
253
|
-
global?: Record<string,
|
|
255
|
+
base?: Record<string, Style>;
|
|
256
|
+
global?: Record<string, Style>;
|
|
254
257
|
}
|
|
255
258
|
export interface LabelStyles extends ErrorTextStyles {
|
|
256
|
-
focus?: Record<string,
|
|
257
|
-
requiredAsterisk?: Record<string,
|
|
259
|
+
focus?: Record<string, Style>;
|
|
260
|
+
requiredAsterisk?: Record<string, Style>;
|
|
258
261
|
}
|
|
259
262
|
export interface InputStyles extends ErrorTextStyles {
|
|
260
|
-
focus?: Record<string,
|
|
261
|
-
complete?: Record<string,
|
|
262
|
-
empty?: Record<string,
|
|
263
|
-
invalid?: Record<string,
|
|
264
|
-
cardIcon?: Record<string,
|
|
265
|
-
copyIcon?: Record<string,
|
|
263
|
+
focus?: Record<string, Style>;
|
|
264
|
+
complete?: Record<string, Style>;
|
|
265
|
+
empty?: Record<string, Style>;
|
|
266
|
+
invalid?: Record<string, Style>;
|
|
267
|
+
cardIcon?: Record<string, Style>;
|
|
268
|
+
copyIcon?: Record<string, Style>;
|
|
266
269
|
}
|
|
267
270
|
export interface CollectElementOptions {
|
|
268
271
|
required?: boolean;
|