tangled
alpha
login
or
join now
tylur.dev
/
prototypey
prototypey.org - atproto lexicon typescript toolkit - mirror https://github.com/tylersayshi/prototypey
1
fork
atom
overview
issues
pulls
pipelines
fix for type of record key and description hint
Tyler
3 months ago
3329654c
b94eeeed
+12
-2
2 changed files
expand all
collapse all
unified
split
.changeset
upset-lizards-wash.md
packages
prototypey
core
lib.ts
+5
.changeset/upset-lizards-wash.md
···
1
1
+
---
2
2
+
"prototypey": patch
3
3
+
---
4
4
+
5
5
+
fix for type of record key and description hint
+7
-2
packages/prototypey/core/lib.ts
···
38
38
required?: boolean;
39
39
/** Indicates this field can be explicitly set to null */
40
40
nullable?: boolean;
41
41
+
/** Human-readable description */
42
42
+
description?: string;
41
43
}
42
44
43
45
/**
···
172
174
* @see https://atproto.com/specs/lexicon#record
173
175
*/
174
176
interface RecordOptions {
175
175
-
/** Record key strategy: "self" for self-describing or "tid" for timestamp IDs */
176
176
-
key: "self" | "tid";
177
177
+
/**
178
178
+
* Record key strategy: "self" for self-describing or "tid" for timestamp IDs
179
179
+
* @see https://atproto.com/specs/record-key
180
180
+
*/
181
181
+
key: string;
177
182
/** Object schema defining the record structure */
178
183
record: { type: "object" };
179
184
/** Human-readable description */