@overmap-ai/core 1.0.78-procedure-steps.6 → 1.0.78-required-model-names.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.
Files changed (170) hide show
  1. package/dist/enums/access.d.ts +0 -5
  2. package/dist/enums/index.d.ts +0 -1
  3. package/dist/overmap-core.js +6690 -5196
  4. package/dist/overmap-core.umd.cjs +9 -9
  5. package/dist/sdk/base.d.ts +2 -2
  6. package/dist/sdk/constants.d.ts +4 -0
  7. package/dist/sdk/index.d.ts +4 -1
  8. package/dist/sdk/middleware/OfflineAnalyticsMiddleware.d.ts +6 -0
  9. package/dist/sdk/middleware/OfflineMiddleware.d.ts +13 -0
  10. package/dist/sdk/middleware/RateLimitingMiddleware.d.ts +6 -0
  11. package/dist/sdk/middleware/constants.d.ts +1 -0
  12. package/dist/sdk/middleware/index.d.ts +5 -0
  13. package/dist/sdk/middleware/utils.d.ts +2 -0
  14. package/dist/sdk/outbox/globals.d.ts +2 -0
  15. package/dist/sdk/{classes → outbox}/index.d.ts +1 -0
  16. package/dist/sdk/services/AgentService.d.ts +2 -2
  17. package/dist/sdk/services/AssetAttachmentService.d.ts +2 -2
  18. package/dist/sdk/services/AssetProcedureAttachmentService.d.ts +2 -2
  19. package/dist/sdk/services/AssetProcedureFieldValuesAttachmentService.d.ts +2 -2
  20. package/dist/sdk/services/AssetProcedureFieldValuesService.d.ts +2 -2
  21. package/dist/sdk/services/AssetProcedureFieldsAttachmentService.d.ts +2 -2
  22. package/dist/sdk/services/AssetProcedureFieldsService.d.ts +2 -2
  23. package/dist/sdk/services/AssetProcedureInstanceService.d.ts +2 -2
  24. package/dist/sdk/services/AssetProcedureService.d.ts +2 -2
  25. package/dist/sdk/services/AssetProcedureStepFieldValuesAttachmentService.d.ts +2 -2
  26. package/dist/sdk/services/AssetProcedureStepFieldValuesService.d.ts +2 -2
  27. package/dist/sdk/services/AssetProcedureStepFieldsAttachmentService.d.ts +2 -2
  28. package/dist/sdk/services/AssetProcedureStepFieldsService.d.ts +2 -2
  29. package/dist/sdk/services/AssetProcedureStepService.d.ts +6 -7
  30. package/dist/sdk/services/AssetService.d.ts +4 -3
  31. package/dist/sdk/services/AssetStageCompletionService.d.ts +2 -2
  32. package/dist/sdk/services/AssetStageService.d.ts +6 -7
  33. package/dist/sdk/services/AssetTypeAttachmentService.d.ts +2 -2
  34. package/dist/sdk/services/AssetTypeFieldValuesAttachmentService.d.ts +2 -2
  35. package/dist/sdk/services/AssetTypeFieldValuesService.d.ts +2 -2
  36. package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +2 -2
  37. package/dist/sdk/services/AssetTypeFieldsService.d.ts +2 -2
  38. package/dist/sdk/services/AssetTypeIdentifierService.d.ts +11 -0
  39. package/dist/sdk/services/AssetTypeIdentifierValueService.d.ts +11 -0
  40. package/dist/sdk/services/AssetTypeService.d.ts +2 -2
  41. package/dist/sdk/services/BaseService.d.ts +3 -2
  42. package/dist/sdk/services/CategoryService.d.ts +3 -3
  43. package/dist/sdk/services/DocumentAttachmentService.d.ts +3 -3
  44. package/dist/sdk/services/DocumentService.d.ts +3 -4
  45. package/dist/sdk/services/EmailDomainsService.d.ts +2 -2
  46. package/dist/sdk/services/FileService.d.ts +1 -1
  47. package/dist/sdk/services/FormIdentifierService.d.ts +11 -0
  48. package/dist/sdk/services/FormIdentifierValueService.d.ts +11 -0
  49. package/dist/sdk/services/FormRevisionAttachmentService.d.ts +2 -2
  50. package/dist/sdk/services/FormRevisionService.d.ts +2 -2
  51. package/dist/sdk/services/FormService.d.ts +2 -2
  52. package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +3 -3
  53. package/dist/sdk/services/FormSubmissionService.d.ts +3 -3
  54. package/dist/sdk/services/GeoImageService.d.ts +2 -2
  55. package/dist/sdk/services/IssueAssociationService.d.ts +2 -2
  56. package/dist/sdk/services/IssueAttachmentService.d.ts +2 -2
  57. package/dist/sdk/services/IssueCommentAttachmentService.d.ts +2 -2
  58. package/dist/sdk/services/IssueCommentService.d.ts +2 -2
  59. package/dist/sdk/services/IssueService.d.ts +2 -2
  60. package/dist/sdk/services/IssueTypeAttachmentService.d.ts +2 -2
  61. package/dist/sdk/services/IssueTypeFieldValuesAttachmentService.d.ts +2 -2
  62. package/dist/sdk/services/IssueTypeFieldValuesService.d.ts +2 -2
  63. package/dist/sdk/services/IssueTypeFieldsAttachmentService.d.ts +2 -2
  64. package/dist/sdk/services/IssueTypeFieldsService.d.ts +2 -2
  65. package/dist/sdk/services/IssueTypeIdentifierService.d.ts +11 -0
  66. package/dist/sdk/services/IssueTypeIdentifierValueService.d.ts +11 -0
  67. package/dist/sdk/services/IssueTypeService.d.ts +2 -2
  68. package/dist/sdk/services/IssueUpdateService.d.ts +3 -3
  69. package/dist/sdk/services/JWTAuthService.d.ts +1 -1
  70. package/dist/sdk/services/OrganizationAccessService.d.ts +6 -5
  71. package/dist/sdk/services/OrganizationService.d.ts +5 -5
  72. package/dist/sdk/services/ProjectAccessService.d.ts +7 -4
  73. package/dist/sdk/services/ProjectAttachmentService.d.ts +5 -5
  74. package/dist/sdk/services/ProjectFileService.d.ts +2 -5
  75. package/dist/sdk/services/ProjectService.d.ts +3 -9
  76. package/dist/sdk/services/TeamMembershipService.d.ts +11 -0
  77. package/dist/sdk/services/TeamService.d.ts +3 -6
  78. package/dist/sdk/services/UserService.d.ts +3 -3
  79. package/dist/sdk/services/index.d.ts +7 -1
  80. package/dist/sdk/typings.d.ts +11 -2
  81. package/dist/store/constants.d.ts +3 -1
  82. package/dist/store/index.d.ts +1 -0
  83. package/dist/store/reducers.d.ts +21 -3
  84. package/dist/store/selectors/SelectorBuilder.d.ts +24 -0
  85. package/dist/store/selectors/hooks.d.ts +13 -0
  86. package/dist/store/selectors/index.d.ts +2 -0
  87. package/dist/store/slices/agentsSlice.d.ts +22 -2
  88. package/dist/store/slices/assetAttachmentSlice.d.ts +3 -3
  89. package/dist/store/slices/assetProcedureAttachmentSlice.d.ts +2 -2
  90. package/dist/store/slices/assetProcedureFieldValuesAttachmentSlice.d.ts +8 -2
  91. package/dist/store/slices/assetProcedureFieldValuesSlice.d.ts +9 -3
  92. package/dist/store/slices/assetProcedureFieldsAttachmentSlice.d.ts +10 -4
  93. package/dist/store/slices/assetProcedureFieldsSlice.d.ts +2 -84
  94. package/dist/store/slices/assetProcedureInstanceSlice.d.ts +9 -3
  95. package/dist/store/slices/assetProcedureSlice.d.ts +4 -86
  96. package/dist/store/slices/assetProcedureStepFieldValuesAttachmentSlice.d.ts +8 -2
  97. package/dist/store/slices/assetProcedureStepFieldValuesSlice.d.ts +8 -2
  98. package/dist/store/slices/assetProcedureStepFieldsAttachmentSlice.d.ts +10 -4
  99. package/dist/store/slices/assetProcedureStepFieldsSlice.d.ts +15 -3
  100. package/dist/store/slices/assetProcedureStepSlice.d.ts +8 -2
  101. package/dist/store/slices/assetSlice.d.ts +8 -2
  102. package/dist/store/slices/assetStageCompletionSlice.d.ts +17 -3
  103. package/dist/store/slices/assetStageSlice.d.ts +8 -2
  104. package/dist/store/slices/assetTypeAttachmentSlice.d.ts +2 -2
  105. package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +8 -2
  106. package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +8 -2
  107. package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +8 -2
  108. package/dist/store/slices/assetTypeFieldsSlice.d.ts +8 -2
  109. package/dist/store/slices/assetTypeIdentifierSlice.d.ts +48 -0
  110. package/dist/store/slices/assetTypeIdentifierValueSlice.d.ts +49 -0
  111. package/dist/store/slices/assetTypeSlice.d.ts +3 -2
  112. package/dist/store/slices/categorySlice.d.ts +31 -5
  113. package/dist/store/slices/documentAttachmentSlice.d.ts +3 -3
  114. package/dist/store/slices/documentSlice.d.ts +4 -89
  115. package/dist/store/slices/emailDomainsSlice.d.ts +38 -8
  116. package/dist/store/slices/formIdentifierSlice.d.ts +48 -0
  117. package/dist/store/slices/formIdentifierValueSlice.d.ts +49 -0
  118. package/dist/store/slices/formRevisionAttachmentSlice.d.ts +1 -1
  119. package/dist/store/slices/formRevisionSlice.d.ts +23 -5
  120. package/dist/store/slices/formSlice.d.ts +26 -7
  121. package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +3 -2
  122. package/dist/store/slices/formSubmissionSlice.d.ts +1 -3
  123. package/dist/store/slices/geoImageSlice.d.ts +10 -4
  124. package/dist/store/slices/index.d.ts +7 -1
  125. package/dist/store/slices/issueAssociationSlice.d.ts +12 -6
  126. package/dist/store/slices/issueAttachmentSlice.d.ts +3 -3
  127. package/dist/store/slices/issueCommentAttachmentSlice.d.ts +3 -3
  128. package/dist/store/slices/issueCommentSlice.d.ts +15 -3
  129. package/dist/store/slices/issueSlice.d.ts +20 -5
  130. package/dist/store/slices/issueTypeAttachmentSlice.d.ts +1 -1
  131. package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +8 -2
  132. package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +8 -2
  133. package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +8 -2
  134. package/dist/store/slices/issueTypeFieldsSlice.d.ts +8 -2
  135. package/dist/store/slices/issueTypeIdentifierSlice.d.ts +48 -0
  136. package/dist/store/slices/issueTypeIdentifierValueSlice.d.ts +49 -0
  137. package/dist/store/slices/issueTypeSlice.d.ts +25 -7
  138. package/dist/store/slices/issueUpdateSlice.d.ts +17 -4
  139. package/dist/store/slices/organizationAccessSlice.d.ts +37 -13
  140. package/dist/store/slices/organizationSlice.d.ts +9 -9
  141. package/dist/store/slices/projectAccessSlice.d.ts +28 -7
  142. package/dist/store/slices/projectAttachmentSlice.d.ts +2 -2
  143. package/dist/store/slices/projectFileSlice.d.ts +9 -3
  144. package/dist/store/slices/projectSlice.d.ts +12 -9
  145. package/dist/store/slices/teamMembershipSlice.d.ts +49 -0
  146. package/dist/store/slices/teamSlice.d.ts +22 -7
  147. package/dist/store/slices/userSlice.d.ts +91 -6
  148. package/dist/store/store.d.ts +2 -3
  149. package/dist/typings/models/assets.d.ts +16 -8
  150. package/dist/typings/models/attachments.d.ts +2 -2
  151. package/dist/typings/models/base.d.ts +15 -7
  152. package/dist/typings/models/documents.d.ts +6 -4
  153. package/dist/typings/models/forms.d.ts +9 -5
  154. package/dist/typings/models/geoImages.d.ts +2 -2
  155. package/dist/typings/models/index.d.ts +0 -2
  156. package/dist/typings/models/issues.d.ts +17 -5
  157. package/dist/typings/models/organizations.d.ts +3 -4
  158. package/dist/typings/models/projects.d.ts +7 -9
  159. package/dist/typings/models/teams.d.ts +8 -4
  160. package/dist/utils/index.d.ts +0 -1
  161. package/package.json +32 -55
  162. package/dist/enums/licenses.d.ts +0 -14
  163. package/dist/sdk/services/LicenseService.d.ts +0 -14
  164. package/dist/store/slices/licenseSlice.d.ts +0 -25
  165. package/dist/typings/models/issueTypes.d.ts +0 -7
  166. package/dist/typings/models/license.d.ts +0 -13
  167. package/dist/typings/models/store.d.ts +0 -0
  168. package/dist/utils/coordinates.d.ts +0 -4
  169. /package/dist/sdk/{classes → outbox}/OutboxCoordinator.d.ts +0 -0
  170. /package/dist/sdk/{classes → outbox}/OutboxCoordinator.spec.d.ts +0 -0
@@ -1,19 +1,17 @@
1
- import { ProjectAccessLevel } from '../../enums';
2
1
  import { FileWithNameModel } from '../files';
3
- import { BoundableModel, CanvasBoundableModel, OwnedByOrganization, SubmittedAtModel, UUIDModel } from './base';
2
+ import { BoundableModel, CanvasBoundableModel, CreatedByModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
3
+ import { OrganizationAccess } from './organizations';
4
4
  import { User } from './users';
5
- export interface Project extends UUIDModel, BoundableModel, CanvasBoundableModel, OwnedByOrganization {
5
+ export interface Project extends UUIDModel, TimestampedModel, BoundableModel, CanvasBoundableModel, CreatedByModel {
6
6
  name: string;
7
- invited?: boolean;
8
- issues_count?: number;
9
- form_submissions_count?: number;
7
+ organization: string;
10
8
  }
11
- export interface ProjectFile extends UUIDModel, SubmittedAtModel, FileWithNameModel, BoundableModel, CanvasBoundableModel {
9
+ export interface ProjectFile extends UUIDModel, SubmittedAtModel, TimestampedModel, FileWithNameModel, BoundableModel, CanvasBoundableModel, CreatedByModel {
12
10
  z_index: number;
13
11
  project: Project["uuid"];
14
12
  }
15
- export interface ProjectAccess extends UUIDModel {
13
+ export interface ProjectAccess extends UUIDModel, CreatedByModel, TimestampedModel {
16
14
  user: User["id"];
17
15
  project: Project["uuid"];
18
- access_level: ProjectAccessLevel;
16
+ organization_access: OrganizationAccess["uuid"];
19
17
  }
@@ -1,9 +1,13 @@
1
- import { ColorModel, IconModel, SubmittedAtModel, UUIDModel } from './base';
2
- import { Organization } from './organizations';
1
+ import { AbbreviationModel, ColorModel, CreatedByModel, IconModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
2
+ import { Organization, OrganizationAccess } from './organizations';
3
3
  import { User } from './users';
4
- export interface Team extends UUIDModel, SubmittedAtModel, IconModel, ColorModel {
4
+ export interface Team extends UUIDModel, TimestampedModel, SubmittedAtModel, IconModel, ColorModel, CreatedByModel, AbbreviationModel {
5
5
  name: string;
6
6
  parent: Team["uuid"] | null;
7
7
  organization: Organization["uuid"];
8
- members: User["id"][];
8
+ }
9
+ export interface TeamMembership extends UUIDModel, TimestampedModel, CreatedByModel {
10
+ team: Team["uuid"];
11
+ user: User["id"];
12
+ organization_access: OrganizationAccess["uuid"];
9
13
  }
@@ -1,5 +1,4 @@
1
1
  export * from './async/DeferredPromise';
2
- export * from './coordinates';
3
2
  export * from './date';
4
3
  export * from './file';
5
4
  export * from './logging';
package/package.json CHANGED
@@ -1,27 +1,44 @@
1
1
  {
2
2
  "name": "@overmap-ai/core",
3
+ "version": "1.0.78-required-model-names.0",
3
4
  "description": "Core functionality for Overmap",
4
- "author": "Wôrdn Inc.",
5
+ "keywords": [
6
+ "components",
7
+ "geospacial",
8
+ "map",
9
+ "react"
10
+ ],
11
+ "homepage": "https://overmap.ai",
12
+ "bugs": {
13
+ "url": "https://github.com/hemora-app/overmap-core/issues"
14
+ },
5
15
  "license": "UNLICENSED",
6
- "version": "1.0.78-procedure-steps.6",
16
+ "author": "Wôrdn Inc.",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/hemora-app/overmap-core.git"
20
+ },
21
+ "files": [
22
+ "dist"
23
+ ],
7
24
  "type": "module",
8
25
  "main": "dist/overmap-core.umd.cjs",
9
26
  "module": "dist/overmap-core.js",
10
27
  "types": "dist/index.d.ts",
11
28
  "scripts": {
29
+ "build": "vite build",
30
+ "type-check": "tsc --noEmit",
31
+ "lint": "oxlint --type-aware --deny-warnings",
32
+ "lint:fix": "yarn lint --fix",
33
+ "format": "oxfmt",
34
+ "format:check": "yarn format --check",
12
35
  "dev": "vite",
13
- "build": "tsc --noEmit && vite build",
14
- "lint": "tsc --noEmit && eslint --report-unused-disable-directives --max-warnings 0",
15
- "lint:fix": "eslint --report-unused-disable-directives --max-warnings 0 --fix",
16
- "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,html,sass,yaml}\"",
17
36
  "preview": "vite preview",
18
- "prepare": "husky",
19
37
  "test": "npx vitest"
20
38
  },
21
39
  "dependencies": {
22
40
  "@redux-offline/redux-offline": "^2.6.0",
23
41
  "@reduxjs/toolkit": "^2.8.2",
24
- "color": "^4.2.3",
25
42
  "dependency-graph": "^1.0.0",
26
43
  "file-saver": "^2.0.5",
27
44
  "idb": "^7.1.1",
@@ -31,86 +48,46 @@
31
48
  "redux-persist": "^4.0.0",
32
49
  "redux-persist-migrate": "^5.0.0",
33
50
  "superagent": "^8.1.2",
34
- "uuid": "^11.1.0",
35
- "yarn": "^1.22.22"
51
+ "uuid": "^11.1.0"
36
52
  },
37
53
  "devDependencies": {
38
- "@overmap-ai/blocks": "1.0.40-alpha.1",
39
54
  "@overmap-ai/forms": "1.0.32-condition-manager.1",
40
- "@rollup/plugin-commonjs": "^28.0.6",
41
55
  "@tiptap/core": "^3.0.7",
42
- "@types/add": "^2",
43
- "@types/color": "^3.0.4",
44
56
  "@types/file-saver": "^2.0.7",
45
57
  "@types/geojson": "^7946.0.16",
46
58
  "@types/jwt-decode": "^3.1.0",
47
59
  "@types/node": "^20.12.11",
48
- "@types/react": "^19.1.8",
49
- "@types/react-dom": "^19.0.3",
50
60
  "@types/superagent": "^4.1.18",
51
61
  "@types/uuid": "^9.0.3",
52
62
  "@vitejs/plugin-react-swc": "^3.11.0",
53
- "@vitest/coverage-v8": "^3.2.4",
54
- "@vitest/eslint-plugin": "^1.3.4",
55
- "eslint": "^9.32.0",
56
- "eslint-config-prettier": "^10.1.8",
57
- "eslint-import-resolver-typescript": "^4.4.4",
58
- "eslint-plugin-import-x": "^4.16.1",
59
- "eslint-plugin-prettier": "^5.5.3",
60
- "eslint-plugin-simple-import-sort": "^12.1.1",
61
63
  "globals": "^16.3.0",
62
64
  "happy-dom": "^15.10.2",
63
- "husky": "^9.1.7",
64
- "jiti": "^2.5.1",
65
65
  "jsdom": "^23.2.0",
66
- "lint-staged": "^15.1.0",
66
+ "oxfmt": "^0.23.0",
67
+ "oxlint": "^1.38.0",
68
+ "oxlint-tsgolint": "^0.11.0",
67
69
  "prettier": "^3.6.2",
68
70
  "react": "^19.1.0",
69
- "react-dom": "^19.0.0",
70
71
  "rollup": "^4.45.3",
71
72
  "rollup-plugin-polyfill-node": "^0.13.0",
72
73
  "typescript": "^5.2.2",
73
- "typescript-eslint": "^8.38.0",
74
74
  "vite": "^6.3.4",
75
75
  "vite-plugin-dts": "^4.5.4",
76
76
  "vite-plugin-externalize-deps": "^0.9.0",
77
77
  "vitest": "3.2.4"
78
78
  },
79
79
  "peerDependencies": {
80
- "@overmap-ai/blocks": "1.0.40-alpha.1",
81
80
  "@overmap-ai/forms": "1.0.32-condition-manager.1",
82
81
  "@tiptap/core": "^2.4.0",
83
82
  "react": ">=18.2.0 <20.0.0",
84
- "react-dom": ">=18.2.0 <20.0.0"
83
+ "react-dom": ">=18.2.0 <20.0.0",
84
+ "react-redux": "^8.0.0 || ^9.0.0"
85
85
  },
86
86
  "resolutions": {
87
- "strip-ansi": "6.0.1",
88
87
  "string-width": "4.2.2",
88
+ "strip-ansi": "6.0.1",
89
89
  "wrap-ansi": "7.0.0"
90
90
  },
91
- "lint-staged": {
92
- "src/**/*.{js,jsx,ts,tsx}": [
93
- "yarn lint",
94
- "yarn format"
95
- ]
96
- },
97
- "files": [
98
- "dist"
99
- ],
100
- "keywords": [
101
- "react",
102
- "geospacial",
103
- "map",
104
- "components"
105
- ],
106
- "homepage": "https://overmap.ai",
107
- "repository": {
108
- "type": "git",
109
- "url": "git+https://github.com/hemora-app/overmap-core.git"
110
- },
111
- "bugs": {
112
- "url": "https://github.com/hemora-app/overmap-core/issues"
113
- },
114
91
  "volta": {
115
92
  "node": "22.17.0",
116
93
  "yarn": "4.9.2"
@@ -1,14 +0,0 @@
1
- export declare enum PaddleCheckoutEvent {
2
- COMPLETED = "checkout.completed",
3
- CLOSED = "checkout.closed"
4
- }
5
- export declare enum LicenseLevel {
6
- PRO = 0
7
- }
8
- export declare enum LicenseStatus {
9
- ACTIVE = 0,
10
- PAUSED = 2,
11
- CANCELLED = 4,
12
- INACTIVE = 6,
13
- PAST_DUE = 8
14
- }
@@ -1,14 +0,0 @@
1
- import { OvermapRootState } from '../../store';
2
- import { License, Organization, Project, Transaction } from '../../typings';
3
- import { BaseSDK } from '../base';
4
- import { BaseApiService } from './BaseApiService';
5
- export declare abstract class LicenseService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
6
- getLicense(license: License): Promise<License>;
7
- pauseLicense(license: License): Promise<License>;
8
- resumeLicense(license: License): Promise<License>;
9
- cancelLicense(license: License): Promise<License>;
10
- attachLicenseToProject(license: License, project: Project): Promise<License>;
11
- detachLicenseFromProject(license: License): Promise<License>;
12
- getLatestTransaction(license: License): Promise<Transaction>;
13
- refreshStore(projectUuid: Project["uuid"], organizationUuid: Organization["uuid"]): Promise<void>;
14
- }
@@ -1,25 +0,0 @@
1
- import { License, Project, Stored } from '../../typings';
2
- import { ModelState } from '../adapters';
3
- import { OvermapSelector, OvermapSelectorWithArgs } from '../typings';
4
- export type LicenseState = ModelState<License["uuid"], Stored<License>>;
5
- export declare const licenseSlice: import('@reduxjs/toolkit').Slice<LicenseState, {
6
- initializeLicences: (state: ModelState<string, Stored<License>>, action: {
7
- payload: Stored<License>[];
8
- type: string;
9
- }) => void;
10
- addLicenses: (state: ModelState<string, Stored<License>>, action: {
11
- payload: Stored<License>[];
12
- type: string;
13
- }) => void;
14
- updateLicense: (state: ModelState<string, Stored<License>>, action: {
15
- payload: Stored<License>;
16
- type: string;
17
- }) => void;
18
- }, "license", "license", import('@reduxjs/toolkit').SliceSelectors<LicenseState>>;
19
- export declare const initializeLicences: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<License>[], "license/initializeLicences">, addLicenses: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<License>[], "license/addLicenses">, updateLicense: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<License>, "license/updateLicense">;
20
- export declare const selectLicenses: OvermapSelector<Record<string, License>>;
21
- export declare const selectLicense: OvermapSelectorWithArgs<License["uuid"], License | undefined>;
22
- export declare const selectLicenseForProject: OvermapSelectorWithArgs<Project["uuid"], License | undefined>;
23
- export declare const selectActiveStatusLicenses: OvermapSelector<License[]>;
24
- export declare const selectLicensesForProjectsMapping: OvermapSelector<Record<number, License>>;
25
- export declare const licenseReducer: import('redux').Reducer<LicenseState>;
@@ -1,7 +0,0 @@
1
- import { ColorModel, CreatedByModel, IconModel, SubmittedAtModel, UUIDModel } from './base';
2
- import { Organization } from './organizations';
3
- export interface IssueType extends UUIDModel, SubmittedAtModel, IconModel, ColorModel, CreatedByModel {
4
- name?: string;
5
- description?: string;
6
- organization: Organization["uuid"];
7
- }
@@ -1,13 +0,0 @@
1
- import { LicenseLevel, LicenseStatus } from '../../enums';
2
- import { OwnedByOrganization, UUIDModel } from './base';
3
- export interface Transaction {
4
- id: string;
5
- }
6
- export interface License extends UUIDModel, OwnedByOrganization {
7
- project: string | null;
8
- level: LicenseLevel;
9
- status: LicenseStatus;
10
- is_special: boolean;
11
- is_active: boolean;
12
- next_billing_date: Date;
13
- }
File without changes
@@ -1,4 +0,0 @@
1
- import { MultiPoint, Point, Position } from 'geojson';
2
- export declare const createPointGeometry: (position: Position) => Point;
3
- export declare const createMultiPointGeometry: (coordinates: Position[]) => MultiPoint;
4
- export declare const coordinatesAreEqual: (a: Position, b: Position) => boolean;