abl-constants
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "abl-constants", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "title": "ABL - constants", |
"use strict"; | ||
import {getEventInstanceId} from "./utils/utils.js"; | ||
import {startDate} from "./date.js"; | ||
import {startTime} from "./date.js"; | ||
export const eventId = "eventId"; | ||
export const calendarId = "primary_calendar"; | ||
export const eventInstanceId = getEventInstanceId(eventId, startDate); | ||
export const eventInstanceId = getEventInstanceId(eventId, startTime); |
@@ -8,3 +8,3 @@ "use strict"; | ||
import {title, description, notes, password, confirm} from "./misc.js"; | ||
import {testDate, startDate, endDate, untilDate, timeZone} from "./date.js"; | ||
import {testTime, startTime, endTime, untilTime, timeZone} from "./date.js"; | ||
import {phoneNumber} from "./twilio.js"; | ||
@@ -88,4 +88,4 @@ import {cardNumbers} from "./stripe.js"; | ||
return Object.assign({ | ||
title, | ||
description, | ||
title, | ||
timeZone, | ||
@@ -111,3 +111,3 @@ whatToBring: ["whatToBring 1", "whatToBring 2"], | ||
notes, | ||
created: testDate, | ||
created: testTime, | ||
transaction: transactionObject(), | ||
@@ -145,7 +145,8 @@ answers: [{ | ||
title, | ||
description, | ||
timeZone, | ||
startTime: startDate, | ||
endTime: endDate, | ||
originalStartTime: moment(startDate).add(-1, "d").toDate(), | ||
originalEndTime: moment(endDate).add(-1, "d").toDate() | ||
startTime, | ||
endTime, | ||
originalStartTime: moment(startTime).add(-1, "d").toDate(), | ||
originalEndTime: moment(endTime).add(-1, "d").toDate() | ||
}, data); | ||
@@ -203,6 +204,7 @@ } | ||
title, | ||
description, | ||
timeZone, | ||
startTime: startDate, | ||
endTime: endDate, | ||
untilTime: untilDate, | ||
startTime, | ||
endTime, | ||
untilTime, | ||
charges: [ | ||
@@ -209,0 +211,0 @@ chargeArray.adult, |
1002
26468