@uptime.app/contracts 1.0.9-rc.4 → 1.0.9-rc.6
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/cjs/draft-hack/draft-hack.d.ts +0 -122
- package/dist/cjs/draft-hack/draft-hack.d.ts.map +1 -1
- package/dist/cjs/draft-hack/draft-hack.js +101 -0
- package/dist/cjs/draft-hack/draft-hack.js.map +1 -1
- package/dist/cjs/hack/hack.d.ts +1 -1
- package/dist/cjs/hack/hack.d.ts.map +1 -1
- package/dist/esm/draft-hack/draft-hack.d.ts +0 -122
- package/dist/esm/draft-hack/draft-hack.d.ts.map +1 -1
- package/dist/esm/draft-hack/draft-hack.js +101 -0
- package/dist/esm/draft-hack/draft-hack.js.map +1 -1
- package/dist/esm/hack/hack.d.ts +1 -1
- package/dist/esm/hack/hack.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/draft-hack/draft-hack.ts +134 -135
- package/src/hack/hack.ts +1 -1
|
@@ -17,7 +17,6 @@ export interface DraftHack extends DraftHackContent {
|
|
|
17
17
|
publishedVersion?: number;
|
|
18
18
|
owner?: string;
|
|
19
19
|
/** workflowStatus was added in May 2022 as we move toward UGC. Older drafts have not been backfilled */
|
|
20
|
-
workflowStatus?: DraftHackWorkflowStatus;
|
|
21
20
|
/** added in Nov 2022. Set to true whenever content changes are made to the draft */
|
|
22
21
|
hasUnpublishedChanges?: boolean;
|
|
23
22
|
/** added in March 2023. Must be set whenever content changes are made to the draft */
|
|
@@ -25,7 +24,6 @@ export interface DraftHack extends DraftHackContent {
|
|
|
25
24
|
/** added in late April 2023. Only set on translations. Set to the value of contentUpdatedAt of the base locale draft that was translated. Can be used to determine if the translated draft is out of sync with the original draft */
|
|
26
25
|
baseLocaleContentUpdatedAt?: string;
|
|
27
26
|
}
|
|
28
|
-
export type DraftHackWorkflowStatus = 'publishing' | 'published';
|
|
29
27
|
export interface DraftHackContent {
|
|
30
28
|
/**
|
|
31
29
|
* @maxLength 150
|
|
@@ -39,131 +37,11 @@ export interface DraftHackContent {
|
|
|
39
37
|
* @maxLength 50
|
|
40
38
|
*/
|
|
41
39
|
themeId?: string;
|
|
42
|
-
segments: DraftHackSegments;
|
|
43
|
-
/**
|
|
44
|
-
* @maxLength 1000
|
|
45
|
-
*/
|
|
46
|
-
coverUrl?: string;
|
|
47
|
-
notifications?: DraftHackNotifications;
|
|
48
|
-
affiliate?: DraftAffiliate;
|
|
49
|
-
/**
|
|
50
|
-
* @maxItems 50
|
|
51
|
-
*/
|
|
52
|
-
topics?: DraftTopic[];
|
|
53
|
-
/**
|
|
54
|
-
* @maxItems 10
|
|
55
|
-
*/
|
|
56
|
-
contributors?: DraftContributor[];
|
|
57
|
-
sourceData?: DraftSourceData;
|
|
58
|
-
/** For creators only. We will tackle this validation once profiles are introduce*/
|
|
59
|
-
externalLink?: DraftHackExternalLink;
|
|
60
|
-
/** For recording purpose for now, we will use this value further in the future */
|
|
61
|
-
contentRating?: DraftHackRating;
|
|
62
40
|
/**
|
|
63
41
|
* @maxItems 50
|
|
64
42
|
* @items.maxLength 150
|
|
65
43
|
*/
|
|
66
44
|
tags?: string[];
|
|
67
|
-
type?: DraftHackType;
|
|
68
45
|
isCopyrightFree?: boolean;
|
|
69
46
|
}
|
|
70
|
-
export type DraftHackRating = 'mature' | 'appropriate';
|
|
71
|
-
export interface DraftHackNotifications {
|
|
72
|
-
/**
|
|
73
|
-
* @maxLength 1000
|
|
74
|
-
*/
|
|
75
|
-
aiGeneratedText?: string;
|
|
76
|
-
/**
|
|
77
|
-
* @maxLength 1000
|
|
78
|
-
*/
|
|
79
|
-
humanCuratedText?: string;
|
|
80
|
-
}
|
|
81
|
-
export interface DraftHackSegments {
|
|
82
|
-
favouriteQuote?: DraftHackSegment;
|
|
83
|
-
inANutshell?: DraftHackSegment;
|
|
84
|
-
introduction?: DraftHackSegment;
|
|
85
|
-
/**
|
|
86
|
-
* @maxItems 10
|
|
87
|
-
*/
|
|
88
|
-
insights?: DraftHackInsightSegment[];
|
|
89
|
-
conclusion?: DraftHackSegment;
|
|
90
|
-
}
|
|
91
|
-
export interface DraftHackCard {
|
|
92
|
-
/**
|
|
93
|
-
* @maxLength 2000
|
|
94
|
-
*/
|
|
95
|
-
markdown: string;
|
|
96
|
-
}
|
|
97
|
-
export interface DraftHackSegment {
|
|
98
|
-
/**
|
|
99
|
-
* @maxItems 50
|
|
100
|
-
* @items.maxLength 150
|
|
101
|
-
*/
|
|
102
|
-
keywords: string[];
|
|
103
|
-
paragraphCards: DraftHackCard[][];
|
|
104
|
-
/**
|
|
105
|
-
* @maxLength 1000
|
|
106
|
-
*/
|
|
107
|
-
textSummary?: string;
|
|
108
|
-
}
|
|
109
|
-
export interface DraftHackInsightSegment extends DraftHackSegment {
|
|
110
|
-
/**
|
|
111
|
-
* @maxLength 150
|
|
112
|
-
*/
|
|
113
|
-
title?: string;
|
|
114
|
-
/**
|
|
115
|
-
* @maxItems 50
|
|
116
|
-
*/
|
|
117
|
-
actions: DraftHackAction[];
|
|
118
|
-
}
|
|
119
|
-
export interface DraftHackAction {
|
|
120
|
-
/**
|
|
121
|
-
* @maxLength 150
|
|
122
|
-
*/
|
|
123
|
-
title: string;
|
|
124
|
-
/**
|
|
125
|
-
* @maxLength 1000
|
|
126
|
-
*/
|
|
127
|
-
markdown: string;
|
|
128
|
-
}
|
|
129
|
-
export interface DraftContributor {
|
|
130
|
-
/**
|
|
131
|
-
* @maxLength 150
|
|
132
|
-
*/
|
|
133
|
-
name: string;
|
|
134
|
-
}
|
|
135
|
-
export interface DraftTopic {
|
|
136
|
-
/**
|
|
137
|
-
* @maxLength 150
|
|
138
|
-
*/
|
|
139
|
-
name: string;
|
|
140
|
-
}
|
|
141
|
-
export interface DraftAffiliate {
|
|
142
|
-
/**
|
|
143
|
-
* @maxLength 1000
|
|
144
|
-
*/
|
|
145
|
-
url?: string;
|
|
146
|
-
/**
|
|
147
|
-
* @maxLength 150
|
|
148
|
-
*/
|
|
149
|
-
name?: string;
|
|
150
|
-
}
|
|
151
|
-
export interface DraftSourceData {
|
|
152
|
-
/**
|
|
153
|
-
* @maxLength 150
|
|
154
|
-
*/
|
|
155
|
-
episodeTitle?: string;
|
|
156
|
-
/**
|
|
157
|
-
* @maxLength 50
|
|
158
|
-
*/
|
|
159
|
-
releaseDate?: string;
|
|
160
|
-
}
|
|
161
|
-
export interface DraftHackExternalLink {
|
|
162
|
-
/**
|
|
163
|
-
* @maxLength 1000
|
|
164
|
-
*/
|
|
165
|
-
url: string;
|
|
166
|
-
type: 'Website' | 'Book' | 'Course' | 'Podcast' | 'Video' | 'Other';
|
|
167
|
-
}
|
|
168
|
-
export declare type DraftHackType = 'book' | 'course' | 'documentary' | 'podcast' | 'original';
|
|
169
47
|
//# sourceMappingURL=draft-hack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft-hack.d.ts","sourceRoot":"","sources":["../../../src/draft-hack/draft-hack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,MAAM,WAAW,SAAU,SAAQ,gBAAgB;IAC/C,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,0GAA0G;IAC1G,MAAM,EAAE,eAAe,CAAC;IACxB,oJAAoJ;IACpJ,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,6DAA6D;IAC7D,MAAM,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,gBAAgB,EAAE,MAAM,CAAC;IAEzB,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wGAAwG;
|
|
1
|
+
{"version":3,"file":"draft-hack.d.ts","sourceRoot":"","sources":["../../../src/draft-hack/draft-hack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,MAAM,WAAW,SAAU,SAAQ,gBAAgB;IAC/C,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,0GAA0G;IAC1G,MAAM,EAAE,eAAe,CAAC;IACxB,oJAAoJ;IACpJ,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,6DAA6D;IAC7D,MAAM,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,gBAAgB,EAAE,MAAM,CAAC;IAEzB,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wGAAwG;IAExG,oFAAoF;IACpF,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,sFAAsF;IACtF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qOAAqO;IACrO,0BAA0B,CAAC,EAAE,MAAM,CAAC;CACvC;AAED,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAqBjB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B"}
|
|
@@ -1,3 +1,104 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
// export interface DraftHackNotifications {
|
|
4
|
+
// /**
|
|
5
|
+
// * @maxLength 1000
|
|
6
|
+
// */
|
|
7
|
+
// aiGeneratedText?: string;
|
|
8
|
+
// /**
|
|
9
|
+
// * @maxLength 1000
|
|
10
|
+
// */
|
|
11
|
+
// humanCuratedText?: string;
|
|
12
|
+
// }
|
|
13
|
+
// export interface DraftHackSegments {
|
|
14
|
+
// favouriteQuote?: DraftHackSegment;
|
|
15
|
+
// inANutshell?: DraftHackSegment;
|
|
16
|
+
// introduction?: DraftHackSegment;
|
|
17
|
+
// /**
|
|
18
|
+
// * @maxItems 10
|
|
19
|
+
// */
|
|
20
|
+
// insights?: DraftHackInsightSegment[];
|
|
21
|
+
// conclusion?: DraftHackSegment;
|
|
22
|
+
// }
|
|
23
|
+
// export interface DraftHackCard {
|
|
24
|
+
// /**
|
|
25
|
+
// * @maxLength 2000
|
|
26
|
+
// */
|
|
27
|
+
// markdown: string;
|
|
28
|
+
// }
|
|
29
|
+
// export interface DraftHackSegment {
|
|
30
|
+
// /**
|
|
31
|
+
// * @maxItems 50
|
|
32
|
+
// * @items.maxLength 150
|
|
33
|
+
// */
|
|
34
|
+
// keywords: string[];
|
|
35
|
+
// paragraphCards: DraftHackCard[][];
|
|
36
|
+
// /**
|
|
37
|
+
// * @maxLength 1000
|
|
38
|
+
// */
|
|
39
|
+
// textSummary?: string;
|
|
40
|
+
// }
|
|
41
|
+
// export interface DraftHackInsightSegment extends DraftHackSegment {
|
|
42
|
+
// /**
|
|
43
|
+
// * @maxLength 150
|
|
44
|
+
// */
|
|
45
|
+
// title?: string;
|
|
46
|
+
// /**
|
|
47
|
+
// * @maxItems 50
|
|
48
|
+
// */
|
|
49
|
+
// actions: DraftHackAction[];
|
|
50
|
+
// }
|
|
51
|
+
// export interface DraftHackAction {
|
|
52
|
+
// /**
|
|
53
|
+
// * @maxLength 150
|
|
54
|
+
// */
|
|
55
|
+
// title: string;
|
|
56
|
+
// /**
|
|
57
|
+
// * @maxLength 1000
|
|
58
|
+
// */
|
|
59
|
+
// markdown: string
|
|
60
|
+
// }
|
|
61
|
+
// export interface DraftContributor {
|
|
62
|
+
// /**
|
|
63
|
+
// * @maxLength 150
|
|
64
|
+
// */
|
|
65
|
+
// name: string;
|
|
66
|
+
// }
|
|
67
|
+
// export interface DraftTopic {
|
|
68
|
+
// /**
|
|
69
|
+
// * @maxLength 150
|
|
70
|
+
// */
|
|
71
|
+
// name: string;
|
|
72
|
+
// }
|
|
73
|
+
// export interface DraftAffiliate {
|
|
74
|
+
// /**
|
|
75
|
+
// * @maxLength 1000
|
|
76
|
+
// */
|
|
77
|
+
// url?: string;
|
|
78
|
+
// /**
|
|
79
|
+
// * @maxLength 150
|
|
80
|
+
// */
|
|
81
|
+
// name?: string;
|
|
82
|
+
// }
|
|
83
|
+
// export interface DraftSourceData {
|
|
84
|
+
// /**
|
|
85
|
+
// * @maxLength 150
|
|
86
|
+
// */
|
|
87
|
+
// episodeTitle?: string;
|
|
88
|
+
// /**
|
|
89
|
+
// * @maxLength 50
|
|
90
|
+
// */
|
|
91
|
+
// releaseDate?: string;
|
|
92
|
+
// }
|
|
93
|
+
// export interface DraftHackExternalLink {
|
|
94
|
+
// /**
|
|
95
|
+
// * @maxLength 1000
|
|
96
|
+
// */
|
|
97
|
+
// url: string;
|
|
98
|
+
// type: 'Website' | 'Book' | 'Course' | 'Podcast' | 'Video' | 'Other';
|
|
99
|
+
// }
|
|
100
|
+
// // this status is currently used to present the draft in different columns in the airtable used by the content team
|
|
101
|
+
// export type DraftHackWorkflowStatus = 'publishing' | 'published';
|
|
102
|
+
// export type DraftHackType = 'book' | 'course' | 'documentary' | 'podcast' | 'original';
|
|
103
|
+
// export type DraftHackRating = 'mature' | 'appropriate';
|
|
3
104
|
//# sourceMappingURL=draft-hack.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft-hack.js","sourceRoot":"","sources":["../../../src/draft-hack/draft-hack.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"draft-hack.js","sourceRoot":"","sources":["../../../src/draft-hack/draft-hack.ts"],"names":[],"mappings":";;AAyEA,4CAA4C;AAC5C,UAAU;AACV,yBAAyB;AACzB,UAAU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AAsH;AACtH,oEAAoE;AACpE,0FAA0F;AAC1F,0DAA0D"}
|
package/dist/cjs/hack/hack.d.ts
CHANGED
|
@@ -89,7 +89,7 @@ export interface HackAffiliate {
|
|
|
89
89
|
url: string;
|
|
90
90
|
name: string;
|
|
91
91
|
}
|
|
92
|
-
export
|
|
92
|
+
export type HackType = 'book' | 'course' | 'documentary' | 'podcast' | 'original';
|
|
93
93
|
export interface HackSourceData {
|
|
94
94
|
episodeTitle?: string;
|
|
95
95
|
releaseDate?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hack.d.ts","sourceRoot":"","sources":["../../../src/hack/hack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,MAAM,WAAW,IAAI;IACjB,iCAAiC;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,2IAA2I;IAC3I,MAAM,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,gBAAgB,EAAE,MAAM,CAAC;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAEhB,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE;QACZ,eAAe,CAAC,EAAE,MAAM,CAAA;QACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,QAAQ,EAAE;QACN,cAAc,EAAE;YACZ,EAAE,EAAE,MAAM,CAAC;YACX,oBAA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1B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;AAElF,MAAM,WAAW,cAAc;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;CACvE"}
|
|
@@ -17,7 +17,6 @@ export interface DraftHack extends DraftHackContent {
|
|
|
17
17
|
publishedVersion?: number;
|
|
18
18
|
owner?: string;
|
|
19
19
|
/** workflowStatus was added in May 2022 as we move toward UGC. Older drafts have not been backfilled */
|
|
20
|
-
workflowStatus?: DraftHackWorkflowStatus;
|
|
21
20
|
/** added in Nov 2022. Set to true whenever content changes are made to the draft */
|
|
22
21
|
hasUnpublishedChanges?: boolean;
|
|
23
22
|
/** added in March 2023. Must be set whenever content changes are made to the draft */
|
|
@@ -25,7 +24,6 @@ export interface DraftHack extends DraftHackContent {
|
|
|
25
24
|
/** added in late April 2023. Only set on translations. Set to the value of contentUpdatedAt of the base locale draft that was translated. Can be used to determine if the translated draft is out of sync with the original draft */
|
|
26
25
|
baseLocaleContentUpdatedAt?: string;
|
|
27
26
|
}
|
|
28
|
-
export type DraftHackWorkflowStatus = 'publishing' | 'published';
|
|
29
27
|
export interface DraftHackContent {
|
|
30
28
|
/**
|
|
31
29
|
* @maxLength 150
|
|
@@ -39,131 +37,11 @@ export interface DraftHackContent {
|
|
|
39
37
|
* @maxLength 50
|
|
40
38
|
*/
|
|
41
39
|
themeId?: string;
|
|
42
|
-
segments: DraftHackSegments;
|
|
43
|
-
/**
|
|
44
|
-
* @maxLength 1000
|
|
45
|
-
*/
|
|
46
|
-
coverUrl?: string;
|
|
47
|
-
notifications?: DraftHackNotifications;
|
|
48
|
-
affiliate?: DraftAffiliate;
|
|
49
|
-
/**
|
|
50
|
-
* @maxItems 50
|
|
51
|
-
*/
|
|
52
|
-
topics?: DraftTopic[];
|
|
53
|
-
/**
|
|
54
|
-
* @maxItems 10
|
|
55
|
-
*/
|
|
56
|
-
contributors?: DraftContributor[];
|
|
57
|
-
sourceData?: DraftSourceData;
|
|
58
|
-
/** For creators only. We will tackle this validation once profiles are introduce*/
|
|
59
|
-
externalLink?: DraftHackExternalLink;
|
|
60
|
-
/** For recording purpose for now, we will use this value further in the future */
|
|
61
|
-
contentRating?: DraftHackRating;
|
|
62
40
|
/**
|
|
63
41
|
* @maxItems 50
|
|
64
42
|
* @items.maxLength 150
|
|
65
43
|
*/
|
|
66
44
|
tags?: string[];
|
|
67
|
-
type?: DraftHackType;
|
|
68
45
|
isCopyrightFree?: boolean;
|
|
69
46
|
}
|
|
70
|
-
export type DraftHackRating = 'mature' | 'appropriate';
|
|
71
|
-
export interface DraftHackNotifications {
|
|
72
|
-
/**
|
|
73
|
-
* @maxLength 1000
|
|
74
|
-
*/
|
|
75
|
-
aiGeneratedText?: string;
|
|
76
|
-
/**
|
|
77
|
-
* @maxLength 1000
|
|
78
|
-
*/
|
|
79
|
-
humanCuratedText?: string;
|
|
80
|
-
}
|
|
81
|
-
export interface DraftHackSegments {
|
|
82
|
-
favouriteQuote?: DraftHackSegment;
|
|
83
|
-
inANutshell?: DraftHackSegment;
|
|
84
|
-
introduction?: DraftHackSegment;
|
|
85
|
-
/**
|
|
86
|
-
* @maxItems 10
|
|
87
|
-
*/
|
|
88
|
-
insights?: DraftHackInsightSegment[];
|
|
89
|
-
conclusion?: DraftHackSegment;
|
|
90
|
-
}
|
|
91
|
-
export interface DraftHackCard {
|
|
92
|
-
/**
|
|
93
|
-
* @maxLength 2000
|
|
94
|
-
*/
|
|
95
|
-
markdown: string;
|
|
96
|
-
}
|
|
97
|
-
export interface DraftHackSegment {
|
|
98
|
-
/**
|
|
99
|
-
* @maxItems 50
|
|
100
|
-
* @items.maxLength 150
|
|
101
|
-
*/
|
|
102
|
-
keywords: string[];
|
|
103
|
-
paragraphCards: DraftHackCard[][];
|
|
104
|
-
/**
|
|
105
|
-
* @maxLength 1000
|
|
106
|
-
*/
|
|
107
|
-
textSummary?: string;
|
|
108
|
-
}
|
|
109
|
-
export interface DraftHackInsightSegment extends DraftHackSegment {
|
|
110
|
-
/**
|
|
111
|
-
* @maxLength 150
|
|
112
|
-
*/
|
|
113
|
-
title?: string;
|
|
114
|
-
/**
|
|
115
|
-
* @maxItems 50
|
|
116
|
-
*/
|
|
117
|
-
actions: DraftHackAction[];
|
|
118
|
-
}
|
|
119
|
-
export interface DraftHackAction {
|
|
120
|
-
/**
|
|
121
|
-
* @maxLength 150
|
|
122
|
-
*/
|
|
123
|
-
title: string;
|
|
124
|
-
/**
|
|
125
|
-
* @maxLength 1000
|
|
126
|
-
*/
|
|
127
|
-
markdown: string;
|
|
128
|
-
}
|
|
129
|
-
export interface DraftContributor {
|
|
130
|
-
/**
|
|
131
|
-
* @maxLength 150
|
|
132
|
-
*/
|
|
133
|
-
name: string;
|
|
134
|
-
}
|
|
135
|
-
export interface DraftTopic {
|
|
136
|
-
/**
|
|
137
|
-
* @maxLength 150
|
|
138
|
-
*/
|
|
139
|
-
name: string;
|
|
140
|
-
}
|
|
141
|
-
export interface DraftAffiliate {
|
|
142
|
-
/**
|
|
143
|
-
* @maxLength 1000
|
|
144
|
-
*/
|
|
145
|
-
url?: string;
|
|
146
|
-
/**
|
|
147
|
-
* @maxLength 150
|
|
148
|
-
*/
|
|
149
|
-
name?: string;
|
|
150
|
-
}
|
|
151
|
-
export interface DraftSourceData {
|
|
152
|
-
/**
|
|
153
|
-
* @maxLength 150
|
|
154
|
-
*/
|
|
155
|
-
episodeTitle?: string;
|
|
156
|
-
/**
|
|
157
|
-
* @maxLength 50
|
|
158
|
-
*/
|
|
159
|
-
releaseDate?: string;
|
|
160
|
-
}
|
|
161
|
-
export interface DraftHackExternalLink {
|
|
162
|
-
/**
|
|
163
|
-
* @maxLength 1000
|
|
164
|
-
*/
|
|
165
|
-
url: string;
|
|
166
|
-
type: 'Website' | 'Book' | 'Course' | 'Podcast' | 'Video' | 'Other';
|
|
167
|
-
}
|
|
168
|
-
export declare type DraftHackType = 'book' | 'course' | 'documentary' | 'podcast' | 'original';
|
|
169
47
|
//# sourceMappingURL=draft-hack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft-hack.d.ts","sourceRoot":"","sources":["../../../src/draft-hack/draft-hack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,MAAM,WAAW,SAAU,SAAQ,gBAAgB;IAC/C,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,0GAA0G;IAC1G,MAAM,EAAE,eAAe,CAAC;IACxB,oJAAoJ;IACpJ,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,6DAA6D;IAC7D,MAAM,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,gBAAgB,EAAE,MAAM,CAAC;IAEzB,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wGAAwG;
|
|
1
|
+
{"version":3,"file":"draft-hack.d.ts","sourceRoot":"","sources":["../../../src/draft-hack/draft-hack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,MAAM,WAAW,SAAU,SAAQ,gBAAgB;IAC/C,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,0GAA0G;IAC1G,MAAM,EAAE,eAAe,CAAC;IACxB,oJAAoJ;IACpJ,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,6DAA6D;IAC7D,MAAM,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,gBAAgB,EAAE,MAAM,CAAC;IAEzB,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wGAAwG;IAExG,oFAAoF;IACpF,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,sFAAsF;IACtF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qOAAqO;IACrO,0BAA0B,CAAC,EAAE,MAAM,CAAC;CACvC;AAED,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAqBjB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B"}
|
|
@@ -1,2 +1,103 @@
|
|
|
1
1
|
export {};
|
|
2
|
+
// export interface DraftHackNotifications {
|
|
3
|
+
// /**
|
|
4
|
+
// * @maxLength 1000
|
|
5
|
+
// */
|
|
6
|
+
// aiGeneratedText?: string;
|
|
7
|
+
// /**
|
|
8
|
+
// * @maxLength 1000
|
|
9
|
+
// */
|
|
10
|
+
// humanCuratedText?: string;
|
|
11
|
+
// }
|
|
12
|
+
// export interface DraftHackSegments {
|
|
13
|
+
// favouriteQuote?: DraftHackSegment;
|
|
14
|
+
// inANutshell?: DraftHackSegment;
|
|
15
|
+
// introduction?: DraftHackSegment;
|
|
16
|
+
// /**
|
|
17
|
+
// * @maxItems 10
|
|
18
|
+
// */
|
|
19
|
+
// insights?: DraftHackInsightSegment[];
|
|
20
|
+
// conclusion?: DraftHackSegment;
|
|
21
|
+
// }
|
|
22
|
+
// export interface DraftHackCard {
|
|
23
|
+
// /**
|
|
24
|
+
// * @maxLength 2000
|
|
25
|
+
// */
|
|
26
|
+
// markdown: string;
|
|
27
|
+
// }
|
|
28
|
+
// export interface DraftHackSegment {
|
|
29
|
+
// /**
|
|
30
|
+
// * @maxItems 50
|
|
31
|
+
// * @items.maxLength 150
|
|
32
|
+
// */
|
|
33
|
+
// keywords: string[];
|
|
34
|
+
// paragraphCards: DraftHackCard[][];
|
|
35
|
+
// /**
|
|
36
|
+
// * @maxLength 1000
|
|
37
|
+
// */
|
|
38
|
+
// textSummary?: string;
|
|
39
|
+
// }
|
|
40
|
+
// export interface DraftHackInsightSegment extends DraftHackSegment {
|
|
41
|
+
// /**
|
|
42
|
+
// * @maxLength 150
|
|
43
|
+
// */
|
|
44
|
+
// title?: string;
|
|
45
|
+
// /**
|
|
46
|
+
// * @maxItems 50
|
|
47
|
+
// */
|
|
48
|
+
// actions: DraftHackAction[];
|
|
49
|
+
// }
|
|
50
|
+
// export interface DraftHackAction {
|
|
51
|
+
// /**
|
|
52
|
+
// * @maxLength 150
|
|
53
|
+
// */
|
|
54
|
+
// title: string;
|
|
55
|
+
// /**
|
|
56
|
+
// * @maxLength 1000
|
|
57
|
+
// */
|
|
58
|
+
// markdown: string
|
|
59
|
+
// }
|
|
60
|
+
// export interface DraftContributor {
|
|
61
|
+
// /**
|
|
62
|
+
// * @maxLength 150
|
|
63
|
+
// */
|
|
64
|
+
// name: string;
|
|
65
|
+
// }
|
|
66
|
+
// export interface DraftTopic {
|
|
67
|
+
// /**
|
|
68
|
+
// * @maxLength 150
|
|
69
|
+
// */
|
|
70
|
+
// name: string;
|
|
71
|
+
// }
|
|
72
|
+
// export interface DraftAffiliate {
|
|
73
|
+
// /**
|
|
74
|
+
// * @maxLength 1000
|
|
75
|
+
// */
|
|
76
|
+
// url?: string;
|
|
77
|
+
// /**
|
|
78
|
+
// * @maxLength 150
|
|
79
|
+
// */
|
|
80
|
+
// name?: string;
|
|
81
|
+
// }
|
|
82
|
+
// export interface DraftSourceData {
|
|
83
|
+
// /**
|
|
84
|
+
// * @maxLength 150
|
|
85
|
+
// */
|
|
86
|
+
// episodeTitle?: string;
|
|
87
|
+
// /**
|
|
88
|
+
// * @maxLength 50
|
|
89
|
+
// */
|
|
90
|
+
// releaseDate?: string;
|
|
91
|
+
// }
|
|
92
|
+
// export interface DraftHackExternalLink {
|
|
93
|
+
// /**
|
|
94
|
+
// * @maxLength 1000
|
|
95
|
+
// */
|
|
96
|
+
// url: string;
|
|
97
|
+
// type: 'Website' | 'Book' | 'Course' | 'Podcast' | 'Video' | 'Other';
|
|
98
|
+
// }
|
|
99
|
+
// // this status is currently used to present the draft in different columns in the airtable used by the content team
|
|
100
|
+
// export type DraftHackWorkflowStatus = 'publishing' | 'published';
|
|
101
|
+
// export type DraftHackType = 'book' | 'course' | 'documentary' | 'podcast' | 'original';
|
|
102
|
+
// export type DraftHackRating = 'mature' | 'appropriate';
|
|
2
103
|
//# sourceMappingURL=draft-hack.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft-hack.js","sourceRoot":"","sources":["../../../src/draft-hack/draft-hack.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"draft-hack.js","sourceRoot":"","sources":["../../../src/draft-hack/draft-hack.ts"],"names":[],"mappings":";AAyEA,4CAA4C;AAC5C,UAAU;AACV,yBAAyB;AACzB,UAAU;AACV,gCAAgC;AAChC,UAAU;AACV,yBAAyB;AACzB,UAAU;AACV,iCAAiC;AACjC,IAAI;AAEJ,uCAAuC;AACvC,yCAAyC;AACzC,sCAAsC;AACtC,uCAAuC;AACvC,UAAU;AACV,sBAAsB;AACtB,UAAU;AACV,4CAA4C;AAC5C,qCAAqC;AACrC,IAAI;AAEJ,mCAAmC;AACnC,UAAU;AACV,yBAAyB;AACzB,UAAU;AACV,wBAAwB;AACxB,IAAI;AAEJ,sCAAsC;AACtC,UAAU;AACV,sBAAsB;AACtB,8BAA8B;AAC9B,UAAU;AACV,0BAA0B;AAC1B,yCAAyC;AACzC,UAAU;AACV,yBAAyB;AACzB,UAAU;AACV,4BAA4B;AAC5B,IAAI;AAEJ,sEAAsE;AACtE,UAAU;AACV,wBAAwB;AACxB,UAAU;AACV,sBAAsB;AACtB,UAAU;AACV,sBAAsB;AACtB,UAAU;AACV,kCAAkC;AAClC,IAAI;AAEJ,qCAAqC;AACrC,UAAU;AACV,wBAAwB;AACxB,UAAU;AACV,qBAAqB;AACrB,UAAU;AACV,yBAAyB;AACzB,UAAU;AACV,uBAAuB;AACvB,IAAI;AAEJ,sCAAsC;AACtC,UAAU;AACV,wBAAwB;AACxB,UAAU;AACV,oBAAoB;AACpB,IAAI;AAEJ,gCAAgC;AAChC,UAAU;AACV,wBAAwB;AACxB,UAAU;AACV,oBAAoB;AACpB,IAAI;AAEJ,oCAAoC;AACpC,UAAU;AACV,yBAAyB;AACzB,UAAU;AACV,oBAAoB;AACpB,UAAU;AACV,wBAAwB;AACxB,UAAU;AACV,qBAAqB;AACrB,IAAI;AAEJ,qCAAqC;AACrC,UAAU;AACV,wBAAwB;AACxB,UAAU;AACV,6BAA6B;AAC7B,UAAU;AACV,uBAAuB;AACvB,UAAU;AACV,4BAA4B;AAC5B,IAAI;AAEJ,2CAA2C;AAC3C,UAAU;AACV,yBAAyB;AACzB,UAAU;AACV,mBAAmB;AACnB,2EAA2E;AAC3E,IAAI;AAEJ,sHAAsH;AACtH,oEAAoE;AACpE,0FAA0F;AAC1F,0DAA0D"}
|
package/dist/esm/hack/hack.d.ts
CHANGED
|
@@ -89,7 +89,7 @@ export interface HackAffiliate {
|
|
|
89
89
|
url: string;
|
|
90
90
|
name: string;
|
|
91
91
|
}
|
|
92
|
-
export
|
|
92
|
+
export type HackType = 'book' | 'course' | 'documentary' | 'podcast' | 'original';
|
|
93
93
|
export interface HackSourceData {
|
|
94
94
|
episodeTitle?: string;
|
|
95
95
|
releaseDate?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hack.d.ts","sourceRoot":"","sources":["../../../src/hack/hack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,MAAM,WAAW,IAAI;IACjB,iCAAiC;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,2IAA2I;IAC3I,MAAM,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,gBAAgB,EAAE,MAAM,CAAC;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAEhB,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE;QACZ,eAAe,CAAC,EAAE,MAAM,CAAA;QACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,QAAQ,EAAE;QACN,cAAc,EAAE;YACZ,EAAE,EAAE,MAAM,CAAC;YACX,oBAAoB;YACpB,CAAC,CAAC,EAAE,MAAM,CAAC;SACd,CAAC;QACF,WAAW,EAAE;YACT,EAAE,EAAE,MAAM,CAAC;YACX,oBAAoB;YACpB,CAAC,CAAC,EAAE,MAAM,CAAC;SACd,CAAC;QACF,YAAY,EAAE;YACV,EAAE,EAAE,MAAM,CAAC;YACX,oBAAoB;YACpB,CAAC,CAAC,EAAE,MAAM,C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CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;CACvE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uptime.app/contracts",
|
|
3
|
-
"version": "1.0.9-rc.
|
|
3
|
+
"version": "1.0.9-rc.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"types": "./dist/esm/index.d.ts",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"typescript": "^5.4.3"
|
|
15
15
|
},
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "6118c291461e367570984c2febdd2b6f3401b30e"
|
|
17
17
|
}
|
|
@@ -19,7 +19,7 @@ export interface DraftHack extends DraftHackContent {
|
|
|
19
19
|
publishedVersion?: number;
|
|
20
20
|
owner?: string;
|
|
21
21
|
/** workflowStatus was added in May 2022 as we move toward UGC. Older drafts have not been backfilled */
|
|
22
|
-
workflowStatus?: DraftHackWorkflowStatus;
|
|
22
|
+
// workflowStatus?: DraftHackWorkflowStatus;
|
|
23
23
|
/** added in Nov 2022. Set to true whenever content changes are made to the draft */
|
|
24
24
|
hasUnpublishedChanges?: boolean;
|
|
25
25
|
/** added in March 2023. Must be set whenever content changes are made to the draft */
|
|
@@ -28,9 +28,6 @@ export interface DraftHack extends DraftHackContent {
|
|
|
28
28
|
baseLocaleContentUpdatedAt?: string;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
// this status is currently used to present the draft in different columns in the airtable used by the content team
|
|
32
|
-
export type DraftHackWorkflowStatus = 'publishing' | 'published';
|
|
33
|
-
|
|
34
31
|
export interface DraftHackContent {
|
|
35
32
|
/**
|
|
36
33
|
* @maxLength 150
|
|
@@ -44,143 +41,145 @@ export interface DraftHackContent {
|
|
|
44
41
|
* @maxLength 50
|
|
45
42
|
*/
|
|
46
43
|
themeId?: string;
|
|
47
|
-
segments: DraftHackSegments;
|
|
48
|
-
/**
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
coverUrl?: string;
|
|
52
|
-
notifications?: DraftHackNotifications
|
|
53
|
-
affiliate?: DraftAffiliate;
|
|
54
|
-
/**
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
topics?: DraftTopic[];
|
|
58
|
-
/**
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
contributors?: DraftContributor[];
|
|
62
|
-
sourceData?: DraftSourceData;
|
|
63
|
-
/** For creators only. We will tackle this validation once profiles are introduce*/
|
|
64
|
-
externalLink?: DraftHackExternalLink;
|
|
65
|
-
/** For recording purpose for now, we will use this value further in the future */
|
|
66
|
-
contentRating?: DraftHackRating;
|
|
44
|
+
// segments: DraftHackSegments;
|
|
45
|
+
// /**
|
|
46
|
+
// * @maxLength 1000
|
|
47
|
+
// */
|
|
48
|
+
// coverUrl?: string;
|
|
49
|
+
// notifications?: DraftHackNotifications
|
|
50
|
+
// affiliate?: DraftAffiliate;
|
|
51
|
+
// /**
|
|
52
|
+
// * @maxItems 50
|
|
53
|
+
// */
|
|
54
|
+
// topics?: DraftTopic[];
|
|
55
|
+
// /**
|
|
56
|
+
// * @maxItems 10
|
|
57
|
+
// */
|
|
58
|
+
// contributors?: DraftContributor[];
|
|
59
|
+
// sourceData?: DraftSourceData;
|
|
60
|
+
// /** For creators only. We will tackle this validation once profiles are introduce*/
|
|
61
|
+
// externalLink?: DraftHackExternalLink;
|
|
62
|
+
// /** For recording purpose for now, we will use this value further in the future */
|
|
63
|
+
// contentRating?: DraftHackRating;
|
|
67
64
|
/**
|
|
68
65
|
* @maxItems 50
|
|
69
66
|
* @items.maxLength 150
|
|
70
67
|
*/
|
|
71
68
|
tags?: string[];
|
|
72
|
-
type?: DraftHackType;
|
|
69
|
+
// type?: DraftHackType;
|
|
73
70
|
isCopyrightFree?: boolean;
|
|
74
71
|
}
|
|
75
72
|
|
|
76
|
-
export type DraftHackRating = 'mature' | 'appropriate';
|
|
77
|
-
|
|
78
|
-
export interface DraftHackNotifications {
|
|
79
|
-
/**
|
|
80
|
-
* @maxLength 1000
|
|
81
|
-
*/
|
|
82
|
-
aiGeneratedText?: string;
|
|
83
|
-
/**
|
|
84
|
-
* @maxLength 1000
|
|
85
|
-
*/
|
|
86
|
-
humanCuratedText?: string;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export interface DraftHackSegments {
|
|
90
|
-
favouriteQuote?: DraftHackSegment;
|
|
91
|
-
inANutshell?: DraftHackSegment;
|
|
92
|
-
introduction?: DraftHackSegment;
|
|
93
|
-
/**
|
|
94
|
-
* @maxItems 10
|
|
95
|
-
*/
|
|
96
|
-
insights?: DraftHackInsightSegment[];
|
|
97
|
-
conclusion?: DraftHackSegment;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export interface DraftHackCard {
|
|
101
|
-
/**
|
|
102
|
-
* @maxLength 2000
|
|
103
|
-
*/
|
|
104
|
-
markdown: string;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export interface DraftHackSegment {
|
|
108
|
-
/**
|
|
109
|
-
* @maxItems 50
|
|
110
|
-
* @items.maxLength 150
|
|
111
|
-
*/
|
|
112
|
-
keywords: string[];
|
|
113
|
-
paragraphCards: DraftHackCard[][];
|
|
114
|
-
/**
|
|
115
|
-
* @maxLength 1000
|
|
116
|
-
*/
|
|
117
|
-
textSummary?: string;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export interface DraftHackInsightSegment extends DraftHackSegment {
|
|
121
|
-
/**
|
|
122
|
-
* @maxLength 150
|
|
123
|
-
*/
|
|
124
|
-
title?: string;
|
|
125
|
-
/**
|
|
126
|
-
* @maxItems 50
|
|
127
|
-
*/
|
|
128
|
-
actions: DraftHackAction[];
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export interface DraftHackAction {
|
|
132
|
-
/**
|
|
133
|
-
* @maxLength 150
|
|
134
|
-
*/
|
|
135
|
-
title: string;
|
|
136
|
-
/**
|
|
137
|
-
* @maxLength 1000
|
|
138
|
-
*/
|
|
139
|
-
markdown: string
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export interface DraftContributor {
|
|
143
|
-
/**
|
|
144
|
-
* @maxLength 150
|
|
145
|
-
*/
|
|
146
|
-
name: string;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export interface DraftTopic {
|
|
150
|
-
/**
|
|
151
|
-
* @maxLength 150
|
|
152
|
-
*/
|
|
153
|
-
name: string;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export interface DraftAffiliate {
|
|
157
|
-
/**
|
|
158
|
-
* @maxLength 1000
|
|
159
|
-
*/
|
|
160
|
-
url?: string;
|
|
161
|
-
/**
|
|
162
|
-
* @maxLength 150
|
|
163
|
-
*/
|
|
164
|
-
name?: string;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export interface DraftSourceData {
|
|
168
|
-
/**
|
|
169
|
-
* @maxLength 150
|
|
170
|
-
*/
|
|
171
|
-
episodeTitle?: string;
|
|
172
|
-
/**
|
|
173
|
-
* @maxLength 50
|
|
174
|
-
*/
|
|
175
|
-
releaseDate?: string;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
export interface DraftHackExternalLink {
|
|
179
|
-
/**
|
|
180
|
-
* @maxLength 1000
|
|
181
|
-
*/
|
|
182
|
-
url: string;
|
|
183
|
-
type: 'Website' | 'Book' | 'Course' | 'Podcast' | 'Video' | 'Other';
|
|
184
|
-
}
|
|
185
73
|
|
|
186
|
-
export
|
|
74
|
+
// export interface DraftHackNotifications {
|
|
75
|
+
// /**
|
|
76
|
+
// * @maxLength 1000
|
|
77
|
+
// */
|
|
78
|
+
// aiGeneratedText?: string;
|
|
79
|
+
// /**
|
|
80
|
+
// * @maxLength 1000
|
|
81
|
+
// */
|
|
82
|
+
// humanCuratedText?: string;
|
|
83
|
+
// }
|
|
84
|
+
|
|
85
|
+
// export interface DraftHackSegments {
|
|
86
|
+
// favouriteQuote?: DraftHackSegment;
|
|
87
|
+
// inANutshell?: DraftHackSegment;
|
|
88
|
+
// introduction?: DraftHackSegment;
|
|
89
|
+
// /**
|
|
90
|
+
// * @maxItems 10
|
|
91
|
+
// */
|
|
92
|
+
// insights?: DraftHackInsightSegment[];
|
|
93
|
+
// conclusion?: DraftHackSegment;
|
|
94
|
+
// }
|
|
95
|
+
|
|
96
|
+
// export interface DraftHackCard {
|
|
97
|
+
// /**
|
|
98
|
+
// * @maxLength 2000
|
|
99
|
+
// */
|
|
100
|
+
// markdown: string;
|
|
101
|
+
// }
|
|
102
|
+
|
|
103
|
+
// export interface DraftHackSegment {
|
|
104
|
+
// /**
|
|
105
|
+
// * @maxItems 50
|
|
106
|
+
// * @items.maxLength 150
|
|
107
|
+
// */
|
|
108
|
+
// keywords: string[];
|
|
109
|
+
// paragraphCards: DraftHackCard[][];
|
|
110
|
+
// /**
|
|
111
|
+
// * @maxLength 1000
|
|
112
|
+
// */
|
|
113
|
+
// textSummary?: string;
|
|
114
|
+
// }
|
|
115
|
+
|
|
116
|
+
// export interface DraftHackInsightSegment extends DraftHackSegment {
|
|
117
|
+
// /**
|
|
118
|
+
// * @maxLength 150
|
|
119
|
+
// */
|
|
120
|
+
// title?: string;
|
|
121
|
+
// /**
|
|
122
|
+
// * @maxItems 50
|
|
123
|
+
// */
|
|
124
|
+
// actions: DraftHackAction[];
|
|
125
|
+
// }
|
|
126
|
+
|
|
127
|
+
// export interface DraftHackAction {
|
|
128
|
+
// /**
|
|
129
|
+
// * @maxLength 150
|
|
130
|
+
// */
|
|
131
|
+
// title: string;
|
|
132
|
+
// /**
|
|
133
|
+
// * @maxLength 1000
|
|
134
|
+
// */
|
|
135
|
+
// markdown: string
|
|
136
|
+
// }
|
|
137
|
+
|
|
138
|
+
// export interface DraftContributor {
|
|
139
|
+
// /**
|
|
140
|
+
// * @maxLength 150
|
|
141
|
+
// */
|
|
142
|
+
// name: string;
|
|
143
|
+
// }
|
|
144
|
+
|
|
145
|
+
// export interface DraftTopic {
|
|
146
|
+
// /**
|
|
147
|
+
// * @maxLength 150
|
|
148
|
+
// */
|
|
149
|
+
// name: string;
|
|
150
|
+
// }
|
|
151
|
+
|
|
152
|
+
// export interface DraftAffiliate {
|
|
153
|
+
// /**
|
|
154
|
+
// * @maxLength 1000
|
|
155
|
+
// */
|
|
156
|
+
// url?: string;
|
|
157
|
+
// /**
|
|
158
|
+
// * @maxLength 150
|
|
159
|
+
// */
|
|
160
|
+
// name?: string;
|
|
161
|
+
// }
|
|
162
|
+
|
|
163
|
+
// export interface DraftSourceData {
|
|
164
|
+
// /**
|
|
165
|
+
// * @maxLength 150
|
|
166
|
+
// */
|
|
167
|
+
// episodeTitle?: string;
|
|
168
|
+
// /**
|
|
169
|
+
// * @maxLength 50
|
|
170
|
+
// */
|
|
171
|
+
// releaseDate?: string;
|
|
172
|
+
// }
|
|
173
|
+
|
|
174
|
+
// export interface DraftHackExternalLink {
|
|
175
|
+
// /**
|
|
176
|
+
// * @maxLength 1000
|
|
177
|
+
// */
|
|
178
|
+
// url: string;
|
|
179
|
+
// type: 'Website' | 'Book' | 'Course' | 'Podcast' | 'Video' | 'Other';
|
|
180
|
+
// }
|
|
181
|
+
|
|
182
|
+
// // this status is currently used to present the draft in different columns in the airtable used by the content team
|
|
183
|
+
// export type DraftHackWorkflowStatus = 'publishing' | 'published';
|
|
184
|
+
// export type DraftHackType = 'book' | 'course' | 'documentary' | 'podcast' | 'original';
|
|
185
|
+
// export type DraftHackRating = 'mature' | 'appropriate';
|
package/src/hack/hack.ts
CHANGED
|
@@ -101,7 +101,7 @@ export interface HackAffiliate {
|
|
|
101
101
|
name: string;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
export
|
|
104
|
+
export type HackType = 'book' | 'course' | 'documentary' | 'podcast' | 'original';
|
|
105
105
|
|
|
106
106
|
export interface HackSourceData {
|
|
107
107
|
episodeTitle?: string;
|