UNPKG

z-deduper

Version:

This library will allow you to build a Custom Zapier deduper for your advanced polling triggers use cases in your Zapier app.

16 lines (15 loc) 455 B
import { Records } from "./interfaces"; export declare const ZAPIER_STORE_URL = "https://store.zapier.com"; export declare const MAX_KEY_SIZE = 24500; export declare const MAX_KEYS = 495; export declare class Storage { private key; private client; private MAX_KEY_SIZE; private MAX_KEYS; constructor(key: string); load(): Promise<Records>; private fetchPage; save(records: Records): Promise<any[]>; private savePage; }