release v2.0.0 #4
|
@ -37,11 +37,11 @@
|
|||
"last 10 Chrome versions",
|
||||
"last 10 Firefox versions",
|
||||
"last 4 Edge versions",
|
||||
"last 6 Safari versions",
|
||||
"last 4 Safari versions",
|
||||
"last 8 Android versions",
|
||||
"last 8 ChromeAndroid versions",
|
||||
"last 8 FirefoxAndroid versions",
|
||||
"last 10 iOS versions"
|
||||
"last 1 ChromeAndroid versions",
|
||||
"last 1 FirefoxAndroid versions",
|
||||
"last 6 iOS versions"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 11.0.0",
|
||||
|
|
|
@ -24,4 +24,7 @@ export default boot(({ Vue }) => {
|
|||
Vue.filter('time', (date: Date, seconds = false) =>
|
||||
formatDateTime(date, false, true, seconds)
|
||||
);
|
||||
Vue.filter('dateTime', (date: Date, seconds = false, weekday = false) =>
|
||||
formatDateTime(date, true, true, seconds, weekday)
|
||||
);
|
||||
});
|
||||
|
|
|
@ -25,21 +25,22 @@ declare namespace FG {
|
|||
id: number;
|
||||
time: Date;
|
||||
amount: number;
|
||||
sender_id: string;
|
||||
receiver_id: string;
|
||||
author_id: string;
|
||||
reversal?: this;
|
||||
sender_id?: string;
|
||||
receiver_id?: string;
|
||||
author_id?: string;
|
||||
}
|
||||
interface Event {
|
||||
id: number;
|
||||
start: Date;
|
||||
description?: any;
|
||||
description?: string;
|
||||
type: EventType;
|
||||
slots: Array<EventSlot>;
|
||||
}
|
||||
interface EventSlot {
|
||||
id: number;
|
||||
start: Date;
|
||||
end?: any;
|
||||
end?: Date;
|
||||
jobs: Array<JobSlot>;
|
||||
}
|
||||
type EventType = string;
|
||||
|
|
Loading…
Reference in New Issue