@pipelab/plugin-steam 1.0.0-beta.17 → 1.0.0-beta.19

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.mjs CHANGED
@@ -2092,7 +2092,7 @@ const settingsMigratorInternal = createMigrator();
2092
2092
  const defaultAppSettings = settingsMigratorInternal.createDefault({
2093
2093
  locale: "en-US",
2094
2094
  theme: "light",
2095
- version: "8.0.0",
2095
+ version: "7.0.0",
2096
2096
  autosave: true,
2097
2097
  agents: [],
2098
2098
  tours: {
@@ -2105,11 +2105,6 @@ const defaultAppSettings = settingsMigratorInternal.createDefault({
2105
2105
  completed: false
2106
2106
  }
2107
2107
  },
2108
- buildHistory: { retentionPolicy: {
2109
- enabled: false,
2110
- maxEntries: 50,
2111
- maxAge: 30
2112
- } },
2113
2108
  plugins: DEFAULT_PLUGINS,
2114
2109
  isInternalMigrationBannerClosed: false
2115
2110
  });
@@ -2166,18 +2161,13 @@ settingsMigratorInternal.createMigrations({
2166
2161
  return {
2167
2162
  ...rest,
2168
2163
  agents: [],
2169
- buildHistory: { retentionPolicy: {
2170
- enabled: false,
2171
- maxEntries: 50,
2172
- maxAge: 30
2173
- } },
2174
2164
  plugins: DEFAULT_PLUGINS,
2175
2165
  isInternalMigrationBannerClosed: false
2176
2166
  };
2177
2167
  }
2178
2168
  }),
2179
2169
  createMigration({
2180
- version: "8.0.0",
2170
+ version: "7.0.0",
2181
2171
  up: finalVersion
2182
2172
  })
2183
2173
  ]
@@ -2196,7 +2186,7 @@ connectionsMigratorInternal.createMigrations({
2196
2186
  });
2197
2187
  const fileRepoMigratorInternal = createMigrator();
2198
2188
  const defaultFileRepo = fileRepoMigratorInternal.createDefault({
2199
- version: "2.0.0",
2189
+ version: "3.0.0",
2200
2190
  projects: [{
2201
2191
  id: "main",
2202
2192
  name: "Default project",
@@ -2206,30 +2196,39 @@ const defaultFileRepo = fileRepoMigratorInternal.createDefault({
2206
2196
  });
2207
2197
  fileRepoMigratorInternal.createMigrations({
2208
2198
  defaultValue: defaultFileRepo,
2209
- migrations: [createMigration({
2210
- version: "1.0.0",
2211
- up: (state) => {
2212
- const pipelines = Object.entries(state.data || {}).map(([id, file]) => {
2199
+ migrations: [
2200
+ createMigration({
2201
+ version: "1.0.0",
2202
+ up: (state) => {
2203
+ const pipelines = Object.entries(state.data || {}).map(([id, file]) => {
2204
+ return {
2205
+ ...file,
2206
+ id,
2207
+ project: "main"
2208
+ };
2209
+ });
2213
2210
  return {
2214
- ...file,
2215
- id,
2216
- project: "main"
2211
+ ...state,
2212
+ projects: [{
2213
+ id: "main",
2214
+ name: "Default project",
2215
+ description: "The initial default project"
2216
+ }],
2217
+ pipelines
2217
2218
  };
2218
- });
2219
- return {
2220
- ...state,
2221
- projects: [{
2222
- id: "main",
2223
- name: "Default project",
2224
- description: "The initial default project"
2225
- }],
2226
- pipelines
2227
- };
2228
- }
2229
- }), createMigration({
2230
- version: "2.0.0",
2231
- up: finalVersion
2232
- })]
2219
+ }
2220
+ }),
2221
+ createMigration({
2222
+ version: "2.0.0",
2223
+ up: (state) => {
2224
+ return { ...state };
2225
+ }
2226
+ }),
2227
+ createMigration({
2228
+ version: "3.0.0",
2229
+ up: finalVersion
2230
+ })
2231
+ ]
2233
2232
  });
2234
2233
  const savedFileMigratorInternal = createMigrator();
2235
2234
  const savedFileDefaultValue = savedFileMigratorInternal.createDefault({
@@ -2390,14 +2389,19 @@ object({
2390
2389
  version: literal("1.0.0"),
2391
2390
  data: optional(record(string(), SaveLocationValidator), {})
2392
2391
  });
2393
- const FileRepoProjectValidatorV2$1 = object({
2392
+ const FileRepoProjectValidatorV2 = object({
2394
2393
  id: string(),
2395
2394
  name: string(),
2396
2395
  description: string()
2397
2396
  });
2398
2397
  object({
2399
2398
  version: literal("2.0.0"),
2400
- projects: array(FileRepoProjectValidatorV2$1),
2399
+ projects: array(FileRepoProjectValidatorV2),
2400
+ pipelines: optional(array(SaveLocationValidator), [])
2401
+ });
2402
+ object({
2403
+ version: literal("3.0.0"),
2404
+ projects: array(FileRepoProjectValidatorV2),
2401
2405
  pipelines: optional(array(SaveLocationValidator), [])
2402
2406
  });
2403
2407
  object({
@@ -2506,44 +2510,6 @@ object({
2506
2510
  name: string(),
2507
2511
  url: string()
2508
2512
  })),
2509
- buildHistory: object({ retentionPolicy: object({
2510
- enabled: boolean(),
2511
- maxEntries: number(),
2512
- maxAge: number()
2513
- }) })
2514
- });
2515
- object({
2516
- theme: union([literal("light"), literal("dark")]),
2517
- version: literal("8.0.0"),
2518
- locale: union([
2519
- literal("en-US"),
2520
- literal("fr-FR"),
2521
- literal("pt-BR"),
2522
- literal("zh-CN"),
2523
- literal("es-ES"),
2524
- literal("de-DE")
2525
- ]),
2526
- tours: object({
2527
- dashboard: object({
2528
- step: number(),
2529
- completed: boolean()
2530
- }),
2531
- editor: object({
2532
- step: number(),
2533
- completed: boolean()
2534
- })
2535
- }),
2536
- autosave: boolean(),
2537
- agents: array(object({
2538
- id: string(),
2539
- name: string(),
2540
- url: string()
2541
- })),
2542
- buildHistory: object({ retentionPolicy: object({
2543
- enabled: boolean(),
2544
- maxEntries: number(),
2545
- maxAge: number()
2546
- }) }),
2547
2513
  plugins: array(object({
2548
2514
  name: string(),
2549
2515
  enabled: boolean(),
@@ -45407,20 +45373,6 @@ var WebSocketError = class extends Error {
45407
45373
  const isWebSocketRequestMessage = (message) => {
45408
45374
  return message && typeof message.channel === "string" && message.requestId;
45409
45375
  };
45410
- object({
45411
- version: literal("1.0.0"),
45412
- data: optional(record(string(), SaveLocationValidator), {})
45413
- });
45414
- const FileRepoProjectValidatorV2 = object({
45415
- id: string(),
45416
- name: string(),
45417
- description: string()
45418
- });
45419
- object({
45420
- version: literal("2.0.0"),
45421
- projects: array(FileRepoProjectValidatorV2),
45422
- pipelines: optional(array(SaveLocationValidator), [])
45423
- });
45424
45376
  //#endregion
45425
45377
  //#region ../../node_modules/tsdown/esm-shims.js
45426
45378
  var getFilename, getDirname, __dirname;
@@ -155266,14 +155218,14 @@ var src_default = createNodeDefinition({
155266
155218
  node: createAction({
155267
155219
  id: "steam-upload",
155268
155220
  name: "Upload to Steam",
155269
- description: "Upload a folder to Steam",
155221
+ description: "Upload your build directory directly to the Steamworks platform.",
155270
155222
  icon: "",
155271
155223
  displayString: "`Upload ${fmt.param(params['folder'], 'primary')} to steam`",
155272
155224
  meta: {},
155273
155225
  params: {
155274
155226
  sdk: createPathParam("", {
155275
155227
  required: true,
155276
- label: "Steam Sdk path",
155228
+ label: "Steam SDK Folder",
155277
155229
  control: {
155278
155230
  type: "path",
155279
155231
  options: { properties: ["openDirectory"] }
@@ -155281,19 +155233,19 @@ var src_default = createNodeDefinition({
155281
155233
  }),
155282
155234
  username: createStringParam("", {
155283
155235
  required: true,
155284
- label: "Steam username"
155236
+ label: "Username"
155285
155237
  }),
155286
155238
  appId: createStringParam("", {
155287
155239
  required: true,
155288
- label: "App Id"
155240
+ label: "App ID"
155289
155241
  }),
155290
155242
  depotId: createStringParam("", {
155291
155243
  required: true,
155292
- label: "Depot Id"
155244
+ label: "Depot ID"
155293
155245
  }),
155294
155246
  description: createStringParam("", {
155295
155247
  required: true,
155296
- label: "Description"
155248
+ label: "Build Description"
155297
155249
  }),
155298
155250
  folder: createPathParam("", {
155299
155251
  required: true,
@@ -155467,7 +155419,7 @@ var src_default = createNodeDefinition({
155467
155419
  placeholder: "e.g., /home/user/steam-sdk"
155468
155420
  }]
155469
155421
  }, {
155470
- name: "Steam Credentials",
155422
+ name: "Steam Account",
155471
155423
  fields: [{
155472
155424
  key: "username",
155473
155425
  label: "Steam Username",