@proposit/proposit-core 3.2.0 → 3.4.0
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/README.md +103 -2
- package/dist/cli/commands/expressions.d.ts.map +1 -1
- package/dist/cli/commands/expressions.js +44 -0
- package/dist/cli/commands/expressions.js.map +1 -1
- package/dist/cli/commands/origins.d.ts +3 -0
- package/dist/cli/commands/origins.d.ts.map +1 -0
- package/dist/cli/commands/origins.js +264 -0
- package/dist/cli/commands/origins.js.map +1 -0
- package/dist/cli/commands/premises.d.ts.map +1 -1
- package/dist/cli/commands/premises.js +18 -2
- package/dist/cli/commands/premises.js.map +1 -1
- package/dist/cli/engine.d.ts.map +1 -1
- package/dist/cli/engine.js +5 -2
- package/dist/cli/engine.js.map +1 -1
- package/dist/cli/router.d.ts.map +1 -1
- package/dist/cli/router.js +1 -0
- package/dist/cli/router.js.map +1 -1
- package/dist/cli/schemata.d.ts +4 -2
- package/dist/cli/schemata.d.ts.map +1 -1
- package/dist/cli/schemata.js +14 -1
- package/dist/cli/schemata.js.map +1 -1
- package/dist/cli/storage/libraries.d.ts +4 -0
- package/dist/cli/storage/libraries.d.ts.map +1 -1
- package/dist/cli/storage/libraries.js +19 -0
- package/dist/cli/storage/libraries.js.map +1 -1
- package/dist/cli/storage/variables.d.ts.map +1 -1
- package/dist/cli/storage/variables.js +3 -0
- package/dist/cli/storage/variables.js.map +1 -1
- package/dist/cli.js +2 -0
- package/dist/cli.js.map +1 -1
- package/dist/extensions/basics/schemata.d.ts +2 -0
- package/dist/extensions/basics/schemata.d.ts.map +1 -1
- package/dist/extensions/citations/ieee/citation-claim.d.ts +20 -20
- package/dist/extensions/citations/ieee/index.d.ts +1 -0
- package/dist/extensions/citations/ieee/index.d.ts.map +1 -1
- package/dist/extensions/citations/ieee/index.js +1 -0
- package/dist/extensions/citations/ieee/index.js.map +1 -1
- package/dist/extensions/citations/ieee/origin-document.d.ts +452 -0
- package/dist/extensions/citations/ieee/origin-document.d.ts.map +1 -0
- package/dist/extensions/citations/ieee/origin-document.js +25 -0
- package/dist/extensions/citations/ieee/origin-document.js.map +1 -0
- package/dist/extensions/citations/ieee/references.d.ts +60 -60
- package/dist/extensions/citations/ieee/relaxed.d.ts +60 -60
- package/dist/extensions/citations/ieee/relaxed.d.ts.map +1 -1
- package/dist/extensions/citations/ieee/relaxed.js +11 -1
- package/dist/extensions/citations/ieee/relaxed.js.map +1 -1
- package/dist/extensions/pipelines/base/finalize-response-v2.d.ts +24 -0
- package/dist/extensions/pipelines/base/finalize-response-v2.d.ts.map +1 -1
- package/dist/extensions/pipelines/base/finalize-response-v2.js +249 -8
- package/dist/extensions/pipelines/base/finalize-response-v2.js.map +1 -1
- package/dist/extensions/pipelines/base/index.d.ts +3 -1
- package/dist/extensions/pipelines/base/index.d.ts.map +1 -1
- package/dist/extensions/pipelines/base/index.js +2 -1
- package/dist/extensions/pipelines/base/index.js.map +1 -1
- package/dist/extensions/pipelines/base/source-anchors.d.ts +57 -0
- package/dist/extensions/pipelines/base/source-anchors.d.ts.map +1 -0
- package/dist/extensions/pipelines/base/source-anchors.js +174 -0
- package/dist/extensions/pipelines/base/source-anchors.js.map +1 -0
- package/dist/extensions/pipelines/ingestion/scholar/scholar.d.ts.map +1 -1
- package/dist/extensions/pipelines/ingestion/scholar/scholar.js +11 -1
- package/dist/extensions/pipelines/ingestion/scholar/scholar.js.map +1 -1
- package/dist/extensions/pipelines/ingestion/scribe/scribe.d.ts.map +1 -1
- package/dist/extensions/pipelines/ingestion/scribe/scribe.js +5 -0
- package/dist/extensions/pipelines/ingestion/scribe/scribe.js.map +1 -1
- package/dist/lib/consts.d.ts.map +1 -1
- package/dist/lib/consts.js +27 -0
- package/dist/lib/consts.js.map +1 -1
- package/dist/lib/core/argument-engine.d.ts +5 -3
- package/dist/lib/core/argument-engine.d.ts.map +1 -1
- package/dist/lib/core/argument-engine.js +7 -4
- package/dist/lib/core/argument-engine.js.map +1 -1
- package/dist/lib/core/interfaces/argument-engine.interfaces.d.ts +2 -1
- package/dist/lib/core/interfaces/argument-engine.interfaces.d.ts.map +1 -1
- package/dist/lib/core/interfaces/index.d.ts +1 -1
- package/dist/lib/core/interfaces/index.d.ts.map +1 -1
- package/dist/lib/core/interfaces/library.interfaces.d.ts +72 -1
- package/dist/lib/core/interfaces/library.interfaces.d.ts.map +1 -1
- package/dist/lib/core/origin-library.d.ts +127 -0
- package/dist/lib/core/origin-library.d.ts.map +1 -0
- package/dist/lib/core/origin-library.js +520 -0
- package/dist/lib/core/origin-library.js.map +1 -0
- package/dist/lib/core/premise-engine.d.ts.map +1 -1
- package/dist/lib/core/premise-engine.js +20 -3
- package/dist/lib/core/premise-engine.js.map +1 -1
- package/dist/lib/core/proposit-core.d.ts +15 -8
- package/dist/lib/core/proposit-core.d.ts.map +1 -1
- package/dist/lib/core/proposit-core.js +28 -3
- package/dist/lib/core/proposit-core.js.map +1 -1
- package/dist/lib/grammar/types.d.ts +2 -2
- package/dist/lib/grammar/types.d.ts.map +1 -1
- package/dist/lib/grammar/types.js +2 -1
- package/dist/lib/grammar/types.js.map +1 -1
- package/dist/lib/grammar/validators/presentable.d.ts +19 -0
- package/dist/lib/grammar/validators/presentable.d.ts.map +1 -1
- package/dist/lib/grammar/validators/presentable.js +57 -0
- package/dist/lib/grammar/validators/presentable.js.map +1 -1
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +3 -0
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/parsing/argument-parser.d.ts.map +1 -1
- package/dist/lib/parsing/argument-parser.js +7 -3
- package/dist/lib/parsing/argument-parser.js.map +1 -1
- package/dist/lib/schemata/index.d.ts +1 -0
- package/dist/lib/schemata/index.d.ts.map +1 -1
- package/dist/lib/schemata/index.js +1 -0
- package/dist/lib/schemata/index.js.map +1 -1
- package/dist/lib/schemata/origin.d.ts +48 -0
- package/dist/lib/schemata/origin.d.ts.map +1 -0
- package/dist/lib/schemata/origin.js +102 -0
- package/dist/lib/schemata/origin.js.map +1 -0
- package/dist/lib/schemata/propositional.d.ts +6 -0
- package/dist/lib/schemata/propositional.d.ts.map +1 -1
- package/dist/lib/schemata/propositional.js +13 -0
- package/dist/lib/schemata/propositional.js.map +1 -1
- package/dist/lib/schemata/shared.d.ts +14 -14
- package/dist/lib/schemata/shared.d.ts.map +1 -1
- package/dist/lib/schemata/shared.js +29 -26
- package/dist/lib/schemata/shared.js.map +1 -1
- package/dist/lib/types/checksum.d.ts +3 -0
- package/dist/lib/types/checksum.d.ts.map +1 -1
- package/dist/lib/types/validation.d.ts +19 -1
- package/dist/lib/types/validation.d.ts.map +1 -1
- package/dist/lib/types/validation.js +19 -0
- package/dist/lib/types/validation.js.map +1 -1
- package/dist/lib/utils/collections.d.ts +15 -0
- package/dist/lib/utils/collections.d.ts.map +1 -1
- package/dist/lib/utils/collections.js +17 -0
- package/dist/lib/utils/collections.js.map +1 -1
- package/dist/lib/utils/origin-text.d.ts +62 -0
- package/dist/lib/utils/origin-text.d.ts.map +1 -0
- package/dist/lib/utils/origin-text.js +204 -0
- package/dist/lib/utils/origin-text.js.map +1 -0
- package/dist/lib/utils/sha256.d.ts +6 -0
- package/dist/lib/utils/sha256.d.ts.map +1 -0
- package/dist/lib/utils/sha256.js +98 -0
- package/dist/lib/utils/sha256.js.map +1 -0
- package/package.json +4 -3
|
@@ -27,7 +27,7 @@ export declare const RelaxedWebsiteReferenceSchema: Type.TIntersect<[Type.TObjec
|
|
|
27
27
|
}>>;
|
|
28
28
|
pageTitle: Type.TString;
|
|
29
29
|
websiteTitle: Type.TString;
|
|
30
|
-
accessedDate:
|
|
30
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
31
31
|
url: Type.TString;
|
|
32
32
|
}>]>;
|
|
33
33
|
export type TRelaxedWebsiteReference = Static<typeof RelaxedWebsiteReferenceSchema>;
|
|
@@ -89,7 +89,7 @@ export declare const RelaxedStandardReferenceSchema: Type.TIntersect<[Type.TObje
|
|
|
89
89
|
organization: Type.TString;
|
|
90
90
|
standardNumber: Type.TString;
|
|
91
91
|
title: Type.TString;
|
|
92
|
-
date:
|
|
92
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
93
93
|
}>]>;
|
|
94
94
|
export type TRelaxedStandardReference = Static<typeof RelaxedStandardReferenceSchema>;
|
|
95
95
|
export declare const RelaxedThesisReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
@@ -120,7 +120,7 @@ export declare const RelaxedPatentReferenceSchema: Type.TIntersect<[Type.TObject
|
|
|
120
120
|
}>>;
|
|
121
121
|
country: Type.TString;
|
|
122
122
|
patentNumber: Type.TString;
|
|
123
|
-
date:
|
|
123
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
124
124
|
}>]>;
|
|
125
125
|
export type TRelaxedPatentReference = Static<typeof RelaxedPatentReferenceSchema>;
|
|
126
126
|
export declare const RelaxedDictionaryReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
@@ -189,7 +189,7 @@ export declare const RelaxedNewspaperArticleReferenceSchema: Type.TIntersect<[Ty
|
|
|
189
189
|
suffix: Type.TOptional<Type.TString>;
|
|
190
190
|
}>>;
|
|
191
191
|
newspaperTitle: Type.TString;
|
|
192
|
-
date:
|
|
192
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
193
193
|
pages: Type.TOptional<Type.TString>;
|
|
194
194
|
}>]>;
|
|
195
195
|
export type TRelaxedNewspaperArticleReference = Static<typeof RelaxedNewspaperArticleReferenceSchema>;
|
|
@@ -205,7 +205,7 @@ export declare const RelaxedConferencePaperReferenceSchema: Type.TIntersect<[Typ
|
|
|
205
205
|
}>>;
|
|
206
206
|
conferenceName: Type.TString;
|
|
207
207
|
location: Type.TString;
|
|
208
|
-
date:
|
|
208
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
209
209
|
pages: Type.TOptional<Type.TString>;
|
|
210
210
|
doi: Type.TOptional<Type.TString>;
|
|
211
211
|
}>]>;
|
|
@@ -221,7 +221,7 @@ export declare const RelaxedConferenceProceedingsReferenceSchema: Type.TIntersec
|
|
|
221
221
|
}>>>;
|
|
222
222
|
conferenceName: Type.TString;
|
|
223
223
|
location: Type.TString;
|
|
224
|
-
date:
|
|
224
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
225
225
|
publisher: Type.TString;
|
|
226
226
|
isbn: Type.TOptional<Type.TString>;
|
|
227
227
|
}>]>;
|
|
@@ -272,7 +272,7 @@ export declare const RelaxedOnlineDocumentReferenceSchema: Type.TIntersect<[Type
|
|
|
272
272
|
title: Type.TString;
|
|
273
273
|
publisher: Type.TOptional<Type.TString>;
|
|
274
274
|
url: Type.TString;
|
|
275
|
-
accessedDate:
|
|
275
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
276
276
|
}>]>;
|
|
277
277
|
export type TRelaxedOnlineDocumentReference = Static<typeof RelaxedOnlineDocumentReferenceSchema>;
|
|
278
278
|
export declare const RelaxedBlogReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
@@ -286,9 +286,9 @@ export declare const RelaxedBlogReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
|
286
286
|
}>;
|
|
287
287
|
postTitle: Type.TString;
|
|
288
288
|
blogName: Type.TString;
|
|
289
|
-
date:
|
|
289
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
290
290
|
url: Type.TString;
|
|
291
|
-
accessedDate:
|
|
291
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
292
292
|
}>]>;
|
|
293
293
|
export type TRelaxedBlogReference = Static<typeof RelaxedBlogReferenceSchema>;
|
|
294
294
|
export declare const RelaxedSocialMediaReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
@@ -301,7 +301,7 @@ export declare const RelaxedSocialMediaReferenceSchema: Type.TIntersect<[Type.TO
|
|
|
301
301
|
suffix: Type.TOptional<Type.TString>;
|
|
302
302
|
}>;
|
|
303
303
|
platform: Type.TString;
|
|
304
|
-
postDate:
|
|
304
|
+
postDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
305
305
|
url: Type.TString;
|
|
306
306
|
}>]>;
|
|
307
307
|
export type TRelaxedSocialMediaReference = Static<typeof RelaxedSocialMediaReferenceSchema>;
|
|
@@ -331,10 +331,10 @@ export declare const RelaxedVideoReferenceSchema: Type.TIntersect<[Type.TObject<
|
|
|
331
331
|
familyName: Type.TString;
|
|
332
332
|
suffix: Type.TOptional<Type.TString>;
|
|
333
333
|
}>>>;
|
|
334
|
-
releaseDate: Type.TOptional<
|
|
334
|
+
releaseDate: Type.TOptional<Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>>;
|
|
335
335
|
platform: Type.TString;
|
|
336
336
|
url: Type.TString;
|
|
337
|
-
accessedDate:
|
|
337
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
338
338
|
}>]>;
|
|
339
339
|
export type TRelaxedVideoReference = Static<typeof RelaxedVideoReferenceSchema>;
|
|
340
340
|
export declare const RelaxedPodcastReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
@@ -350,7 +350,7 @@ export declare const RelaxedPodcastReferenceSchema: Type.TIntersect<[Type.TObjec
|
|
|
350
350
|
seriesTitle: Type.TString;
|
|
351
351
|
platform: Type.TString;
|
|
352
352
|
url: Type.TString;
|
|
353
|
-
accessedDate:
|
|
353
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
354
354
|
}>]>;
|
|
355
355
|
export type TRelaxedPodcastReference = Static<typeof RelaxedPodcastReferenceSchema>;
|
|
356
356
|
export declare const RelaxedCourseReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
@@ -381,7 +381,7 @@ export declare const RelaxedPresentationReferenceSchema: Type.TIntersect<[Type.T
|
|
|
381
381
|
}>;
|
|
382
382
|
eventTitle: Type.TString;
|
|
383
383
|
location: Type.TString;
|
|
384
|
-
date:
|
|
384
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
385
385
|
}>]>;
|
|
386
386
|
export type TRelaxedPresentationReference = Static<typeof RelaxedPresentationReferenceSchema>;
|
|
387
387
|
export declare const RelaxedInterviewReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
@@ -398,7 +398,7 @@ export declare const RelaxedInterviewReferenceSchema: Type.TIntersect<[Type.TObj
|
|
|
398
398
|
familyName: Type.TString;
|
|
399
399
|
suffix: Type.TOptional<Type.TString>;
|
|
400
400
|
}>>;
|
|
401
|
-
date:
|
|
401
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
402
402
|
}>]>;
|
|
403
403
|
export type TRelaxedInterviewReference = Static<typeof RelaxedInterviewReferenceSchema>;
|
|
404
404
|
export declare const RelaxedPersonalCommunicationReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
@@ -410,7 +410,7 @@ export declare const RelaxedPersonalCommunicationReferenceSchema: Type.TIntersec
|
|
|
410
410
|
familyName: Type.TString;
|
|
411
411
|
suffix: Type.TOptional<Type.TString>;
|
|
412
412
|
}>;
|
|
413
|
-
date:
|
|
413
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
414
414
|
}>]>;
|
|
415
415
|
export type TRelaxedPersonalCommunicationReference = Static<typeof RelaxedPersonalCommunicationReferenceSchema>;
|
|
416
416
|
export declare const RelaxedEmailReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
@@ -427,7 +427,7 @@ export declare const RelaxedEmailReferenceSchema: Type.TIntersect<[Type.TObject<
|
|
|
427
427
|
familyName: Type.TString;
|
|
428
428
|
suffix: Type.TOptional<Type.TString>;
|
|
429
429
|
}>;
|
|
430
|
-
date:
|
|
430
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
431
431
|
}>]>;
|
|
432
432
|
export type TRelaxedEmailReference = Static<typeof RelaxedEmailReferenceSchema>;
|
|
433
433
|
export declare const RelaxedLawReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
@@ -436,7 +436,7 @@ export declare const RelaxedLawReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
|
436
436
|
type: Type.TLiteral<"Law">;
|
|
437
437
|
title: Type.TString;
|
|
438
438
|
jurisdiction: Type.TString;
|
|
439
|
-
dateEnacted:
|
|
439
|
+
dateEnacted: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
440
440
|
}>]>;
|
|
441
441
|
export type TRelaxedLawReference = Static<typeof RelaxedLawReferenceSchema>;
|
|
442
442
|
export declare const RelaxedCourtCaseReferenceSchema: Type.TIntersect<[Type.TObject<{
|
|
@@ -445,7 +445,7 @@ export declare const RelaxedCourtCaseReferenceSchema: Type.TIntersect<[Type.TObj
|
|
|
445
445
|
type: Type.TLiteral<"CourtCase">;
|
|
446
446
|
caseName: Type.TString;
|
|
447
447
|
court: Type.TString;
|
|
448
|
-
date:
|
|
448
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
449
449
|
reporter: Type.TOptional<Type.TString>;
|
|
450
450
|
}>]>;
|
|
451
451
|
export type TRelaxedCourtCaseReference = Static<typeof RelaxedCourtCaseReferenceSchema>;
|
|
@@ -454,7 +454,7 @@ export declare const RelaxedGovernmentPublicationReferenceSchema: Type.TIntersec
|
|
|
454
454
|
}>, Type.TObject<{
|
|
455
455
|
type: Type.TLiteral<"GovernmentPublication">;
|
|
456
456
|
title: Type.TString;
|
|
457
|
-
date:
|
|
457
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
458
458
|
authors: Type.TOptional<Type.TArray<Type.TObject<{
|
|
459
459
|
givenNames: Type.TString;
|
|
460
460
|
familyName: Type.TString;
|
|
@@ -513,7 +513,7 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
513
513
|
}>>;
|
|
514
514
|
pageTitle: Type.TString;
|
|
515
515
|
websiteTitle: Type.TString;
|
|
516
|
-
accessedDate:
|
|
516
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
517
517
|
url: Type.TString;
|
|
518
518
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
519
519
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -567,7 +567,7 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
567
567
|
organization: Type.TString;
|
|
568
568
|
standardNumber: Type.TString;
|
|
569
569
|
title: Type.TString;
|
|
570
|
-
date:
|
|
570
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
571
571
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
572
572
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
573
573
|
}>, Type.TObject<{
|
|
@@ -594,7 +594,7 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
594
594
|
}>>;
|
|
595
595
|
country: Type.TString;
|
|
596
596
|
patentNumber: Type.TString;
|
|
597
|
-
date:
|
|
597
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
598
598
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
599
599
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
600
600
|
}>, Type.TObject<{
|
|
@@ -653,7 +653,7 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
653
653
|
suffix: Type.TOptional<Type.TString>;
|
|
654
654
|
}>>;
|
|
655
655
|
newspaperTitle: Type.TString;
|
|
656
|
-
date:
|
|
656
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
657
657
|
pages: Type.TOptional<Type.TString>;
|
|
658
658
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
659
659
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -667,7 +667,7 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
667
667
|
}>>;
|
|
668
668
|
conferenceName: Type.TString;
|
|
669
669
|
location: Type.TString;
|
|
670
|
-
date:
|
|
670
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
671
671
|
pages: Type.TOptional<Type.TString>;
|
|
672
672
|
doi: Type.TOptional<Type.TString>;
|
|
673
673
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
@@ -681,7 +681,7 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
681
681
|
}>>>;
|
|
682
682
|
conferenceName: Type.TString;
|
|
683
683
|
location: Type.TString;
|
|
684
|
-
date:
|
|
684
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
685
685
|
publisher: Type.TString;
|
|
686
686
|
isbn: Type.TOptional<Type.TString>;
|
|
687
687
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
@@ -726,7 +726,7 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
726
726
|
title: Type.TString;
|
|
727
727
|
publisher: Type.TOptional<Type.TString>;
|
|
728
728
|
url: Type.TString;
|
|
729
|
-
accessedDate:
|
|
729
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
730
730
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
731
731
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
732
732
|
}>, Type.TObject<{
|
|
@@ -738,9 +738,9 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
738
738
|
}>;
|
|
739
739
|
postTitle: Type.TString;
|
|
740
740
|
blogName: Type.TString;
|
|
741
|
-
date:
|
|
741
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
742
742
|
url: Type.TString;
|
|
743
|
-
accessedDate:
|
|
743
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
744
744
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
745
745
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
746
746
|
}>, Type.TObject<{
|
|
@@ -751,7 +751,7 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
751
751
|
suffix: Type.TOptional<Type.TString>;
|
|
752
752
|
}>;
|
|
753
753
|
platform: Type.TString;
|
|
754
|
-
postDate:
|
|
754
|
+
postDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
755
755
|
url: Type.TString;
|
|
756
756
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
757
757
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -777,10 +777,10 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
777
777
|
familyName: Type.TString;
|
|
778
778
|
suffix: Type.TOptional<Type.TString>;
|
|
779
779
|
}>>>;
|
|
780
|
-
releaseDate: Type.TOptional<
|
|
780
|
+
releaseDate: Type.TOptional<Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>>;
|
|
781
781
|
platform: Type.TString;
|
|
782
782
|
url: Type.TString;
|
|
783
|
-
accessedDate:
|
|
783
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
784
784
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
785
785
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
786
786
|
}>, Type.TObject<{
|
|
@@ -794,7 +794,7 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
794
794
|
seriesTitle: Type.TString;
|
|
795
795
|
platform: Type.TString;
|
|
796
796
|
url: Type.TString;
|
|
797
|
-
accessedDate:
|
|
797
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
798
798
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
799
799
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
800
800
|
}>, Type.TObject<{
|
|
@@ -821,7 +821,7 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
821
821
|
}>;
|
|
822
822
|
eventTitle: Type.TString;
|
|
823
823
|
location: Type.TString;
|
|
824
|
-
date:
|
|
824
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
825
825
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
826
826
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
827
827
|
}>, Type.TObject<{
|
|
@@ -836,7 +836,7 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
836
836
|
familyName: Type.TString;
|
|
837
837
|
suffix: Type.TOptional<Type.TString>;
|
|
838
838
|
}>>;
|
|
839
|
-
date:
|
|
839
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
840
840
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
841
841
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
842
842
|
}>, Type.TObject<{
|
|
@@ -846,7 +846,7 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
846
846
|
familyName: Type.TString;
|
|
847
847
|
suffix: Type.TOptional<Type.TString>;
|
|
848
848
|
}>;
|
|
849
|
-
date:
|
|
849
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
850
850
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
851
851
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
852
852
|
}>, Type.TObject<{
|
|
@@ -861,28 +861,28 @@ export declare const IEEEReferenceSchemaRelaxed: Type.TUnion<[Type.TIntersect<[T
|
|
|
861
861
|
familyName: Type.TString;
|
|
862
862
|
suffix: Type.TOptional<Type.TString>;
|
|
863
863
|
}>;
|
|
864
|
-
date:
|
|
864
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
865
865
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
866
866
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
867
867
|
}>, Type.TObject<{
|
|
868
868
|
type: Type.TLiteral<"Law">;
|
|
869
869
|
title: Type.TString;
|
|
870
870
|
jurisdiction: Type.TString;
|
|
871
|
-
dateEnacted:
|
|
871
|
+
dateEnacted: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
872
872
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
873
873
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
874
874
|
}>, Type.TObject<{
|
|
875
875
|
type: Type.TLiteral<"CourtCase">;
|
|
876
876
|
caseName: Type.TString;
|
|
877
877
|
court: Type.TString;
|
|
878
|
-
date:
|
|
878
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
879
879
|
reporter: Type.TOptional<Type.TString>;
|
|
880
880
|
}>]>, Type.TIntersect<[Type.TObject<{
|
|
881
881
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
882
882
|
}>, Type.TObject<{
|
|
883
883
|
type: Type.TLiteral<"GovernmentPublication">;
|
|
884
884
|
title: Type.TString;
|
|
885
|
-
date:
|
|
885
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
886
886
|
authors: Type.TOptional<Type.TArray<Type.TObject<{
|
|
887
887
|
givenNames: Type.TString;
|
|
888
888
|
familyName: Type.TString;
|
|
@@ -939,7 +939,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
939
939
|
}>>;
|
|
940
940
|
pageTitle: Type.TString;
|
|
941
941
|
websiteTitle: Type.TString;
|
|
942
|
-
accessedDate:
|
|
942
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
943
943
|
url: Type.TString;
|
|
944
944
|
}>]>;
|
|
945
945
|
readonly BookChapter: Type.TIntersect<[Type.TObject<{
|
|
@@ -997,7 +997,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
997
997
|
organization: Type.TString;
|
|
998
998
|
standardNumber: Type.TString;
|
|
999
999
|
title: Type.TString;
|
|
1000
|
-
date:
|
|
1000
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1001
1001
|
}>]>;
|
|
1002
1002
|
readonly Thesis: Type.TIntersect<[Type.TObject<{
|
|
1003
1003
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -1026,7 +1026,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1026
1026
|
}>>;
|
|
1027
1027
|
country: Type.TString;
|
|
1028
1028
|
patentNumber: Type.TString;
|
|
1029
|
-
date:
|
|
1029
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1030
1030
|
}>]>;
|
|
1031
1031
|
readonly Dictionary: Type.TIntersect<[Type.TObject<{
|
|
1032
1032
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -1090,7 +1090,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1090
1090
|
suffix: Type.TOptional<Type.TString>;
|
|
1091
1091
|
}>>;
|
|
1092
1092
|
newspaperTitle: Type.TString;
|
|
1093
|
-
date:
|
|
1093
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1094
1094
|
pages: Type.TOptional<Type.TString>;
|
|
1095
1095
|
}>]>;
|
|
1096
1096
|
readonly ConferencePaper: Type.TIntersect<[Type.TObject<{
|
|
@@ -1105,7 +1105,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1105
1105
|
}>>;
|
|
1106
1106
|
conferenceName: Type.TString;
|
|
1107
1107
|
location: Type.TString;
|
|
1108
|
-
date:
|
|
1108
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1109
1109
|
pages: Type.TOptional<Type.TString>;
|
|
1110
1110
|
doi: Type.TOptional<Type.TString>;
|
|
1111
1111
|
}>]>;
|
|
@@ -1120,7 +1120,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1120
1120
|
}>>>;
|
|
1121
1121
|
conferenceName: Type.TString;
|
|
1122
1122
|
location: Type.TString;
|
|
1123
|
-
date:
|
|
1123
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1124
1124
|
publisher: Type.TString;
|
|
1125
1125
|
isbn: Type.TOptional<Type.TString>;
|
|
1126
1126
|
}>]>;
|
|
@@ -1168,7 +1168,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1168
1168
|
title: Type.TString;
|
|
1169
1169
|
publisher: Type.TOptional<Type.TString>;
|
|
1170
1170
|
url: Type.TString;
|
|
1171
|
-
accessedDate:
|
|
1171
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1172
1172
|
}>]>;
|
|
1173
1173
|
readonly Blog: Type.TIntersect<[Type.TObject<{
|
|
1174
1174
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -1181,9 +1181,9 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1181
1181
|
}>;
|
|
1182
1182
|
postTitle: Type.TString;
|
|
1183
1183
|
blogName: Type.TString;
|
|
1184
|
-
date:
|
|
1184
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1185
1185
|
url: Type.TString;
|
|
1186
|
-
accessedDate:
|
|
1186
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1187
1187
|
}>]>;
|
|
1188
1188
|
readonly SocialMedia: Type.TIntersect<[Type.TObject<{
|
|
1189
1189
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -1195,7 +1195,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1195
1195
|
suffix: Type.TOptional<Type.TString>;
|
|
1196
1196
|
}>;
|
|
1197
1197
|
platform: Type.TString;
|
|
1198
|
-
postDate:
|
|
1198
|
+
postDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1199
1199
|
url: Type.TString;
|
|
1200
1200
|
}>]>;
|
|
1201
1201
|
readonly Preprint: Type.TIntersect<[Type.TObject<{
|
|
@@ -1223,10 +1223,10 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1223
1223
|
familyName: Type.TString;
|
|
1224
1224
|
suffix: Type.TOptional<Type.TString>;
|
|
1225
1225
|
}>>>;
|
|
1226
|
-
releaseDate: Type.TOptional<
|
|
1226
|
+
releaseDate: Type.TOptional<Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>>;
|
|
1227
1227
|
platform: Type.TString;
|
|
1228
1228
|
url: Type.TString;
|
|
1229
|
-
accessedDate:
|
|
1229
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1230
1230
|
}>]>;
|
|
1231
1231
|
readonly Podcast: Type.TIntersect<[Type.TObject<{
|
|
1232
1232
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -1241,7 +1241,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1241
1241
|
seriesTitle: Type.TString;
|
|
1242
1242
|
platform: Type.TString;
|
|
1243
1243
|
url: Type.TString;
|
|
1244
|
-
accessedDate:
|
|
1244
|
+
accessedDate: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1245
1245
|
}>]>;
|
|
1246
1246
|
readonly Course: Type.TIntersect<[Type.TObject<{
|
|
1247
1247
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -1270,7 +1270,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1270
1270
|
}>;
|
|
1271
1271
|
eventTitle: Type.TString;
|
|
1272
1272
|
location: Type.TString;
|
|
1273
|
-
date:
|
|
1273
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1274
1274
|
}>]>;
|
|
1275
1275
|
readonly Interview: Type.TIntersect<[Type.TObject<{
|
|
1276
1276
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -1286,7 +1286,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1286
1286
|
familyName: Type.TString;
|
|
1287
1287
|
suffix: Type.TOptional<Type.TString>;
|
|
1288
1288
|
}>>;
|
|
1289
|
-
date:
|
|
1289
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1290
1290
|
}>]>;
|
|
1291
1291
|
readonly PersonalCommunication: Type.TIntersect<[Type.TObject<{
|
|
1292
1292
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -1297,7 +1297,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1297
1297
|
familyName: Type.TString;
|
|
1298
1298
|
suffix: Type.TOptional<Type.TString>;
|
|
1299
1299
|
}>;
|
|
1300
|
-
date:
|
|
1300
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1301
1301
|
}>]>;
|
|
1302
1302
|
readonly Email: Type.TIntersect<[Type.TObject<{
|
|
1303
1303
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -1313,7 +1313,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1313
1313
|
familyName: Type.TString;
|
|
1314
1314
|
suffix: Type.TOptional<Type.TString>;
|
|
1315
1315
|
}>;
|
|
1316
|
-
date:
|
|
1316
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1317
1317
|
}>]>;
|
|
1318
1318
|
readonly Law: Type.TIntersect<[Type.TObject<{
|
|
1319
1319
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -1321,7 +1321,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1321
1321
|
type: Type.TLiteral<"Law">;
|
|
1322
1322
|
title: Type.TString;
|
|
1323
1323
|
jurisdiction: Type.TString;
|
|
1324
|
-
dateEnacted:
|
|
1324
|
+
dateEnacted: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1325
1325
|
}>]>;
|
|
1326
1326
|
readonly CourtCase: Type.TIntersect<[Type.TObject<{
|
|
1327
1327
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">]>;
|
|
@@ -1329,7 +1329,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1329
1329
|
type: Type.TLiteral<"CourtCase">;
|
|
1330
1330
|
caseName: Type.TString;
|
|
1331
1331
|
court: Type.TString;
|
|
1332
|
-
date:
|
|
1332
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1333
1333
|
reporter: Type.TOptional<Type.TString>;
|
|
1334
1334
|
}>]>;
|
|
1335
1335
|
readonly GovernmentPublication: Type.TIntersect<[Type.TObject<{
|
|
@@ -1337,7 +1337,7 @@ export declare const IEEEReferenceSchemaMapRelaxed: {
|
|
|
1337
1337
|
}>, Type.TObject<{
|
|
1338
1338
|
type: Type.TLiteral<"GovernmentPublication">;
|
|
1339
1339
|
title: Type.TString;
|
|
1340
|
-
date:
|
|
1340
|
+
date: Type.TCodec<Type.TRefine<Type.TUnsafe<Date>>, Date>;
|
|
1341
1341
|
authors: Type.TOptional<Type.TArray<Type.TObject<{
|
|
1342
1342
|
givenNames: Type.TString;
|
|
1343
1343
|
familyName: Type.TString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relaxed.d.ts","sourceRoot":"","sources":["../../../../src/extensions/citations/ieee/relaxed.ts"],"names":[],"mappings":"AAIA,OAAO,IAAI,EAAE,EAAE,KAAK,MAAM,EAAgB,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"relaxed.d.ts","sourceRoot":"","sources":["../../../../src/extensions/citations/ieee/relaxed.ts"],"names":[],"mappings":"AA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCU,CAAA"}
|
|
@@ -32,7 +32,7 @@ function cloneAndStrip(value) {
|
|
|
32
32
|
return value.map(cloneAndStrip);
|
|
33
33
|
}
|
|
34
34
|
if (!isPlainObject(value)) {
|
|
35
|
-
return value;
|
|
35
|
+
return value;
|
|
36
36
|
}
|
|
37
37
|
const result = {};
|
|
38
38
|
for (const [k, v] of Object.entries(value)) {
|
|
@@ -40,6 +40,16 @@ function cloneAndStrip(value) {
|
|
|
40
40
|
continue;
|
|
41
41
|
result[k] = cloneAndStrip(v);
|
|
42
42
|
}
|
|
43
|
+
// TypeBox records a type's behavior (refinements, codecs, modifiers) on
|
|
44
|
+
// non-enumerable keys that `Object.entries` cannot see. Carry those over
|
|
45
|
+
// verbatim so a stripped schema still checks and decodes like its source —
|
|
46
|
+
// dropping them would leave e.g. a date field matching any value at all.
|
|
47
|
+
for (const key of Reflect.ownKeys(value)) {
|
|
48
|
+
const descriptor = Object.getOwnPropertyDescriptor(value, key);
|
|
49
|
+
if (descriptor === undefined || descriptor.enumerable)
|
|
50
|
+
continue;
|
|
51
|
+
Object.defineProperty(result, key, descriptor);
|
|
52
|
+
}
|
|
43
53
|
return result;
|
|
44
54
|
}
|
|
45
55
|
function stripConstraints(schema) {
|