release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
3 changed files with 13 additions and 9 deletions
Showing only changes of commit e26dc6c3a9 - Show all commits

View File

@ -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",

View File

@ -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)
);
});

View File

@ -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;