@bigfootai/bigfoot-types 4.7.15 → 4.7.17
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/metadata/documents/healthcheck.js +33 -0
- package/metadata/documents/healthcheck.ts +36 -0
- package/model.js +3 -3
- package/model.ts +5 -4
- package/package.json +1 -1
@@ -0,0 +1,33 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.HealthCheck = void 0;
|
4
|
+
exports.HealthCheck = {
|
5
|
+
_id: '',
|
6
|
+
dateCreated: 0,
|
7
|
+
dateUpdated: 0,
|
8
|
+
label: 'Customer Health Check',
|
9
|
+
description: 'This template should be used for customer meetings where the person is checking the satisfaction of the customer with their product or service.',
|
10
|
+
metadataType: 'healthcheck',
|
11
|
+
blockDescriptions: [
|
12
|
+
{
|
13
|
+
name: 'summary',
|
14
|
+
title: 'Exec Summary',
|
15
|
+
description: 'Outlines the key takeaways of the meeting',
|
16
|
+
},
|
17
|
+
{
|
18
|
+
name: 'issues',
|
19
|
+
title: 'Issues',
|
20
|
+
description: 'A bulleted list of issues the customer raised during the meeting',
|
21
|
+
},
|
22
|
+
{
|
23
|
+
name: 'projects',
|
24
|
+
title: 'Projects/Milestones',
|
25
|
+
description: 'A bulleted list of any projects and milestone dates that are critical to the customer',
|
26
|
+
},
|
27
|
+
{
|
28
|
+
name: 'opportunities',
|
29
|
+
title: 'Opportunities',
|
30
|
+
description: 'A bulleted list of any opportunities the customer discussed at the meeting',
|
31
|
+
},
|
32
|
+
],
|
33
|
+
};
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { DocumentMetadata } from '../../model';
|
2
|
+
|
3
|
+
export const HealthCheck: DocumentMetadata = {
|
4
|
+
_id: '',
|
5
|
+
dateCreated: 0,
|
6
|
+
dateUpdated: 0,
|
7
|
+
label: 'Customer Health Check',
|
8
|
+
description:
|
9
|
+
'This template should be used for customer meetings where the person is checking the satisfaction of the customer with their product or service.',
|
10
|
+
metadataType: 'healthcheck',
|
11
|
+
blockDescriptions: [
|
12
|
+
{
|
13
|
+
name: 'summary',
|
14
|
+
title: 'Exec Summary',
|
15
|
+
description: 'Outlines the key takeaways of the meeting',
|
16
|
+
},
|
17
|
+
{
|
18
|
+
name: 'issues',
|
19
|
+
title: 'Issues',
|
20
|
+
description:
|
21
|
+
'A bulleted list of issues the customer raised during the meeting',
|
22
|
+
},
|
23
|
+
{
|
24
|
+
name: 'projects',
|
25
|
+
title: 'Projects/Milestones',
|
26
|
+
description:
|
27
|
+
'A bulleted list of any projects and milestone dates that are critical to the customer',
|
28
|
+
},
|
29
|
+
{
|
30
|
+
name: 'opportunities',
|
31
|
+
title: 'Opportunities',
|
32
|
+
description:
|
33
|
+
'A bulleted list of any opportunities the customer discussed at the meeting',
|
34
|
+
},
|
35
|
+
],
|
36
|
+
};
|
package/model.js
CHANGED
@@ -1041,12 +1041,12 @@ type BlockDescription {
|
|
1041
1041
|
}`;
|
1042
1042
|
exports.DocumentMetadataQL = `
|
1043
1043
|
type DocumentMetadata {${exports.MetadataFields}
|
1044
|
-
|
1044
|
+
blockDescriptions: [BlockDescription]!
|
1045
1045
|
}`;
|
1046
1046
|
class DocumentMetadata extends Metadata {
|
1047
|
-
constructor(label, description, metadataType,
|
1047
|
+
constructor(label, description, metadataType, blockDescriptions) {
|
1048
1048
|
super(label, description, metadataType);
|
1049
|
-
this.
|
1049
|
+
this.blockDescriptions = blockDescriptions;
|
1050
1050
|
}
|
1051
1051
|
}
|
1052
1052
|
exports.DocumentMetadata = DocumentMetadata;
|
package/model.ts
CHANGED
@@ -988,6 +988,7 @@ export interface UpsertRecommendation {
|
|
988
988
|
document?: Document;
|
989
989
|
blockType: BlockType;
|
990
990
|
upsertType: UpsertType;
|
991
|
+
metadata: Metadata;
|
991
992
|
}
|
992
993
|
|
993
994
|
export interface BaseTask {
|
@@ -1844,20 +1845,20 @@ export interface BlockDescription {
|
|
1844
1845
|
|
1845
1846
|
export const DocumentMetadataQL = `
|
1846
1847
|
type DocumentMetadata {${MetadataFields}
|
1847
|
-
|
1848
|
+
blockDescriptions: [BlockDescription]!
|
1848
1849
|
}`;
|
1849
1850
|
export class DocumentMetadata extends Metadata {
|
1850
|
-
|
1851
|
+
blockDescriptions: BlockDescription[];
|
1851
1852
|
|
1852
1853
|
constructor(
|
1853
1854
|
label: string,
|
1854
1855
|
description: string,
|
1855
1856
|
metadataType: string,
|
1856
|
-
|
1857
|
+
blockDescriptions: BlockDescription[]
|
1857
1858
|
) {
|
1858
1859
|
super(label, description, metadataType);
|
1859
1860
|
|
1860
|
-
this.
|
1861
|
+
this.blockDescriptions = blockDescriptions;
|
1861
1862
|
}
|
1862
1863
|
}
|
1863
1864
|
|