webring 1.7.2-dev.7547 → 1.7.2-dev.7563
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/fetch.d.ts +1 -1
- package/dist/index.test.js.map +1 -1
- package/dist/types.d.ts +18 -18
- package/package.json +6 -5
package/dist/fetch.d.ts
CHANGED
package/dist/index.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.js","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"index.test.js","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;AAC3D,SAAS,YAAY,CAAC,IAAwB;IAC5C,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;IAC3D,CAAC;IACD,OAAO,IAAI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AAO,EAAE,aAAa,CAAC,EAAE,CAAC;QAC1B,MAAM,EAAE,CAAC;QACT,QAAQ,EAAE,GAAG;QACb,KAAK,EAAE;YACL,UAAU,EAAE,GAAG,MAAM,aAAa,EAAE,aAAa;YACjD,sBAAsB,EAAE,CAAC;SAC1B;KACF,CAAC;IAEF,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,CAAC;IACjC,MAAM,MAAM,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAC9C,MAAM,CAAC,MAAM,CAAC,CAAC,eAAe,EAAE,CAAC;AACnC,CAAC,CAAC,CAAC;AAEH,oDAAoD;AACpD,KAAK,UAAU,aAAa;IAC1B,MAAM,QAAQ,GAAG,MAAM,EAAE,CAAC;IAC1B,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC9C,OAAO,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC;AAC5B,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -71,12 +71,12 @@ declare const ConfigurationSchema: z.ZodObject<{
|
|
|
71
71
|
/** Randomize the output order */
|
|
72
72
|
shuffle: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
number: number;
|
|
75
74
|
sources: {
|
|
76
75
|
url: string;
|
|
77
76
|
title: string;
|
|
78
77
|
filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
79
78
|
}[];
|
|
79
|
+
number: number;
|
|
80
80
|
truncate: number;
|
|
81
81
|
cache?: {
|
|
82
82
|
cache_duration_minutes: number;
|
|
@@ -133,31 +133,31 @@ export declare const CachedConfigurationSchema: z.ZodObject<{
|
|
|
133
133
|
cache_file?: string | undefined;
|
|
134
134
|
}>;
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
number: number;
|
|
137
136
|
sources: {
|
|
138
137
|
url: string;
|
|
139
138
|
title: string;
|
|
140
139
|
filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
141
140
|
}[];
|
|
141
|
+
number: number;
|
|
142
142
|
truncate: number;
|
|
143
|
+
shuffle?: boolean | undefined;
|
|
143
144
|
cache: {
|
|
144
145
|
cache_duration_minutes: number;
|
|
145
146
|
cache_file: string;
|
|
146
147
|
};
|
|
147
|
-
shuffle?: boolean | undefined;
|
|
148
148
|
}, {
|
|
149
149
|
sources: {
|
|
150
150
|
url: string;
|
|
151
151
|
title: string;
|
|
152
152
|
filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
153
153
|
}[];
|
|
154
|
+
number?: number | undefined;
|
|
155
|
+
truncate?: number | undefined;
|
|
156
|
+
shuffle?: boolean | undefined;
|
|
154
157
|
cache: {
|
|
155
158
|
cache_duration_minutes?: number | undefined;
|
|
156
159
|
cache_file?: string | undefined;
|
|
157
160
|
};
|
|
158
|
-
number?: number | undefined;
|
|
159
|
-
truncate?: number | undefined;
|
|
160
|
-
shuffle?: boolean | undefined;
|
|
161
161
|
}>;
|
|
162
162
|
export type ResultEntry = z.infer<typeof ResultEntrySchema>;
|
|
163
163
|
/** A single entry from an RSS feed */
|
|
@@ -188,8 +188,8 @@ declare const ResultEntrySchema: z.ZodObject<{
|
|
|
188
188
|
/** A preview of the entry. This may contain sanitized HTML. */
|
|
189
189
|
preview: z.ZodOptional<z.ZodString>;
|
|
190
190
|
}, "strip", z.ZodTypeAny, {
|
|
191
|
-
url: string;
|
|
192
191
|
title: string;
|
|
192
|
+
url: string;
|
|
193
193
|
date: Date;
|
|
194
194
|
source: {
|
|
195
195
|
url: string;
|
|
@@ -198,8 +198,8 @@ declare const ResultEntrySchema: z.ZodObject<{
|
|
|
198
198
|
};
|
|
199
199
|
preview?: string | undefined;
|
|
200
200
|
}, {
|
|
201
|
-
url: string;
|
|
202
201
|
title: string;
|
|
202
|
+
url: string;
|
|
203
203
|
date: Date;
|
|
204
204
|
source: {
|
|
205
205
|
url: string;
|
|
@@ -237,8 +237,8 @@ export declare const ResultSchema: z.ZodArray<z.ZodObject<{
|
|
|
237
237
|
/** A preview of the entry. This may contain sanitized HTML. */
|
|
238
238
|
preview: z.ZodOptional<z.ZodString>;
|
|
239
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
|
-
url: string;
|
|
241
240
|
title: string;
|
|
241
|
+
url: string;
|
|
242
242
|
date: Date;
|
|
243
243
|
source: {
|
|
244
244
|
url: string;
|
|
@@ -247,8 +247,8 @@ export declare const ResultSchema: z.ZodArray<z.ZodObject<{
|
|
|
247
247
|
};
|
|
248
248
|
preview?: string | undefined;
|
|
249
249
|
}, {
|
|
250
|
-
url: string;
|
|
251
250
|
title: string;
|
|
251
|
+
url: string;
|
|
252
252
|
date: Date;
|
|
253
253
|
source: {
|
|
254
254
|
url: string;
|
|
@@ -290,8 +290,8 @@ export declare const CacheEntrySchema: z.ZodObject<{
|
|
|
290
290
|
/** A preview of the entry. This may contain sanitized HTML. */
|
|
291
291
|
preview: z.ZodOptional<z.ZodString>;
|
|
292
292
|
}, "strip", z.ZodTypeAny, {
|
|
293
|
-
url: string;
|
|
294
293
|
title: string;
|
|
294
|
+
url: string;
|
|
295
295
|
date: Date;
|
|
296
296
|
source: {
|
|
297
297
|
url: string;
|
|
@@ -300,8 +300,8 @@ export declare const CacheEntrySchema: z.ZodObject<{
|
|
|
300
300
|
};
|
|
301
301
|
preview?: string | undefined;
|
|
302
302
|
}, {
|
|
303
|
-
url: string;
|
|
304
303
|
title: string;
|
|
304
|
+
url: string;
|
|
305
305
|
date: Date;
|
|
306
306
|
source: {
|
|
307
307
|
url: string;
|
|
@@ -313,8 +313,8 @@ export declare const CacheEntrySchema: z.ZodObject<{
|
|
|
313
313
|
}, "strip", z.ZodTypeAny, {
|
|
314
314
|
timestamp: Date;
|
|
315
315
|
data: {
|
|
316
|
-
url: string;
|
|
317
316
|
title: string;
|
|
317
|
+
url: string;
|
|
318
318
|
date: Date;
|
|
319
319
|
source: {
|
|
320
320
|
url: string;
|
|
@@ -326,8 +326,8 @@ export declare const CacheEntrySchema: z.ZodObject<{
|
|
|
326
326
|
}, {
|
|
327
327
|
timestamp: Date;
|
|
328
328
|
data: {
|
|
329
|
-
url: string;
|
|
330
329
|
title: string;
|
|
330
|
+
url: string;
|
|
331
331
|
date: Date;
|
|
332
332
|
source: {
|
|
333
333
|
url: string;
|
|
@@ -370,8 +370,8 @@ export declare const CacheSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
370
370
|
/** A preview of the entry. This may contain sanitized HTML. */
|
|
371
371
|
preview: z.ZodOptional<z.ZodString>;
|
|
372
372
|
}, "strip", z.ZodTypeAny, {
|
|
373
|
-
url: string;
|
|
374
373
|
title: string;
|
|
374
|
+
url: string;
|
|
375
375
|
date: Date;
|
|
376
376
|
source: {
|
|
377
377
|
url: string;
|
|
@@ -380,8 +380,8 @@ export declare const CacheSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
380
380
|
};
|
|
381
381
|
preview?: string | undefined;
|
|
382
382
|
}, {
|
|
383
|
-
url: string;
|
|
384
383
|
title: string;
|
|
384
|
+
url: string;
|
|
385
385
|
date: Date;
|
|
386
386
|
source: {
|
|
387
387
|
url: string;
|
|
@@ -393,8 +393,8 @@ export declare const CacheSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
393
393
|
}, "strip", z.ZodTypeAny, {
|
|
394
394
|
timestamp: Date;
|
|
395
395
|
data: {
|
|
396
|
-
url: string;
|
|
397
396
|
title: string;
|
|
397
|
+
url: string;
|
|
398
398
|
date: Date;
|
|
399
399
|
source: {
|
|
400
400
|
url: string;
|
|
@@ -406,8 +406,8 @@ export declare const CacheSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
406
406
|
}, {
|
|
407
407
|
timestamp: Date;
|
|
408
408
|
data: {
|
|
409
|
-
url: string;
|
|
410
409
|
title: string;
|
|
410
|
+
url: string;
|
|
411
411
|
date: Date;
|
|
412
412
|
source: {
|
|
413
413
|
url: string;
|
package/package.json
CHANGED
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"url": "https://github.com/shepherdjerred/monorepo/issues"
|
|
18
18
|
},
|
|
19
19
|
"type": "module",
|
|
20
|
-
"version": "1.7.2-dev.
|
|
20
|
+
"version": "1.7.2-dev.7563",
|
|
21
21
|
"scripts": {
|
|
22
22
|
"lint": "eslint src --cache",
|
|
23
|
-
"build": "tsc",
|
|
24
|
-
"watch": "tsc -w",
|
|
23
|
+
"build": "PATH=node_modules/@typescript/native/bin:$PATH tsc",
|
|
24
|
+
"watch": "PATH=node_modules/@typescript/native/bin:$PATH tsc -w",
|
|
25
25
|
"test": "bun run typedoc && bun test src/",
|
|
26
26
|
"test:update": "bun test src/ --update-snapshots",
|
|
27
27
|
"typedoc": "typedoc src/index.ts",
|
|
28
|
-
"typecheck": "tsc --noEmit",
|
|
28
|
+
"typecheck": "PATH=node_modules/@typescript/native/bin:$PATH tsc --noEmit",
|
|
29
29
|
"deploy": "bun ../../scripts/deploy-site.ts webring",
|
|
30
30
|
"publish:npm": "bun ../../scripts/publish-npm.ts ."
|
|
31
31
|
},
|
|
@@ -60,7 +60,8 @@
|
|
|
60
60
|
"typedoc-plugin-extras": "^4.0.1",
|
|
61
61
|
"typedoc-plugin-zod": "^1.4.3",
|
|
62
62
|
"typescript": "^6.0.3",
|
|
63
|
-
"vitest": "^4.1.5"
|
|
63
|
+
"vitest": "^4.1.5",
|
|
64
|
+
"@typescript/native": "npm:typescript@7.0.2"
|
|
64
65
|
},
|
|
65
66
|
"files": [
|
|
66
67
|
"dist",
|