@devpad/cli 2.6.7 → 2.6.9
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/dist/index.js +22 -10
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -11714,7 +11714,7 @@ __exportCjs(exports_commander, {
|
|
|
11714
11714
|
InvalidOptionArgumentError: (value) => $InvalidOptionArgumentError = value
|
|
11715
11715
|
});
|
|
11716
11716
|
|
|
11717
|
-
// ../api/dist/chunk-
|
|
11717
|
+
// ../api/dist/chunk-AXQWQXZR.js
|
|
11718
11718
|
init_drizzle_orm();
|
|
11719
11719
|
init_sqlite_core();
|
|
11720
11720
|
|
|
@@ -11971,7 +11971,7 @@ var createSelectSchema = (entity, refine) => {
|
|
|
11971
11971
|
return handleColumns(columns, refine ?? {}, selectConditions);
|
|
11972
11972
|
};
|
|
11973
11973
|
|
|
11974
|
-
// ../api/dist/chunk-
|
|
11974
|
+
// ../api/dist/chunk-AXQWQXZR.js
|
|
11975
11975
|
init_zod();
|
|
11976
11976
|
var timestamps = () => ({
|
|
11977
11977
|
created_at: text("created_at").notNull().default(sql`(CURRENT_TIMESTAMP)`),
|
|
@@ -12398,7 +12398,8 @@ var pipeline_grant = sqliteTable("pipeline_grant", {
|
|
|
12398
12398
|
stage_name: text("stage_name").notNull(),
|
|
12399
12399
|
scope: text("scope").notNull(),
|
|
12400
12400
|
granted_by: text("granted_by").references(() => user.id),
|
|
12401
|
-
granted_at: text("granted_at")
|
|
12401
|
+
granted_at: text("granted_at"),
|
|
12402
|
+
auto_approved: integer("auto_approved", { mode: "boolean" }).notNull().default(false)
|
|
12402
12403
|
});
|
|
12403
12404
|
var pipeline_approval = sqliteTable("pipeline_approval", {
|
|
12404
12405
|
...id("pipeline-approval"),
|
|
@@ -12430,7 +12431,9 @@ var pipeline_oidc_trust = sqliteTable("pipeline_oidc_trust", {
|
|
|
12430
12431
|
expected_audience: text("expected_audience").notNull(),
|
|
12431
12432
|
allowed_actions: text("allowed_actions", { mode: "json" }).$type().notNull().default(sql`'["artifacts:upload","runs:start"]'`),
|
|
12432
12433
|
session_ttl_seconds: integer("session_ttl_seconds").notNull().default(900),
|
|
12433
|
-
last_used_at: text("last_used_at")
|
|
12434
|
+
last_used_at: text("last_used_at"),
|
|
12435
|
+
repository_id: text("repository_id"),
|
|
12436
|
+
repository_owner_id: text("repository_owner_id")
|
|
12434
12437
|
});
|
|
12435
12438
|
var user_relations = relations(user, ({ many }) => ({
|
|
12436
12439
|
sessions: many(session2),
|
|
@@ -12787,7 +12790,8 @@ var upsert_pipeline_grant = objectType({
|
|
|
12787
12790
|
stage_name: stringType(),
|
|
12788
12791
|
scope: grant_scope,
|
|
12789
12792
|
granted_by: stringType().nullable().optional(),
|
|
12790
|
-
granted_at: stringType().nullable().optional()
|
|
12793
|
+
granted_at: stringType().nullable().optional(),
|
|
12794
|
+
auto_approved: booleanType().nullable().optional()
|
|
12791
12795
|
});
|
|
12792
12796
|
var upsert_pipeline_approval = objectType({
|
|
12793
12797
|
run_id: stringType(),
|
|
@@ -12826,7 +12830,9 @@ var upsert_pipeline_oidc_trust = objectType({
|
|
|
12826
12830
|
expected_audience: stringType().min(1),
|
|
12827
12831
|
allowed_actions: arrayType(stringType()).optional(),
|
|
12828
12832
|
session_ttl_seconds: numberType().int().positive().optional(),
|
|
12829
|
-
last_used_at: stringType().nullable().optional()
|
|
12833
|
+
last_used_at: stringType().nullable().optional(),
|
|
12834
|
+
repository_id: stringType().regex(/^\d+$/, "must be a numeric GitHub repository id").nullable().optional(),
|
|
12835
|
+
repository_owner_id: stringType().regex(/^\d+$/, "must be a numeric GitHub owner id").nullable().optional()
|
|
12830
12836
|
});
|
|
12831
12837
|
var webhook_event_body = objectType({
|
|
12832
12838
|
stage_name: stringType().min(1),
|
|
@@ -21774,7 +21780,8 @@ var pipeline_grant2 = sqliteTable("pipeline_grant", {
|
|
|
21774
21780
|
stage_name: text("stage_name").notNull(),
|
|
21775
21781
|
scope: text("scope").notNull(),
|
|
21776
21782
|
granted_by: text("granted_by").references(() => user2.id),
|
|
21777
|
-
granted_at: text("granted_at")
|
|
21783
|
+
granted_at: text("granted_at"),
|
|
21784
|
+
auto_approved: integer("auto_approved", { mode: "boolean" }).notNull().default(false)
|
|
21778
21785
|
});
|
|
21779
21786
|
var pipeline_approval2 = sqliteTable("pipeline_approval", {
|
|
21780
21787
|
...id2("pipeline-approval"),
|
|
@@ -21806,7 +21813,9 @@ var pipeline_oidc_trust2 = sqliteTable("pipeline_oidc_trust", {
|
|
|
21806
21813
|
expected_audience: text("expected_audience").notNull(),
|
|
21807
21814
|
allowed_actions: text("allowed_actions", { mode: "json" }).$type().notNull().default(sql`'["artifacts:upload","runs:start"]'`),
|
|
21808
21815
|
session_ttl_seconds: integer("session_ttl_seconds").notNull().default(900),
|
|
21809
|
-
last_used_at: text("last_used_at")
|
|
21816
|
+
last_used_at: text("last_used_at"),
|
|
21817
|
+
repository_id: text("repository_id"),
|
|
21818
|
+
repository_owner_id: text("repository_owner_id")
|
|
21810
21819
|
});
|
|
21811
21820
|
var user_relations2 = relations(user2, ({ many }) => ({
|
|
21812
21821
|
sessions: many(session3),
|
|
@@ -22165,7 +22174,8 @@ var upsert_pipeline_grant2 = objectType({
|
|
|
22165
22174
|
stage_name: stringType(),
|
|
22166
22175
|
scope: grant_scope2,
|
|
22167
22176
|
granted_by: stringType().nullable().optional(),
|
|
22168
|
-
granted_at: stringType().nullable().optional()
|
|
22177
|
+
granted_at: stringType().nullable().optional(),
|
|
22178
|
+
auto_approved: booleanType().nullable().optional()
|
|
22169
22179
|
});
|
|
22170
22180
|
var upsert_pipeline_approval2 = objectType({
|
|
22171
22181
|
run_id: stringType(),
|
|
@@ -22204,7 +22214,9 @@ var upsert_pipeline_oidc_trust2 = objectType({
|
|
|
22204
22214
|
expected_audience: stringType().min(1),
|
|
22205
22215
|
allowed_actions: arrayType(stringType()).optional(),
|
|
22206
22216
|
session_ttl_seconds: numberType().int().positive().optional(),
|
|
22207
|
-
last_used_at: stringType().nullable().optional()
|
|
22217
|
+
last_used_at: stringType().nullable().optional(),
|
|
22218
|
+
repository_id: stringType().regex(/^\d+$/, "must be a numeric GitHub repository id").nullable().optional(),
|
|
22219
|
+
repository_owner_id: stringType().regex(/^\d+$/, "must be a numeric GitHub owner id").nullable().optional()
|
|
22208
22220
|
});
|
|
22209
22221
|
var webhook_event_body2 = objectType({
|
|
22210
22222
|
stage_name: stringType().min(1),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devpad/cli",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.9",
|
|
4
4
|
"description": "Command line interface for devpad project management",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"mime": "^3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@devpad/api": "^2.6.
|
|
54
|
-
"@devpad/core": "^2.6.
|
|
55
|
-
"@devpad/pipeline-fakes": "^2.6.
|
|
56
|
-
"@devpad/pipeline-templates": "^2.6.
|
|
57
|
-
"@devpad/schema": "^2.6.
|
|
53
|
+
"@devpad/api": "^2.6.9",
|
|
54
|
+
"@devpad/core": "^2.6.9",
|
|
55
|
+
"@devpad/pipeline-fakes": "^2.6.9",
|
|
56
|
+
"@devpad/pipeline-templates": "^2.6.9",
|
|
57
|
+
"@devpad/schema": "^2.6.9",
|
|
58
58
|
"@types/node": "^20.11.24",
|
|
59
59
|
"bun-types": "latest",
|
|
60
60
|
"chalk": "^5.3.0",
|