@overmap-ai/core 1.0.78-bulk-update.0 → 1.0.78-bulk-update.3

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.
Files changed (129) hide show
  1. package/dist/overmap-core.js +5218 -5107
  2. package/dist/overmap-core.umd.cjs +7 -7
  3. package/dist/sdk/services/AssetAttachmentService.d.ts +1 -1
  4. package/dist/sdk/services/AssetProcedureService.d.ts +1 -1
  5. package/dist/sdk/services/AssetProcedureStepFieldValuesAttachmentService.d.ts +1 -1
  6. package/dist/sdk/services/AssetProcedureStepFieldValuesService.d.ts +1 -1
  7. package/dist/sdk/services/AssetProcedureStepFieldsAttachmentService.d.ts +1 -1
  8. package/dist/sdk/services/AssetProcedureStepFieldsService.d.ts +1 -1
  9. package/dist/sdk/services/AssetProcedureStepService.d.ts +1 -1
  10. package/dist/sdk/services/AssetProcedureTypeAttachmentService.d.ts +1 -1
  11. package/dist/sdk/services/AssetProcedureTypeFieldValuesAttachmentService.d.ts +1 -1
  12. package/dist/sdk/services/AssetProcedureTypeFieldValuesService.d.ts +1 -1
  13. package/dist/sdk/services/AssetProcedureTypeFieldsAttachmentService.d.ts +1 -1
  14. package/dist/sdk/services/AssetProcedureTypeFieldsService.d.ts +1 -1
  15. package/dist/sdk/services/AssetProcedureTypeService.d.ts +1 -1
  16. package/dist/sdk/services/AssetService.d.ts +2 -2
  17. package/dist/sdk/services/AssetStageCompletionService.d.ts +1 -1
  18. package/dist/sdk/services/AssetStageService.d.ts +1 -1
  19. package/dist/sdk/services/AssetTypeAttachmentService.d.ts +1 -1
  20. package/dist/sdk/services/AssetTypeFieldValuesAttachmentService.d.ts +1 -1
  21. package/dist/sdk/services/AssetTypeFieldValuesService.d.ts +1 -1
  22. package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +1 -1
  23. package/dist/sdk/services/AssetTypeFieldsService.d.ts +1 -1
  24. package/dist/sdk/services/AssetTypeIdentifierService.d.ts +1 -1
  25. package/dist/sdk/services/AssetTypeIdentifierValueService.d.ts +1 -1
  26. package/dist/sdk/services/AssetTypeService.d.ts +1 -1
  27. package/dist/sdk/services/AssetTypeStatusService.d.ts +1 -1
  28. package/dist/sdk/services/CategoryService.d.ts +1 -1
  29. package/dist/sdk/services/DocumentAttachmentService.d.ts +1 -1
  30. package/dist/sdk/services/DocumentService.d.ts +1 -1
  31. package/dist/sdk/services/EmailDomainsService.d.ts +1 -1
  32. package/dist/sdk/services/FormIdentifierService.d.ts +1 -1
  33. package/dist/sdk/services/FormIdentifierValueService.d.ts +1 -1
  34. package/dist/sdk/services/FormRevisionAttachmentService.d.ts +2 -2
  35. package/dist/sdk/services/FormRevisionService.d.ts +1 -1
  36. package/dist/sdk/services/FormService.d.ts +1 -1
  37. package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +2 -2
  38. package/dist/sdk/services/FormSubmissionService.d.ts +1 -1
  39. package/dist/sdk/services/GeoImageService.d.ts +1 -1
  40. package/dist/sdk/services/IssueAssociationService.d.ts +1 -1
  41. package/dist/sdk/services/IssueAttachmentService.d.ts +1 -1
  42. package/dist/sdk/services/IssueCommentAttachmentService.d.ts +1 -1
  43. package/dist/sdk/services/IssueCommentService.d.ts +1 -1
  44. package/dist/sdk/services/IssueService.d.ts +1 -1
  45. package/dist/sdk/services/IssueTypeAttachmentService.d.ts +1 -1
  46. package/dist/sdk/services/IssueTypeFieldValuesAttachmentService.d.ts +1 -1
  47. package/dist/sdk/services/IssueTypeFieldValuesService.d.ts +1 -1
  48. package/dist/sdk/services/IssueTypeFieldsAttachmentService.d.ts +1 -1
  49. package/dist/sdk/services/IssueTypeFieldsService.d.ts +1 -1
  50. package/dist/sdk/services/IssueTypeIdentifierService.d.ts +1 -1
  51. package/dist/sdk/services/IssueTypeIdentifierValueService.d.ts +1 -1
  52. package/dist/sdk/services/IssueTypeService.d.ts +1 -1
  53. package/dist/sdk/services/IssueTypeStatusService.d.ts +1 -1
  54. package/dist/sdk/services/IssueUpdateService.d.ts +142 -2
  55. package/dist/sdk/services/OrganizationAccessService.d.ts +1 -1
  56. package/dist/sdk/services/OrganizationService.d.ts +1 -1
  57. package/dist/sdk/services/ProjectAccessService.d.ts +1 -1
  58. package/dist/sdk/services/ProjectAttachmentService.d.ts +1 -1
  59. package/dist/sdk/services/ProjectFileService.d.ts +1 -1
  60. package/dist/sdk/services/ProjectService.d.ts +1 -1
  61. package/dist/sdk/services/TeamMembershipService.d.ts +1 -1
  62. package/dist/sdk/services/TeamService.d.ts +1 -1
  63. package/dist/sdk/services/UserService.d.ts +1 -1
  64. package/dist/store/selectors/index.d.ts +1 -0
  65. package/dist/store/selectors/utils.d.ts +4 -0
  66. package/dist/store/slices/agentsSlice.d.ts +1 -1
  67. package/dist/store/slices/assetAttachmentSlice.d.ts +1 -1
  68. package/dist/store/slices/assetProcedureSlice.d.ts +1 -1
  69. package/dist/store/slices/assetProcedureStepFieldValuesAttachmentSlice.d.ts +1 -1
  70. package/dist/store/slices/assetProcedureStepFieldValuesSlice.d.ts +1 -1
  71. package/dist/store/slices/assetProcedureStepFieldsAttachmentSlice.d.ts +1 -1
  72. package/dist/store/slices/assetProcedureStepFieldsSlice.d.ts +1 -1
  73. package/dist/store/slices/assetProcedureStepSlice.d.ts +2 -2
  74. package/dist/store/slices/assetProcedureTypeAttachmentSlice.d.ts +72 -2
  75. package/dist/store/slices/assetProcedureTypeFieldValuesAttachmentSlice.d.ts +1 -1
  76. package/dist/store/slices/assetProcedureTypeFieldValuesSlice.d.ts +1 -1
  77. package/dist/store/slices/assetProcedureTypeFieldsAttachmentSlice.d.ts +1 -1
  78. package/dist/store/slices/assetProcedureTypeFieldsSlice.d.ts +1 -1
  79. package/dist/store/slices/assetProcedureTypeSlice.d.ts +1 -1
  80. package/dist/store/slices/assetSlice.d.ts +1 -1
  81. package/dist/store/slices/assetStageCompletionSlice.d.ts +1 -1
  82. package/dist/store/slices/assetStageSlice.d.ts +1 -1
  83. package/dist/store/slices/assetTypeAttachmentSlice.d.ts +1 -1
  84. package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +1 -1
  85. package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +1 -1
  86. package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +1 -1
  87. package/dist/store/slices/assetTypeFieldsSlice.d.ts +1 -1
  88. package/dist/store/slices/assetTypeIdentifierSlice.d.ts +2 -2
  89. package/dist/store/slices/assetTypeIdentifierValueSlice.d.ts +2 -2
  90. package/dist/store/slices/assetTypeSlice.d.ts +2 -2
  91. package/dist/store/slices/assetTypeStatusSlice.d.ts +1 -1
  92. package/dist/store/slices/categorySlice.d.ts +1 -1
  93. package/dist/store/slices/documentAttachmentSlice.d.ts +1 -1
  94. package/dist/store/slices/documentSlice.d.ts +3 -3
  95. package/dist/store/slices/emailDomainsSlice.d.ts +2 -2
  96. package/dist/store/slices/formIdentifierSlice.d.ts +2 -2
  97. package/dist/store/slices/formIdentifierValueSlice.d.ts +2 -2
  98. package/dist/store/slices/formRevisionAttachmentSlice.d.ts +2 -2
  99. package/dist/store/slices/formRevisionSlice.d.ts +1 -1
  100. package/dist/store/slices/formSlice.d.ts +2 -2
  101. package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +3 -3
  102. package/dist/store/slices/formSubmissionSlice.d.ts +1 -1
  103. package/dist/store/slices/geoImageSlice.d.ts +1 -1
  104. package/dist/store/slices/issueAssociationSlice.d.ts +1 -1
  105. package/dist/store/slices/issueAttachmentSlice.d.ts +1 -1
  106. package/dist/store/slices/issueCommentAttachmentSlice.d.ts +1 -1
  107. package/dist/store/slices/issueCommentSlice.d.ts +1 -1
  108. package/dist/store/slices/issueSlice.d.ts +1 -1
  109. package/dist/store/slices/issueTypeAttachmentSlice.d.ts +2 -2
  110. package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +1 -1
  111. package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +1 -1
  112. package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +1 -1
  113. package/dist/store/slices/issueTypeFieldsSlice.d.ts +1 -1
  114. package/dist/store/slices/issueTypeIdentifierSlice.d.ts +2 -2
  115. package/dist/store/slices/issueTypeIdentifierValueSlice.d.ts +2 -2
  116. package/dist/store/slices/issueTypeSlice.d.ts +1 -1
  117. package/dist/store/slices/issueTypeStatusSlice.d.ts +1 -1
  118. package/dist/store/slices/issueUpdateSlice.d.ts +213 -3
  119. package/dist/store/slices/organizationAccessSlice.d.ts +1 -1
  120. package/dist/store/slices/organizationSlice.d.ts +2 -2
  121. package/dist/store/slices/projectAccessSlice.d.ts +1 -1
  122. package/dist/store/slices/projectAttachmentSlice.d.ts +3 -3
  123. package/dist/store/slices/projectFileSlice.d.ts +1 -1
  124. package/dist/store/slices/projectSlice.d.ts +2 -2
  125. package/dist/store/slices/teamMembershipSlice.d.ts +2 -2
  126. package/dist/store/slices/teamSlice.d.ts +2 -2
  127. package/dist/store/slices/userSlice.d.ts +1 -1
  128. package/dist/utils/utils.d.ts +0 -7
  129. package/package.json +4 -3
@@ -15,8 +15,8 @@ export declare const projectAttachmentSlice: import('@reduxjs/toolkit').Slice<Pr
15
15
  }, "projectAttachments", "projectAttachments", import('@reduxjs/toolkit').SliceSelectors<ProjectAttachmentState>>;
16
16
  export declare const initializeProjectAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>[], "projectAttachments/initializeProjectAttachments">, addProjectAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>, "projectAttachments/addProjectAttachment">, addProjectAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>[], "projectAttachments/addProjectAttachments">, setProjectAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>, "projectAttachments/setProjectAttachment">, setProjectAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>[], "projectAttachments/setProjectAttachments">, updateProjectAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>, "projectAttachments/updateProjectAttachment">, updateProjectAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>[], "projectAttachments/updateProjectAttachments">, deleteProjectAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "projectAttachments/deleteProjectAttachment">, deleteProjectAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "projectAttachments/deleteProjectAttachments">;
17
17
  export declare const selectProjectAttachmentMapping: (state: OvermapRootState) => Record<string, Stored<ProjectAttachment>>;
18
- export declare const selectAllProjectAttachments: OvermapSelector<Stored<ProjectAttachment>[]>;
18
+ export declare const selectProjectAttachments: OvermapSelector<Stored<ProjectAttachment>[]>;
19
19
  export declare const selectProjectAttachmentById: OvermapSelectorWithArgs<ProjectAttachment["uuid"], Stored<ProjectAttachment> | undefined>;
20
- export declare const selectProjectAttachmentsByIds: (args: string[]) => (state: OvermapRootState) => Stored<ProjectAttachment>[];
21
- export declare const selectAttachmentsOfProject: (args: string) => (state: OvermapRootState) => Stored<ProjectAttachment>[];
20
+ export declare const selectProjectAttachmentsByIds: (args: string[]) => (state: any) => Stored<ProjectAttachment>[];
21
+ export declare const selectAttachmentsOfProject: (args: string) => (state: any) => Stored<ProjectAttachment>[];
22
22
  export declare const projectAttachmentReducer: import('redux').Reducer<ProjectAttachmentState>;
@@ -120,7 +120,7 @@ export declare const selectProjectFiles: ((state: {
120
120
  memoize: typeof import('reselect').weakMapMemoize;
121
121
  };
122
122
  export declare const selectProjectFileById: OvermapSelectorWithArgs<ProjectFile["uuid"], Stored<ProjectFile> | undefined>;
123
- export declare const selectProjectFilesByIds: (args: string[]) => (state: OvermapRootState) => Stored<ProjectFile>[];
123
+ export declare const selectProjectFilesByIds: (args: string[]) => (state: any) => Stored<ProjectFile>[];
124
124
  export declare const selectActiveProjectFileId: OvermapSelector<ProjectFile["uuid"] | null>;
125
125
  export declare const selectIsImportingProjectFile: OvermapSelector<boolean>;
126
126
  export declare const projectFileReducer: import('redux').Reducer<ProjectFileState>;
@@ -1,5 +1,5 @@
1
1
  import { Organization, Project, User } from '../../typings';
2
- import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs } from '../typings';
2
+ import { OvermapSelector, OvermapSelectorWithArgs } from '../typings';
3
3
  import { ModelState } from '../adapters';
4
4
  export interface ProjectState extends ModelState<Project["uuid"], Project> {
5
5
  }
@@ -109,6 +109,6 @@ export declare const selectProjects: ((state: {
109
109
  memoize: typeof import('reselect').weakMapMemoize;
110
110
  };
111
111
  export declare const selectProjectById: OvermapSelectorWithArgs<Project["uuid"], Project | undefined>;
112
- export declare const selectProjectsByIds: (args: string[]) => (state: OvermapRootState) => Project[];
112
+ export declare const selectProjectsByIds: (args: string[]) => (state: any) => Project[];
113
113
  export declare const selectAccessibleProjects: OvermapSelectorWithArgs<User["id"], Project[]>;
114
114
  export declare const selectProjectsOfOrganization: OvermapSelectorWithArgs<Organization["uuid"], Project[]>;
@@ -1,5 +1,5 @@
1
1
  import { Stored, Team, TeamMembership, User } from '../../typings';
2
- import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs } from '../typings';
2
+ import { OvermapSelector, OvermapSelectorWithArgs } from '../typings';
3
3
  import { ModelState } from '../adapters';
4
4
  export type TeamMembershipState = ModelState<TeamMembership["uuid"], Stored<TeamMembership>>;
5
5
  export declare const teamMembershipSlice: import('@reduxjs/toolkit').Slice<TeamMembershipState, {
@@ -18,6 +18,6 @@ export declare const teamMembershipReducer: import('redux').Reducer<TeamMembersh
18
18
  export declare const selectTeamMembershipsMapping: OvermapSelector<TeamMembershipState["instances"]>;
19
19
  export declare const selectTeamMemberships: OvermapSelector<Stored<TeamMembership>[]>;
20
20
  export declare const selectTeamMembershipById: OvermapSelectorWithArgs<TeamMembership["uuid"], Stored<TeamMembership> | undefined>;
21
- export declare const selectTeamMembershipsByIds: (args: string[]) => (state: OvermapRootState) => Stored<TeamMembership>[];
21
+ export declare const selectTeamMembershipsByIds: (args: string[]) => (state: any) => Stored<TeamMembership>[];
22
22
  export declare const selectMembershipsByUserOfTeam: OvermapSelectorWithArgs<Team["uuid"], Record<User["id"], Stored<TeamMembership>>>;
23
23
  export declare const selectUsersOfTeam: OvermapSelectorWithArgs<Team["uuid"], User[]>;
@@ -1,5 +1,5 @@
1
1
  import { Organization, Stored, Team } from '../../typings';
2
- import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs } from '../typings';
2
+ import { OvermapSelector, OvermapSelectorWithArgs } from '../typings';
3
3
  import { ModelState } from '../adapters';
4
4
  export type TeamState = ModelState<Team["uuid"], Stored<Team>>;
5
5
  export declare const teamSlice: import('@reduxjs/toolkit').Slice<TeamState, {
@@ -17,6 +17,6 @@ export declare const initializeTeams: import('@reduxjs/toolkit').ActionCreatorWi
17
17
  export declare const selectTeamsMapping: OvermapSelector<TeamState["instances"]>;
18
18
  export declare const selectTeams: OvermapSelector<Stored<Team>[]>;
19
19
  export declare const selectTeamById: OvermapSelectorWithArgs<Team["uuid"], Stored<Team> | undefined>;
20
- export declare const selectTeamsByIds: (args: string[]) => (state: OvermapRootState) => Stored<Team>[];
20
+ export declare const selectTeamsByIds: (args: string[]) => (state: any) => Stored<Team>[];
21
21
  export declare const selectTeamsOfOrganization: OvermapSelectorWithArgs<Organization["uuid"], Stored<Team>[]>;
22
22
  export declare const teamReducer: import('redux').Reducer<TeamState>;
@@ -120,4 +120,4 @@ export declare const selectUsers: ((state: {
120
120
  memoize: typeof import('reselect').weakMapMemoize;
121
121
  };
122
122
  export declare const selectUserById: OvermapSelectorWithArgs<User["id"], User | undefined>;
123
- export declare const selectUsersByIds: (args: number[]) => (state: OvermapRootState) => User[];
123
+ export declare const selectUsersByIds: (args: number[]) => (state: any) => User[];
@@ -1,9 +1,2 @@
1
- import { OvermapRootState } from '../store';
2
- import { IssueAttachment, UUIDModel } from '../typings';
3
- type MemoizedSelectorWithArgs<TArgs, TRet> = (state: OvermapRootState, args: TArgs) => TRet;
4
- export declare const restructureCreateSelectorWithArgs: <TArgs, TRet>(selector: MemoizedSelectorWithArgs<TArgs, TRet>) => (args: TArgs) => (state: OvermapRootState) => TRet;
5
- export declare function onlyUniqueOfflineIds(value: UUIDModel, index: number, self: UUIDModel[]): boolean;
6
- export declare function onlyUniqueHashes(value: IssueAttachment, index: number, self: IssueAttachment[]): boolean;
7
1
  export declare const emailRegex: RegExp;
8
2
  export declare function createPayload<TPayload extends object>(payload: TPayload): TPayload;
9
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@overmap-ai/core",
3
- "version": "1.0.78-bulk-update.0",
3
+ "version": "1.0.78-bulk-update.3",
4
4
  "description": "Core functionality for Overmap",
5
5
  "keywords": [
6
6
  "components",
@@ -45,6 +45,8 @@
45
45
  "idb": "^7.1.1",
46
46
  "jwt-decode": "^3.1.2",
47
47
  "localforage": "^1.10.0",
48
+ "react-fast-compare": "^3.2.2",
49
+ "react-redux": "^8.0.0 || ^9.0.0",
48
50
  "redux": "^5.0.1",
49
51
  "redux-persist": "^4.0.0",
50
52
  "redux-persist-migrate": "^5.0.0",
@@ -82,8 +84,7 @@
82
84
  "@overmap-ai/forms": "^1.0.34",
83
85
  "@tiptap/core": "^2.4.0",
84
86
  "react": ">=18.2.0 <20.0.0",
85
- "react-dom": ">=18.2.0 <20.0.0",
86
- "react-redux": "^8.0.0 || ^9.0.0"
87
+ "react-dom": ">=18.2.0 <20.0.0"
87
88
  },
88
89
  "resolutions": {
89
90
  "string-width": "4.2.2",