@otters.ai/common-backend 1.0.154 → 1.0.156

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.
@@ -35,4 +35,5 @@ export * from './mapTemplates/mapTemplate';
35
35
  export * from './mapTemplates/goals';
36
36
  export * from './mapTemplates/activity';
37
37
  export * from './mapTemplates/attachments';
38
+ export * from './mapTemplates/mapTemplateDetailsStruct';
38
39
  export * from './email/inviteEmailStruct';
@@ -60,5 +60,6 @@ __exportStar(require("./mapTemplates/mapTemplate"), exports);
60
60
  __exportStar(require("./mapTemplates/goals"), exports);
61
61
  __exportStar(require("./mapTemplates/activity"), exports);
62
62
  __exportStar(require("./mapTemplates/attachments"), exports);
63
+ __exportStar(require("./mapTemplates/mapTemplateDetailsStruct"), exports);
63
64
  // email...
64
65
  __exportStar(require("./email/inviteEmailStruct"), exports);
@@ -1,3 +1,4 @@
1
+ import { MapTemplateDetailsStruct } from "../mapTemplates/mapTemplateDetailsStruct";
1
2
  export interface MapStruct {
2
3
  name: string;
3
4
  id: string;
@@ -6,4 +7,5 @@ export interface MapStruct {
6
7
  viewers: string[];
7
8
  domains: string[];
8
9
  ownerId: string;
10
+ mapTemplateDetails?: MapTemplateDetailsStruct;
9
11
  }
@@ -7,6 +7,7 @@ export interface MapTemplateActivityStruct {
7
7
  mapTemplateId: string;
8
8
  goalId: string;
9
9
  ownerId: string;
10
+ targetValue: number;
10
11
  type: ActivitiesEnum;
11
12
  attachments: MapTemplateAttachmentsStruct[];
12
13
  createdAt?: string;
@@ -0,0 +1,25 @@
1
+ import { MapTemplateAttachmentsStruct } from "./attachments";
2
+ export interface MapTemplateDetailsActivityStruct {
3
+ id?: string;
4
+ title: string;
5
+ description: string;
6
+ type: string;
7
+ attachments?: MapTemplateAttachmentsStruct[];
8
+ }
9
+ export interface MapTemplateDetailsGoalStruct {
10
+ id?: string;
11
+ title: string;
12
+ description: string;
13
+ category: string;
14
+ attachments?: MapTemplateAttachmentsStruct[];
15
+ activities: MapTemplateDetailsActivityStruct[];
16
+ }
17
+ export interface MapTemplateDetailsStruct {
18
+ id?: string;
19
+ title: string;
20
+ description: string;
21
+ partnerType: string;
22
+ ownerId: string;
23
+ category: string;
24
+ goals: MapTemplateDetailsGoalStruct[];
25
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otters.ai/common-backend",
3
- "version": "1.0.154",
3
+ "version": "1.0.156",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",