Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

usageLimitSourceId.ts

9 lines380 Bytes

1import * as Schema from "effect/Schema";
2​
3/**
4 * Key of one `settings.usageLimitSources` entry. Lives in its own module so
5 * both the settings and the usage-limit contracts can import it without
6 * importing each other.
7 */
8export const UsageLimitSourceId = Schema.String.pipe(Schema.brand("UsageLimitSourceId"));
9export type UsageLimitSourceId = typeof UsageLimitSourceId.Type;