@dexteel/mesf-core 7.13.3 → 7.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +19 -0
- package/dist/configuration/pages/job/repositories/JobsRepository.d.ts +1 -1
- package/dist/configuration/pages/log/LogsPage.d.ts +0 -8
- package/dist/configuration/pages/log/models/Tag.d.ts +1 -0
- package/dist/configuration/pages/log/repositories/LogsRepository.d.ts +1 -1
- package/dist/configuration/pages/log/repositories/TagsRepository.d.ts +2 -2
- package/dist/configuration/pages/profiles/repositories/ProfilesRepository.d.ts +5 -3
- package/dist/configuration/pages/realtime/repositories/config-repository.d.ts +1 -1
- package/dist/configuration/pages/shifCrew/repositories/ShiftsCrewsRepository.d.ts +1 -1
- package/dist/configuration/pages/users/repositories/UsersRepository.d.ts +4 -4
- package/dist/controls/asset-filter/repositories/AssetRepository.d.ts +1 -1
- package/dist/controls/shift-selector/repositories/ShiftRepository.d.ts +3 -1
- package/dist/hooks/useFrontendVersionCheck.d.ts +17 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +222 -133
- package/dist/index.esm.js.map +1 -1
- package/dist/pages/logbook/entry/repository/LogbookRepository.d.ts +4 -2
- package/dist/pages/logbook/report/repository/LogbookRepository.d.ts +2 -2
- package/dist/pages/section-logbook/entry/repository/LogbookRepository.d.ts +6 -5
- package/dist/pages/section-logbook/report/repository/LogbookRepository.d.ts +2 -3
- package/dist/pages/section-logbook/shared/repository/SectionRepository.d.ts +2 -3
- package/dist/pages/trendings-v2/components/chart/repository/TrendingRepositoryV2.d.ts +7 -3
- package/dist/repositorie/MESF-frontend-Repositorie.d.ts +2 -2
- package/package.json +1 -1
|
@@ -14,9 +14,11 @@ export declare const upsertEntry: ({ assetId, entryId, shiftId, title, content,
|
|
|
14
14
|
createTimestamp: Date;
|
|
15
15
|
author: string;
|
|
16
16
|
}) => Promise<Entry>;
|
|
17
|
-
export declare const deleteEntry: (
|
|
17
|
+
export declare const deleteEntry: (entryId: number | null) => Promise<void>;
|
|
18
18
|
export declare const deleteUploadFile: (uploadFileId: number) => Promise<void>;
|
|
19
|
-
export declare const getEntryAttachments: (
|
|
19
|
+
export declare const getEntryAttachments: (params: {
|
|
20
|
+
entryId: number;
|
|
21
|
+
}, signal?: AbortSignal) => Promise<EntryAttachment[]>;
|
|
20
22
|
export declare const upsertEntryAttachment: ({ entryId, uploadFileId, attachmentName, attachmentURL, }: AttachmentUploadRequest) => Promise<{
|
|
21
23
|
CreationTime: Date;
|
|
22
24
|
EntryAttachmentId: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Entry } from "../../entry/models/Entry";
|
|
2
|
-
export declare const getEntriesReport: (
|
|
2
|
+
export declare const getEntriesReport: (params: {
|
|
3
3
|
startShiftId?: number | null;
|
|
4
4
|
endShiftId?: number | null;
|
|
5
5
|
assetId?: number | null;
|
|
6
|
-
}) => Promise<Entry[]>;
|
|
6
|
+
}, signal?: AbortSignal) => Promise<Entry[]>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Entry } from "../models/Entry";
|
|
2
2
|
import { AttachmentUploadRequest, EntryAttachment } from "../models/EntryAttachment";
|
|
3
|
-
export declare const getEntries: (
|
|
3
|
+
export declare const getEntries: (params: {
|
|
4
4
|
shiftId?: number | null;
|
|
5
5
|
sectionIds?: number[];
|
|
6
|
-
|
|
7
|
-
}) => Promise<Entry[]>;
|
|
6
|
+
}, signal: AbortSignal | undefined) => Promise<Entry[]>;
|
|
8
7
|
export declare const upsertEntry: ({ assetId, entryId, shiftId, title, content, createTimestamp, author, }: {
|
|
9
8
|
assetId: number | null;
|
|
10
9
|
entryId: number | null;
|
|
@@ -14,9 +13,11 @@ export declare const upsertEntry: ({ assetId, entryId, shiftId, title, content,
|
|
|
14
13
|
createTimestamp: Date;
|
|
15
14
|
author: string;
|
|
16
15
|
}) => Promise<Entry>;
|
|
17
|
-
export declare const deleteEntry: (
|
|
16
|
+
export declare const deleteEntry: (entryId: number | null) => Promise<void>;
|
|
18
17
|
export declare const deleteUploadFile: (uploadFileId: number) => Promise<void>;
|
|
19
|
-
export declare const getEntryAttachments: (
|
|
18
|
+
export declare const getEntryAttachments: (params: {
|
|
19
|
+
entryId: number;
|
|
20
|
+
}, signal?: AbortSignal) => Promise<EntryAttachment[]>;
|
|
20
21
|
export declare const upsertEntryAttachment: ({ entryId, uploadFileId, attachmentName, attachmentURL, }: AttachmentUploadRequest) => Promise<{
|
|
21
22
|
CreationTime: Date;
|
|
22
23
|
EntryAttachmentId: number;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Entry } from "../../entry/models/Entry";
|
|
2
|
-
export declare const getEntriesReport: (
|
|
2
|
+
export declare const getEntriesReport: (params: {
|
|
3
3
|
startShiftId?: number | null;
|
|
4
4
|
endShiftId?: number | null;
|
|
5
5
|
assetId?: number | null;
|
|
6
6
|
sectionIds?: number[];
|
|
7
|
-
|
|
8
|
-
}) => Promise<Entry[]>;
|
|
7
|
+
}, signal?: AbortSignal) => Promise<Entry[]>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { SectionEntry } from "../models/SectionEntry";
|
|
2
|
-
export declare const getEntriesBySection: (
|
|
2
|
+
export declare const getEntriesBySection: (params: {
|
|
3
3
|
sectionId: number;
|
|
4
|
-
|
|
5
|
-
}) => Promise<SectionEntry[]>;
|
|
4
|
+
}, signal?: AbortSignal) => Promise<SectionEntry[]>;
|
|
6
5
|
export declare const upsertSectionEntry: ({ entryId, sectionId, weighUp, breakIn, notes, }: {
|
|
7
6
|
entryId: number;
|
|
8
7
|
sectionId: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TagFromTree, View } from "../models/TrendingModelsV2";
|
|
2
|
-
export declare const getTagsTree: () => Promise<TagFromTree[]>;
|
|
2
|
+
export declare const getTagsTree: (signal?: AbortSignal) => Promise<TagFromTree[]>;
|
|
3
3
|
export declare const deleteTagFolder: (TagFolderId: number) => Promise<void>;
|
|
4
4
|
export declare const upsertTagFolder: ({ tagFolderId, parentTagFolderId, tagFolderName, isActive, }: {
|
|
5
5
|
tagFolderId: number | null;
|
|
@@ -20,14 +20,18 @@ export declare const saveTagDefaults: ({ tagId, alias, color, minScale, maxScale
|
|
|
20
20
|
maxScale: number;
|
|
21
21
|
unit: string;
|
|
22
22
|
}) => Promise<void>;
|
|
23
|
-
export declare const getViews: (
|
|
23
|
+
export declare const getViews: (params: {
|
|
24
|
+
Search: string | null;
|
|
25
|
+
}, signal?: AbortSignal) => Promise<View[]>;
|
|
24
26
|
export declare const upsertView: ({ viewId, viewName, isPublic, }: {
|
|
25
27
|
viewId: number | null;
|
|
26
28
|
viewName: string;
|
|
27
29
|
isPublic: boolean;
|
|
28
30
|
}) => Promise<number>;
|
|
29
31
|
export declare const deleteView: (ViewId: number) => Promise<void>;
|
|
30
|
-
export declare const getViewTags: (
|
|
32
|
+
export declare const getViewTags: (params: {
|
|
33
|
+
viewId: number;
|
|
34
|
+
}, signal?: AbortSignal) => Promise<any[]>;
|
|
31
35
|
export declare const upsertViewTag: ({ viewId, tagId, color, minScale, maxScale, isVisible, isAutoScale, unit, order, alias, tagType, sourceTagId, bitIndex, }: {
|
|
32
36
|
viewId: number;
|
|
33
37
|
tagId: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Setting } from "../configuration/pages/settings/models/Setting";
|
|
2
2
|
import { Asset } from "../models/Asset";
|
|
3
3
|
export declare const getUser: (UserId: number, UserName: string | null) => Promise<Asset[]>;
|
|
4
|
-
export declare const getAssets: () => Promise<Asset[]>;
|
|
5
|
-
export declare const getUTLSettings: () => Promise<Setting[]>;
|
|
4
|
+
export declare const getAssets: (signal?: AbortSignal) => Promise<Asset[]>;
|
|
5
|
+
export declare const getUTLSettings: (signal?: AbortSignal) => Promise<Setting[]>;
|
|
6
6
|
export declare const upsertDefaultAreaId: (UserId: number, DefaultAreaId: number | null) => Promise<import("../services").ResponseMESF>;
|