@_henriquewilson/gabirubi-domain 1.3.62 → 1.3.63
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/model/podcast.d.mts
CHANGED
|
@@ -114,7 +114,95 @@ declare const PodcastSchema: z.ZodObject<{
|
|
|
114
114
|
transcription: string;
|
|
115
115
|
extension: string;
|
|
116
116
|
}>;
|
|
117
|
+
declare const RSSPodcastSchema: z.ZodObject<{
|
|
118
|
+
creator: z.ZodString;
|
|
119
|
+
title: z.ZodString;
|
|
120
|
+
link: z.ZodString;
|
|
121
|
+
pubDate: z.ZodString;
|
|
122
|
+
enclosure: z.ZodObject<{
|
|
123
|
+
url: z.ZodString;
|
|
124
|
+
length: z.ZodString;
|
|
125
|
+
type: z.ZodString;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
length: string;
|
|
128
|
+
type: string;
|
|
129
|
+
url: string;
|
|
130
|
+
}, {
|
|
131
|
+
length: string;
|
|
132
|
+
type: string;
|
|
133
|
+
url: string;
|
|
134
|
+
}>;
|
|
135
|
+
"dc:creator": z.ZodString;
|
|
136
|
+
content: z.ZodString;
|
|
137
|
+
contentSnippet: z.ZodString;
|
|
138
|
+
guid: z.ZodString;
|
|
139
|
+
isoDate: z.ZodString;
|
|
140
|
+
itunes: z.ZodObject<{
|
|
141
|
+
summary: z.ZodString;
|
|
142
|
+
explicit: z.ZodString;
|
|
143
|
+
duration: z.ZodString;
|
|
144
|
+
image: z.ZodString;
|
|
145
|
+
episodeType: z.ZodString;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
summary: string;
|
|
148
|
+
explicit: string;
|
|
149
|
+
duration: string;
|
|
150
|
+
image: string;
|
|
151
|
+
episodeType: string;
|
|
152
|
+
}, {
|
|
153
|
+
summary: string;
|
|
154
|
+
explicit: string;
|
|
155
|
+
duration: string;
|
|
156
|
+
image: string;
|
|
157
|
+
episodeType: string;
|
|
158
|
+
}>;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
link: string;
|
|
161
|
+
title: string;
|
|
162
|
+
content: string;
|
|
163
|
+
creator: string;
|
|
164
|
+
pubDate: string;
|
|
165
|
+
enclosure: {
|
|
166
|
+
length: string;
|
|
167
|
+
type: string;
|
|
168
|
+
url: string;
|
|
169
|
+
};
|
|
170
|
+
"dc:creator": string;
|
|
171
|
+
contentSnippet: string;
|
|
172
|
+
guid: string;
|
|
173
|
+
isoDate: string;
|
|
174
|
+
itunes: {
|
|
175
|
+
summary: string;
|
|
176
|
+
explicit: string;
|
|
177
|
+
duration: string;
|
|
178
|
+
image: string;
|
|
179
|
+
episodeType: string;
|
|
180
|
+
};
|
|
181
|
+
}, {
|
|
182
|
+
link: string;
|
|
183
|
+
title: string;
|
|
184
|
+
content: string;
|
|
185
|
+
creator: string;
|
|
186
|
+
pubDate: string;
|
|
187
|
+
enclosure: {
|
|
188
|
+
length: string;
|
|
189
|
+
type: string;
|
|
190
|
+
url: string;
|
|
191
|
+
};
|
|
192
|
+
"dc:creator": string;
|
|
193
|
+
contentSnippet: string;
|
|
194
|
+
guid: string;
|
|
195
|
+
isoDate: string;
|
|
196
|
+
itunes: {
|
|
197
|
+
summary: string;
|
|
198
|
+
explicit: string;
|
|
199
|
+
duration: string;
|
|
200
|
+
image: string;
|
|
201
|
+
episodeType: string;
|
|
202
|
+
};
|
|
203
|
+
}>;
|
|
117
204
|
type Podcast = z.infer<typeof PodcastSchema>;
|
|
118
205
|
type PodcastLesson = z.infer<typeof LessonSchema>;
|
|
206
|
+
type RSSPodcast = z.infer<typeof RSSPodcastSchema>;
|
|
119
207
|
|
|
120
|
-
export { LessonSchema, type Podcast, type PodcastLesson, PodcastSchema };
|
|
208
|
+
export { LessonSchema, type Podcast, type PodcastLesson, PodcastSchema, type RSSPodcast, RSSPodcastSchema };
|
package/dist/model/podcast.d.ts
CHANGED
|
@@ -114,7 +114,95 @@ declare const PodcastSchema: z.ZodObject<{
|
|
|
114
114
|
transcription: string;
|
|
115
115
|
extension: string;
|
|
116
116
|
}>;
|
|
117
|
+
declare const RSSPodcastSchema: z.ZodObject<{
|
|
118
|
+
creator: z.ZodString;
|
|
119
|
+
title: z.ZodString;
|
|
120
|
+
link: z.ZodString;
|
|
121
|
+
pubDate: z.ZodString;
|
|
122
|
+
enclosure: z.ZodObject<{
|
|
123
|
+
url: z.ZodString;
|
|
124
|
+
length: z.ZodString;
|
|
125
|
+
type: z.ZodString;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
length: string;
|
|
128
|
+
type: string;
|
|
129
|
+
url: string;
|
|
130
|
+
}, {
|
|
131
|
+
length: string;
|
|
132
|
+
type: string;
|
|
133
|
+
url: string;
|
|
134
|
+
}>;
|
|
135
|
+
"dc:creator": z.ZodString;
|
|
136
|
+
content: z.ZodString;
|
|
137
|
+
contentSnippet: z.ZodString;
|
|
138
|
+
guid: z.ZodString;
|
|
139
|
+
isoDate: z.ZodString;
|
|
140
|
+
itunes: z.ZodObject<{
|
|
141
|
+
summary: z.ZodString;
|
|
142
|
+
explicit: z.ZodString;
|
|
143
|
+
duration: z.ZodString;
|
|
144
|
+
image: z.ZodString;
|
|
145
|
+
episodeType: z.ZodString;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
summary: string;
|
|
148
|
+
explicit: string;
|
|
149
|
+
duration: string;
|
|
150
|
+
image: string;
|
|
151
|
+
episodeType: string;
|
|
152
|
+
}, {
|
|
153
|
+
summary: string;
|
|
154
|
+
explicit: string;
|
|
155
|
+
duration: string;
|
|
156
|
+
image: string;
|
|
157
|
+
episodeType: string;
|
|
158
|
+
}>;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
link: string;
|
|
161
|
+
title: string;
|
|
162
|
+
content: string;
|
|
163
|
+
creator: string;
|
|
164
|
+
pubDate: string;
|
|
165
|
+
enclosure: {
|
|
166
|
+
length: string;
|
|
167
|
+
type: string;
|
|
168
|
+
url: string;
|
|
169
|
+
};
|
|
170
|
+
"dc:creator": string;
|
|
171
|
+
contentSnippet: string;
|
|
172
|
+
guid: string;
|
|
173
|
+
isoDate: string;
|
|
174
|
+
itunes: {
|
|
175
|
+
summary: string;
|
|
176
|
+
explicit: string;
|
|
177
|
+
duration: string;
|
|
178
|
+
image: string;
|
|
179
|
+
episodeType: string;
|
|
180
|
+
};
|
|
181
|
+
}, {
|
|
182
|
+
link: string;
|
|
183
|
+
title: string;
|
|
184
|
+
content: string;
|
|
185
|
+
creator: string;
|
|
186
|
+
pubDate: string;
|
|
187
|
+
enclosure: {
|
|
188
|
+
length: string;
|
|
189
|
+
type: string;
|
|
190
|
+
url: string;
|
|
191
|
+
};
|
|
192
|
+
"dc:creator": string;
|
|
193
|
+
contentSnippet: string;
|
|
194
|
+
guid: string;
|
|
195
|
+
isoDate: string;
|
|
196
|
+
itunes: {
|
|
197
|
+
summary: string;
|
|
198
|
+
explicit: string;
|
|
199
|
+
duration: string;
|
|
200
|
+
image: string;
|
|
201
|
+
episodeType: string;
|
|
202
|
+
};
|
|
203
|
+
}>;
|
|
117
204
|
type Podcast = z.infer<typeof PodcastSchema>;
|
|
118
205
|
type PodcastLesson = z.infer<typeof LessonSchema>;
|
|
206
|
+
type RSSPodcast = z.infer<typeof RSSPodcastSchema>;
|
|
119
207
|
|
|
120
|
-
export { LessonSchema, type Podcast, type PodcastLesson, PodcastSchema };
|
|
208
|
+
export { LessonSchema, type Podcast, type PodcastLesson, PodcastSchema, type RSSPodcast, RSSPodcastSchema };
|
package/dist/model/podcast.js
CHANGED
|
@@ -53,6 +53,9 @@ __export(podcast_exports, {
|
|
|
53
53
|
},
|
|
54
54
|
PodcastSchema: function() {
|
|
55
55
|
return PodcastSchema;
|
|
56
|
+
},
|
|
57
|
+
RSSPodcastSchema: function() {
|
|
58
|
+
return RSSPodcastSchema;
|
|
56
59
|
}
|
|
57
60
|
});
|
|
58
61
|
module.exports = __toCommonJS(podcast_exports);
|
|
@@ -75,9 +78,33 @@ var PodcastSchema = import_zod.z.object({
|
|
|
75
78
|
transcription: import_zod.z.string(),
|
|
76
79
|
extension: import_zod.z.string()
|
|
77
80
|
});
|
|
81
|
+
var RSSPodcastSchema = import_zod.z.object({
|
|
82
|
+
creator: import_zod.z.string(),
|
|
83
|
+
title: import_zod.z.string(),
|
|
84
|
+
link: import_zod.z.string(),
|
|
85
|
+
pubDate: import_zod.z.string(),
|
|
86
|
+
enclosure: import_zod.z.object({
|
|
87
|
+
url: import_zod.z.string(),
|
|
88
|
+
length: import_zod.z.string(),
|
|
89
|
+
type: import_zod.z.string()
|
|
90
|
+
}),
|
|
91
|
+
"dc:creator": import_zod.z.string(),
|
|
92
|
+
content: import_zod.z.string(),
|
|
93
|
+
contentSnippet: import_zod.z.string(),
|
|
94
|
+
guid: import_zod.z.string(),
|
|
95
|
+
isoDate: import_zod.z.string(),
|
|
96
|
+
itunes: import_zod.z.object({
|
|
97
|
+
summary: import_zod.z.string(),
|
|
98
|
+
explicit: import_zod.z.string(),
|
|
99
|
+
duration: import_zod.z.string(),
|
|
100
|
+
image: import_zod.z.string(),
|
|
101
|
+
episodeType: import_zod.z.string()
|
|
102
|
+
})
|
|
103
|
+
});
|
|
78
104
|
// Annotate the CommonJS export names for ESM import in node:
|
|
79
105
|
0 && (module.exports = {
|
|
80
106
|
LessonSchema: LessonSchema,
|
|
81
|
-
PodcastSchema: PodcastSchema
|
|
107
|
+
PodcastSchema: PodcastSchema,
|
|
108
|
+
RSSPodcastSchema: RSSPodcastSchema
|
|
82
109
|
});
|
|
83
110
|
//# sourceMappingURL=podcast.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/henriquewilson/Developer/Projects/gabirubi-domain/dist/model/podcast.js","../../src/model/podcast.ts"],"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","podcast_exports","LessonSchema","PodcastSchema","module","exports","import_zod","require","z","object","moduleId","string","activityId","date","crystal","affirmation","meditation","lesson","ratio","number","allLessons","array","transcription","extension"],"mappings":"AAAA;AACA,IAAIA,YAAYC,OAAOC,cAAc;AACrC,IAAIC,mBAAmBF,OAAOG,wBAAwB;AACtD,IAAIC,oBAAoBJ,OAAOK,mBAAmB;AAClD,IAAIC,eAAeN,OAAOO,SAAS,CAACC,cAAc;AAClD,IAAIC,WAAW,SAACC,QAAQC;IACtB,IAAK,IAAIC,QAAQD,IACfZ,UAAUW,QAAQE,MAAM;QAAEC,KAAKF,GAAG,CAACC,KAAK;QAAEE,YAAY;IAAK;AAC/D;AACA,IAAIC,cAAc,SAACC,IAAIC,MAAMC,QAAQC;IACnC,IAAIF,QAAQ,OAAOA,SAAS,YAAY,OAAOA,SAAS,YAAY;YAC7D,kCAAA,2BAAA;;;gBAAA,IAAIG,MAAJ;gBACH,IAAI,CAACd,aAAae,IAAI,CAACL,IAAII,QAAQA,QAAQF,QACzCnB,UAAUiB,IAAII,KAAK;oBAAEP,KAAK;+BAAMI,IAAI,CAACG,IAAI;;oBAAEN,YAAY,CAAEK,CAAAA,OAAOjB,iBAAiBe,MAAMG,IAAG,KAAMD,KAAKL,UAAU;gBAAC;;YAFpH,QAAK,YAAWV,kBAAkBa,0BAA7B,SAAA,6BAAA,QAAA,yBAAA;;YAAA;YAAA;;;qBAAA,6BAAA;oBAAA;;;oBAAA;0BAAA;;;;IAGP;IACA,OAAOD;AACT;AACA,IAAIM,eAAe,SAACC;WAAQR,YAAYhB,UAAU,CAAC,GAAG,cAAc;QAAEyB,OAAO;IAAK,IAAID;;AAEtF,uBAAuB;ACnBvB,IAAAE,kBAAA,CAAA;AAAAhB,SAAAgB,iBAAA;IAAAC,cAAA;eAAAA;;IAAAC,eAAA;eAAAA;;AAAA;AAAAC,OAAAC,OAAA,
|
|
1
|
+
{"version":3,"sources":["/Users/henriquewilson/Developer/Projects/gabirubi-domain/dist/model/podcast.js","../../src/model/podcast.ts"],"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","podcast_exports","LessonSchema","PodcastSchema","RSSPodcastSchema","module","exports","import_zod","require","z","object","moduleId","string","activityId","date","crystal","affirmation","meditation","lesson","ratio","number","allLessons","array","transcription","extension","creator","title","link","pubDate","enclosure","url","length","type","content","contentSnippet","guid","isoDate","itunes","summary","explicit","duration","image","episodeType"],"mappings":"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","sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/model/podcast.ts\nvar podcast_exports = {};\n__export(podcast_exports, {\n LessonSchema: () => LessonSchema,\n PodcastSchema: () => PodcastSchema,\n RSSPodcastSchema: () => RSSPodcastSchema\n});\nmodule.exports = __toCommonJS(podcast_exports);\nvar import_zod = require(\"zod\");\nvar LessonSchema = import_zod.z.object({ moduleId: import_zod.z.string(), activityId: import_zod.z.string(), name: import_zod.z.string() });\nvar PodcastSchema = import_zod.z.object({\n date: import_zod.z.string(),\n crystal: import_zod.z.string(),\n affirmation: import_zod.z.string(),\n meditation: import_zod.z.string(),\n lesson: import_zod.z.object({\n lesson: LessonSchema,\n ratio: import_zod.z.number(),\n allLessons: LessonSchema.array()\n }),\n transcription: import_zod.z.string(),\n extension: import_zod.z.string()\n});\nvar RSSPodcastSchema = import_zod.z.object({\n creator: import_zod.z.string(),\n title: import_zod.z.string(),\n link: import_zod.z.string(),\n pubDate: import_zod.z.string(),\n enclosure: import_zod.z.object({\n url: import_zod.z.string(),\n length: import_zod.z.string(),\n type: import_zod.z.string()\n }),\n \"dc:creator\": import_zod.z.string(),\n content: import_zod.z.string(),\n contentSnippet: import_zod.z.string(),\n guid: import_zod.z.string(),\n isoDate: import_zod.z.string(),\n itunes: import_zod.z.object({\n summary: import_zod.z.string(),\n explicit: import_zod.z.string(),\n duration: import_zod.z.string(),\n image: import_zod.z.string(),\n episodeType: import_zod.z.string()\n })\n});\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n LessonSchema,\n PodcastSchema,\n RSSPodcastSchema\n});\n","import { z } from \"zod\"\n\nexport const LessonSchema = z.object({ moduleId: z.string(), activityId: z.string(), name: z.string()})\nexport const PodcastSchema = z.object({\n date: z.string(),\n crystal: z.string(),\n affirmation: z.string(),\n meditation: z.string(),\n lesson: z.object({\n lesson: LessonSchema,\n ratio: z.number(),\n allLessons: LessonSchema.array()\n }),\n transcription: z.string(),\n extension: z.string()\n})\n\nexport const RSSPodcastSchema = z.object({\n creator: z.string(),\n title: z.string(),\n link: z.string(),\n pubDate: z.string(),\n enclosure: z.object({\n url: z.string(),\n length: z.string(),\n type: z.string()\n }),\n \"dc:creator\": z.string(),\n content: z.string(),\n contentSnippet: z.string(),\n guid: z.string(),\n isoDate: z.string(),\n itunes: z.object({\n summary: z.string(),\n explicit: z.string(),\n duration: z.string(),\n image: z.string(),\n episodeType: z.string()\n })\n})\n\nexport type Podcast = z.infer<typeof PodcastSchema>\nexport type PodcastLesson = z.infer<typeof LessonSchema>\nexport type RSSPodcast = z.infer<typeof RSSPodcastSchema>\n"]}
|
package/dist/model/podcast.mjs
CHANGED
|
@@ -18,5 +18,28 @@ var PodcastSchema = z.object({
|
|
|
18
18
|
transcription: z.string(),
|
|
19
19
|
extension: z.string()
|
|
20
20
|
});
|
|
21
|
-
|
|
21
|
+
var RSSPodcastSchema = z.object({
|
|
22
|
+
creator: z.string(),
|
|
23
|
+
title: z.string(),
|
|
24
|
+
link: z.string(),
|
|
25
|
+
pubDate: z.string(),
|
|
26
|
+
enclosure: z.object({
|
|
27
|
+
url: z.string(),
|
|
28
|
+
length: z.string(),
|
|
29
|
+
type: z.string()
|
|
30
|
+
}),
|
|
31
|
+
"dc:creator": z.string(),
|
|
32
|
+
content: z.string(),
|
|
33
|
+
contentSnippet: z.string(),
|
|
34
|
+
guid: z.string(),
|
|
35
|
+
isoDate: z.string(),
|
|
36
|
+
itunes: z.object({
|
|
37
|
+
summary: z.string(),
|
|
38
|
+
explicit: z.string(),
|
|
39
|
+
duration: z.string(),
|
|
40
|
+
image: z.string(),
|
|
41
|
+
episodeType: z.string()
|
|
42
|
+
})
|
|
43
|
+
});
|
|
44
|
+
export { LessonSchema, PodcastSchema, RSSPodcastSchema };
|
|
22
45
|
//# sourceMappingURL=podcast.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/henriquewilson/Developer/Projects/gabirubi-domain/dist/model/podcast.mjs","../../src/model/podcast.ts"],"names":["z","LessonSchema","object","moduleId","string","activityId","name","PodcastSchema","date","crystal","affirmation","meditation","lesson","ratio","number","allLessons","array","transcription","extension"],"mappings":"AAAA,uBAAuB;ACAvB,SAASA,CAAA,QAAS,MAAA;AAEX,IAAMC,eAAeD,EAAEE,MAAA,CAAO;IAAEC,UAAUH,EAAEI,MAAA;IAAUC,YAAYL,EAAEI,MAAA;IAAUE,MAAMN,EAAEI,MAAA;AAAQ;AAC9F,IAAMG,gBAAgBP,EAAEE,MAAA,CAAO;IACpCM,MAAMR,EAAEI,MAAA;IACRK,SAAST,EAAEI,MAAA;IACXM,aAAaV,EAAEI,MAAA;IACfO,YAAYX,EAAEI,MAAA;IACdQ,QAAQZ,EAAEE,MAAA,CAAO;QACfU,QAAQX;QACRY,OAAOb,EAAEc,MAAA;QACTC,YAAYd,aAAae,KAAA;IAC3B;IACAC,eAAejB,EAAEI,MAAA;IACjBc,WAAWlB,EAAEI,MAAA;AACf;
|
|
1
|
+
{"version":3,"sources":["/Users/henriquewilson/Developer/Projects/gabirubi-domain/dist/model/podcast.mjs","../../src/model/podcast.ts"],"names":["z","LessonSchema","object","moduleId","string","activityId","name","PodcastSchema","date","crystal","affirmation","meditation","lesson","ratio","number","allLessons","array","transcription","extension","RSSPodcastSchema","creator","title","link","pubDate","enclosure","url","length","type","content","contentSnippet","guid","isoDate","itunes","summary","explicit","duration","image","episodeType"],"mappings":"AAAA,uBAAuB;ACAvB,SAASA,CAAA,QAAS,MAAA;AAEX,IAAMC,eAAeD,EAAEE,MAAA,CAAO;IAAEC,UAAUH,EAAEI,MAAA;IAAUC,YAAYL,EAAEI,MAAA;IAAUE,MAAMN,EAAEI,MAAA;AAAQ;AAC9F,IAAMG,gBAAgBP,EAAEE,MAAA,CAAO;IACpCM,MAAMR,EAAEI,MAAA;IACRK,SAAST,EAAEI,MAAA;IACXM,aAAaV,EAAEI,MAAA;IACfO,YAAYX,EAAEI,MAAA;IACdQ,QAAQZ,EAAEE,MAAA,CAAO;QACfU,QAAQX;QACRY,OAAOb,EAAEc,MAAA;QACTC,YAAYd,aAAae,KAAA;IAC3B;IACAC,eAAejB,EAAEI,MAAA;IACjBc,WAAWlB,EAAEI,MAAA;AACf;AAEO,IAAMe,mBAAmBnB,EAAEE,MAAA,CAAO;IACvCkB,SAASpB,EAAEI,MAAA;IACXiB,OAAOrB,EAAEI,MAAA;IACTkB,MAAMtB,EAAEI,MAAA;IACRmB,SAASvB,EAAEI,MAAA;IACXoB,WAAWxB,EAAEE,MAAA,CAAO;QAClBuB,KAAKzB,EAAEI,MAAA;QACPsB,QAAQ1B,EAAEI,MAAA;QACVuB,MAAM3B,EAAEI,MAAA;IACV;IACA,cAAcJ,EAAEI,MAAA;IAChBwB,SAAS5B,EAAEI,MAAA;IACXyB,gBAAgB7B,EAAEI,MAAA;IAClB0B,MAAM9B,EAAEI,MAAA;IACR2B,SAAS/B,EAAEI,MAAA;IACX4B,QAAQhC,EAAEE,MAAA,CAAO;QACf+B,SAASjC,EAAEI,MAAA;QACX8B,UAAUlC,EAAEI,MAAA;QACZ+B,UAAUnC,EAAEI,MAAA;QACZgC,OAAOpC,EAAEI,MAAA;QACTiC,aAAarC,EAAEI,MAAA;IACjB;AACF;ADAA,SACEH,YAAY,EACZM,aAAa,EACbY,gBAAgB,GAChB","sourcesContent":["// src/model/podcast.ts\nimport { z } from \"zod\";\nvar LessonSchema = z.object({ moduleId: z.string(), activityId: z.string(), name: z.string() });\nvar PodcastSchema = z.object({\n date: z.string(),\n crystal: z.string(),\n affirmation: z.string(),\n meditation: z.string(),\n lesson: z.object({\n lesson: LessonSchema,\n ratio: z.number(),\n allLessons: LessonSchema.array()\n }),\n transcription: z.string(),\n extension: z.string()\n});\nvar RSSPodcastSchema = z.object({\n creator: z.string(),\n title: z.string(),\n link: z.string(),\n pubDate: z.string(),\n enclosure: z.object({\n url: z.string(),\n length: z.string(),\n type: z.string()\n }),\n \"dc:creator\": z.string(),\n content: z.string(),\n contentSnippet: z.string(),\n guid: z.string(),\n isoDate: z.string(),\n itunes: z.object({\n summary: z.string(),\n explicit: z.string(),\n duration: z.string(),\n image: z.string(),\n episodeType: z.string()\n })\n});\nexport {\n LessonSchema,\n PodcastSchema,\n RSSPodcastSchema\n};\n","import { z } from \"zod\"\n\nexport const LessonSchema = z.object({ moduleId: z.string(), activityId: z.string(), name: z.string()})\nexport const PodcastSchema = z.object({\n date: z.string(),\n crystal: z.string(),\n affirmation: z.string(),\n meditation: z.string(),\n lesson: z.object({\n lesson: LessonSchema,\n ratio: z.number(),\n allLessons: LessonSchema.array()\n }),\n transcription: z.string(),\n extension: z.string()\n})\n\nexport const RSSPodcastSchema = z.object({\n creator: z.string(),\n title: z.string(),\n link: z.string(),\n pubDate: z.string(),\n enclosure: z.object({\n url: z.string(),\n length: z.string(),\n type: z.string()\n }),\n \"dc:creator\": z.string(),\n content: z.string(),\n contentSnippet: z.string(),\n guid: z.string(),\n isoDate: z.string(),\n itunes: z.object({\n summary: z.string(),\n explicit: z.string(),\n duration: z.string(),\n image: z.string(),\n episodeType: z.string()\n })\n})\n\nexport type Podcast = z.infer<typeof PodcastSchema>\nexport type PodcastLesson = z.infer<typeof LessonSchema>\nexport type RSSPodcast = z.infer<typeof RSSPodcastSchema>\n"]}
|