32 lines · 1.1 KB · TypeScript
RawDownload
import * as Context from "effect/Context";import * as Redacted from "effect/Redacted";import * as Schema from "effect/Schema"; export const ApnsEnvironment = Schema.Literals(["sandbox", "production"]);export type ApnsEnvironment = typeof ApnsEnvironment.Type; export interface ApnsCredentials {  readonly teamId: string;  readonly keyId: string;  readonly privateKey: Redacted.Redacted<string>;  readonly bundleId: string;  readonly environment: ApnsEnvironment;} export interface RelayConfigurationShape {  readonly relayIssuer: string;  readonly apns: ApnsCredentials;  readonly clerkSecretKey: Redacted.Redacted<string>;  readonly clerkPublishableKey: string;  readonly clerkJwtAudience: string;  readonly apnsDeliveryJobSigningSecret: Redacted.Redacted<string>;  readonly cloudMintPrivateKey: Redacted.Redacted<string>;  readonly cloudMintPublicKey: string;  readonly managedEndpointBaseDomain: string | undefined;  readonly managedEndpointNamespace: string | undefined;} export class RelayConfiguration extends Context.Service<  RelayConfiguration,  RelayConfigurationShape>()("t3code-relay/Config/RelayConfiguration") {}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t