forked from inngest/inngest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtygo.yaml
More file actions
20 lines (19 loc) · 819 Bytes
/
tygo.yaml
File metadata and controls
20 lines (19 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
packages:
# Generated barrel file containing all span metadata types
# Run: go generate ./pkg/tracing/metadata/types && tygo generate
- path: "github.com/inngest/inngest/pkg/tracing/metadata/types"
output_path: "ui/packages/components/src/generated/index.ts"
frontmatter: |
// Helper type for Go's error interface (serialized as string)
type error = string;
// Span metadata kind types (derived from generated constants)
export type SpanMetadataKindUserland = `userland.${string}`;
export type SpanMetadataKind =
| typeof KindInngestAI
| typeof KindInngestHTTP
| typeof KindInngestHTTPTiming
| typeof KindInngestResponseHeaders
| typeof KindInngestWarnings
| SpanMetadataKindUserland;
type_mappings:
error: "string"