@overmap-ai/core 1.2.3 → 1.2.5-install-common.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/dist/constants/index.d.ts +0 -1
- package/dist/constants/offline.d.ts +1 -1
- package/dist/enums/index.d.ts +0 -4
- package/dist/overmap-core.js +5578 -5756
- package/dist/overmap-core.umd.cjs +8 -8
- package/dist/sdk/services/AgentService.d.ts +1 -1
- package/dist/sdk/services/AssetAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetCommentService.d.ts +1 -1
- package/dist/sdk/services/AssetService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeFieldValuesAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeFieldValuesService.d.ts +3 -3
- package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeFieldsService.d.ts +10 -10
- package/dist/sdk/services/AssetTypeIdentifierService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeIdentifierValueService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeStatusService.d.ts +1 -1
- package/dist/sdk/services/BaseModelApiService.d.ts +1 -1
- package/dist/sdk/services/BaseOfflineFileModelApiService.d.ts +1 -1
- package/dist/sdk/services/BaseOfflineModelApiService.d.ts +1 -1
- package/dist/sdk/services/DocumentAttachmentService.d.ts +1 -1
- package/dist/sdk/services/DocumentService.d.ts +1 -1
- package/dist/sdk/services/EmailDomainsService.d.ts +9 -9
- package/dist/sdk/services/EmailVerificationService.d.ts +3 -2
- package/dist/sdk/services/FormIdentifierService.d.ts +1 -1
- package/dist/sdk/services/FormIdentifierValueService.d.ts +1 -1
- package/dist/sdk/services/FormRevisionAttachmentService.d.ts +1 -1
- package/dist/sdk/services/FormRevisionService.d.ts +10 -10
- package/dist/sdk/services/FormService.d.ts +1 -1
- package/dist/sdk/services/FormSubmissionFieldValuesAttachmentService.d.ts +1 -1
- package/dist/sdk/services/FormSubmissionFieldValuesService.d.ts +10 -10
- package/dist/sdk/services/FormSubmissionService.d.ts +1 -1
- package/dist/sdk/services/FormSubscriberService.d.ts +10 -10
- package/dist/sdk/services/GeoImageService.d.ts +2 -1
- package/dist/sdk/services/IssueAssociationService.d.ts +1 -1
- package/dist/sdk/services/IssueAttachmentService.d.ts +1 -1
- package/dist/sdk/services/IssueCommentAttachmentService.d.ts +1 -1
- package/dist/sdk/services/IssueCommentService.d.ts +1 -1
- package/dist/sdk/services/IssueService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeAttachmentService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeFieldValuesAttachmentService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeFieldValuesService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeFieldsAttachmentService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeFieldsService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeIdentifierService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeIdentifierValueService.d.ts +1 -1
- package/dist/sdk/services/IssueTypePriorityService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeStatusService.d.ts +1 -1
- package/dist/sdk/services/IssueUpdateService.d.ts +10 -10
- package/dist/sdk/services/OrganizationAccessService.d.ts +1 -1
- package/dist/sdk/services/OrganizationService.d.ts +1 -1
- package/dist/sdk/services/ProcdureInitiativeService.d.ts +1 -1
- package/dist/sdk/services/ProcedureFieldValuesAttachmentService.d.ts +1 -1
- package/dist/sdk/services/ProcedureFieldValuesService.d.ts +1 -1
- package/dist/sdk/services/ProcedureService.d.ts +1 -1
- package/dist/sdk/services/ProcedureStepAssigneeService.d.ts +10 -10
- package/dist/sdk/services/ProcedureStepCommentService.d.ts +1 -1
- package/dist/sdk/services/ProcedureStepDefaultAssigneeService.d.ts +10 -10
- package/dist/sdk/services/ProcedureStepDefaultReviewerService.d.ts +10 -10
- package/dist/sdk/services/ProcedureStepEventService.d.ts +1 -1
- package/dist/sdk/services/ProcedureStepFieldValuesAttachmentService.d.ts +1 -1
- package/dist/sdk/services/ProcedureStepFieldValuesReviewService.d.ts +1 -1
- package/dist/sdk/services/ProcedureStepFieldValuesService.d.ts +1 -1
- package/dist/sdk/services/ProcedureStepFieldsAttachmentService.d.ts +1 -1
- package/dist/sdk/services/ProcedureStepFieldsService.d.ts +10 -10
- package/dist/sdk/services/ProcedureStepReviewerService.d.ts +10 -10
- package/dist/sdk/services/ProcedureStepService.d.ts +1 -1
- package/dist/sdk/services/ProcedureTypeAttachmentService.d.ts +1 -1
- package/dist/sdk/services/ProcedureTypeFieldsAttachmentService.d.ts +1 -1
- package/dist/sdk/services/ProcedureTypeFieldsService.d.ts +10 -10
- package/dist/sdk/services/ProcedureTypeService.d.ts +1 -1
- package/dist/sdk/services/ProjectAccessService.d.ts +1 -1
- package/dist/sdk/services/ProjectAttachmentService.d.ts +1 -1
- package/dist/sdk/services/ProjectCommentService.d.ts +1 -1
- package/dist/sdk/services/ProjectFileService.d.ts +1 -1
- package/dist/sdk/services/ProjectService.d.ts +1 -1
- package/dist/sdk/services/TeamMembershipService.d.ts +10 -10
- package/dist/sdk/services/TeamService.d.ts +1 -1
- package/dist/sdk/services/UserService.d.ts +1 -1
- package/dist/sdk/typings.d.ts +1 -2
- package/dist/store/slices/agentsSlice.d.ts +1 -1
- package/dist/store/slices/assetAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetCommentSlice.d.ts +1 -1
- package/dist/store/slices/assetSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeIdentifierSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeIdentifierValueSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeStatusSlice.d.ts +1 -1
- package/dist/store/slices/documentAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/documentSlice.d.ts +1 -1
- package/dist/store/slices/emailDomainsSlice.d.ts +1 -1
- package/dist/store/slices/formIdentifierSlice.d.ts +1 -1
- package/dist/store/slices/formIdentifierValueSlice.d.ts +1 -1
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/formRevisionSlice.d.ts +1 -1
- package/dist/store/slices/formSlice.d.ts +1 -1
- package/dist/store/slices/formSubmissionFieldValuesAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/formSubmissionFieldValuesSlice.d.ts +1 -1
- package/dist/store/slices/formSubmissionSlice.d.ts +1 -1
- package/dist/store/slices/formSubscriberSlice.d.ts +1 -1
- package/dist/store/slices/geoImageSlice.d.ts +1 -1
- package/dist/store/slices/issueAssociationSlice.d.ts +1 -1
- package/dist/store/slices/issueAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueCommentAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueCommentSlice.d.ts +1 -1
- package/dist/store/slices/issueSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeIdentifierSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeIdentifierValueSlice.d.ts +1 -1
- package/dist/store/slices/issueTypePrioritySlice.d.ts +1 -1
- package/dist/store/slices/issueTypeSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeStatusSlice.d.ts +1 -1
- package/dist/store/slices/issueUpdateSlice.d.ts +1 -1
- package/dist/store/slices/organizationAccessSlice.d.ts +1 -1
- package/dist/store/slices/organizationSlice.d.ts +1 -1
- package/dist/store/slices/procedureFieldValuesSlice.d.ts +1 -1
- package/dist/store/slices/procedureInitiativeSlice.d.ts +1 -1
- package/dist/store/slices/procedureSlice.d.ts +1 -1
- package/dist/store/slices/procedureStepAssigneeSlice.d.ts +1 -1
- package/dist/store/slices/procedureStepCommentSlice.d.ts +1 -1
- package/dist/store/slices/procedureStepDefaultAssigneeSlice.d.ts +1 -1
- package/dist/store/slices/procedureStepDefaultReviewerSlice.d.ts +1 -1
- package/dist/store/slices/procedureStepEventSlice.d.ts +1 -1
- package/dist/store/slices/procedureStepFieldValuesAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/procedureStepFieldValuesReviewSlice.d.ts +1 -1
- package/dist/store/slices/procedureStepFieldValuesSlice.d.ts +1 -1
- package/dist/store/slices/procedureStepFieldsAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/procedureStepFieldsSlice.d.ts +1 -1
- package/dist/store/slices/procedureStepReviewerSlice.d.ts +1 -1
- package/dist/store/slices/procedureStepSlice.d.ts +1 -1
- package/dist/store/slices/procedureTypeAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/procedureTypeFieldValuesAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/procedureTypeFieldsAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/procedureTypeFieldsSlice.d.ts +1 -1
- package/dist/store/slices/procedureTypeSlice.d.ts +1 -1
- package/dist/store/slices/projectAccessSlice.d.ts +1 -1
- package/dist/store/slices/projectAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/projectCommentSlice.d.ts +1 -1
- package/dist/store/slices/projectFileSlice.d.ts +1 -1
- package/dist/store/slices/projectSlice.d.ts +1 -1
- package/dist/store/slices/teamMembershipSlice.d.ts +1 -1
- package/dist/store/slices/teamSlice.d.ts +1 -1
- package/dist/store/slices/userSlice.d.ts +1 -1
- package/dist/typings/models/emailVerification.d.ts +2 -19
- package/dist/typings/models/geoImages.d.ts +1 -9
- package/dist/typings/models/index.d.ts +0 -12
- package/dist/typings/models/users.d.ts +1 -9
- package/dist/utils/index.d.ts +0 -8
- package/package.json +4 -8
- package/dist/constants/array.d.ts +0 -2
- package/dist/enums/access.d.ts +0 -5
- package/dist/enums/asset.d.ts +0 -8
- package/dist/enums/issue.d.ts +0 -22
- package/dist/enums/procedures.d.ts +0 -11
- package/dist/typings/models/agents.d.ts +0 -16
- package/dist/typings/models/assets.d.ts +0 -56
- package/dist/typings/models/base.d.ts +0 -104
- package/dist/typings/models/documents.d.ts +0 -15
- package/dist/typings/models/emailDomain.d.ts +0 -6
- package/dist/typings/models/fields.d.ts +0 -16
- package/dist/typings/models/forms.d.ts +0 -43
- package/dist/typings/models/issues.d.ts +0 -99
- package/dist/typings/models/organizations.d.ts +0 -11
- package/dist/typings/models/procedures.d.ts +0 -105
- package/dist/typings/models/projects.d.ts +0 -24
- package/dist/typings/models/teams.d.ts +0 -12
- package/dist/utils/array.d.ts +0 -1
- package/dist/utils/async/DeferredPromise.d.ts +0 -35
- package/dist/utils/date.d.ts +0 -5
- package/dist/utils/logging.d.ts +0 -11
- package/dist/utils/models/assets.d.ts +0 -2
- package/dist/utils/models/base.d.ts +0 -2
- package/dist/utils/models/documents.d.ts +0 -4
- package/dist/utils/models/index.d.ts +0 -4
- package/dist/utils/models/issues.d.ts +0 -3
- package/dist/utils/optimization.d.ts +0 -9
- package/dist/utils/string.d.ts +0 -20
- package/dist/utils/utils.d.ts +0 -1
- package/dist/utils/uuid.d.ts +0 -6
package/dist/utils/date.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** Only shows year if a past year */
|
|
2
|
-
export declare const getLocalDateString: (date?: string | null | Date | number) => string;
|
|
3
|
-
/** Returns true if the given date is today */
|
|
4
|
-
export declare const isToday: (date: string | Date | number) => boolean;
|
|
5
|
-
export declare const getLocalRelativeDateString: (date: string | Date | number, min: number, max: number) => string;
|
package/dist/utils/logging.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Logging the same message over and over again in a loop takes a lot of resources and makes the app laggy. This utility
|
|
3
|
-
* function accepts a log ID (e.g. "issue-has-no-index-workspace") and an object ID (e.g. the offline_id of an issue),
|
|
4
|
-
* and only logs the message on the first call with the same combination of logId and objId.
|
|
5
|
-
* @param logId An arbitrary but unique identifier for this "type of message".
|
|
6
|
-
* @param objId A unique identifier for the object the message regards. Can be an arbitrary string, e.g. "current-user"
|
|
7
|
-
* or an actual object ID, e.g. the offline_id of an issue.
|
|
8
|
-
* @param level The log level to use. For example, "debug" means `console.debug` will be called.
|
|
9
|
-
* @param args The arguments to pass to the console log method.
|
|
10
|
-
*/
|
|
11
|
-
export declare function logOnlyOnce(logId: string, objId: string, level: "debug" | "info" | "warn" | "error", ...args: unknown[]): void;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Tree } from 'ts-tree-lib';
|
|
2
|
-
import { Document, Stored } from '../../typings';
|
|
3
|
-
export declare const getDocumentTrees: (documents: Stored<Document>[]) => Tree<Stored<Document>>[];
|
|
4
|
-
export declare const getDocumentSubTree: (uuid: Document["uuid"], documents: Stored<Document>[]) => Tree<Stored<Document>>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { IssueTypePriority, IssueTypeStatus, Stored } from '../../typings';
|
|
2
|
-
export declare const issueTypeStatusSortFn: (a: Stored<IssueTypeStatus>, b: Stored<IssueTypeStatus>) => number;
|
|
3
|
-
export declare const issueTypePrioritySortFn: (a: Stored<IssueTypePriority>, b: Stored<IssueTypePriority>) => number;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare function shallowEqual(objA: Record<string, unknown>, objB: Record<string, unknown>): boolean;
|
|
2
|
-
export declare function memoize<T extends (...args: never[]) => unknown>(func: T): T;
|
|
3
|
-
/**
|
|
4
|
-
* Performs an equality check by contents in order.
|
|
5
|
-
* Reference types like objects and arrays are compared by reference.
|
|
6
|
-
*/
|
|
7
|
-
export declare function areArraysEqual(first: unknown[], second: unknown[]): boolean;
|
|
8
|
-
export declare const fallbackToEmptyArray: <T>(array: T[]) => T[];
|
|
9
|
-
export declare const fallbackToEmptyObject: <T extends object>(object: T) => T;
|
package/dist/utils/string.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns a file-safe string from arbitrary text. Will return maximum 255 characters, which is the longest safe
|
|
3
|
-
* Long File Name (LFN).
|
|
4
|
-
* WARNING! May give poor performance in big loops.
|
|
5
|
-
* @param str The string to make safe for file names.
|
|
6
|
-
* @param extension An extension (not including a period) to be added after a period at the end of the string. The
|
|
7
|
-
* character limit of the returned string includes the extension, meaning characters from str will be removed to
|
|
8
|
-
* accommodate it if necessary.
|
|
9
|
-
* @param maxLength The maximum length of the resulting file name. Defaults to 255.
|
|
10
|
-
*/
|
|
11
|
-
export declare function toFileNameSafeString(str: string, extension?: string | undefined, maxLength?: number): string;
|
|
12
|
-
export declare function spacesToDashesLower(value: string): string;
|
|
13
|
-
export declare function slugify(str: string, underscore?: boolean): string;
|
|
14
|
-
/**
|
|
15
|
-
* Given a string, returns a truncated version of it with an ellipsis character at the end if it is longer than
|
|
16
|
-
* maxLength. The resulting string will be no longer than maxLength. Note that the ellipsis is only one character long.
|
|
17
|
-
* @param str The string to truncate.
|
|
18
|
-
* @param maxLength The maximum length of the resulting string, including the ellipsis.
|
|
19
|
-
*/
|
|
20
|
-
export declare function truncate(str: string, maxLength: number): string;
|
package/dist/utils/utils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const emailRegex: RegExp;
|
package/dist/utils/uuid.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { UUID, UUIDModel } from '../typings';
|
|
2
|
-
export declare function uuidObj<T>(draft: T): UUID<T>;
|
|
3
|
-
export declare function toUuidIdRecord<TModel extends UUIDModel>(array: TModel[]): Record<string, TModel>;
|
|
4
|
-
export declare function toUuidArray<TModel extends UUIDModel>(array: TModel[]): string[];
|
|
5
|
-
export declare function uuidSortFn(a: string, b: string): number;
|
|
6
|
-
export declare function uuidObjSortFn<TModel extends UUIDModel>(a: TModel, b: TModel): number;
|