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
···
0
0
0
0
0
···
1
+
---
2
+
"prototypey": patch
3
+
---
4
+
5
+
fix for type of record key and description hint
+7
-2
packages/prototypey/core/lib.ts
···
38
required?: boolean;
39
/** Indicates this field can be explicitly set to null */
40
nullable?: boolean;
0
0
41
}
42
43
/**
···
172
* @see https://atproto.com/specs/lexicon#record
173
*/
174
interface RecordOptions {
175
-
/** Record key strategy: "self" for self-describing or "tid" for timestamp IDs */
176
-
key: "self" | "tid";
0
0
0
177
/** Object schema defining the record structure */
178
record: { type: "object" };
179
/** Human-readable description */
···
38
required?: boolean;
39
/** Indicates this field can be explicitly set to null */
40
nullable?: boolean;
41
+
/** Human-readable description */
42
+
description?: string;
43
}
44
45
/**
···
174
* @see https://atproto.com/specs/lexicon#record
175
*/
176
interface RecordOptions {
177
+
/**
178
+
* Record key strategy: "self" for self-describing or "tid" for timestamp IDs
179
+
* @see https://atproto.com/specs/record-key
180
+
*/
181
+
key: string;
182
/** Object schema defining the record structure */
183
record: { type: "object" };
184
/** Human-readable description */