@distilled.cloud/expo-eas 0.17.0 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import * as Layer from "effect/Layer";
2
1
  import * as Context from "effect/Context";
2
+ import * as Layer from "effect/Layer";
3
3
  import * as Redacted from "effect/Redacted";
4
4
  import { ConfigError } from "@distilled.cloud/core/errors";
5
5
  /** Default EAS GraphQL host. The endpoint path (`/graphql`) is set per operation. */
@@ -1 +1 @@
1
- {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,qFAAqF;AACrF,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAE3D,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;;AAED,qBAAa,WAAY,SAAQ,gBAEhC;CAAG;AAEJ;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,8CAe9B,CAAC"}
1
+ {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,qFAAqF;AACrF,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAE3D,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;;AAED,qBAAa,WAAY,SAAQ,gBAEhC;CAAG;AASJ;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,8CAc9B,CAAC"}
@@ -5,15 +5,20 @@
5
5
  * Personal/Organization Access Token issued from
6
6
  * https://expo.dev/settings/access-tokens, sent as `Authorization: Bearer <token>`.
7
7
  */
8
+ import * as EffectConfig from "effect/Config";
9
+ import * as Context from "effect/Context";
8
10
  import * as Effect from "effect/Effect";
9
11
  import * as Layer from "effect/Layer";
10
- import * as Context from "effect/Context";
11
12
  import * as Redacted from "effect/Redacted";
12
13
  import { ConfigError } from "@distilled.cloud/core/errors";
13
14
  /** Default EAS GraphQL host. The endpoint path (`/graphql`) is set per operation. */
14
15
  export const DEFAULT_API_BASE_URL = "https://api.expo.dev";
15
16
  export class Credentials extends Context.Service()("EasCredentials") {
16
17
  }
18
+ const envConfig = EffectConfig.all({
19
+ accessToken: EffectConfig.string("EXPO_TOKEN"),
20
+ apiBaseUrl: EffectConfig.string("EXPO_API_URL").pipe(EffectConfig.withDefault(DEFAULT_API_BASE_URL)),
21
+ });
17
22
  /**
18
23
  * Build credentials from environment variables.
19
24
  *
@@ -23,14 +28,10 @@ export class Credentials extends Context.Service()("EasCredentials") {
23
28
  * https://api.expo.dev). Set to `https://staging-api.expo.dev` to target
24
29
  * staging, mirroring eas-cli's `EXPO_STAGING=1` flag.
25
30
  */
26
- export const CredentialsFromEnv = Layer.effect(Credentials, Effect.gen(function* () {
27
- const accessToken = process.env.EXPO_TOKEN;
28
- if (!accessToken) {
29
- return yield* new ConfigError({
30
- message: "EXPO_TOKEN environment variable is required",
31
- });
32
- }
33
- const apiBaseUrl = process.env.EXPO_API_URL ?? DEFAULT_API_BASE_URL;
34
- return { accessToken: Redacted.make(accessToken), apiBaseUrl };
35
- }));
31
+ export const CredentialsFromEnv = Layer.effect(Credentials, envConfig.asEffect().pipe(Effect.mapError(() => new ConfigError({
32
+ message: "EXPO_TOKEN environment variable is required",
33
+ })), Effect.map(({ accessToken, apiBaseUrl }) => ({
34
+ accessToken: Redacted.make(accessToken),
35
+ apiBaseUrl,
36
+ }))));
36
37
  //# sourceMappingURL=credentials.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,qFAAqF;AACrF,MAAM,CAAC,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAO3D,MAAM,OAAO,WAAY,SAAQ,OAAO,CAAC,OAAO,EAAuB,CACrE,gBAAgB,CACjB;CAAG;AAEJ;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAC5C,WAAW,EACX,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;IAE3C,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,OAAO,KAAK,CAAC,CAAC,IAAI,WAAW,CAAC;YAC5B,OAAO,EAAE,6CAA6C;SACvD,CAAC,CAAC;IACL,CAAC;IAED,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,oBAAoB,CAAC;IAEpE,OAAO,EAAE,WAAW,EAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;AACjE,CAAC,CAAC,CAC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2
+ export declare const ConvexProjectDeleteConvexProjectInput: Schema.Struct<{
3
+ readonly convexProjectId: Schema.String;
4
+ }>;
5
+ export type ConvexProjectDeleteConvexProjectInput = typeof ConvexProjectDeleteConvexProjectInput.Type;
6
+ export declare const ConvexProjectDeleteConvexProjectOutput: Schema.String;
7
+ export type ConvexProjectDeleteConvexProjectOutput = typeof ConvexProjectDeleteConvexProjectOutput.Type;
8
+ export declare const convexProjectDeleteConvexProject: import("@distilled.cloud/core/client").OperationMethod<{
9
+ readonly convexProjectId: string;
10
+ }, string, never, import("~/credentials.ts").Credentials>;
11
+ //# sourceMappingURL=convexProjectDeleteConvexProject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convexProjectDeleteConvexProject.d.ts","sourceRoot":"","sources":["../../src/operations/convexProjectDeleteConvexProject.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAQxC,eAAO,MAAM,qCAAqC;;EASjD,CAAC;AACF,MAAM,MAAM,qCAAqC,GAC/C,OAAO,qCAAqC,CAAC,IAAI,CAAC;AAGpD,eAAO,MAAM,sCAAsC,eAElD,CAAC;AACF,MAAM,MAAM,sCAAsC,GAChD,OAAO,sCAAsC,CAAC,IAAI,CAAC;AAErD,eAAO,MAAM,gCAAgC;;yDAG1C,CAAC"}
@@ -0,0 +1,19 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client.js";
3
+ import * as T from "../traits.js";
4
+ const __document = "mutation convexProjectDeleteConvexProject($convexProjectId: ID!) {\n convexProject {\n deleteConvexProject(convexProjectId: $convexProjectId) {\n __typename\n }\n }\n}";
5
+ // Input Schema (GraphQL variables)
6
+ export const ConvexProjectDeleteConvexProjectInput = Schema.Struct({
7
+ convexProjectId: Schema.String,
8
+ }).pipe(T.Http({ method: "POST", path: "/graphql" }), T.GraphQLOp({
9
+ query: __document,
10
+ operationName: "convexProjectDeleteConvexProject",
11
+ type: "mutation",
12
+ }));
13
+ // Output Schema (GraphQL selection set)
14
+ export const ConvexProjectDeleteConvexProjectOutput = Schema.String.pipe(T.ResponsePath("convexProject.deleteConvexProject"));
15
+ export const convexProjectDeleteConvexProject = API.make(() => ({
16
+ inputSchema: ConvexProjectDeleteConvexProjectInput,
17
+ outputSchema: ConvexProjectDeleteConvexProjectOutput,
18
+ }));
19
+ //# sourceMappingURL=convexProjectDeleteConvexProject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convexProjectDeleteConvexProject.js","sourceRoot":"","sources":["../../src/operations/convexProjectDeleteConvexProject.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,MAAM,UAAU,GACd,sLAAsL,CAAC;AAEzL,mCAAmC;AACnC,MAAM,CAAC,MAAM,qCAAqC,GAAG,MAAM,CAAC,MAAM,CAAC;IACjE,eAAe,EAAE,MAAM,CAAC,MAAM;CAC/B,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EAC5C,CAAC,CAAC,SAAS,CAAC;IACV,KAAK,EAAE,UAAU;IACjB,aAAa,EAAE,kCAAkC;IACjD,IAAI,EAAE,UAAU;CACjB,CAAC,CACH,CAAC;AAIF,wCAAwC;AACxC,MAAM,CAAC,MAAM,sCAAsC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CACtE,CAAC,CAAC,YAAY,CAAC,mCAAmC,CAAC,CACpD,CAAC;AAIF,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC9D,WAAW,EAAE,qCAAqC;IAClD,YAAY,EAAE,sCAAsC;CACrD,CAAC,CAAC,CAAC"}
@@ -0,0 +1,145 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const ConvexProjectSetupConvexProjectInput: Schema.Struct<{
3
+ readonly input: Schema.Struct<{
4
+ readonly appId: Schema.String;
5
+ readonly convexTeamConnectionId: Schema.String;
6
+ readonly deploymentRegion: Schema.optional<Schema.NullOr<Schema.String>>;
7
+ readonly projectName: Schema.String;
8
+ }>;
9
+ }>;
10
+ export type ConvexProjectSetupConvexProjectInput = typeof ConvexProjectSetupConvexProjectInput.Type;
11
+ export declare const ConvexProjectSetupConvexProjectOutput: Schema.Struct<{
12
+ readonly convexDeploymentName: Schema.String;
13
+ readonly convexDeploymentUrl: Schema.String;
14
+ readonly convexProject: Schema.Struct<{
15
+ readonly app: Schema.Struct<{
16
+ readonly appStoreUrl: Schema.NullOr<Schema.String>;
17
+ readonly assetLimitPerUpdateGroup: Schema.Number;
18
+ readonly buildProfiles: Schema.$Array<Schema.String>;
19
+ readonly buildsReleaseChannels: Schema.$Array<Schema.String>;
20
+ readonly description: Schema.String;
21
+ readonly environmentVariableEnvironments: Schema.$Array<Schema.Unknown>;
22
+ readonly fullName: Schema.String;
23
+ readonly githubUrl: Schema.NullOr<Schema.String>;
24
+ readonly iconUrl: Schema.NullOr<Schema.String>;
25
+ readonly id: Schema.String;
26
+ readonly internalDistributionBuildPrivacy: Schema.Literals<readonly ["PRIVATE", "PUBLIC"]>;
27
+ readonly isDeleting: Schema.Boolean;
28
+ readonly isDeprecated: Schema.Boolean;
29
+ readonly isLikedByMe: Schema.Boolean;
30
+ readonly lastDeletionAttemptTime: Schema.NullOr<Schema.String>;
31
+ readonly lastPublishedTime: Schema.String;
32
+ readonly latestActivity: Schema.String;
33
+ readonly latestReleaseId: Schema.String;
34
+ readonly likeCount: Schema.Number;
35
+ readonly name: Schema.String;
36
+ readonly packageName: Schema.String;
37
+ readonly packageUsername: Schema.String;
38
+ readonly playStoreUrl: Schema.NullOr<Schema.String>;
39
+ readonly privacy: Schema.String;
40
+ readonly privacySetting: Schema.Literals<readonly ["HIDDEN", "PUBLIC", "UNLISTED"]>;
41
+ readonly published: Schema.Boolean;
42
+ readonly pushSecurityEnabled: Schema.Boolean;
43
+ readonly releaseChannels: Schema.$Array<Schema.String>;
44
+ readonly requiresAccessTokenForPushSecurity: Schema.Boolean;
45
+ readonly resourceClassExperiment: Schema.NullOr<Schema.Literals<readonly ["C3D", "N2"]>>;
46
+ readonly scopeKey: Schema.String;
47
+ readonly sdkVersion: Schema.String;
48
+ readonly slug: Schema.String;
49
+ readonly suggestedDevDomainName: Schema.String;
50
+ readonly trendScore: Schema.Number;
51
+ readonly updated: Schema.String;
52
+ readonly username: Schema.String;
53
+ }>;
54
+ readonly convexProjectIdentifier: Schema.String;
55
+ readonly convexProjectName: Schema.String;
56
+ readonly convexProjectSlug: Schema.String;
57
+ readonly convexTeamConnection: Schema.Struct<{
58
+ readonly convexTeamIdentifier: Schema.String;
59
+ readonly convexTeamName: Schema.String;
60
+ readonly convexTeamSlug: Schema.String;
61
+ readonly createdAt: Schema.String;
62
+ readonly hasBeenClaimed: Schema.Boolean;
63
+ readonly id: Schema.String;
64
+ readonly invitedAt: Schema.NullOr<Schema.String>;
65
+ readonly invitedEmail: Schema.NullOr<Schema.String>;
66
+ readonly updatedAt: Schema.String;
67
+ }>;
68
+ readonly createdAt: Schema.String;
69
+ readonly id: Schema.String;
70
+ readonly updatedAt: Schema.String;
71
+ }>;
72
+ readonly deployKey: Schema.String;
73
+ }>;
74
+ export type ConvexProjectSetupConvexProjectOutput = typeof ConvexProjectSetupConvexProjectOutput.Type;
75
+ export declare const convexProjectSetupConvexProject: import("@distilled.cloud/core/client").OperationMethod<{
76
+ readonly input: {
77
+ readonly appId: string;
78
+ readonly convexTeamConnectionId: string;
79
+ readonly deploymentRegion?: string | null | undefined;
80
+ readonly projectName: string;
81
+ };
82
+ }, {
83
+ readonly convexDeploymentName: string;
84
+ readonly convexDeploymentUrl: string;
85
+ readonly convexProject: {
86
+ readonly app: {
87
+ readonly appStoreUrl: string | null;
88
+ readonly assetLimitPerUpdateGroup: number;
89
+ readonly buildProfiles: readonly string[];
90
+ readonly buildsReleaseChannels: readonly string[];
91
+ readonly description: string;
92
+ readonly environmentVariableEnvironments: readonly unknown[];
93
+ readonly fullName: string;
94
+ readonly githubUrl: string | null;
95
+ readonly iconUrl: string | null;
96
+ readonly id: string;
97
+ readonly internalDistributionBuildPrivacy: "PRIVATE" | "PUBLIC";
98
+ readonly isDeleting: boolean;
99
+ readonly isDeprecated: boolean;
100
+ readonly isLikedByMe: boolean;
101
+ readonly lastDeletionAttemptTime: string | null;
102
+ readonly lastPublishedTime: string;
103
+ readonly latestActivity: string;
104
+ readonly latestReleaseId: string;
105
+ readonly likeCount: number;
106
+ readonly name: string;
107
+ readonly packageName: string;
108
+ readonly packageUsername: string;
109
+ readonly playStoreUrl: string | null;
110
+ readonly privacy: string;
111
+ readonly privacySetting: "HIDDEN" | "PUBLIC" | "UNLISTED";
112
+ readonly published: boolean;
113
+ readonly pushSecurityEnabled: boolean;
114
+ readonly releaseChannels: readonly string[];
115
+ readonly requiresAccessTokenForPushSecurity: boolean;
116
+ readonly resourceClassExperiment: "C3D" | "N2" | null;
117
+ readonly scopeKey: string;
118
+ readonly sdkVersion: string;
119
+ readonly slug: string;
120
+ readonly suggestedDevDomainName: string;
121
+ readonly trendScore: number;
122
+ readonly updated: string;
123
+ readonly username: string;
124
+ };
125
+ readonly convexProjectIdentifier: string;
126
+ readonly convexProjectName: string;
127
+ readonly convexProjectSlug: string;
128
+ readonly convexTeamConnection: {
129
+ readonly convexTeamIdentifier: string;
130
+ readonly convexTeamName: string;
131
+ readonly convexTeamSlug: string;
132
+ readonly createdAt: string;
133
+ readonly hasBeenClaimed: boolean;
134
+ readonly id: string;
135
+ readonly invitedAt: string | null;
136
+ readonly invitedEmail: string | null;
137
+ readonly updatedAt: string;
138
+ };
139
+ readonly createdAt: string;
140
+ readonly id: string;
141
+ readonly updatedAt: string;
142
+ };
143
+ readonly deployKey: string;
144
+ }, never, import("~/credentials.ts").Credentials>;
145
+ //# sourceMappingURL=convexProjectSetupConvexProject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convexProjectSetupConvexProject.d.ts","sourceRoot":"","sources":["../../src/operations/convexProjectSetupConvexProject.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAQxC,eAAO,MAAM,oCAAoC;;;;;;;EAchD,CAAC;AACF,MAAM,MAAM,oCAAoC,GAC9C,OAAO,oCAAoC,CAAC,IAAI,CAAC;AAGnD,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DS,CAAC;AAC5D,MAAM,MAAM,qCAAqC,GAC/C,OAAO,qCAAqC,CAAC,IAAI,CAAC;AAEpD,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAGzC,CAAC"}
@@ -0,0 +1,86 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client.js";
3
+ import * as T from "../traits.js";
4
+ const __document = "mutation convexProjectSetupConvexProject($input: SetupConvexProjectInput!) {\n convexProject {\n setupConvexProject(input: $input) {\n convexDeploymentName\n convexDeploymentUrl\n convexProject {\n app {\n appStoreUrl\n assetLimitPerUpdateGroup\n buildProfiles\n buildsReleaseChannels\n description\n environmentVariableEnvironments\n fullName\n githubUrl\n iconUrl\n id\n internalDistributionBuildPrivacy\n isDeleting\n isDeprecated\n isLikedByMe\n lastDeletionAttemptTime\n lastPublishedTime\n latestActivity\n latestReleaseId\n likeCount\n name\n packageName\n packageUsername\n playStoreUrl\n privacy\n privacySetting\n published\n pushSecurityEnabled\n releaseChannels\n requiresAccessTokenForPushSecurity\n resourceClassExperiment\n scopeKey\n sdkVersion\n slug\n suggestedDevDomainName\n trendScore\n updated\n username\n }\n convexProjectIdentifier\n convexProjectName\n convexProjectSlug\n convexTeamConnection {\n convexTeamIdentifier\n convexTeamName\n convexTeamSlug\n createdAt\n hasBeenClaimed\n id\n invitedAt\n invitedEmail\n updatedAt\n }\n createdAt\n id\n updatedAt\n }\n deployKey\n }\n }\n}";
5
+ // Input Schema (GraphQL variables)
6
+ export const ConvexProjectSetupConvexProjectInput = Schema.Struct({
7
+ input: Schema.Struct({
8
+ appId: Schema.String,
9
+ convexTeamConnectionId: Schema.String,
10
+ deploymentRegion: Schema.optional(Schema.NullOr(Schema.String)),
11
+ projectName: Schema.String,
12
+ }),
13
+ }).pipe(T.Http({ method: "POST", path: "/graphql" }), T.GraphQLOp({
14
+ query: __document,
15
+ operationName: "convexProjectSetupConvexProject",
16
+ type: "mutation",
17
+ }));
18
+ // Output Schema (GraphQL selection set)
19
+ export const ConvexProjectSetupConvexProjectOutput = Schema.Struct({
20
+ convexDeploymentName: Schema.String,
21
+ convexDeploymentUrl: Schema.String,
22
+ convexProject: Schema.Struct({
23
+ app: Schema.Struct({
24
+ appStoreUrl: Schema.NullOr(Schema.String),
25
+ assetLimitPerUpdateGroup: Schema.Number,
26
+ buildProfiles: Schema.Array(Schema.String),
27
+ buildsReleaseChannels: Schema.Array(Schema.String),
28
+ description: Schema.String,
29
+ environmentVariableEnvironments: Schema.Array(Schema.Unknown),
30
+ fullName: Schema.String,
31
+ githubUrl: Schema.NullOr(Schema.String),
32
+ iconUrl: Schema.NullOr(Schema.String),
33
+ id: Schema.String,
34
+ internalDistributionBuildPrivacy: Schema.Literals(["PRIVATE", "PUBLIC"]),
35
+ isDeleting: Schema.Boolean,
36
+ isDeprecated: Schema.Boolean,
37
+ isLikedByMe: Schema.Boolean,
38
+ lastDeletionAttemptTime: Schema.NullOr(Schema.String),
39
+ lastPublishedTime: Schema.String,
40
+ latestActivity: Schema.String,
41
+ latestReleaseId: Schema.String,
42
+ likeCount: Schema.Number,
43
+ name: Schema.String,
44
+ packageName: Schema.String,
45
+ packageUsername: Schema.String,
46
+ playStoreUrl: Schema.NullOr(Schema.String),
47
+ privacy: Schema.String,
48
+ privacySetting: Schema.Literals(["HIDDEN", "PUBLIC", "UNLISTED"]),
49
+ published: Schema.Boolean,
50
+ pushSecurityEnabled: Schema.Boolean,
51
+ releaseChannels: Schema.Array(Schema.String),
52
+ requiresAccessTokenForPushSecurity: Schema.Boolean,
53
+ resourceClassExperiment: Schema.NullOr(Schema.Literals(["C3D", "N2"])),
54
+ scopeKey: Schema.String,
55
+ sdkVersion: Schema.String,
56
+ slug: Schema.String,
57
+ suggestedDevDomainName: Schema.String,
58
+ trendScore: Schema.Number,
59
+ updated: Schema.String,
60
+ username: Schema.String,
61
+ }),
62
+ convexProjectIdentifier: Schema.String,
63
+ convexProjectName: Schema.String,
64
+ convexProjectSlug: Schema.String,
65
+ convexTeamConnection: Schema.Struct({
66
+ convexTeamIdentifier: Schema.String,
67
+ convexTeamName: Schema.String,
68
+ convexTeamSlug: Schema.String,
69
+ createdAt: Schema.String,
70
+ hasBeenClaimed: Schema.Boolean,
71
+ id: Schema.String,
72
+ invitedAt: Schema.NullOr(Schema.String),
73
+ invitedEmail: Schema.NullOr(Schema.String),
74
+ updatedAt: Schema.String,
75
+ }),
76
+ createdAt: Schema.String,
77
+ id: Schema.String,
78
+ updatedAt: Schema.String,
79
+ }),
80
+ deployKey: Schema.String,
81
+ }).pipe(T.ResponsePath("convexProject.setupConvexProject"));
82
+ export const convexProjectSetupConvexProject = API.make(() => ({
83
+ inputSchema: ConvexProjectSetupConvexProjectInput,
84
+ outputSchema: ConvexProjectSetupConvexProjectOutput,
85
+ }));
86
+ //# sourceMappingURL=convexProjectSetupConvexProject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convexProjectSetupConvexProject.js","sourceRoot":"","sources":["../../src/operations/convexProjectSetupConvexProject.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,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