@overmap-ai/core 1.2.1-form-submission-comments.0 → 1.2.2
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/overmap-core.js +8423 -9050
- package/dist/overmap-core.umd.cjs +10 -10
- package/dist/sdk/base.d.ts +2 -2
- package/dist/sdk/performRequest.d.ts +2 -2
- 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 +1 -1
- package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeFieldsService.d.ts +1 -1
- 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/DocumentAttachmentService.d.ts +1 -1
- package/dist/sdk/services/DocumentService.d.ts +1 -1
- package/dist/sdk/services/EmailDomainsService.d.ts +1 -1
- package/dist/sdk/services/FileService.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/sdk/services/FormSubscriberService.d.ts +1 -1
- package/dist/sdk/services/GeoImageService.d.ts +1 -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 +1 -3
- package/dist/sdk/services/JWTAuthService.d.ts +1 -1
- 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 +1 -1
- package/dist/sdk/services/ProcedureStepCommentService.d.ts +1 -1
- package/dist/sdk/services/ProcedureStepDefaultAssigneeService.d.ts +1 -1
- package/dist/sdk/services/ProcedureStepDefaultReviewerService.d.ts +1 -1
- 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 +1 -1
- package/dist/sdk/services/ProcedureStepReviewerService.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/sdk/services/TeamService.d.ts +1 -1
- package/dist/sdk/services/UserService.d.ts +1 -1
- package/dist/sdk/services/index.d.ts +0 -1
- package/dist/sdk/typings.d.ts +1 -1
- package/dist/store/reducers.d.ts +0 -3
- 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 -2
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +1 -2
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +1 -2
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +1 -2
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +1 -2
- 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 -2
- 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 -2
- 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 -2
- package/dist/store/slices/formRevisionSlice.d.ts +1 -2
- package/dist/store/slices/formSlice.d.ts +1 -2
- 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 -2
- package/dist/store/slices/index.d.ts +0 -1
- package/dist/store/slices/issueAssociationSlice.d.ts +1 -2
- 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 -2
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +1 -2
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +1 -2
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +1 -2
- 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 -2
- package/dist/store/slices/issueTypeSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeStatusSlice.d.ts +1 -2
- package/dist/store/slices/issueUpdateSlice.d.ts +1 -4
- package/dist/store/slices/organizationAccessSlice.d.ts +1 -1
- package/dist/store/slices/organizationSlice.d.ts +1 -2
- package/dist/store/slices/procedureFieldValuesSlice.d.ts +1 -2
- 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 -2
- package/dist/store/slices/procedureStepCommentSlice.d.ts +1 -2
- package/dist/store/slices/procedureStepDefaultAssigneeSlice.d.ts +1 -2
- package/dist/store/slices/procedureStepDefaultReviewerSlice.d.ts +1 -2
- package/dist/store/slices/procedureStepEventSlice.d.ts +1 -2
- package/dist/store/slices/procedureStepFieldValuesAttachmentSlice.d.ts +1 -2
- package/dist/store/slices/procedureStepFieldValuesReviewSlice.d.ts +1 -2
- package/dist/store/slices/procedureStepFieldValuesSlice.d.ts +1 -2
- package/dist/store/slices/procedureStepFieldsAttachmentSlice.d.ts +1 -2
- package/dist/store/slices/procedureStepFieldsSlice.d.ts +1 -3
- package/dist/store/slices/procedureStepReviewerSlice.d.ts +1 -2
- package/dist/store/slices/procedureStepSlice.d.ts +1 -2
- package/dist/store/slices/procedureTypeAttachmentSlice.d.ts +1 -2
- package/dist/store/slices/procedureTypeFieldValuesAttachmentSlice.d.ts +1 -2
- package/dist/store/slices/procedureTypeFieldsAttachmentSlice.d.ts +1 -2
- 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 -2
- package/dist/store/slices/projectSlice.d.ts +1 -2
- 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 -2
- package/dist/store/store.d.ts +1 -1
- package/dist/typings/models/assets.d.ts +1 -1
- package/dist/typings/models/forms.d.ts +0 -5
- package/dist/typings/models/issues.d.ts +1 -1
- package/dist/typings/models/procedures.d.ts +1 -1
- package/package.json +8 -11
- package/dist/sdk/services/FormSubmissionCommentService.d.ts +0 -28
- package/dist/store/slices/formSubmissionCommentSlice.d.ts +0 -23
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Project, ProjectComment, Stored } from '../../typings';
|
|
2
|
-
import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
3
2
|
import { ModelState } from '../adapters';
|
|
3
|
+
import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
4
4
|
export type ProjectCommentState = ModelState<ProjectComment["uuid"], Stored<ProjectComment>>;
|
|
5
5
|
export declare const projectCommentSlice: import('@reduxjs/toolkit').Slice<ProjectCommentState, {
|
|
6
6
|
initializeProjectComments: import('@reduxjs/toolkit').CaseReducer<ProjectCommentState, import('..').InitializePayloadAction<Stored<ProjectComment>>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProjectFile, Stored } from '../../typings';
|
|
2
|
-
import { OvermapRootState, OvermapSelectorWithArgs } from '../typings';
|
|
3
2
|
import { ModelState } from '../adapters';
|
|
3
|
+
import { OvermapRootState, OvermapSelectorWithArgs } from '../typings';
|
|
4
4
|
export interface ProjectFileState extends ModelState<ProjectFile["uuid"], Stored<ProjectFile>> {
|
|
5
5
|
}
|
|
6
6
|
export declare const projectFileSlice: import('@reduxjs/toolkit').Slice<ProjectFileState, {
|
|
@@ -60,7 +60,6 @@ export declare const selectProjectFiles: ((state: {
|
|
|
60
60
|
formSubscriberReducer: import('./formSubscriberSlice').FormSubscriberState;
|
|
61
61
|
formSubmissionFieldValuesAttachmentReducer: import('./formSubmissionFieldValuesAttachmentSlice').FormSubmissionFieldValuesAttachmentState;
|
|
62
62
|
formSubmissionFieldValuesReducer: import('./formSubmissionFieldValuesSlice').FormSubmissionFieldValuesState;
|
|
63
|
-
formSubmissionCommentReducer: import('./formSubmissionCommentSlice').FormSubmissionCommentState;
|
|
64
63
|
formSubmissionReducer: import('./formSubmissionSlice').FormSubmissionState;
|
|
65
64
|
formIdentifierReducer: import('./formIdentifierSlice').FormIdentifierState;
|
|
66
65
|
formIdentifierValueReducer: import('./formIdentifierValueSlice').FormIdentifierValueState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Organization, Project, User } from '../../typings';
|
|
2
|
-
import { OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
3
2
|
import { ModelState } from '../adapters';
|
|
3
|
+
import { OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
4
4
|
export interface ProjectState extends ModelState<Project["uuid"], Project> {
|
|
5
5
|
}
|
|
6
6
|
export declare const projectSlice: import('@reduxjs/toolkit').Slice<ProjectState, {
|
|
@@ -61,7 +61,6 @@ export declare const selectProjects: ((state: {
|
|
|
61
61
|
formSubscriberReducer: import('./formSubscriberSlice').FormSubscriberState;
|
|
62
62
|
formSubmissionFieldValuesAttachmentReducer: import('./formSubmissionFieldValuesAttachmentSlice').FormSubmissionFieldValuesAttachmentState;
|
|
63
63
|
formSubmissionFieldValuesReducer: import('./formSubmissionFieldValuesSlice').FormSubmissionFieldValuesState;
|
|
64
|
-
formSubmissionCommentReducer: import('./formSubmissionCommentSlice').FormSubmissionCommentState;
|
|
65
64
|
formSubmissionReducer: import('./formSubmissionSlice').FormSubmissionState;
|
|
66
65
|
formIdentifierReducer: import('./formIdentifierSlice').FormIdentifierState;
|
|
67
66
|
formIdentifierValueReducer: import('./formIdentifierValueSlice').FormIdentifierValueState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Stored, Team, TeamMembership, User } from '../../typings';
|
|
2
|
-
import { OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
3
2
|
import { ModelState } from '../adapters';
|
|
3
|
+
import { OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
4
4
|
export type TeamMembershipState = ModelState<TeamMembership["uuid"], Stored<TeamMembership>>;
|
|
5
5
|
export declare const teamMembershipSlice: import('@reduxjs/toolkit').Slice<TeamMembershipState, {
|
|
6
6
|
initializeTeamMemberships: import('@reduxjs/toolkit').CaseReducer<TeamMembershipState, import('..').InitializePayloadAction<Stored<TeamMembership>>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Organization, Stored, Team } from '../../typings';
|
|
2
|
-
import { OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
3
2
|
import { ModelState } from '../adapters';
|
|
3
|
+
import { OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
4
4
|
export type TeamState = ModelState<Team["uuid"], Stored<Team>>;
|
|
5
5
|
export declare const teamSlice: import('@reduxjs/toolkit').Slice<TeamState, {
|
|
6
6
|
initializeTeams: import('@reduxjs/toolkit').CaseReducer<TeamState, import('..').InitializePayloadAction<Stored<Team>>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
2
|
import { Profile, User } from '../../typings';
|
|
3
|
-
import { OvermapRootState, OvermapSelectorWithArgs } from '../typings';
|
|
4
3
|
import { ModelState } from '../adapters';
|
|
4
|
+
import { OvermapRootState, OvermapSelectorWithArgs } from '../typings';
|
|
5
5
|
export interface UserState extends ModelState<User["id"], User> {
|
|
6
6
|
currentUser: User | null;
|
|
7
7
|
}
|
|
@@ -66,7 +66,6 @@ export declare const selectUsers: ((state: {
|
|
|
66
66
|
formSubscriberReducer: import('./formSubscriberSlice').FormSubscriberState;
|
|
67
67
|
formSubmissionFieldValuesAttachmentReducer: import('./formSubmissionFieldValuesAttachmentSlice').FormSubmissionFieldValuesAttachmentState;
|
|
68
68
|
formSubmissionFieldValuesReducer: import('./formSubmissionFieldValuesSlice').FormSubmissionFieldValuesState;
|
|
69
|
-
formSubmissionCommentReducer: import('./formSubmissionCommentSlice').FormSubmissionCommentState;
|
|
70
69
|
formSubmissionReducer: import('./formSubmissionSlice').FormSubmissionState;
|
|
71
70
|
formIdentifierReducer: import('./formIdentifierSlice').FormIdentifierState;
|
|
72
71
|
formIdentifierValueReducer: import('./formIdentifierValueSlice').FormIdentifierValueState;
|
package/dist/store/store.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Config } from '@redux-offline/redux-offline/lib/types';
|
|
2
2
|
import { default as request } from 'superagent';
|
|
3
|
-
import { BaseState, FullOfflineAction } from './typings';
|
|
4
3
|
import { BaseSDK } from '../sdk';
|
|
4
|
+
import { BaseState, FullOfflineAction } from './typings';
|
|
5
5
|
export declare const enqueue: Config["queue"]["enqueue"];
|
|
6
6
|
export declare const dequeue: Config["queue"]["dequeue"];
|
|
7
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { AssetStatusType } from '../../enums';
|
|
1
2
|
import { AbbreviationModel, ColorModel, CreatedByModel, GeometryModel, IconModel, IdentifierModel, IdentifierValueModel, IndexedModel, RequiredFileModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
2
3
|
import { FieldsAttachmentModel, FieldsModel, FieldValuesModel } from './fields';
|
|
3
4
|
import { Organization } from './organizations';
|
|
4
5
|
import { Project } from './projects';
|
|
5
|
-
import { AssetStatusType } from '../../enums';
|
|
6
6
|
export interface Asset extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel, GeometryModel, IndexedModel {
|
|
7
7
|
asset_type: AssetType["uuid"];
|
|
8
8
|
label: string | null;
|
|
@@ -41,8 +41,3 @@ export interface FormSubscriber extends UUIDModel, SubmittedAtModel, Timestamped
|
|
|
41
41
|
form: Form["uuid"];
|
|
42
42
|
user: User["id"];
|
|
43
43
|
}
|
|
44
|
-
export interface FormSubmissionComment extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel {
|
|
45
|
-
form_submission: FormSubmission["uuid"];
|
|
46
|
-
content: string;
|
|
47
|
-
resolved: boolean;
|
|
48
|
-
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { IssueStatusType, IssuePriorityType, IssueUpdateChange } from '../../enums';
|
|
1
2
|
import { Asset } from './assets';
|
|
2
3
|
import { AbbreviationModel, ColorModel, CreatedByModel, IconModel, IdentifierModel, IdentifierValueModel, IndexedModel, MarkableModel, RequiredFileModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
3
4
|
import { FieldsAttachmentModel, FieldsModel, FieldValuesModel } from './fields';
|
|
4
5
|
import { Organization } from './organizations';
|
|
5
6
|
import { Project } from './projects';
|
|
6
7
|
import { User } from './users';
|
|
7
|
-
import { IssueStatusType, IssuePriorityType, IssueUpdateChange } from '../../enums';
|
|
8
8
|
export interface Issue extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, MarkableModel, IndexedModel {
|
|
9
9
|
title: string | null;
|
|
10
10
|
description: string | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SerializedCondition } from '@overmap-ai/forms';
|
|
2
|
+
import { ProcedureStepEventType, ProcedureStepFieldValuesReviewType } from '../../enums';
|
|
2
3
|
import { Asset, AssetType } from './assets';
|
|
3
4
|
import { AbbreviationModel, ColorModel, CreatedByModel, IconModel, IndexedModel, RequiredFileModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
4
5
|
import { FieldsAttachmentModel, FieldsModel, FieldValuesModel } from './fields';
|
|
5
6
|
import { Organization } from './organizations';
|
|
6
7
|
import { Project } from './projects';
|
|
7
8
|
import { User } from './users';
|
|
8
|
-
import { ProcedureStepEventType, ProcedureStepFieldValuesReviewType } from '../../enums';
|
|
9
9
|
export interface ProcedureType extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel, IconModel, ColorModel, AbbreviationModel {
|
|
10
10
|
name: string;
|
|
11
11
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overmap-ai/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Core functionality for Overmap",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "vite build",
|
|
30
30
|
"type-check": "tsc --noEmit",
|
|
31
|
-
"lint": "oxlint
|
|
31
|
+
"lint": "oxlint -c .oxlintrc.json",
|
|
32
32
|
"lint:fix": "yarn lint --fix",
|
|
33
|
-
"format": "oxfmt",
|
|
33
|
+
"format": "oxfmt -c .oxfmtrc.json",
|
|
34
34
|
"format:check": "yarn format --check",
|
|
35
35
|
"dev": "vite",
|
|
36
36
|
"preview": "vite preview",
|
|
@@ -61,18 +61,15 @@
|
|
|
61
61
|
"@types/superagent": "4.1.24",
|
|
62
62
|
"@types/uuid": "9.0.8",
|
|
63
63
|
"@vitejs/plugin-react-swc": "3.11.0",
|
|
64
|
-
"globals": "16.3.0",
|
|
65
64
|
"happy-dom": "20.8.9",
|
|
66
|
-
"oxfmt": "0.
|
|
67
|
-
"oxlint": "1.
|
|
68
|
-
"oxlint-tsgolint": "0.
|
|
65
|
+
"oxfmt": "0.61.0",
|
|
66
|
+
"oxlint": "1.76.0",
|
|
67
|
+
"oxlint-tsgolint": "7.0.2001",
|
|
69
68
|
"react": "19.1.0",
|
|
70
|
-
"rollup": "4.59.0",
|
|
71
|
-
"rollup-plugin-polyfill-node": "0.13.0",
|
|
72
69
|
"typescript": "5.8.3",
|
|
73
|
-
"vite": "
|
|
70
|
+
"vite": "7.3.6",
|
|
74
71
|
"vite-plugin-dts": "4.5.4",
|
|
75
|
-
"vite-plugin-externalize-deps": "0.
|
|
72
|
+
"vite-plugin-externalize-deps": "0.10.0",
|
|
76
73
|
"vitest": "3.2.4"
|
|
77
74
|
},
|
|
78
75
|
"peerDependencies": {
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { FormSubmissionComment, Organization, Payload, Stored, UUID } from '../../typings';
|
|
2
|
-
import { BaseSDK } from '../base';
|
|
3
|
-
import { OptimisticModelResult } from '../typings';
|
|
4
|
-
import { OvermapRootState } from '../../store';
|
|
5
|
-
import { BaseOfflineModelApiService } from './BaseOfflineModelApiService';
|
|
6
|
-
export declare abstract class FormSubmissionCommentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineModelApiService<FormSubmissionComment["uuid"], FormSubmissionComment, TState, TSDK> {
|
|
7
|
-
name: string;
|
|
8
|
-
url: string;
|
|
9
|
-
actions: {
|
|
10
|
-
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>, "formSubmissionComments/addFormSubmissionComment">;
|
|
11
|
-
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>[], "formSubmissionComments/addFormSubmissionComments">;
|
|
12
|
-
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>, "formSubmissionComments/setFormSubmissionComment">;
|
|
13
|
-
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>[], "formSubmissionComments/setFormSubmissionComments">;
|
|
14
|
-
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>, "formSubmissionComments/updateFormSubmissionComment">;
|
|
15
|
-
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>[], "formSubmissionComments/updateFormSubmissionComments">;
|
|
16
|
-
deleteOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "formSubmissionComments/deleteFormSubmissionComment">;
|
|
17
|
-
deleteMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "formSubmissionComments/deleteFormSubmissionComments">;
|
|
18
|
-
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>[], "formSubmissionComments/initializeFormSubmissionComments">;
|
|
19
|
-
};
|
|
20
|
-
selectors: {
|
|
21
|
-
selectById: import('../..').OvermapSelectorWithArgs<string, Stored<FormSubmissionComment> | undefined>;
|
|
22
|
-
selectByIds: (uuids: string[]) => (state: any) => Stored<FormSubmissionComment>[];
|
|
23
|
-
};
|
|
24
|
-
add(payload: Payload<FormSubmissionComment>): OptimisticModelResult<FormSubmissionComment>;
|
|
25
|
-
update(payload: UUID<Partial<Payload<FormSubmissionComment>>>): OptimisticModelResult<FormSubmissionComment>;
|
|
26
|
-
delete(uuid: FormSubmissionComment["uuid"]): Promise<void>;
|
|
27
|
-
refreshStore(organizationUuid: Organization["uuid"], signal?: AbortSignal): Promise<FormSubmissionComment[]>;
|
|
28
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { FormSubmission, FormSubmissionComment, Stored } from '../../typings';
|
|
2
|
-
import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
3
|
-
import { ModelState } from '../adapters';
|
|
4
|
-
export type FormSubmissionCommentState = ModelState<FormSubmissionComment["uuid"], Stored<FormSubmissionComment>>;
|
|
5
|
-
export declare const formSubmissionCommentSlice: import('@reduxjs/toolkit').Slice<FormSubmissionCommentState, {
|
|
6
|
-
initializeFormSubmissionComments: import('@reduxjs/toolkit').CaseReducer<FormSubmissionCommentState, import('..').InitializePayloadAction<Stored<FormSubmissionComment>>>;
|
|
7
|
-
addFormSubmissionComment: import('@reduxjs/toolkit').CaseReducer<FormSubmissionCommentState, import('..').AddOnePayloadAction<Stored<FormSubmissionComment>>>;
|
|
8
|
-
addFormSubmissionComments: import('@reduxjs/toolkit').CaseReducer<FormSubmissionCommentState, import('..').AddManyPayloadAction<Stored<FormSubmissionComment>>>;
|
|
9
|
-
setFormSubmissionComment: import('@reduxjs/toolkit').CaseReducer<FormSubmissionCommentState, import('..').SetOnePayloadAction<Stored<FormSubmissionComment>>>;
|
|
10
|
-
setFormSubmissionComments: import('@reduxjs/toolkit').CaseReducer<FormSubmissionCommentState, import('..').SetManyPayloadAction<Stored<FormSubmissionComment>>>;
|
|
11
|
-
updateFormSubmissionComment: import('@reduxjs/toolkit').CaseReducer<FormSubmissionCommentState, import('..').UpdateOnePayloadAction<Stored<FormSubmissionComment>>>;
|
|
12
|
-
updateFormSubmissionComments: import('@reduxjs/toolkit').CaseReducer<FormSubmissionCommentState, import('..').UpdateManyPayloadAction<Stored<FormSubmissionComment>>>;
|
|
13
|
-
deleteFormSubmissionComment: import('@reduxjs/toolkit').CaseReducer<FormSubmissionCommentState, import('..').DeleteOnePayloadAction<string>>;
|
|
14
|
-
deleteFormSubmissionComments: import('@reduxjs/toolkit').CaseReducer<FormSubmissionCommentState, import('..').DeleteManyPayloadAction<string>>;
|
|
15
|
-
}, "formSubmissionComments", "formSubmissionComments", import('@reduxjs/toolkit').SliceSelectors<FormSubmissionCommentState>>;
|
|
16
|
-
export declare const initializeFormSubmissionComments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>[], "formSubmissionComments/initializeFormSubmissionComments">, addFormSubmissionComment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>, "formSubmissionComments/addFormSubmissionComment">, addFormSubmissionComments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>[], "formSubmissionComments/addFormSubmissionComments">, setFormSubmissionComment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>, "formSubmissionComments/setFormSubmissionComment">, setFormSubmissionComments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>[], "formSubmissionComments/setFormSubmissionComments">, updateFormSubmissionComment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>, "formSubmissionComments/updateFormSubmissionComment">, updateFormSubmissionComments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionComment>[], "formSubmissionComments/updateFormSubmissionComments">, deleteFormSubmissionComment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "formSubmissionComments/deleteFormSubmissionComment">, deleteFormSubmissionComments: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "formSubmissionComments/deleteFormSubmissionComments">;
|
|
17
|
-
export declare const selectFormSubmissionCommentMapping: (state: OvermapRootState) => Record<string, Stored<FormSubmissionComment>>;
|
|
18
|
-
export declare const selectFormSubmissionComments: OvermapSelector<Stored<FormSubmissionComment>[]>;
|
|
19
|
-
export declare const selectFormSubmissionCommentById: OvermapSelectorWithArgs<FormSubmissionComment["uuid"], Stored<FormSubmissionComment> | undefined>;
|
|
20
|
-
export declare const selectFormSubmissionCommentsByIds: (uuids: string[]) => (state: any) => Stored<FormSubmissionComment>[];
|
|
21
|
-
export declare const selectCommentsOfFormSubmission: OvermapSelectorWithArgs<FormSubmission["uuid"], Stored<FormSubmissionComment>[]>;
|
|
22
|
-
export declare const selectCommentsOfFormSubmissions: OvermapSelectorWithArgs<FormSubmission["uuid"][], Stored<FormSubmissionComment>[]>;
|
|
23
|
-
export declare const formSubmissionCommentReducer: import('redux').Reducer<FormSubmissionCommentState>;
|