@gtkx/config 2.0.0-beta.12 → 2.0.0-beta.13

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/src/deploy.ts CHANGED
@@ -59,107 +59,154 @@ const minimumLibraryVersionsSchema = z.record(girLibrary(LIBRARY_ID_ERROR), mini
59
59
  error: MINIMUM_LIBRARY_VERSIONS_ERROR,
60
60
  });
61
61
 
62
- const relationsSchema = z.strictObject({
62
+ /** Package relations of one kind, such as dependencies, in Debian and RPM dependency syntax. */
63
+ type DeployPackageRelationOptions = {
63
64
  /** Package relations expressed in Debian dependency syntax. */
64
- deb: textList("Debian package relation", "must be an array of Debian package relations").optional(),
65
+ deb?: string[] | undefined;
65
66
  /** Package relations expressed in RPM dependency syntax. */
67
+ rpm?: string[] | undefined;
68
+ };
69
+
70
+ const relationsSchema = z.strictObject({
71
+ deb: textList("Debian package relation", "must be an array of Debian package relations").optional(),
66
72
  rpm: textList("RPM package relation", "must be an array of RPM package relations").optional(),
67
- });
73
+ }) satisfies z.ZodType<DeployPackageRelationOptions>;
68
74
 
69
- const developerSchema = z.strictObject({
75
+ /** Package relations of a kind only Debian packages have, in Debian dependency syntax. */
76
+ type DeployDebPackageRelationOptions = {
77
+ /** Package relations expressed in Debian dependency syntax. RPM has no equivalent relation. */
78
+ deb?: string[] | undefined;
79
+ };
80
+
81
+ const debRelationsSchema = z.strictObject({
82
+ deb: textList("Debian package relation", "must be an array of Debian package relations").optional(),
83
+ }) satisfies z.ZodType<DeployDebPackageRelationOptions>;
84
+
85
+ /** The `deploy.developer` options: who develops and maintains the application. */
86
+ type DeployDeveloperOptions = {
70
87
  /** Reverse-DNS developer identifier, derived from the application ID when omitted. */
71
- id: text("must be a reverse-DNS developer id").optional(),
88
+ id?: string | undefined;
72
89
  /** Developer or organization name. Defaults to the author in package.json. */
73
- name: text("must be a developer or organization name").optional(),
90
+ name?: string | undefined;
74
91
  /** Maintainer email address. Defaults to the author's email in package.json. */
92
+ email?: string | undefined;
93
+ };
94
+
95
+ const developerSchema = z.strictObject({
96
+ id: text("must be a reverse-DNS developer id").optional(),
97
+ name: text("must be a developer or organization name").optional(),
75
98
  email: text("must be an email address").optional(),
76
- });
99
+ }) satisfies z.ZodType<DeployDeveloperOptions>;
77
100
 
78
101
  /** One software-center screenshot in `deploy.screenshots`. Either `url` or `file` must be set. */
79
- type DeployScreenshotOptions = z.infer<typeof screenshotSchema>;
102
+ type DeployScreenshotOptions = {
103
+ /** Absolute URL of a PNG or JPEG screenshot. Takes precedence over `file`. */
104
+ url?: string | undefined;
105
+ /** Screenshot path relative to the project root, resolved against `screenshotBaseUrl`. */
106
+ file?: string | undefined;
107
+ /** Caption displayed with the screenshot in software centers. */
108
+ caption?: string | undefined;
109
+ /** Marks the primary screenshot. Only the first entry set to `true` is used. */
110
+ isDefault?: boolean | undefined;
111
+ };
80
112
 
81
- /** Screenshot entry schema and the source of {@link DeployScreenshotOptions}. */
82
113
  const screenshotSchema = z
83
114
  .strictObject({
84
- /** Absolute URL of a PNG or JPEG screenshot. Takes precedence over `file`. */
85
115
  url: url("must be an absolute URL to a PNG or JPEG").optional(),
86
- /** Screenshot path relative to the project root, resolved against `screenshotBaseUrl`. */
87
116
  file: text("must be an image path relative to the project root").optional(),
88
- /** Caption displayed with the screenshot in software centers. */
89
117
  caption: text("must be a screenshot caption").optional(),
90
- /** Marks the primary screenshot. Only the first entry set to `true` is used. */
91
118
  isDefault: flag(BOOLEAN_ERROR).optional(),
92
119
  })
93
120
  .refine((entry) => entry.url !== undefined || entry.file !== undefined, {
94
121
  error: "must have either a `url` or a `file`",
95
- });
122
+ }) satisfies z.ZodType<DeployScreenshotOptions>;
96
123
 
97
124
  /** One AppStream release-history entry in `deploy.releases`. */
98
- type DeployReleaseOptions = z.infer<typeof releaseSchema>;
125
+ type DeployReleaseOptions = {
126
+ /** Application version described by this release. */
127
+ version: string;
128
+ /** Release date in `YYYY-MM-DD` format. */
129
+ date: string;
130
+ /** AppStream release classification. */
131
+ type?: "development" | "snapshot" | "stable" | undefined;
132
+ /** AppStream update urgency. */
133
+ urgency?: "critical" | "high" | "low" | "medium" | undefined;
134
+ /** Release notes, with each entry rendered as a paragraph. */
135
+ notes?: string[] | undefined;
136
+ /** Absolute URL containing further details about the release. */
137
+ url?: string | undefined;
138
+ };
99
139
 
100
- /** Release-history entry schema and the source of {@link DeployReleaseOptions}. */
101
140
  const releaseSchema = z.strictObject({
102
- /** Application version described by this release. */
103
141
  version: text(VERSION_ERROR),
104
- /** Release date in `YYYY-MM-DD` format. */
105
142
  date: z.iso.date({ error: "must be an ISO date (YYYY-MM-DD)" }),
106
- /** AppStream release classification. */
107
143
  type: z.enum(RELEASE_TYPES, { error: "must be one of development, snapshot, stable" }).optional(),
108
- /** AppStream update urgency. */
109
144
  urgency: z.enum(RELEASE_URGENCIES, { error: "must be one of critical, high, low, medium" }).optional(),
110
- /** Release notes, with each entry rendered as a paragraph. */
111
145
  notes: textList("release note paragraph", "must be an array of release note paragraphs").optional(),
112
- /** Absolute URL containing further details about the release. */
113
146
  url: url(URL_ERROR).optional(),
114
- });
147
+ }) satisfies z.ZodType<DeployReleaseOptions>;
115
148
 
116
149
  /** One file extension and MIME type registered through `deploy.fileAssociations`. */
117
- type DeployFileAssociationOptions = z.infer<typeof fileAssociationSchema>;
150
+ type DeployFileAssociationOptions = {
151
+ /** File extension to associate with the application, without a leading dot. */
152
+ extension: string;
153
+ /** MIME type registered for the file extension. */
154
+ mimeType: string;
155
+ /** Human-readable description of the file type. */
156
+ description?: string | undefined;
157
+ };
118
158
 
119
- /** File association schema and the source of {@link DeployFileAssociationOptions}. */
120
159
  const fileAssociationSchema = z.strictObject({
121
- /** File extension to associate with the application, without a leading dot. */
122
160
  extension: fileExtension("must be a file extension without a leading dot"),
123
- /** MIME type registered for the file extension. */
124
161
  mimeType: text("must be a MIME type such as text/plain"),
125
- /** Human-readable description of the file type. */
126
162
  description: text("must be a description of the file type").optional(),
127
- });
163
+ }) satisfies z.ZodType<DeployFileAssociationOptions>;
128
164
 
129
165
  /** One desktop launcher action in `deploy.desktopActions`, keyed by its action ID. */
130
- type DeployDesktopActionOptions = z.infer<typeof desktopActionSchema>;
166
+ type DeployDesktopActionOptions = {
167
+ /** Action label shown in the desktop launcher menu. */
168
+ name: string;
169
+ /**
170
+ * Arguments appended to the launch command when the action is chosen. Launchers activate the `app.<id>`
171
+ * application action of a D-Bus-activatable application instead of running this command.
172
+ */
173
+ args?: string[] | undefined;
174
+ /** Icon theme name used for the action. */
175
+ icon?: string | undefined;
176
+ };
131
177
 
132
- /** Desktop launcher action schema and the source of {@link DeployDesktopActionOptions}. */
133
178
  const desktopActionSchema = z.strictObject({
134
- /** Action label shown in the desktop launcher menu. */
135
179
  name: text("must be an action name"),
136
- /** Arguments passed to the application when the action is activated. */
137
180
  args: textList("argument", "must be an array of arguments appended to Exec").optional(),
138
- /** Icon theme name used for the action. */
139
181
  icon: text("must be an icon name").optional(),
140
- });
182
+ }) satisfies z.ZodType<DeployDesktopActionOptions>;
141
183
 
142
- const brandingSchema = z.strictObject({
184
+ /** The `deploy.branding` colors software centers use around the application's listing. */
185
+ type DeployBrandingOptions = {
143
186
  /** Primary AppStream branding color for light mode, in `#rrggbb` format. */
144
- light: hexColorSchema,
187
+ light: string;
145
188
  /** Primary AppStream branding color for dark mode, in `#rrggbb` format. */
189
+ dark: string;
190
+ };
191
+
192
+ const brandingSchema = z.strictObject({
193
+ light: hexColorSchema,
146
194
  dark: hexColorSchema,
147
- });
195
+ }) satisfies z.ZodType<DeployBrandingOptions>;
148
196
 
149
197
  /**
150
- * A `deploy.extraFiles` entry in object form: the source file, resolved against the project root, that is
151
- * installed at the entry's prefix-relative destination, and the octal mode it is installed with.
198
+ * A `deploy.extraFiles` entry in object form: the source file or directory, resolved against the project root,
199
+ * that is installed at the entry's prefix-relative destination, and the octal mode it is installed with.
152
200
  */
153
201
  type DeployExtraFileOptions = {
154
- /** Source file path, resolved relative to the project root. */
202
+ /** Source file or directory path, resolved relative to the project root. */
155
203
  source: string;
156
- /** Octal file mode. Setuid and setgid bits are rejected. */
204
+ /** Octal file mode, applied to every file of a directory source. Setuid and setgid bits are rejected. */
157
205
  mode?: string | undefined;
158
206
  };
159
- const extraFileSchema: z.ZodType<DeployExtraFileOptions> = z.strictObject({
160
- /** Source file path, resolved relative to the project root. */
207
+
208
+ const extraFileSchema = z.strictObject({
161
209
  source: text(SOURCE_PATH_ERROR),
162
- /** Octal file mode. Setuid and setgid bits are rejected. */
163
210
  mode: z
164
211
  .string({ error: FILE_MODE_ERROR })
165
212
  .regex(FILE_MODE_PATTERN, { error: FILE_MODE_ERROR })
@@ -167,7 +214,7 @@ const extraFileSchema: z.ZodType<DeployExtraFileOptions> = z.strictObject({
167
214
  error: FILE_MODE_ERROR,
168
215
  })
169
216
  .optional(),
170
- });
217
+ }) satisfies z.ZodType<DeployExtraFileOptions>;
171
218
 
172
219
  const extraFileEntrySchema = z.union([text(SOURCE_PATH_ERROR), extraFileSchema], { error: EXTRA_FILE_ERROR });
173
220
 
@@ -200,325 +247,515 @@ type DeployNodeOptions = {
200
247
  /** Enable Node.js compile caching in the generated launcher. Defaults to `true`. */
201
248
  shouldUseCompileCache?: boolean | undefined;
202
249
  };
203
- const nodeRuntimeSchema: z.ZodType<DeployNodeOptions> = z.strictObject({
204
- /** Runtime source: an official download, the running Node.js executable, or `path`. Defaults to `download`. */
250
+
251
+ const nodeRuntimeSchema = z.strictObject({
205
252
  source: z.enum(NODE_SOURCES, { error: "must be one of download, host, path" }).optional(),
206
- /** Expected Node.js version. Downloaded runtimes default to exactly 26.8.2 when omitted. */
207
253
  version: text("must be a Node.js version such as 26.7.0").optional(),
208
- /** Node.js executable path relative to the project root, required when `source` is `path`. */
209
254
  path: text("must be a path to a node binary").optional(),
210
- /** Strip the runtime when its architecture matches the host and `strip` is available. Defaults to `true`. */
211
255
  shouldStrip: flag(BOOLEAN_ERROR).optional(),
212
- /** Enable Node.js compile caching in the generated launcher. Defaults to `true`. */
213
256
  shouldUseCompileCache: flag(BOOLEAN_ERROR).optional(),
214
- });
257
+ }) satisfies z.ZodType<DeployNodeOptions>;
258
+
259
+ /**
260
+ * The `deploy.scripts` options: maintainer scripts for Debian and RPM packages. Each value is a path to a
261
+ * shell script file, not inline shell; the package carries the file's content.
262
+ */
263
+ type DeployScriptsOptions = {
264
+ /** Path to a shell script, relative to the project root, run before installing a Debian or RPM package. */
265
+ preInstall?: string | undefined;
266
+ /** Path to a shell script, relative to the project root, run after installing a Debian or RPM package. */
267
+ postInstall?: string | undefined;
268
+ /** Path to a shell script, relative to the project root, run before removing a Debian or RPM package. */
269
+ preRemove?: string | undefined;
270
+ /** Path to a shell script, relative to the project root, run after removing a Debian or RPM package. */
271
+ postRemove?: string | undefined;
272
+ };
215
273
 
216
274
  const scriptsSchema = z.strictObject({
217
- /** Shell script run before installing a Debian or RPM package. */
218
275
  preInstall: text(SCRIPT_ERROR).optional(),
219
- /** Shell script run after installing a Debian or RPM package. */
220
276
  postInstall: text(SCRIPT_ERROR).optional(),
221
- /** Shell script run before removing a Debian or RPM package. */
222
277
  preRemove: text(SCRIPT_ERROR).optional(),
223
- /** Shell script run after removing a Debian or RPM package. */
224
278
  postRemove: text(SCRIPT_ERROR).optional(),
225
- });
279
+ }) satisfies z.ZodType<DeployScriptsOptions>;
226
280
 
227
- const toolsSchema = z.strictObject({
281
+ /** The `deploy.tools` options: executables `gtkx deploy` runs instead of the ones it downloads. */
282
+ type DeployToolsOptions = {
228
283
  /** nFPM executable name or path relative to the project root. Defaults to a verified pinned download. */
284
+ nfpm?: string | undefined;
285
+ };
286
+
287
+ const toolsSchema = z.strictObject({
229
288
  nfpm: text("must be an nFPM executable name or path").optional(),
230
- });
289
+ }) satisfies z.ZodType<DeployToolsOptions>;
231
290
 
232
- const debSchema = z.strictObject({
291
+ /** The `deploy.deb` options: Debian package metadata and compression. */
292
+ type DeployDebOptions = {
233
293
  /** Debian package name. Defaults to `deploy.binaryName`. */
234
- packageName: text("must be a Debian package name").optional(),
294
+ packageName?: string | undefined;
235
295
  /** Debian archive section, derived from the application categories when omitted. */
236
- section: text("must be a Debian archive section").optional(),
296
+ section?: string | undefined;
237
297
  /** Debian package priority. Defaults to `optional`. */
238
- priority: text("must be a Debian priority").optional(),
298
+ priority?: string | undefined;
239
299
  /** Compression used for the Debian package payload. */
240
- compression: z.enum(DEB_COMPRESSIONS, { error: "must be one of gzip, none, xz, zstd" }).optional(),
300
+ compression?: "gzip" | "none" | "xz" | "zstd" | undefined;
241
301
  /** Additional Debian control fields, keyed by field name. */
302
+ fields?: Record<string, string> | undefined;
303
+ };
304
+
305
+ const debSchema = z.strictObject({
306
+ packageName: text("must be a Debian package name").optional(),
307
+ section: text("must be a Debian archive section").optional(),
308
+ priority: text("must be a Debian priority").optional(),
309
+ compression: z.enum(DEB_COMPRESSIONS, { error: "must be one of gzip, none, xz, zstd" }).optional(),
242
310
  fields: textRecord("must be a control field value", "must be a record of control field names to values").optional(),
243
- });
311
+ }) satisfies z.ZodType<DeployDebOptions>;
244
312
 
245
- const rpmSchema = z.strictObject({
313
+ /** The `deploy.rpm` options: RPM package metadata and compression. */
314
+ type DeployRpmOptions = {
246
315
  /** RPM package name. Defaults to `deploy.binaryName`. */
247
- packageName: text("must be an RPM package name").optional(),
316
+ packageName?: string | undefined;
248
317
  /** RPM package group, derived from the application categories when omitted. */
249
- group: text("must be an RPM group").optional(),
318
+ group?: string | undefined;
250
319
  /** Compression used for the RPM package payload. */
251
- compression: z.enum(RPM_COMPRESSIONS, { error: "must be one of gzip, lzma, xz, zstd" }).optional(),
320
+ compression?: "gzip" | "lzma" | "xz" | "zstd" | undefined;
252
321
  /** Installation prefixes that the RPM package allows users to relocate. */
322
+ prefixes?: string[] | undefined;
323
+ };
324
+
325
+ const rpmSchema = z.strictObject({
326
+ packageName: text("must be an RPM package name").optional(),
327
+ group: text("must be an RPM group").optional(),
328
+ compression: z.enum(RPM_COMPRESSIONS, { error: "must be one of gzip, lzma, xz, zstd" }).optional(),
253
329
  prefixes: textList("prefix", "must be an array of relocation prefixes").optional(),
254
- });
330
+ }) satisfies z.ZodType<DeployRpmOptions>;
255
331
 
256
- const appimageSchema = z.strictObject({
332
+ /** The `deploy.appimage` options: AppImage file name, compression, update information and runtime. */
333
+ type DeployAppImageOptions = {
257
334
  /** Output file name, derived from the application name, version, and architecture when omitted. */
258
- fileName: text("must be an output file name").optional(),
335
+ fileName?: string | undefined;
259
336
  /** Compression explicitly requested from appimagetool. */
260
- compression: z.literal("zstd", { error: "must be zstd" }).optional(),
337
+ compression?: "zstd" | undefined;
261
338
  /** AppImage update information string embedded in the executable. */
262
- updateInformation: text("must be an AppImage update information string").optional(),
339
+ updateInformation?: string | undefined;
263
340
  /** Custom AppImage runtime file path, resolved relative to the project root. */
341
+ runtimeFile?: string | undefined;
342
+ };
343
+
344
+ const appimageSchema = z.strictObject({
345
+ fileName: text("must be an output file name").optional(),
346
+ compression: z.literal("zstd", { error: "must be zstd" }).optional(),
347
+ updateInformation: text("must be an AppImage update information string").optional(),
264
348
  runtimeFile: text("must be a path to an AppImage runtime file").optional(),
265
- });
349
+ }) satisfies z.ZodType<DeployAppImageOptions>;
266
350
 
267
- const flatpakSourceSchema = z.strictObject({
351
+ /** The `deploy.flatpak.source` options: the Git revision a source-mode Flatpak builds. */
352
+ type DeployFlatpakSourceOptions = {
268
353
  /** Public HTTP or HTTPS Git repository URL. Defaults to the project's Git remote. */
269
- url: url("must be an absolute git URL").optional(),
354
+ url?: string | undefined;
270
355
  /** Git tag to build, pinned to its commit when `commit` is omitted. */
271
- tag: text("must be a git tag").optional(),
356
+ tag?: string | undefined;
272
357
  /** Git commit to build. Defaults to the configured tag's commit or the current HEAD. */
358
+ commit?: string | undefined;
359
+ };
360
+
361
+ const flatpakSourceSchema = z.strictObject({
362
+ url: url("must be an absolute git URL").optional(),
363
+ tag: text("must be a git tag").optional(),
273
364
  commit: text("must be a git commit sha").optional(),
274
- });
365
+ }) satisfies z.ZodType<DeployFlatpakSourceOptions>;
275
366
 
276
- const flatpakSchema = z.strictObject({
367
+ /** The `deploy.flatpak` options: runtime, sandbox permissions, build and distribution of the Flatpak. */
368
+ type DeployFlatpakOptions = {
277
369
  /** Package local build output or build from a pinned Git source inside the SDK. Defaults to `prebuilt`. */
278
- mode: z.enum(FLATPAK_MODES, { error: 'must be "prebuilt" or "source"' }).optional(),
370
+ mode?: "prebuilt" | "source" | undefined;
279
371
  /** Flatpak runtime ID. Defaults to `org.gnome.Platform`. */
280
- runtime: text("must be a runtime id").optional(),
281
- /** Flatpak runtime branch. Defaults to `50`. */
282
- runtimeVersion: text('must be a runtime branch such as "50"').optional(),
372
+ runtime?: string | undefined;
373
+ /** Flatpak runtime branch. Defaults to `51`. */
374
+ runtimeVersion?: string | undefined;
283
375
  /** Build SDK ID. Defaults to `org.gnome.Sdk`. */
284
- sdk: text("must be an SDK id").optional(),
376
+ sdk?: string | undefined;
285
377
  /** Node.js SDK extension used in source mode. Defaults to `org.freedesktop.Sdk.Extension.node26`. */
286
- nodeExtension: text("must be a Node SDK extension id").optional(),
378
+ nodeExtension?: string | undefined;
287
379
  /** Additional SDK extension IDs included in the build environment. */
288
- sdkExtensions: textList("SDK extension id", "must be an array of SDK extension ids").optional(),
380
+ sdkExtensions?: string[] | undefined;
289
381
  /** Optional Flatpak base application ID. */
290
- base: text("must be a base app id").optional(),
382
+ base?: string | undefined;
291
383
  /** Branch of the base application. */
292
- baseVersion: text("must be a base app version").optional(),
384
+ baseVersion?: string | undefined;
293
385
  /** Exported application branch. Defaults to `stable`. */
294
- branch: text("must be a branch name").optional(),
386
+ branch?: string | undefined;
295
387
  /** Sandbox permissions added to display, IPC, and GPU defaults. Negations remove matching defaults. */
296
- finishArgs: textList("finish argument", "must be an array of flatpak finish arguments").optional(),
388
+ finishArgs?: string[] | undefined;
297
389
  /** Patterns added to header, pkg-config, and static-library cleanup defaults. An empty array disables cleanup. */
298
- cleanup: textList("cleanup pattern", "must be an array of cleanup patterns").optional(),
390
+ cleanup?: string[] | undefined;
299
391
  /** Additional shell commands appended to the application's Flatpak build commands. */
300
- buildCommands: textList("shell command", "must be an array of shell commands").optional(),
392
+ buildCommands?: string[] | undefined;
301
393
  /** Additional Flatpak manifest modules built before the application module. */
302
- modules: z.array(z.unknown(), { error: "must be an array of flatpak module objects" }).optional(),
394
+ modules?: unknown[] | undefined;
303
395
  /** Git repository and revision used for source builds. */
304
- source: flatpakSourceSchema.optional(),
396
+ source?: DeployFlatpakSourceOptions | undefined;
305
397
  /** Package manager used for offline source builds, detected from the project's lockfiles when omitted. */
306
- packageManager: z.enum(PACKAGE_MANAGERS, { error: "must be one of npm, pnpm, yarn" }).optional(),
398
+ packageManager?: "npm" | "pnpm" | "yarn" | undefined;
307
399
  /** Lockfile path relative to the project root. Defaults to the selected package manager's standard lockfile. */
308
- lockfile: text("must be a path to a lockfile").optional(),
400
+ lockfile?: string | undefined;
309
401
  /** Runtime repository URL embedded in the bundle. Defaults to Flathub's `.flatpakrepo` URL. */
310
- runtimeRepo: url("must be an absolute .flatpakrepo URL").optional(),
402
+ runtimeRepo?: string | undefined;
311
403
  /** Emit a `.flatpak` bundle in addition to the local repository. Defaults to `true`. */
312
- shouldEmitBundle: flag(BOOLEAN_ERROR).optional(),
404
+ shouldEmitBundle?: boolean | undefined;
313
405
  /** Install the built application into the current user's Flatpak installation. Defaults to `false`. */
314
- shouldInstall: flag(BOOLEAN_ERROR).optional(),
406
+ shouldInstall?: boolean | undefined;
315
407
  /** Allow flatpak-builder to use rofiles-fuse. Set to `false` where FUSE is unavailable. */
408
+ shouldUseRofilesFuse?: boolean | undefined;
409
+ };
410
+
411
+ const flatpakSchema = z.strictObject({
412
+ mode: z.enum(FLATPAK_MODES, { error: 'must be "prebuilt" or "source"' }).optional(),
413
+ runtime: text("must be a runtime id").optional(),
414
+ runtimeVersion: text('must be a runtime branch such as "51"').optional(),
415
+ sdk: text("must be an SDK id").optional(),
416
+ nodeExtension: text("must be a Node SDK extension id").optional(),
417
+ sdkExtensions: textList("SDK extension id", "must be an array of SDK extension ids").optional(),
418
+ base: text("must be a base app id").optional(),
419
+ baseVersion: text("must be a base app version").optional(),
420
+ branch: text("must be a branch name").optional(),
421
+ finishArgs: textList("finish argument", "must be an array of flatpak finish arguments").optional(),
422
+ cleanup: textList("cleanup pattern", "must be an array of cleanup patterns").optional(),
423
+ buildCommands: textList("shell command", "must be an array of shell commands").optional(),
424
+ modules: z.array(z.unknown(), { error: "must be an array of flatpak module objects" }).optional(),
425
+ source: flatpakSourceSchema.optional(),
426
+ packageManager: z.enum(PACKAGE_MANAGERS, { error: "must be one of npm, pnpm, yarn" }).optional(),
427
+ lockfile: text("must be a path to a lockfile").optional(),
428
+ runtimeRepo: url("must be an absolute .flatpakrepo URL").optional(),
429
+ shouldEmitBundle: flag(BOOLEAN_ERROR).optional(),
430
+ shouldInstall: flag(BOOLEAN_ERROR).optional(),
316
431
  shouldUseRofilesFuse: flag(BOOLEAN_ERROR).optional(),
317
- });
432
+ }) satisfies z.ZodType<DeployFlatpakOptions>;
318
433
 
319
- const debSigningSchema = z.strictObject({
434
+ /** The `deploy.signing.deb` options: the key and method that sign the Debian package. */
435
+ type DeployDebSigningOptions = {
320
436
  /** PGP private key file used to sign the Debian package. */
321
- keyFile: text(KEY_FILE_ERROR),
437
+ keyFile: string;
322
438
  /** PGP signing key ID. */
323
- keyId: text(KEY_ID_ERROR).optional(),
439
+ keyId?: string | undefined;
324
440
  /** Debian package signing method. */
325
- method: z.enum(DEB_SIGN_METHODS, { error: 'must be "debsign" or "dpkg-sig"' }).optional(),
441
+ method?: "debsign" | "dpkg-sig" | undefined;
326
442
  /** Debian signature role. */
327
- type: z.enum(DEB_SIGN_TYPES, { error: "must be one of archive, maint, origin" }).optional(),
443
+ type?: "archive" | "maint" | "origin" | undefined;
328
444
  /** Name and email address recorded as the signer. */
445
+ signer?: string | undefined;
446
+ };
447
+
448
+ const debSigningSchema = z.strictObject({
449
+ keyFile: text(KEY_FILE_ERROR),
450
+ keyId: text(KEY_ID_ERROR).optional(),
451
+ method: z.enum(DEB_SIGN_METHODS, { error: 'must be "debsign" or "dpkg-sig"' }).optional(),
452
+ type: z.enum(DEB_SIGN_TYPES, { error: "must be one of archive, maint, origin" }).optional(),
329
453
  signer: text("must be a signer name and email").optional(),
330
- });
454
+ }) satisfies z.ZodType<DeployDebSigningOptions>;
331
455
 
332
- const rpmSigningSchema = z.strictObject({
456
+ /** The `deploy.signing.rpm` options: the key that signs the RPM package. */
457
+ type DeployRpmSigningOptions = {
333
458
  /** PGP private key file used to sign the RPM package. */
334
- keyFile: text(KEY_FILE_ERROR),
459
+ keyFile: string;
335
460
  /** PGP signing key ID. */
461
+ keyId?: string | undefined;
462
+ };
463
+
464
+ const rpmSigningSchema = z.strictObject({
465
+ keyFile: text(KEY_FILE_ERROR),
336
466
  keyId: text(KEY_ID_ERROR).optional(),
337
- });
467
+ }) satisfies z.ZodType<DeployRpmSigningOptions>;
468
+
469
+ /** The `deploy.signing.flatpak` options: the GPG key that signs the Flatpak repository commit. */
470
+ type DeployFlatpakSigningOptions = {
471
+ /**
472
+ * GPG key ID that signs the Flatpak repository commit. The bundle embeds its public key, so
473
+ * `flatpak install --bundle` verifies the signature.
474
+ */
475
+ gpgKeyId: string;
476
+ /** GPG home directory containing the signing key. */
477
+ gpgHomeDir?: string | undefined;
478
+ };
338
479
 
339
480
  const flatpakSigningSchema = z.strictObject({
340
- /** GPG key ID used to sign the Flatpak bundle. */
341
481
  gpgKeyId: text("must be a GPG key id"),
342
- /** GPG home directory containing the signing key. */
343
482
  gpgHomeDir: text("must be a path to a GPG home directory").optional(),
344
- });
483
+ }) satisfies z.ZodType<DeployFlatpakSigningOptions>;
345
484
 
346
- const appimageSigningSchema = z.strictObject({
485
+ /** The `deploy.signing.appimage` options: the GPG key that signs the AppImage. */
486
+ type DeployAppImageSigningOptions = {
347
487
  /** GPG key ID used by appimagetool to sign the AppImage. */
488
+ gpgKeyId: string;
489
+ };
490
+
491
+ const appimageSigningSchema = z.strictObject({
348
492
  gpgKeyId: text("must be a GPG key id"),
349
- });
493
+ }) satisfies z.ZodType<DeployAppImageSigningOptions>;
350
494
 
351
- const signingSchema = z.strictObject({
495
+ /** The `deploy.signing` options: how each package format is signed. Formats without an entry stay unsigned. */
496
+ type DeploySigningOptions = {
352
497
  /** AppImage signing options. */
353
- appimage: appimageSigningSchema.optional(),
498
+ appimage?: DeployAppImageSigningOptions | undefined;
354
499
  /** Debian package signing options. */
355
- deb: debSigningSchema.optional(),
500
+ deb?: DeployDebSigningOptions | undefined;
356
501
  /** Flatpak bundle signing options. */
357
- flatpak: flatpakSigningSchema.optional(),
502
+ flatpak?: DeployFlatpakSigningOptions | undefined;
358
503
  /** RPM package signing options. */
504
+ rpm?: DeployRpmSigningOptions | undefined;
505
+ };
506
+
507
+ const signingSchema = z.strictObject({
508
+ appimage: appimageSigningSchema.optional(),
509
+ deb: debSigningSchema.optional(),
510
+ flatpak: flatpakSigningSchema.optional(),
359
511
  rpm: rpmSigningSchema.optional(),
360
- });
512
+ }) satisfies z.ZodType<DeploySigningOptions>;
361
513
 
362
- const extraRelationsSchema = z.strictObject({
514
+ /** The `deploy.relations` options: package relationships besides dependencies, for Debian and RPM. */
515
+ type DeployRelationsOptions = {
363
516
  /** Recommended packages that extend the application's functionality. */
364
- recommends: relationsSchema.optional(),
517
+ recommends?: DeployPackageRelationOptions | undefined;
365
518
  /** Suggested companion packages. */
366
- suggests: relationsSchema.optional(),
519
+ suggests?: DeployPackageRelationOptions | undefined;
367
520
  /** Package names or capabilities supplied by this package. */
368
- provides: relationsSchema.optional(),
521
+ provides?: DeployPackageRelationOptions | undefined;
369
522
  /** Packages that cannot be installed alongside this package. */
370
- conflicts: relationsSchema.optional(),
523
+ conflicts?: DeployPackageRelationOptions | undefined;
371
524
  /** Packages whose files this package may replace. */
525
+ replaces?: DeployPackageRelationOptions | undefined;
526
+ /** Debian packages made incompatible by installing this package. Debian packages only. */
527
+ breaks?: DeployDebPackageRelationOptions | undefined;
528
+ /** Debian dependencies required before unpacking this package. Debian packages only. */
529
+ preDepends?: DeployDebPackageRelationOptions | undefined;
530
+ };
531
+
532
+ const extraRelationsSchema = z.strictObject({
533
+ recommends: relationsSchema.optional(),
534
+ suggests: relationsSchema.optional(),
535
+ provides: relationsSchema.optional(),
536
+ conflicts: relationsSchema.optional(),
372
537
  replaces: relationsSchema.optional(),
373
- /** Debian packages made incompatible by installing this package. Uses the `deb` entries. */
374
- breaks: relationsSchema.optional(),
375
- /** Debian dependencies required before unpacking this package. Uses the `deb` entries. */
376
- preDepends: relationsSchema.optional(),
377
- });
538
+ breaks: debRelationsSchema.optional(),
539
+ preDepends: debRelationsSchema.optional(),
540
+ }) satisfies z.ZodType<DeployRelationsOptions>;
378
541
 
379
- const deploySchema = z.strictObject({
542
+ /** The `deploy` options: application metadata, bundled runtime settings, and packaging options for `gtkx deploy`. */
543
+ type DeployOptions = {
380
544
  /** Package formats to build. Defaults to `["flatpak"]`; overridden by `gtkx deploy --target`. */
545
+ targets?: ("appimage" | "deb" | "flatpak" | "rpm")[] | undefined;
546
+ /** Target CPU architectures. Defaults to the host architecture; overridden by `gtkx deploy --arch`. */
547
+ architectures?: ("arm64" | "x64")[] | undefined;
548
+ /** Deployment directory relative to the project root. Defaults to `build`, with packages in its `out` directory. */
549
+ outDir?: string | undefined;
550
+ /** Display name, derived from package.json's name or the application ID when omitted. */
551
+ name?: string | undefined;
552
+ /** Generic application description shown by desktop launchers, such as `Text Editor`. */
553
+ genericName?: string | undefined;
554
+ /** Launcher command name, derived from package.json's name or the application ID when omitted. */
555
+ binaryName?: string | undefined;
556
+ /** Application version. Defaults to the version in package.json. */
557
+ version?: string | undefined;
558
+ /** Debian packaging revision and RPM release. Defaults to `1`. */
559
+ release?: string | undefined;
560
+ /** Non-negative Debian and RPM version epoch, omitted from package metadata unless configured. */
561
+ epoch?: number | undefined;
562
+ /** Single-line summary without a trailing period. Defaults to the first line of package.json's description. */
563
+ summary?: string | undefined;
564
+ /** Long description as paragraphs. Defaults to the summary when omitted or empty. */
565
+ description?: string[] | undefined;
566
+ /** Search keywords included in the desktop entry and AppStream metadata. */
567
+ keywords?: string[] | undefined;
568
+ /** Freedesktop application categories used by launchers, software centers, and package metadata. */
569
+ categories?: string[] | undefined;
570
+ /** Supported MIME types, combined with types from file associations and URL protocols. */
571
+ mimeTypes?: string[] | undefined;
572
+ /** Developer identity and package maintainer details. */
573
+ developer?: DeployDeveloperOptions | undefined;
574
+ /** Application license as an SPDX expression. Defaults to the license in package.json. */
575
+ license?: string | undefined;
576
+ /** License file path relative to the project root, detected from common LICENSE or COPYING names when omitted. */
577
+ licenseFile?: string | undefined;
578
+ /** SPDX license expression for the AppStream metadata. Defaults to `CC0-1.0`. */
579
+ metadataLicense?: string | undefined;
580
+ /** Copyright notice. Defaults to the build year and developer name. */
581
+ copyright?: string | undefined;
582
+ /** Application homepage URL. Defaults to the homepage in package.json. */
583
+ homepage?: string | undefined;
584
+ /** Additional AppStream links keyed by their purpose, such as `bugtracker` or `help`. */
585
+ urls?:
586
+ | Partial<
587
+ Record<
588
+ "bugtracker" | "contact" | "contribute" | "donation" | "faq" | "help" | "translate" | "vcs-browser",
589
+ string
590
+ >
591
+ >
592
+ | undefined;
593
+ /** Screenshots for software centers. Each entry requires a `url` or `file`. */
594
+ screenshots?: DeployScreenshotOptions[] | undefined;
595
+ /** Base URL for screenshot files, inferred from a GitHub or GitLab remote when omitted. */
596
+ screenshotBaseUrl?: string | undefined;
597
+ /** Primary branding colors included in AppStream metadata. */
598
+ branding?: DeployBrandingOptions | undefined;
599
+ /** OARS 1.1 content-rating attributes mapped to their intensities. */
600
+ contentRating?: Record<string, "intense" | "mild" | "moderate" | "none"> | undefined;
601
+ /** AppStream release history, sorted newest first. Defaults to the application version and build date. */
602
+ releases?: DeployReleaseOptions[] | undefined;
603
+ /** Application arguments included in the desktop entry's launch command. */
604
+ execArgs?: string[] | undefined;
605
+ /** Environment variables exported by the generated launcher. Keys must be POSIX environment names. */
606
+ launcherEnv?: Record<string, string> | undefined;
607
+ /** Node.js flags placed before the application bundle in the generated launcher. */
608
+ nodeFlags?: string[] | undefined;
609
+ /** File extensions and MIME types registered for the application. */
610
+ fileAssociations?: DeployFileAssociationOptions[] | undefined;
611
+ /** URL schemes handled by the application, registered as `x-scheme-handler` MIME types. */
612
+ protocols?: string[] | undefined;
613
+ /**
614
+ * Desktop launcher actions keyed by action ID. With `isDbusActivatable`, the application must register an
615
+ * `app.<id>` action for each one.
616
+ */
617
+ desktopActions?: Record<string, DeployDesktopActionOptions> | undefined;
618
+ /**
619
+ * Additional desktop entry keys, overriding non-reserved generated values.
620
+ * `DBusActivatable` and `Version` are rejected; use `deploy.isDbusActivatable` for D-Bus activation.
621
+ */
622
+ desktopEntry?: Record<string, string> | undefined;
623
+ /** Additional XML fragments appended to the AppStream component. */
624
+ metainfoExtra?: string[] | undefined;
625
+ /** Enable D-Bus activation in the desktop entry and generate a session bus service file. Defaults to `false`. */
626
+ isDbusActivatable?: boolean | undefined;
627
+ /**
628
+ * Extra files keyed by destination inside the install prefix, without a leading slash or a `..` segment.
629
+ * Each value is a source path relative to the project root, or a {@link DeployExtraFileOptions} entry that
630
+ * also sets the file mode. A directory source installs every file below it at the same path below the
631
+ * destination; without a mode, each file is executable when its source is. Scripts installed this way, such
632
+ * as a helper command's launcher, can run the bundled Node.js runtime at `lib/<binaryName>/node` in every
633
+ * prebuilt target and in source Flatpaks.
634
+ */
635
+ extraFiles?: Record<string, string | DeployExtraFileOptions> | undefined;
636
+ /** Minimum runtime library versions keyed by GIR library ID, used when deriving package dependencies. */
637
+ minimumLibraryVersions?: Record<string, string> | undefined;
638
+ /** Additional Debian and RPM dependencies merged with automatically detected dependencies. */
639
+ depends?: DeployPackageRelationOptions | undefined;
640
+ /** Additional package relationships for Debian and RPM. */
641
+ relations?: DeployRelationsOptions | undefined;
642
+ /** Installation and removal scripts for Debian and RPM packages. */
643
+ scripts?: DeployScriptsOptions | undefined;
644
+ /** Node.js runtime bundled with prebuilt packages and launcher compile-cache settings. */
645
+ node?: DeployNodeOptions | undefined;
646
+ /** Overrides for executables used to build packages. */
647
+ tools?: DeployToolsOptions | undefined;
648
+ /** Per-format package signing options. */
649
+ signing?: DeploySigningOptions | undefined;
650
+ /** AppImage packaging options. */
651
+ appimage?: DeployAppImageOptions | undefined;
652
+ /** Debian package metadata and compression options. */
653
+ deb?: DeployDebOptions | undefined;
654
+ /** Flatpak runtime, sandbox, build, and distribution options. */
655
+ flatpak?: DeployFlatpakOptions | undefined;
656
+ /** RPM package metadata and compression options. */
657
+ rpm?: DeployRpmOptions | undefined;
658
+ };
659
+
660
+ const deploySchema = z.strictObject({
381
661
  targets: z
382
662
  .array(z.enum(DEPLOY_TARGET_NAMES, { error: "must be one of appimage, deb, flatpak, rpm" }), {
383
663
  error: "must be an array of deploy targets",
384
664
  })
385
665
  .optional(),
386
- /** Target CPU architectures. Defaults to the host architecture; overridden by `gtkx deploy --arch`. */
387
666
  architectures: z
388
667
  .array(z.enum(DEPLOY_ARCH_NAMES, { error: "must be one of arm64, x64" }), {
389
668
  error: "must be an array of deploy architectures",
390
669
  })
391
670
  .optional(),
392
- /** Deployment directory relative to the project root. Defaults to `build`, with packages in its `out` directory. */
393
671
  outDir: text("must be a directory path relative to the project root").optional(),
394
- /** Display name, derived from package.json's name or the application ID when omitted. */
395
672
  name: text("must be the display name shown in the launcher").optional(),
396
- /** Generic application description shown by desktop launchers, such as `Text Editor`. */
397
673
  genericName: text("must be a generic application name").optional(),
398
- /** Launcher command name, derived from package.json's name or the application ID when omitted. */
399
674
  binaryName: text("must be a kebab-case command name").optional(),
400
- /** Application version. Defaults to the version in package.json. */
401
675
  version: text(VERSION_ERROR).optional(),
402
- /** Debian packaging revision and RPM release. Defaults to `1`. */
403
676
  release: text("must be a packaging revision").optional(),
404
- /** Non-negative Debian and RPM version epoch, omitted from package metadata unless configured. */
405
677
  epoch: z.int({ error: EPOCH_ERROR }).min(0, { error: EPOCH_ERROR }).optional(),
406
- /** Single-line summary without a trailing period. Defaults to the first line of package.json's description. */
407
678
  summary: text("must be a single-line summary without a trailing period").optional(),
408
- /** Long description as paragraphs. Defaults to the summary when omitted or empty. */
409
679
  description: textList("description paragraph", "must be an array of description paragraphs").optional(),
410
- /** Search keywords included in the desktop entry and AppStream metadata. */
411
680
  keywords: textList("search keyword", "must be an array of search keywords").optional(),
412
- /** Freedesktop application categories used by launchers, software centers, and package metadata. */
413
681
  categories: textList("freedesktop category", "must be an array of freedesktop categories").optional(),
414
- /** Supported MIME types, combined with types from file associations and URL protocols. */
415
682
  mimeTypes: textList("MIME type", "must be an array of MIME types").optional(),
416
- /** Developer identity and package maintainer details. */
417
683
  developer: developerSchema.optional(),
418
- /** Application license as an SPDX expression. Defaults to the license in package.json. */
419
684
  license: text(SPDX_ERROR).optional(),
420
- /** License file path relative to the project root, detected from common LICENSE or COPYING names when omitted. */
421
685
  licenseFile: text("must be a path to a license file").optional(),
422
- /** SPDX license expression for the AppStream metadata. Defaults to `CC0-1.0`. */
423
686
  metadataLicense: text(SPDX_ERROR).optional(),
424
- /** Copyright notice. Defaults to the build year and developer name. */
425
687
  copyright: text("must be a copyright line").optional(),
426
- /** Application homepage URL. Defaults to the homepage in package.json. */
427
688
  homepage: url(URL_ERROR).optional(),
428
- /** Additional AppStream links keyed by their purpose, such as `bugtracker` or `help`. */
429
689
  urls: z
430
690
  .partialRecord(z.enum(URL_KINDS), url(URL_ERROR), {
431
691
  error: "must be a record of AppStream url kinds to URLs",
432
692
  })
433
693
  .optional(),
434
- /**
435
- * Screenshots for software centers. Each entry requires a `url` or `file`.
436
- * @see {@link DeployScreenshotOptions} for the fields accepted by each entry.
437
- */
438
694
  screenshots: z.array(screenshotSchema, { error: "must be an array of screenshots" }).optional(),
439
- /** Base URL for screenshot files, inferred from a GitHub or GitLab remote when omitted. */
440
695
  screenshotBaseUrl: url("must be an absolute base URL").optional(),
441
- /** Primary branding colors included in AppStream metadata. */
442
696
  branding: brandingSchema.optional(),
443
- /** OARS 1.1 content-rating attributes mapped to their intensities. */
444
697
  contentRating: z
445
698
  .record(z.string(), z.enum(OARS_INTENSITIES, { error: "must be one of intense, mild, moderate, none" }), {
446
699
  error: "must be a record of OARS 1.1 attribute ids to intensities",
447
700
  })
448
701
  .optional(),
449
- /**
450
- * AppStream release history, sorted newest first. Defaults to the application version and build date.
451
- * @see {@link DeployReleaseOptions} for the fields accepted by each entry.
452
- */
453
702
  releases: z.array(releaseSchema, { error: "must be an array of releases" }).optional(),
454
- /** Application arguments included in the desktop entry's launch command. */
455
703
  execArgs: textList("argument", "must be an array of arguments appended to Exec").optional(),
456
- /** Environment variables exported by the generated launcher. Keys must be POSIX environment names. */
457
704
  launcherEnv: launcherEnvSchema.optional(),
458
- /** Node.js flags placed before the application bundle in the generated launcher. */
459
705
  nodeFlags: nodeFlagsSchema.optional(),
460
- /**
461
- * File extensions and MIME types registered for the application.
462
- * @see {@link DeployFileAssociationOptions} for the fields accepted by each entry.
463
- */
464
706
  fileAssociations: z.array(fileAssociationSchema, { error: "must be an array of file associations" }).optional(),
465
- /** URL schemes handled by the application, registered as `x-scheme-handler` MIME types. */
466
707
  protocols: textList("URL scheme", "must be an array of URL schemes").optional(),
467
- /**
468
- * Desktop launcher actions keyed by action ID.
469
- * @see {@link DeployDesktopActionOptions} for the fields accepted by each entry.
470
- */
471
708
  desktopActions: z
472
709
  .record(z.string(), desktopActionSchema, { error: "must be a record of action ids to actions" })
473
710
  .optional(),
474
- /**
475
- * Additional desktop entry keys, overriding non-reserved generated values.
476
- * `DBusActivatable` and `Version` are rejected; use `deploy.isDbusActivatable` for D-Bus activation.
477
- */
478
711
  desktopEntry: textRecord(
479
712
  "must be a desktop entry value",
480
713
  "must be a record of desktop entry keys to values",
481
714
  ).optional(),
482
- /** Additional XML fragments appended to the AppStream component. */
483
715
  metainfoExtra: textList("AppStream XML fragment", "must be an array of AppStream XML fragments").optional(),
484
- /** Enable D-Bus activation in the desktop entry and generate a session bus service file. Defaults to `false`. */
485
716
  isDbusActivatable: flag(BOOLEAN_ERROR).optional(),
486
- /** Extra files keyed by destination inside the install prefix, with source paths relative to the project root. */
487
717
  extraFiles: relativePathRecord(
488
718
  "must be a destination path inside the install prefix, without a leading slash or a .. segment",
489
719
  extraFileEntrySchema,
490
720
  "must be a record of prefix-relative destinations to source paths or { source, mode } entries",
491
721
  ).optional(),
492
- /** Minimum runtime library versions keyed by GIR library ID, used when deriving package dependencies. */
493
722
  minimumLibraryVersions: minimumLibraryVersionsSchema.optional(),
494
- /** Additional Debian and RPM dependencies merged with automatically detected dependencies. */
495
723
  depends: relationsSchema.optional(),
496
- /** Additional package relationships for Debian and RPM. */
497
724
  relations: extraRelationsSchema.optional(),
498
- /** Installation and removal scripts for Debian and RPM packages. */
499
725
  scripts: scriptsSchema.optional(),
500
- /** Node.js runtime bundled with prebuilt packages and launcher compile-cache settings. */
501
726
  node: nodeRuntimeSchema.optional(),
502
- /** Overrides for executables used to build packages. */
503
727
  tools: toolsSchema.optional(),
504
- /** Per-format package signing options. */
505
728
  signing: signingSchema.optional(),
506
- /** AppImage packaging options. */
507
729
  appimage: appimageSchema.optional(),
508
- /** Debian package metadata and compression options. */
509
730
  deb: debSchema.optional(),
510
- /** Flatpak runtime, sandbox, build, and distribution options. */
511
731
  flatpak: flatpakSchema.optional(),
512
- /** RPM package metadata and compression options. */
513
732
  rpm: rpmSchema.optional(),
514
- });
733
+ }) satisfies z.ZodType<DeployOptions>;
515
734
 
516
735
  export {
517
736
  deploySchema,
737
+ type DeployAppImageOptions,
738
+ type DeployAppImageSigningOptions,
739
+ type DeployBrandingOptions,
740
+ type DeployDebOptions,
741
+ type DeployDebPackageRelationOptions,
742
+ type DeployDebSigningOptions,
518
743
  type DeployDesktopActionOptions,
744
+ type DeployDeveloperOptions,
519
745
  type DeployExtraFileOptions,
520
746
  type DeployFileAssociationOptions,
747
+ type DeployFlatpakOptions,
748
+ type DeployFlatpakSigningOptions,
749
+ type DeployFlatpakSourceOptions,
521
750
  type DeployNodeOptions,
751
+ type DeployOptions,
752
+ type DeployPackageRelationOptions,
753
+ type DeployRelationsOptions,
522
754
  type DeployReleaseOptions,
755
+ type DeployRpmOptions,
756
+ type DeployRpmSigningOptions,
523
757
  type DeployScreenshotOptions,
758
+ type DeployScriptsOptions,
759
+ type DeploySigningOptions,
760
+ type DeployToolsOptions,
524
761
  };