tangled
alpha
login
or
join now
teal.fm
/
teal
110
fork
atom
Your music, beautifully tracked. All yours. (coming soon)
teal.fm
teal-fm
atproto
110
fork
atom
overview
issues
pulls
pipelines
fix ref on actor status lexicon
Natalie
1 year ago
104dae2b
7bb65f43
+8
-5
4 changed files
expand all
collapse all
unified
split
packages
jetstring
src
index.ts
lexicons
real
fm
teal
alpha
actor
status.json
src
lexicons.ts
types
fm
teal
alpha
actor
status.ts
+1
-1
packages/jetstring/src/index.ts
···
11
import {
12
Record as FmTealAlphaPlay,
13
isRecord as isTealAlphaPlay,
14
-
} from "@teal/lexicons/src/types/fm/teal/alpha/play";
15
16
class Handler {
17
private static instance: Handler;
···
11
import {
12
Record as FmTealAlphaPlay,
13
isRecord as isTealAlphaPlay,
14
+
} from "@teal/lexicons/src/types/fm/teal/alpha/feed/play";
15
16
class Handler {
17
private static instance: Handler;
+4
-1
packages/lexicons/real/fm/teal/alpha/actor/status.json
···
15
"format": "datetime",
16
"description": "The unix timestamp of when the item was recorded"
17
},
18
-
"item": { "type": "union", "refs": ["fm.teal.alpha.play#record"] }
0
0
0
19
}
20
}
21
}
···
15
"format": "datetime",
16
"description": "The unix timestamp of when the item was recorded"
17
},
18
+
"item": {
19
+
"type": "union",
20
+
"refs": ["fm.teal.alpha.feed.play#record"]
21
+
}
22
}
23
}
24
}
+1
-1
packages/lexicons/src/lexicons.ts
···
236
},
237
item: {
238
type: 'union',
239
-
refs: ['lex:fm.teal.alpha.play#record'],
240
},
241
},
242
},
···
236
},
237
item: {
238
type: 'union',
239
+
refs: ['lex:fm.teal.alpha.feed.play#record'],
240
},
241
},
242
},
+2
-2
packages/lexicons/src/types/fm/teal/alpha/actor/status.ts
···
5
import { lexicons } from '../../../../../lexicons'
6
import { isObj, hasProp } from '../../../../../util'
7
import { CID } from 'multiformats/cid'
8
-
import * as FmTealAlphaPlay from '../play'
9
10
export interface Record {
11
/** The unix timestamp of when the item was recorded */
12
time: string
13
-
item: FmTealAlphaPlay.Record | { $type: string; [k: string]: unknown }
14
[k: string]: unknown
15
}
16
···
5
import { lexicons } from '../../../../../lexicons'
6
import { isObj, hasProp } from '../../../../../util'
7
import { CID } from 'multiformats/cid'
8
+
import * as FmTealAlphaFeedPlay from '../feed/play'
9
10
export interface Record {
11
/** The unix timestamp of when the item was recorded */
12
time: string
13
+
item: FmTealAlphaFeedPlay.Record | { $type: string; [k: string]: unknown }
14
[k: string]: unknown
15
}
16