Update current API description, added dateTime filter alias.
* Build only for iOS since 12.1 (IPhone 5s+) so babel uses more recent ECMAScript and filesizes get reduced
This commit is contained in:
parent
296245457d
commit
e26dc6c3a9
|
@ -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