{"version":3,"file":"index.mjs","sources":["../../../@hive/sdk/dist/index.mjs"],"sourcesContent":["//#region src/index.ts\nvar Index = class {\n\t/**\n\t* Logger instance to collect logs from the `Index` instance.\n\t*/\n\tlogger = null;\n\t/**\n\t* Storage instance the `Index` instance belongs to.\n\t*/\n\tstorage;\n\t/**\n\t* SQLite `Connection` instance the `Index` uses to store state in.\n\t*/\n\tconnection;\n\t/**\n\t* Map containin references of pending operations on the `Index` instance.\n\t*/\n\tpending;\n\tconstructor(opts) {\n\t\tthis.logger = opts.logger ?? null;\n\t\tthis.storage = opts.storage;\n\t\tthis.connection = opts.connection;\n\t\tthis.pending = {\n\t\t\tstart: null,\n\t\t\tstop: null,\n\t\t\trefresh: null\n\t\t};\n\t}\n};\n\n//#endregion\nexport { Index };"],"names":[],"mappings":"AACA,IAAI,QAAQ,MAAM;AAAA;AAAA;AAAA;AAAA,EAIjB,MAAA,GAAS,IAAA;AAAA;AAAA;AAAA;AAAA,EAIT,OAAA;AAAA;AAAA;AAAA;AAAA,EAIA,UAAA;AAAA;AAAA;AAAA;AAAA,EAIA,OAAA;AAAA,EACA,YAAY,IAAA,EAAM;AACjB,IAAA,IAAA,CAAK,MAAA,GAAS,KAAK,MAAA,IAAU,IAAA;AAC7B,IAAA,IAAA,CAAK,UAAU,IAAA,CAAK,OAAA;AACpB,IAAA,IAAA,CAAK,aAAa,IAAA,CAAK,UAAA;AACvB,IAAA,IAAA,CAAK,OAAA,GAAU;AAAA,MACd,KAAA,EAAO,IAAA;AAAA,MACP,IAAA,EAAM,IAAA;AAAA,MACN,OAAA,EAAS;AAAA,KACV;AAAA,EACD;AACD;;;;"}