@punks/backend-entity-manager 0.0.487 → 0.0.488
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.
|
@@ -20,6 +20,7 @@ export declare abstract class EntitySerializer<TEntity, TEntityId, TEntitySearch
|
|
|
20
20
|
export(filters?: TEntitySearchParameters, payload?: TPayload): Promise<TSheetItem[]>;
|
|
21
21
|
import(items: TSheetItem[], payload?: TPayload): Promise<void>;
|
|
22
22
|
parse<TPayload>(data: Buffer, format: EntitySerializationFormat, payload?: TPayload): Promise<ImportEntry<TSheetItem, TEntityId>[]>;
|
|
23
|
+
protected importItems(items: TSheetItem[], context: TContext, payload?: TPayload): Promise<void>;
|
|
23
24
|
private parseCsv;
|
|
24
25
|
private parseXlsx;
|
|
25
26
|
private convertSheetRecord;
|
package/dist/index.d.ts
CHANGED
|
@@ -1765,6 +1765,7 @@ declare abstract class EntitySerializer<TEntity, TEntityId, TEntitySearchParamet
|
|
|
1765
1765
|
export(filters?: TEntitySearchParameters, payload?: TPayload): Promise<TSheetItem[]>;
|
|
1766
1766
|
import(items: TSheetItem[], payload?: TPayload): Promise<void>;
|
|
1767
1767
|
parse<TPayload>(data: Buffer, format: EntitySerializationFormat, payload?: TPayload): Promise<ImportEntry<TSheetItem, TEntityId>[]>;
|
|
1768
|
+
protected importItems(items: TSheetItem[], context: TContext, payload?: TPayload): Promise<void>;
|
|
1768
1769
|
private parseCsv;
|
|
1769
1770
|
private parseXlsx;
|
|
1770
1771
|
private convertSheetRecord;
|