@overmap-ai/core 1.0.63-org-doc-improvements.0 → 1.0.63-org-doc-improvements.1

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.
@@ -1,4 +1,4 @@
1
- import { IconModel, Model, OfflineModel } from "./base";
1
+ import { ColorModel, IconModel, Model, OfflineModel } from "./base";
2
2
  import { CanvasMarkableModel, MarkableModel } from "./geo";
3
3
  export interface Asset extends OfflineModel, MarkableModel, CanvasMarkableModel {
4
4
  asset_type: string;
@@ -6,7 +6,7 @@ export interface Asset extends OfflineModel, MarkableModel, CanvasMarkableModel
6
6
  label: string | null;
7
7
  description?: string;
8
8
  }
9
- export interface AssetType extends OfflineModel, IconModel {
9
+ export interface AssetType extends OfflineModel, IconModel, ColorModel {
10
10
  name?: string;
11
11
  description?: string;
12
12
  }
@@ -39,7 +39,9 @@ export interface SubmittedAtModel {
39
39
  }
40
40
  export interface IconModel {
41
41
  icon: string;
42
- icon_color: CSSColor;
42
+ }
43
+ export interface ColorModel {
44
+ color: CSSColor;
43
45
  }
44
46
  export interface CreatedByModel {
45
47
  created_by: User["id"];
@@ -1,5 +1,5 @@
1
- import { CreatedByModel, OfflineModel, Payload, SubmittedAtModel, TimestampedModel } from "./base";
2
- export interface Document extends OfflineModel, SubmittedAtModel, CreatedByModel, TimestampedModel {
1
+ import { ColorModel, CreatedByModel, IconModel, OfflineModel, Payload, SubmittedAtModel, TimestampedModel } from "./base";
2
+ export interface Document extends OfflineModel, SubmittedAtModel, CreatedByModel, TimestampedModel, IconModel, ColorModel {
3
3
  title: string | null;
4
4
  description: string | null;
5
5
  content: string | null;
@@ -1,6 +1,6 @@
1
- import { CreatedByModel, IconModel, OfflineModel, Payload, SubmittedAtModel } from "./base";
1
+ import { ColorModel, CreatedByModel, IconModel, OfflineModel, Payload, SubmittedAtModel } from "./base";
2
2
  import { Organization } from "./organizations";
3
- export interface IssueType extends OfflineModel, SubmittedAtModel, IconModel, CreatedByModel {
3
+ export interface IssueType extends OfflineModel, SubmittedAtModel, IconModel, ColorModel, CreatedByModel {
4
4
  name?: string;
5
5
  description?: string;
6
6
  organization: Organization["id"];
@@ -1,7 +1,7 @@
1
- import { IconModel, OfflineModel, Payload, SubmittedAtModel } from "./base";
1
+ import { ColorModel, IconModel, OfflineModel, Payload, SubmittedAtModel } from "./base";
2
2
  import { Organization } from "./organizations";
3
3
  import { User } from "./users";
4
- export interface Team extends OfflineModel, SubmittedAtModel, IconModel {
4
+ export interface Team extends OfflineModel, SubmittedAtModel, IconModel, ColorModel {
5
5
  name: string;
6
6
  parent: OfflineModel["offline_id"] | null;
7
7
  organization: Organization["id"];
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.63-org-doc-improvements.0",
6
+ "version": "1.0.63-org-doc-improvements.1",
7
7
  "type": "module",
8
8
  "main": "dist/overmap-core.umd.cjs",
9
9
  "module": "dist/overmap-core.js",