UNPKG

1.14 kBSource Map (JSON)View Raw
1{"version":3,"sources":["../../src/models/BotsEventModel.js"],"names":["BotsEventModel","Model","schema","botId","type","String","provider","required","data","Object","options","model","collection","timestamps"],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;IAEqBA,c;;;;;;;;;;;EAAuBC,kB;;;AAAvBD,c,CACZE,M,GAAS;AACdC,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAEC;AADD,GADO;AAIdC,EAAAA,QAAQ,EAAE;AACRF,IAAAA,IAAI,EAAEC;AADE,GAJI;AAOdD,EAAAA,IAAI,EAAE;AACJA,IAAAA,IAAI,EAAEC,MADF;AAEJE,IAAAA,QAAQ,EAAE;AAFN,GAPQ;AAWdC,EAAAA,IAAI,EAAE;AACJJ,IAAAA,IAAI,EAAEK;AADF;AAXQ,C;AADGT,c,CAgBZU,O,GAAU;AACfC,EAAAA,KAAK,EAAE,gBADQ;AAEfC,EAAAA,UAAU,EAAE,YAFG;AAGfC,EAAAA,UAAU,EAAE;AAHG,C","sourcesContent":["import Model from '@lskjs/db/Model';\n\nexport default class BotsEventModel extends Model {\n static schema = {\n botId: {\n type: String,\n },\n provider: {\n type: String,\n },\n type: {\n type: String,\n required: true,\n },\n data: {\n type: Object,\n },\n };\n static options = {\n model: 'BotsEventModel',\n collection: 'bots_event',\n timestamps: true,\n };\n}\n"],"file":"BotsEventModel.js"}
\No newline at end of file