Skip to content

Commit e0764c2

Browse files
committed
fix(docs-gen): publish the actor types on the actors page
ActorRef, Connection, ActorConnectOptions and ActorRegistry were absent from types-to-expose.json, so every method on the actors module was stripped before rendering and the page had nowhere to put them. Exposes them and appends them into the actors page, matching how connectors and entities carry their supporting types, so the nav keeps listing only modules. ActorSubscription and ActorClient stay unexposed: ActorSubscription already renders inline as the return type of subscribe() and appending it too produced a duplicate unsubscribe() section. Also drops the actors suppression added while the JSDoc was missing.
1 parent e409caa commit e0764c2

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

scripts/mintlify-post-processing/appended-articles.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"interfaces/ConnectorApiResponse",
88
"type-aliases/ConnectorApiResponsePhase"
99
],
10-
"interfaces/AppModule": ["interfaces/AppPublicSettingsResponse"],
10+
"interfaces/AppModule": [
11+
"interfaces/AppPublicSettingsResponse"
12+
],
1113
"type-aliases/EntitiesModule": [
1214
"interfaces/EntityHandler",
1315
"type-aliases/EntityRecord",
@@ -25,5 +27,11 @@
2527
"type-aliases/integrations": [
2628
"interfaces/CoreIntegrations",
2729
"interfaces/CustomIntegrationsModule"
30+
],
31+
"type-aliases/ActorsModule": [
32+
"interfaces/ActorRef",
33+
"interfaces/Connection",
34+
"interfaces/ActorConnectOptions",
35+
"interfaces/ActorRegistry"
2836
]
2937
}

scripts/mintlify-post-processing/types-to-delete-after-processing.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[
2-
"actors",
32
"AiGatewayConnection",
43
"DeleteManyResult",
54
"DeleteResult",

scripts/mintlify-post-processing/types-to-expose.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
[
2+
"ActorConnectOptions",
3+
"ActorRef",
4+
"ActorRegistry",
5+
"ActorsModule",
26
"AgentName",
37
"AgentNameRegistry",
48
"AgentsModule",
@@ -9,12 +13,14 @@
913
"AppModule",
1014
"AppPublicSettingsResponse",
1115
"AuthModule",
16+
"Connection",
1217
"ConnectorApiRequest",
1318
"ConnectorApiResponse",
1419
"ConnectorApiResponsePhase",
1520
"ConnectorIntegrationType",
1621
"ConnectorIntegrationTypeRegistry",
1722
"ConnectorsModule",
23+
"CoreIntegrations",
1824
"CustomIntegrationsModule",
1925
"DeleteManyResult",
2026
"DeleteResult",
@@ -27,7 +33,6 @@
2733
"FunctionsModule",
2834
"ImportResult",
2935
"IntegrationsModule",
30-
"CoreIntegrations",
3136
"SortField",
3237
"SsoModule",
3338
"UpdateManyResult"

0 commit comments

Comments
 (0)