Skip to content

Commit c341ac2

Browse files
authored
Sync alphalib 2025 09 30 (#258)
1 parent d956ac1 commit c341ac2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+145
-147
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"mp3"
1313
],
1414
"author": "Tim Koschuetzki <tim@transloadit.com>",
15-
"packageManager": "yarn@4.9.4",
15+
"packageManager": "yarn@4.10.3",
1616
"engines": {
1717
"node": ">= 20"
1818
},

src/alphalib/types/robots/assembly-savejson.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { z } from 'zod'
2-
3-
import { interpolateRobot, type RobotMetaInput, robotBase } from './_instructions-primitives.ts'
2+
import type { RobotMetaInput } from './_instructions-primitives.ts'
3+
import { interpolateRobot, robotBase } from './_instructions-primitives.ts'
44

55
// @ts-expect-error - AssemblySavejsonRobot is not ready yet @TODO please supply missing keys
66
export const meta: RobotMetaInput = {

src/alphalib/types/robots/audio-concat.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ export const meta: RobotMetaInput = {
4444
},
4545
},
4646
},
47-
example_code_description: `If you have a form with 3 file input fields and want to concatenate the uploaded audios in a specific order, instruct Transloadit using the \`name\` attribute of each input field. Use this attribute as the value for the \`fields\` key in the JSON, and set \`as\` to \`audio_[[index]]\`. Transloadit will concatenate the files based on the ascending index order:`,
47+
example_code_description:
48+
'If you have a form with 3 file input fields and want to concatenate the uploaded audios in a specific order, instruct Transloadit using the `name` attribute of each input field. Use this attribute as the value for the `fields` key in the JSON, and set `as` to `audio_[[index]]`. Transloadit will concatenate the files based on the ascending index order:',
4849
minimum_charge: 0,
4950
output_factor: 0.8,
5051
override_lvl1: 'Audio Encoding',
@@ -74,7 +75,7 @@ export const robotAudioConcatInstructionsSchema = robotBase
7475
result: z
7576
.boolean()
7677
.optional()
77-
.describe(`Whether the results of this Step should be present in the Assembly Status JSON`),
78+
.describe('Whether the results of this Step should be present in the Assembly Status JSON'),
7879
robot: z.literal('/audio/concat').describe(`
7980
This Robot can concatenate an almost infinite number of audio files.
8081
`),

src/alphalib/types/robots/audio-encode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const robotAudioEncodeInstructionsSchema = robotBase
5858
result: z
5959
.boolean()
6060
.optional()
61-
.describe(`Whether the results of this Step should be present in the Assembly Status JSON`),
61+
.describe('Whether the results of this Step should be present in the Assembly Status JSON'),
6262
robot: z.literal('/audio/encode'),
6363
bitrate: bitrateSchema.optional().describe(`
6464
Bit rate of the resulting audio file, in bits per second. If not specified will default to the bit rate of the input audio file.

src/alphalib/types/robots/audio-merge.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ export const meta: RobotMetaInput = {
4545
},
4646
},
4747
},
48-
example_code_description: `If you have a form with 3 file input fields and wish to overlay the uploaded audios, instruct Transloadit using the \`name\` attribute of each input field. Use this attribute as the value for the \`fields\` key in the JSON, and set \`as\` to \`audio\`:`,
48+
example_code_description:
49+
'If you have a form with 3 file input fields and wish to overlay the uploaded audios, instruct Transloadit using the `name` attribute of each input field. Use this attribute as the value for the `fields` key in the JSON, and set `as` to `audio`:',
4950
minimum_charge: 0,
5051
output_factor: 0.8,
5152
override_lvl1: 'Audio Encoding',

src/alphalib/types/robots/audio-waveform.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export const meta: RobotMetaInput = {
2626
},
2727
},
2828
},
29-
example_code_description: `Generate a 400×200 waveform in \`#0099cc\` color from an uploaded audio file:`,
29+
example_code_description:
30+
'Generate a 400×200 waveform in `#0099cc` color from an uploaded audio file:',
3031
extended_description: `
3132
Here is an example waveform image:
3233

src/alphalib/types/robots/azure-import.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export const meta: RobotMetaInput = {
2626
},
2727
},
2828
},
29-
example_code_description: `Import files from the \`path/to/files\` directory and its subdirectories:`,
29+
example_code_description:
30+
'Import files from the `path/to/files` directory and its subdirectories:',
3031
has_small_icon: true,
3132
minimum_charge: 0,
3233
output_factor: 1,

src/alphalib/types/robots/azure-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const meta: RobotMetaInput = {
1818
},
1919
},
2020
},
21-
example_code_description: `Export uploaded files to \`my_target_folder\` on Azure:`,
21+
example_code_description: 'Export uploaded files to `my_target_folder` on Azure:',
2222
has_small_icon: true,
2323
minimum_charge: 0,
2424
output_factor: 1,

src/alphalib/types/robots/backblaze-import.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export const meta: RobotMetaInput = {
2626
},
2727
},
2828
},
29-
example_code_description: `Import files from the \`path/to/files\` directory and its subdirectories:`,
29+
example_code_description:
30+
'Import files from the `path/to/files` directory and its subdirectories:',
3031
has_small_icon: true,
3132
minimum_charge: 0,
3233
output_factor: 1,

src/alphalib/types/robots/backblaze-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const meta: RobotMetaInput = {
1818
},
1919
},
2020
},
21-
example_code_description: `Export uploaded files to \`my_target_folder\` on Backblaze:`,
21+
example_code_description: 'Export uploaded files to `my_target_folder` on Backblaze:',
2222
extended_description: `
2323
## Access
2424

0 commit comments

Comments
 (0)