-
Notifications
You must be signed in to change notification settings - Fork 4
/
tygo.yaml
71 lines (67 loc) · 3 KB
/
tygo.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
packages:
- path: "github.com/Anti-Raid/api/types"
output_path: "services/website/src/lib/generated/types.ts"
frontmatter: |
import { PlatformUser } from "./eureka-dovewing"
import * as ext from "./ext"
import * as discordgo from "./discordgo"
import * as silverpelt from "./silverpelt"
type_mappings:
time.Time: "string /* RFC3339 */"
pgtype.Text: "string | null /* nullable */"
pgtype.UUID: "string /* uuid */"
dovetypes.PlatformUser: PlatformUser /* from eureka-dovewing.ts */
pgtype.Timestamptz: "string | null /* RFC3339, nullable */"
bigint.BigInt: "string /* bigint */"
orderedmap.OrderedMap: "Record"
ext_types.GuildChannelWithPermissions: ext.GuildChannelWithPermissions
ext_types.SerenityRole: ext.SerenityRole
ext_types.Permissions: ext.Permissions
discordgo.Channel: discordgo.Channel
discordgo.ChannelType: discordgo.ChannelType
silverpelt.CanonicalCommand: silverpelt.CanonicalCommand
silverpelt.CanonicalConfigOption: silverpelt.CanonicalConfigOption
- path: "github.com/infinitybotlist/eureka/dovewing/dovetypes"
output_path: "services/website/src/lib/generated/eureka-dovewing.ts"
- path: "github.com/bwmarrin/discordgo"
output_path: "services/website/src/lib/generated/discordgo.ts"
type_mappings:
time.Time: "string /* RFC3339 */"
time.Second: "1"
time.Minute: "60"
time.Hour: "3600"
time.Millisecond: "0.001"
time.Microsecond: "0.000001"
time.Nanosecond: "0.000000001"
- path: "github.com/Anti-Raid/corelib_go/silverpelt"
output_path: "services/website/src/lib/generated/silverpelt.ts"
frontmatter: |
import * as ext from "./ext"
import * as discordgo from "./discordgo"
type_mappings:
time.Time: "string /* RFC3339 */"
pgtype.Text: "string | null /* nullable */"
pgtype.UUID: "string /* uuid */"
dovetypes.PlatformUser: PlatformUser /* from eureka-dovewing.ts */
pgtype.Timestamptz: "string | null /* RFC3339, nullable */"
orderedmap.OrderedMap: "Record"
bigint.BigInt: "string /* bigint */"
ext_types.GuildChannelWithPermissions: ext.GuildChannelWithPermissions
ext_types.SerenityRole: ext.SerenityRole
ext_types.Permissions: ext.Permissions
discordgo.Channel: discordgo.Channel
discordgo.ChannelType: discordgo.ChannelType
- path: "github.com/Anti-Raid/corelib_go/ext_types"
output_path: "services/website/src/lib/generated/ext.ts"
frontmatter: |
import * as discordgo from "./discordgo"
import * as silverpelt from "./silverpelt"
type_mappings:
time.Time: "string /* RFC3339 */"
pgtype.Text: "string | null /* nullable */"
pgtype.UUID: "string /* uuid */"
dovetypes.PlatformUser: PlatformUser /* from eureka-dovewing.ts */
pgtype.Timestamptz: "string | null /* RFC3339, nullable */"
orderedmap.OrderedMap: "Record"
bigint.BigInt: "string /* bigint */"
discordgo.Channel: discordgo.Channel