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 Chrome versions",
"last 10 Firefox versions", "last 10 Firefox versions",
"last 4 Edge versions", "last 4 Edge versions",
"last 6 Safari versions", "last 4 Safari versions",
"last 8 Android versions", "last 8 Android versions",
"last 8 ChromeAndroid versions", "last 1 ChromeAndroid versions",
"last 8 FirefoxAndroid versions", "last 1 FirefoxAndroid versions",
"last 10 iOS versions" "last 6 iOS versions"
], ],
"engines": { "engines": {
"node": ">= 11.0.0", "node": ">= 11.0.0",

View File

@ -24,4 +24,7 @@ export default boot(({ Vue }) => {
Vue.filter('time', (date: Date, seconds = false) => Vue.filter('time', (date: Date, seconds = false) =>
formatDateTime(date, false, true, seconds) 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; id: number;
time: Date; time: Date;
amount: number; amount: number;
sender_id: string; reversal?: this;
receiver_id: string; sender_id?: string;
author_id: string; receiver_id?: string;
author_id?: string;
} }
interface Event { interface Event {
id: number; id: number;
start: Date; start: Date;
description?: any; description?: string;
type: EventType; type: EventType;
slots: Array<EventSlot>; slots: Array<EventSlot>;
} }
interface EventSlot { interface EventSlot {
id: number; id: number;
start: Date; start: Date;
end?: any; end?: Date;
jobs: Array<JobSlot>; jobs: Array<JobSlot>;
} }
type EventType = string; type EventType = string;