Skip to content

Commit 6d64382

Browse files
feat: describe Services
1 parent 0f36a3d commit 6d64382

File tree

3 files changed

+1201
-1
lines changed

3 files changed

+1201
-1
lines changed

describe.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { LNodeType, LNodeTypeDescription } from "./describe/LNodeType.js";
88
import { LN, LNDescription } from "./describe/LN.js";
99
import { LN0, LN0Description } from "./describe/LN0.js";
1010
import { Server, ServerDescription } from "./describe/Server.js";
11+
import { Services, ServicesDescription } from "./describe/Services.js";
1112

1213
export type Description =
1314
| PrivateDescription
@@ -20,7 +21,8 @@ export type Description =
2021
| LNDescription
2122
| LN0Description
2223
| LDeviceDescription
23-
| ServerDescription;
24+
| ServerDescription
25+
| ServicesDescription;
2426
const sclElementDescriptors: Partial<
2527
Record<string, (element: Element) => Description | undefined>
2628
> = {
@@ -34,6 +36,7 @@ const sclElementDescriptors: Partial<
3436
LN0,
3537
LDevice,
3638
Server,
39+
Services,
3740
};
3841

3942
export function describe(element: Element): Description | undefined {

0 commit comments

Comments
 (0)