@teardown/types 2.0.28 → 2.0.30
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.
- package/package.json +2 -5
- package/src/generated-types.ts +2 -2
- package/src/index.ts +0 -47
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teardown/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.30",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -45,12 +45,9 @@
|
|
|
45
45
|
"lint": "bun x biome lint --write ./src",
|
|
46
46
|
"check": "bun x biome check ./src"
|
|
47
47
|
},
|
|
48
|
-
"dependencies": {
|
|
49
|
-
"@teardown/db": "0.0.1"
|
|
50
|
-
},
|
|
51
48
|
"devDependencies": {
|
|
52
49
|
"@biomejs/biome": "2.3.10",
|
|
53
|
-
"@teardown/tsconfig": "2.0.
|
|
50
|
+
"@teardown/tsconfig": "2.0.30",
|
|
54
51
|
"@types/bun": "1.3.5"
|
|
55
52
|
},
|
|
56
53
|
"peerDependencies": {
|
package/src/generated-types.ts
CHANGED
|
@@ -1495,7 +1495,7 @@ export type Database = {
|
|
|
1495
1495
|
org_role_type: "OWNER" | "ADMIN" | "ENGINEER"
|
|
1496
1496
|
org_type: "PERSONAL" | "START_UP" | "SCALE_UP" | "AGENCY" | "ENTERPRISE"
|
|
1497
1497
|
project_api_key_kind: "publishable" | "secret"
|
|
1498
|
-
project_status: "
|
|
1498
|
+
project_status: "ACTIVE" | "PAUSED" | "ARCHIVED"
|
|
1499
1499
|
project_type: "REACT_NATIVE" | "EXPO"
|
|
1500
1500
|
project_version_status:
|
|
1501
1501
|
| "SUPPORTED"
|
|
@@ -1709,7 +1709,7 @@ export const Constants = {
|
|
|
1709
1709
|
org_role_type: ["OWNER", "ADMIN", "ENGINEER"],
|
|
1710
1710
|
org_type: ["PERSONAL", "START_UP", "SCALE_UP", "AGENCY", "ENTERPRISE"],
|
|
1711
1711
|
project_api_key_kind: ["publishable", "secret"],
|
|
1712
|
-
project_status: ["
|
|
1712
|
+
project_status: ["ACTIVE", "PAUSED", "ARCHIVED"],
|
|
1713
1713
|
project_type: ["REACT_NATIVE", "EXPO"],
|
|
1714
1714
|
project_version_status: [
|
|
1715
1715
|
"SUPPORTED",
|
package/src/index.ts
CHANGED
|
@@ -45,53 +45,6 @@ export type Result<Success, Error = string> = SuccessResult<Success> | ErrorResu
|
|
|
45
45
|
*/
|
|
46
46
|
export type AsyncResult<Success, Error = string> = Promise<Result<Success, Error>>;
|
|
47
47
|
|
|
48
|
-
// Re-export Drizzle types for new code (gradual migration)
|
|
49
|
-
// These use camelCase column names vs snake_case in generated-types.ts
|
|
50
|
-
export type {
|
|
51
|
-
// Select types (for reading)
|
|
52
|
-
DashboardUserSession as DrizzleDashboardUserSession,
|
|
53
|
-
DaytonaSandbox as DrizzleDaytonaSandbox,
|
|
54
|
-
// Enum types
|
|
55
|
-
DaytonaSandboxStatus,
|
|
56
|
-
Device as DrizzleDevice,
|
|
57
|
-
DevicePlatform,
|
|
58
|
-
DeviceSession as DrizzleDeviceSession,
|
|
59
|
-
Environment as DrizzleEnvironment,
|
|
60
|
-
EnvironmentType,
|
|
61
|
-
Event as DrizzleEvent,
|
|
62
|
-
GithubInstallation as DrizzleGithubInstallation,
|
|
63
|
-
GithubProjectConnection as DrizzleGithubProjectConnection,
|
|
64
|
-
GithubRepository as DrizzleGithubRepository,
|
|
65
|
-
GithubWebhookEvent as DrizzleGithubWebhookEvent,
|
|
66
|
-
InvestorAccess as DrizzleInvestorAccess,
|
|
67
|
-
InvestorAccessStatus,
|
|
68
|
-
LaunchpadGithubRepository as DrizzleLaunchpadGithubRepository,
|
|
69
|
-
MessageRole,
|
|
70
|
-
Org as DrizzleOrg,
|
|
71
|
-
OrgApiKey as DrizzleOrgApiKey,
|
|
72
|
-
OrgInvitation as DrizzleOrgInvitation,
|
|
73
|
-
OrgInvitationStatus,
|
|
74
|
-
OrgRole as DrizzleOrgRole,
|
|
75
|
-
OrgRoleType,
|
|
76
|
-
OrgType,
|
|
77
|
-
OtaUpdate as DrizzleOtaUpdate,
|
|
78
|
-
Project as DrizzleProject,
|
|
79
|
-
ProjectApiKey as DrizzleProjectApiKey,
|
|
80
|
-
ProjectApiKeyKind,
|
|
81
|
-
ProjectStatus,
|
|
82
|
-
ProjectType,
|
|
83
|
-
ProjectUser as DrizzleProjectUser,
|
|
84
|
-
ProjectVersion as DrizzleProjectVersion,
|
|
85
|
-
ProjectVersionStatus,
|
|
86
|
-
SandboxScope,
|
|
87
|
-
SandboxStatus,
|
|
88
|
-
SubscriptionStatus,
|
|
89
|
-
SubscriptionTier,
|
|
90
|
-
SubscriptionUsage as DrizzleSubscriptionUsage,
|
|
91
|
-
UserApiKey as DrizzleUserApiKey,
|
|
92
|
-
VersionBuild as DrizzleVersionBuild,
|
|
93
|
-
VersionBuildStatus,
|
|
94
|
-
} from "@teardown/db";
|
|
95
48
|
// Export Eden Treaty types for query utilities
|
|
96
49
|
export * from "./eden-treaty.types";
|
|
97
50
|
// Export Service class and related types
|