@devpad/cli 2.6.8 → 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.
Files changed (2) hide show
  1. package/dist/index.js +14 -6
  2. 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-Y25WIU7Z.js
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-Y25WIU7Z.js
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)`),
@@ -12431,7 +12431,9 @@ var pipeline_oidc_trust = sqliteTable("pipeline_oidc_trust", {
12431
12431
  expected_audience: text("expected_audience").notNull(),
12432
12432
  allowed_actions: text("allowed_actions", { mode: "json" }).$type().notNull().default(sql`'["artifacts:upload","runs:start"]'`),
12433
12433
  session_ttl_seconds: integer("session_ttl_seconds").notNull().default(900),
12434
- 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")
12435
12437
  });
12436
12438
  var user_relations = relations(user, ({ many }) => ({
12437
12439
  sessions: many(session2),
@@ -12828,7 +12830,9 @@ var upsert_pipeline_oidc_trust = objectType({
12828
12830
  expected_audience: stringType().min(1),
12829
12831
  allowed_actions: arrayType(stringType()).optional(),
12830
12832
  session_ttl_seconds: numberType().int().positive().optional(),
12831
- 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()
12832
12836
  });
12833
12837
  var webhook_event_body = objectType({
12834
12838
  stage_name: stringType().min(1),
@@ -21809,7 +21813,9 @@ var pipeline_oidc_trust2 = sqliteTable("pipeline_oidc_trust", {
21809
21813
  expected_audience: text("expected_audience").notNull(),
21810
21814
  allowed_actions: text("allowed_actions", { mode: "json" }).$type().notNull().default(sql`'["artifacts:upload","runs:start"]'`),
21811
21815
  session_ttl_seconds: integer("session_ttl_seconds").notNull().default(900),
21812
- 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")
21813
21819
  });
21814
21820
  var user_relations2 = relations(user2, ({ many }) => ({
21815
21821
  sessions: many(session3),
@@ -22208,7 +22214,9 @@ var upsert_pipeline_oidc_trust2 = objectType({
22208
22214
  expected_audience: stringType().min(1),
22209
22215
  allowed_actions: arrayType(stringType()).optional(),
22210
22216
  session_ttl_seconds: numberType().int().positive().optional(),
22211
- 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()
22212
22220
  });
22213
22221
  var webhook_event_body2 = objectType({
22214
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.8",
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.8",
54
- "@devpad/core": "^2.6.8",
55
- "@devpad/pipeline-fakes": "^2.6.8",
56
- "@devpad/pipeline-templates": "^2.6.8",
57
- "@devpad/schema": "^2.6.8",
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",