ci: install @types/affine__env on server build (#11252)

This commit is contained in:
fengmk2
2025-03-28 05:01:47 +00:00
parent e2c752d56f
commit bfa7e9a007
15 changed files with 22 additions and 22 deletions

View File

@@ -22,29 +22,29 @@ defineModuleConfig('redis', {
db: {
desc: 'The database index of redis server to be used(Must be less than 10).',
default: 0,
env: ['REDIS_DATABASE', 'integer'],
env: ['REDIS_SERVER_DATABASE', 'integer'],
validate: val => val >= 0 && val < 10,
},
host: {
desc: 'The host of the redis server.',
default: 'localhost',
env: ['REDIS_HOST', 'string'],
env: ['REDIS_SERVER_HOST', 'string'],
},
port: {
desc: 'The port of the redis server.',
default: 6379,
env: ['REDIS_PORT', 'integer'],
env: ['REDIS_SERVER_PORT', 'integer'],
shape: z.number().positive(),
},
username: {
desc: 'The username of the redis server.',
default: '',
env: ['REDIS_USERNAME', 'string'],
env: ['REDIS_SERVER_USERNAME', 'string'],
},
password: {
desc: 'The password of the redis server.',
default: '',
env: ['REDIS_PASSWORD', 'string'],
env: ['REDIS_SERVER_PASSWORD', 'string'],
},
ioredis: {
desc: 'The config for the ioredis client.',