@uptime.app/contracts 3.0.8 → 3.0.9
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,32 +1,25 @@
|
|
|
1
1
|
export interface Course {
|
|
2
|
-
/** maps to LearnUponWebhookCourse.id */
|
|
3
2
|
id: string;
|
|
4
|
-
/** Id of the Uptime LearnUpon portal the course belongs to */
|
|
5
3
|
uptimeLearnUponPortalId: string;
|
|
6
4
|
v: number;
|
|
7
5
|
createdAt: string;
|
|
8
6
|
updatedAt: string;
|
|
9
|
-
/** maps to LearnUponWebhookCourse.courseName */
|
|
10
7
|
title: string;
|
|
11
|
-
/** maps to LearnUponWebhookCourse.thumbnailImageUrl */
|
|
12
8
|
coverUrl?: string;
|
|
13
|
-
/** maps to LearnUponWebhookCourse.modules.length */
|
|
14
9
|
moduleCount: number;
|
|
15
|
-
/** maps to if LearnUponWebhookCourse.certification exists */
|
|
16
10
|
isCertified: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated use uptimeLearnUponPortalId instead
|
|
19
|
-
*/
|
|
20
|
-
portalId: string;
|
|
21
|
-
/** maps to LearnUponWebhookCourse.cataloged. If the course is open to self enrollment */
|
|
22
11
|
isCataloged: boolean;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/** maps to LearnUponWebhookCourse.datePublished */
|
|
12
|
+
dueDate?: string;
|
|
13
|
+
accessExpiresAt?: string;
|
|
26
14
|
publishedAt?: string;
|
|
27
|
-
/** maps to LearnUponWebhookCourse.courseStatus */
|
|
28
15
|
status: string;
|
|
29
|
-
/** maps to LearnUponWebhookCourse.courseShortDescription */
|
|
30
16
|
shortDescription?: string;
|
|
17
|
+
descriptionText?: string;
|
|
18
|
+
descriptionHtml?: string;
|
|
19
|
+
objectivesText?: string;
|
|
20
|
+
objectivesHtml?: string;
|
|
21
|
+
difficulty: 'not_applicable' | 'basic' | 'intermediate' | 'advanced';
|
|
22
|
+
length?: number;
|
|
23
|
+
lengthUnit?: string;
|
|
31
24
|
}
|
|
32
25
|
//# sourceMappingURL=course.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course.d.ts","sourceRoot":"","sources":["../../../src/course/course.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,MAAM;IACnB,
|
|
1
|
+
{"version":3,"file":"course.d.ts","sourceRoot":"","sources":["../../../src/course/course.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,MAAM;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,uBAAuB,EAAE,MAAM,CAAC;IAChC,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,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,gBAAgB,GAAG,OAAO,GAAG,cAAc,GAAG,UAAU,CAAC;IACrE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1,32 +1,25 @@
|
|
|
1
1
|
export interface Course {
|
|
2
|
-
/** maps to LearnUponWebhookCourse.id */
|
|
3
2
|
id: string;
|
|
4
|
-
/** Id of the Uptime LearnUpon portal the course belongs to */
|
|
5
3
|
uptimeLearnUponPortalId: string;
|
|
6
4
|
v: number;
|
|
7
5
|
createdAt: string;
|
|
8
6
|
updatedAt: string;
|
|
9
|
-
/** maps to LearnUponWebhookCourse.courseName */
|
|
10
7
|
title: string;
|
|
11
|
-
/** maps to LearnUponWebhookCourse.thumbnailImageUrl */
|
|
12
8
|
coverUrl?: string;
|
|
13
|
-
/** maps to LearnUponWebhookCourse.modules.length */
|
|
14
9
|
moduleCount: number;
|
|
15
|
-
/** maps to if LearnUponWebhookCourse.certification exists */
|
|
16
10
|
isCertified: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated use uptimeLearnUponPortalId instead
|
|
19
|
-
*/
|
|
20
|
-
portalId: string;
|
|
21
|
-
/** maps to LearnUponWebhookCourse.cataloged. If the course is open to self enrollment */
|
|
22
11
|
isCataloged: boolean;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/** maps to LearnUponWebhookCourse.datePublished */
|
|
12
|
+
dueDate?: string;
|
|
13
|
+
accessExpiresAt?: string;
|
|
26
14
|
publishedAt?: string;
|
|
27
|
-
/** maps to LearnUponWebhookCourse.courseStatus */
|
|
28
15
|
status: string;
|
|
29
|
-
/** maps to LearnUponWebhookCourse.courseShortDescription */
|
|
30
16
|
shortDescription?: string;
|
|
17
|
+
descriptionText?: string;
|
|
18
|
+
descriptionHtml?: string;
|
|
19
|
+
objectivesText?: string;
|
|
20
|
+
objectivesHtml?: string;
|
|
21
|
+
difficulty: 'not_applicable' | 'basic' | 'intermediate' | 'advanced';
|
|
22
|
+
length?: number;
|
|
23
|
+
lengthUnit?: string;
|
|
31
24
|
}
|
|
32
25
|
//# sourceMappingURL=course.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course.d.ts","sourceRoot":"","sources":["../../../src/course/course.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,MAAM;IACnB,
|
|
1
|
+
{"version":3,"file":"course.d.ts","sourceRoot":"","sources":["../../../src/course/course.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,MAAM;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,uBAAuB,EAAE,MAAM,CAAC;IAChC,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,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,gBAAgB,GAAG,OAAO,GAAG,cAAc,GAAG,UAAU,CAAC;IACrE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uptime.app/contracts",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"types": "./dist/esm/index.d.ts",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"typescript": "^5.4.3"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "b3b8543e0ae3a251b79f6750ecc8b54053b4883b"
|
|
18
18
|
}
|
package/src/course/course.ts
CHANGED
|
@@ -1,32 +1,25 @@
|
|
|
1
1
|
|
|
2
2
|
export interface Course {
|
|
3
|
-
/** maps to LearnUponWebhookCourse.id */
|
|
4
3
|
id: string;
|
|
5
|
-
/** Id of the Uptime LearnUpon portal the course belongs to */
|
|
6
4
|
uptimeLearnUponPortalId: string;
|
|
7
5
|
v: number;
|
|
8
6
|
createdAt: string;
|
|
9
7
|
updatedAt: string;
|
|
10
|
-
/** maps to LearnUponWebhookCourse.courseName */
|
|
11
8
|
title: string;
|
|
12
|
-
/** maps to LearnUponWebhookCourse.thumbnailImageUrl */
|
|
13
9
|
coverUrl?: string;
|
|
14
|
-
/** maps to LearnUponWebhookCourse.modules.length */
|
|
15
10
|
moduleCount: number;
|
|
16
|
-
/** maps to if LearnUponWebhookCourse.certification exists */
|
|
17
11
|
isCertified: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated use uptimeLearnUponPortalId instead
|
|
20
|
-
*/
|
|
21
|
-
portalId: string;
|
|
22
|
-
/** maps to LearnUponWebhookCourse.cataloged. If the course is open to self enrollment */
|
|
23
12
|
isCataloged: boolean;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/** maps to LearnUponWebhookCourse.datePublished */
|
|
13
|
+
dueDate?: string;
|
|
14
|
+
accessExpiresAt?: string;
|
|
27
15
|
publishedAt?: string;
|
|
28
|
-
/** maps to LearnUponWebhookCourse.courseStatus */
|
|
29
16
|
status: string;
|
|
30
|
-
/** maps to LearnUponWebhookCourse.courseShortDescription */
|
|
31
17
|
shortDescription?: string;
|
|
18
|
+
descriptionText?: string;
|
|
19
|
+
descriptionHtml?: string;
|
|
20
|
+
objectivesText?: string;
|
|
21
|
+
objectivesHtml?: string;
|
|
22
|
+
difficulty: 'not_applicable' | 'basic' | 'intermediate' | 'advanced';
|
|
23
|
+
length?: number;
|
|
24
|
+
lengthUnit?: string;
|
|
32
25
|
}
|