@overmap-ai/core 1.0.78-bulk-project-access.2 → 1.0.78-bump-page-sizes.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/overmap-core.js +2912 -2933
- package/dist/overmap-core.umd.cjs +7 -7
- package/dist/sdk/constants.d.ts +1 -4
- package/dist/sdk/services/FormIdentifierValueService.d.ts +2 -2
- package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +2 -2
- package/dist/sdk/services/FormSubmissionService.d.ts +2 -2
- package/dist/store/slices/formSubmissionSlice.d.ts +1 -3
- package/dist/typings/models/assets.d.ts +1 -0
- package/dist/typings/models/forms.d.ts +0 -3
- package/package.json +1 -1
package/dist/sdk/constants.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
/** Default pagination max page size as defined on the BaseOvermapCursorPagination class in /api */
|
|
2
|
-
export declare const PAGINATION_MAX_PAGE_SIZE = 50000;
|
|
3
1
|
/** Default pagination page size as */
|
|
4
|
-
export declare const DEFAULT_PAGINATION_PAGE_SIZE =
|
|
5
|
-
export declare const PAGINATION_PAGE_SIZE_QUERY_PARAM = "limit";
|
|
2
|
+
export declare const DEFAULT_PAGINATION_PAGE_SIZE = 10000;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OvermapRootState } from '../../store';
|
|
2
|
-
import { FormIdentifierValue,
|
|
2
|
+
import { FormIdentifierValue, Organization, Payload, UUID } from '../../typings';
|
|
3
3
|
import { BaseSDK } from '../base';
|
|
4
4
|
import { OptimisticModelResult } from '../typings';
|
|
5
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -7,5 +7,5 @@ export declare abstract class FormIdentifierValueService<TState extends OvermapR
|
|
|
7
7
|
add(payload: Payload<FormIdentifierValue>): OptimisticModelResult<FormIdentifierValue>;
|
|
8
8
|
update(payload: UUID<Partial<Payload<FormIdentifierValue>>>): OptimisticModelResult<FormIdentifierValue>;
|
|
9
9
|
delete(uuid: FormIdentifierValue["uuid"]): Promise<undefined>;
|
|
10
|
-
refreshStore(
|
|
10
|
+
refreshStore(organizationUuid: Organization["uuid"], signal?: AbortSignal): Promise<FormIdentifierValue[]>;
|
|
11
11
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OvermapRootState } from '../../store';
|
|
2
|
-
import { FormSubmission, FormSubmissionAttachment,
|
|
2
|
+
import { FormSubmission, FormSubmissionAttachment, Organization } from '../../typings';
|
|
3
3
|
import { BaseSDK } from '../base';
|
|
4
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
5
5
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -10,5 +10,5 @@ export declare abstract class FormSubmissionAttachmentService<TState extends Ove
|
|
|
10
10
|
file: File;
|
|
11
11
|
}[]): Promise<OptimisticMultipleModelResult<FormSubmissionAttachment>>;
|
|
12
12
|
bulkDelete(uuids: FormSubmissionAttachment["uuid"][]): Promise<void>;
|
|
13
|
-
refreshStore(
|
|
13
|
+
refreshStore(organizationUuid: Organization["uuid"], signal?: AbortSignal): Promise<FormSubmissionAttachment[]>;
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OvermapRootState } from '../../store';
|
|
2
|
-
import { FormSubmission,
|
|
2
|
+
import { FormSubmission, Organization, Payload, UUID } from '../../typings';
|
|
3
3
|
import { BaseSDK } from '../base';
|
|
4
4
|
import { OptimisticModelResult } from '../typings';
|
|
5
5
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -7,5 +7,5 @@ export declare abstract class FormSubmissionService<TState extends OvermapRootSt
|
|
|
7
7
|
add(payload: Payload<FormSubmission>): OptimisticModelResult<FormSubmission>;
|
|
8
8
|
update(payload: UUID<Partial<Payload<FormSubmission>>>): OptimisticModelResult<FormSubmission>;
|
|
9
9
|
delete(uuid: FormSubmission["uuid"]): Promise<undefined>;
|
|
10
|
-
refreshStore(
|
|
10
|
+
refreshStore(organizationUuid: Organization["uuid"], signal?: AbortSignal): Promise<FormSubmission[]>;
|
|
11
11
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Form, FormSubmission, Stored } from '../../typings';
|
|
2
2
|
import { ModelState } from '../adapters';
|
|
3
3
|
import { OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
4
4
|
export type FormSubmissionState = ModelState<FormSubmission["uuid"], Stored<FormSubmission>>;
|
|
@@ -45,6 +45,4 @@ export declare const selectFormSubmissionsMapping: OvermapSelector<FormSubmissio
|
|
|
45
45
|
export declare const selectFormSubmissions: OvermapSelector<Stored<FormSubmission>[]>;
|
|
46
46
|
export declare const selectFormSubmissionById: OvermapSelectorWithArgs<FormSubmission["uuid"], Stored<FormSubmission> | undefined>;
|
|
47
47
|
export declare const selectFormSubmissionsOfForm: OvermapSelectorWithArgs<Form["uuid"], Stored<FormSubmission>[]>;
|
|
48
|
-
export declare const selectFormSubmissionsOfIssue: OvermapSelectorWithArgs<Issue["uuid"], Stored<FormSubmission>[]>;
|
|
49
|
-
export declare const selectFormSubmissionsOfAsset: OvermapSelectorWithArgs<Asset["uuid"], Stored<FormSubmission>[]>;
|
|
50
48
|
export declare const formSubmissionReducer: import('redux').Reducer<FormSubmissionState>;
|
|
@@ -11,6 +11,7 @@ export interface AssetType extends UUIDModel, TimestampedModel, SubmittedAtModel
|
|
|
11
11
|
organization: string;
|
|
12
12
|
name?: string;
|
|
13
13
|
description?: string;
|
|
14
|
+
order: number;
|
|
14
15
|
}
|
|
15
16
|
export interface AssetProcedure extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel, IconModel, ColorModel {
|
|
16
17
|
organization: string;
|
|
@@ -11,9 +11,6 @@ export interface FormRevision extends UUIDModel, SubmittedAtModel, TimestampedMo
|
|
|
11
11
|
export type FormRevisionPayload = Omit<Payload<FormRevision>, "revision">;
|
|
12
12
|
export interface FormSubmission extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldValuesModel, IndexedModel {
|
|
13
13
|
form_revision: string;
|
|
14
|
-
project: string;
|
|
15
|
-
issue?: string | null;
|
|
16
|
-
asset?: string | null;
|
|
17
14
|
}
|
|
18
15
|
export interface FormSubmissionAttachment extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldValuesAttachmentModel {
|
|
19
16
|
form_submission: string;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core functionality for Overmap",
|
|
4
4
|
"author": "Wôrdn Inc.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
|
-
"version": "1.0.78-
|
|
6
|
+
"version": "1.0.78-bump-page-sizes.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|