volleyballsimtypes 0.0.517 → 0.0.519

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.
@@ -10,4 +10,5 @@ export interface BaseConfig {
10
10
  readonly receiveByPlayer?: Record<string, Record<string, boolean>>;
11
11
  readonly blocking?: Record<string, Record<string, Record<string, boolean>>>;
12
12
  readonly attackContact?: Record<string, Record<string, BaseCoord>>;
13
+ readonly liberoCoords?: Record<string, Record<string, Record<string, BaseCoord>>>;
13
14
  }
@@ -320,6 +320,10 @@ export declare const TacticsInputSchema: z.ZodObject<{
320
320
  d: z.ZodNumber;
321
321
  r: z.ZodNumber;
322
322
  }, z.core.$strip>>>>;
323
+ liberoCoords: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
324
+ d: z.ZodNumber;
325
+ r: z.ZodNumber;
326
+ }, z.core.$strip>>>>>;
323
327
  }, z.core.$strip>>;
324
328
  replaceKnockedImmediately: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
325
329
  injuryReplacements: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -99,7 +99,10 @@ const baseConfigSchema = zod_1.z.object({
99
99
  blocking: zod_1.z.record(zod_1.z.string(), zod_1.z.record(zod_1.z.string(), zod_1.z.record(zod_1.z.string(), zod_1.z.boolean()))).optional(),
100
100
  // Desired attack contact per attacker (trajectory-set, owner 2026-08-12): [rotation][zone] -> {d,r}. Optional so
101
101
  // configs saved before this field validate unchanged.
102
- attackContact: zod_1.z.record(zod_1.z.string(), zod_1.z.record(zod_1.z.string(), baseCoordSchema)).optional()
102
+ attackContact: zod_1.z.record(zod_1.z.string(), zod_1.z.record(zod_1.z.string(), baseCoordSchema)).optional(),
103
+ // Independent libero coords (owner 2026-08-14): [formation][rotation][zone] -> {d,r}, same shape as coords. Optional
104
+ // so configs saved before this field validate unchanged; absent => the libero shares the zone coord.
105
+ liberoCoords: zod_1.z.record(zod_1.z.string(), zod_1.z.record(zod_1.z.string(), zod_1.z.record(zod_1.z.string(), baseCoordSchema))).optional()
103
106
  });
104
107
  exports.TacticsInputSchema = zod_1.z.object({
105
108
  lineup: lineupSchema,
@@ -328,6 +328,10 @@ export declare const TeamInputSchema: z.ZodObject<{
328
328
  d: z.ZodNumber;
329
329
  r: z.ZodNumber;
330
330
  }, z.core.$strip>>>>;
331
+ liberoCoords: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
332
+ d: z.ZodNumber;
333
+ r: z.ZodNumber;
334
+ }, z.core.$strip>>>>>;
331
335
  }, z.core.$strip>>;
332
336
  replaceKnockedImmediately: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
333
337
  injuryReplacements: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1,5 +1,5 @@
1
1
  export declare const TEAM_NAME_MIN_LENGTH = 3;
2
- export declare const TEAM_NAME_MAX_LENGTH = 40;
2
+ export declare const TEAM_NAME_MAX_LENGTH = 30;
3
3
  /**
4
4
  * Allowed team-name characters: Unicode letters (any script — Latin incl. ñ and
5
5
  * Polish letters, Cyrillic, Greek, etc.), combining marks, digits, spaces, and
@@ -4,7 +4,7 @@ exports.TEAM_NAME_PATTERN = exports.TEAM_NAME_MAX_LENGTH = exports.TEAM_NAME_MIN
4
4
  exports.normalizeTeamName = normalizeTeamName;
5
5
  exports.isValidTeamName = isValidTeamName;
6
6
  exports.TEAM_NAME_MIN_LENGTH = 3;
7
- exports.TEAM_NAME_MAX_LENGTH = 40;
7
+ exports.TEAM_NAME_MAX_LENGTH = 30;
8
8
  /**
9
9
  * Allowed team-name characters: Unicode letters (any script — Latin incl. ñ and
10
10
  * Polish letters, Cyrillic, Greek, etc.), combining marks, digits, spaces, and
@@ -10,4 +10,5 @@ export interface BaseConfig {
10
10
  readonly receiveByPlayer?: Record<string, Record<string, boolean>>;
11
11
  readonly blocking?: Record<string, Record<string, Record<string, boolean>>>;
12
12
  readonly attackContact?: Record<string, Record<string, BaseCoord>>;
13
+ readonly liberoCoords?: Record<string, Record<string, Record<string, BaseCoord>>>;
13
14
  }
@@ -320,6 +320,10 @@ export declare const TacticsInputSchema: z.ZodObject<{
320
320
  d: z.ZodNumber;
321
321
  r: z.ZodNumber;
322
322
  }, z.core.$strip>>>>;
323
+ liberoCoords: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
324
+ d: z.ZodNumber;
325
+ r: z.ZodNumber;
326
+ }, z.core.$strip>>>>>;
323
327
  }, z.core.$strip>>;
324
328
  replaceKnockedImmediately: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
325
329
  injuryReplacements: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -96,7 +96,10 @@ const baseConfigSchema = z.object({
96
96
  blocking: z.record(z.string(), z.record(z.string(), z.record(z.string(), z.boolean()))).optional(),
97
97
  // Desired attack contact per attacker (trajectory-set, owner 2026-08-12): [rotation][zone] -> {d,r}. Optional so
98
98
  // configs saved before this field validate unchanged.
99
- attackContact: z.record(z.string(), z.record(z.string(), baseCoordSchema)).optional()
99
+ attackContact: z.record(z.string(), z.record(z.string(), baseCoordSchema)).optional(),
100
+ // Independent libero coords (owner 2026-08-14): [formation][rotation][zone] -> {d,r}, same shape as coords. Optional
101
+ // so configs saved before this field validate unchanged; absent => the libero shares the zone coord.
102
+ liberoCoords: z.record(z.string(), z.record(z.string(), z.record(z.string(), baseCoordSchema))).optional()
100
103
  });
101
104
  export const TacticsInputSchema = z.object({
102
105
  lineup: lineupSchema,
@@ -328,6 +328,10 @@ export declare const TeamInputSchema: z.ZodObject<{
328
328
  d: z.ZodNumber;
329
329
  r: z.ZodNumber;
330
330
  }, z.core.$strip>>>>;
331
+ liberoCoords: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
332
+ d: z.ZodNumber;
333
+ r: z.ZodNumber;
334
+ }, z.core.$strip>>>>>;
331
335
  }, z.core.$strip>>;
332
336
  replaceKnockedImmediately: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
333
337
  injuryReplacements: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1,5 +1,5 @@
1
1
  export declare const TEAM_NAME_MIN_LENGTH = 3;
2
- export declare const TEAM_NAME_MAX_LENGTH = 40;
2
+ export declare const TEAM_NAME_MAX_LENGTH = 30;
3
3
  /**
4
4
  * Allowed team-name characters: Unicode letters (any script — Latin incl. ñ and
5
5
  * Polish letters, Cyrillic, Greek, etc.), combining marks, digits, spaces, and
@@ -1,5 +1,5 @@
1
1
  export const TEAM_NAME_MIN_LENGTH = 3;
2
- export const TEAM_NAME_MAX_LENGTH = 40;
2
+ export const TEAM_NAME_MAX_LENGTH = 30;
3
3
  /**
4
4
  * Allowed team-name characters: Unicode letters (any script — Latin incl. ñ and
5
5
  * Polish letters, Cyrillic, Greek, etc.), combining marks, digits, spaces, and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volleyballsimtypes",
3
- "version": "0.0.517",
3
+ "version": "0.0.519",
4
4
  "description": "vbsim types",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",