Skip to content

Commit 635b9cb

Browse files
committed
Temporarily add missing types that Fern is not processing
1 parent 5468da5 commit 635b9cb

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.fernignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ src/core/auth/StaticTokenProvider.ts
3636
src/core/auth/TokenProvider.ts
3737

3838
# Custom configuration props files
39+
src/api/types/ConfigurablePropType.ts
3940
src/api/types/ConfiguredProps.ts
41+
src/serialization/types/ConfigurablePropType.ts
4042
src/serialization/types/ConfiguredProps.ts
4143

4244
# Custom Proxy files

src/api/types/ConfigurablePropType.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export type ConfigurablePropType =
88
| "$.airtable.tableId"
99
| "$.airtable.viewId"
1010
| "$.discord.channel"
11+
| "$.discord.channel[]"
1112
| "$.interface.apphook"
1213
| "$.interface.http"
1314
| "$.interface.timer"
@@ -20,15 +21,18 @@ export type ConfigurablePropType =
2021
| "dir"
2122
| "http_request"
2223
| "integer"
24+
| "integer[]"
2325
| "object"
2426
| "sql"
25-
| "string";
27+
| "string"
28+
| "string[]";
2629
export const ConfigurablePropType = {
2730
AirtableBaseId: "$.airtable.baseId",
2831
AirtableFieldId: "$.airtable.fieldId",
2932
AirtableTableId: "$.airtable.tableId",
3033
AirtableViewId: "$.airtable.viewId",
3134
DiscordChannel: "$.discord.channel",
35+
DiscordChannelArray: "$.discord.channel[]",
3236
InterfaceApphook: "$.interface.apphook",
3337
InterfaceHttp: "$.interface.http",
3438
InterfaceTimer: "$.interface.timer",
@@ -41,7 +45,9 @@ export const ConfigurablePropType = {
4145
Dir: "dir",
4246
HttpRequest: "http_request",
4347
Integer: "integer",
48+
IntegerArray: "integer[]",
4449
Object: "object",
4550
Sql: "sql",
4651
String: "string",
52+
StringArray: "string[]",
4753
} as const;

src/serialization/types/ConfigurablePropType.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const ConfigurablePropType: core.serialization.Schema<
1515
"$.airtable.tableId",
1616
"$.airtable.viewId",
1717
"$.discord.channel",
18+
"$.discord.channel[]",
1819
"$.interface.apphook",
1920
"$.interface.http",
2021
"$.interface.timer",
@@ -27,9 +28,11 @@ export const ConfigurablePropType: core.serialization.Schema<
2728
"dir",
2829
"http_request",
2930
"integer",
31+
"integer[]",
3032
"object",
3133
"sql",
3234
"string",
35+
"string[]",
3336
]);
3437

3538
export declare namespace ConfigurablePropType {
@@ -39,6 +42,7 @@ export declare namespace ConfigurablePropType {
3942
| "$.airtable.tableId"
4043
| "$.airtable.viewId"
4144
| "$.discord.channel"
45+
| "$.discord.channel[]"
4246
| "$.interface.apphook"
4347
| "$.interface.http"
4448
| "$.interface.timer"
@@ -51,7 +55,9 @@ export declare namespace ConfigurablePropType {
5155
| "dir"
5256
| "http_request"
5357
| "integer"
58+
| "integer[]"
5459
| "object"
5560
| "sql"
56-
| "string";
61+
| "string"
62+
| "string[]";
5763
}

0 commit comments

Comments
 (0)