{"version":3,"sources":["../daytool/src/classes/UI/daytool_upload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C,MAAM,OAAO,cAAc;IAQzB;QAJA,YAAO,GAAqB,EAAE,CAAC;QAE/B,aAAQ,GAAY,KAAK,CAAC;QAGxB,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;QACtC,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC,CAAC;IACxB,CAAC;CACF;AAED,MAAM,OAAO,sBAAsB;IAMjC;QALA,YAAO,GAAqB,EAAE,CAAC;QAC/B,sBAAiB,GAAa,EAAE,CAAC;QAK/B,IAAI,CAAC,kBAAkB,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;QAC/C,IAAI,CAAC,sBAAsB,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACrD,CAAC;CACF","file":"daytool_upload.js","sourcesContent":["import { make_id } from \"../../helpers.js\";\r\nimport { daytool_change } from \"../daytool.js\";\r\n\r\nexport class daytool_upload {\r\n id: string;\r\n name: string;\r\n timestamp: number;\r\n changes: daytool_change[] = [];\r\n storage_provider_id: number;\r\n uploaded: boolean = false;\r\n\r\n constructor() {\r\n this.timestamp = new Date().getTime();\r\n this.id = make_id(30);\r\n }\r\n}\r\n\r\nexport class daytool_upload_history {\r\n uploads: daytool_upload[] = [];\r\n upload_timestamps: number[] = [];\r\n last_updated_timestamp: number;\r\n creation_timestamp: number;\r\n\r\n constructor() {\r\n this.creation_timestamp = new Date().getTime();\r\n this.last_updated_timestamp = new Date().getTime();\r\n }\r\n}"]}