@orakl/protocol 0.6.0 → 0.7.0

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.
@@ -391,7 +391,7 @@ declare const QuizPresetSchema: Schema.Struct<{
391
391
  created_at: typeof Schema.String;
392
392
  }>;
393
393
  export type QuizPreset = typeof QuizPresetSchema.Type;
394
- /** What stopped a saved Quiz's members from drawing: closed or gone Seasons, gone categories. */
394
+ /** What stopped a saved Quiz's members from drawing: closed or gone Seasons, gone or hidden categories. */
395
395
  declare const PresetMarksSchema: Schema.Struct<{
396
396
  closedSeasons: Schema.mutable<Schema.Array$<Schema.Schema<{
397
397
  readonly name: string;
@@ -404,6 +404,7 @@ declare const PresetMarksSchema: Schema.Struct<{
404
404
  }, never>>>;
405
405
  missingSeasons: Schema.mutable<Schema.Array$<Schema.Schema<string, string, never>>>;
406
406
  missingCategories: Schema.mutable<Schema.Array$<Schema.Schema<string, string, never>>>;
407
+ hiddenCategories: Schema.mutable<Schema.Array$<Schema.Schema<string, string, never>>>;
407
408
  }>;
408
409
  export type PresetMarks = typeof PresetMarksSchema.Type;
409
410
  /** Body of `GET /api/pages/curator/create`. */
@@ -482,6 +483,7 @@ export declare const CuratorCreatePageSchema: Schema.Struct<{
482
483
  }, never>>>;
483
484
  missingSeasons: Schema.mutable<Schema.Array$<Schema.Schema<string, string, never>>>;
484
485
  missingCategories: Schema.mutable<Schema.Array$<Schema.Schema<string, string, never>>>;
486
+ hiddenCategories: Schema.mutable<Schema.Array$<Schema.Schema<string, string, never>>>;
485
487
  }>>;
486
488
  presetLimit: typeof Schema.Number;
487
489
  subscription: Schema.NullOr<Schema.Struct<{
@@ -258,7 +258,7 @@ const QuizPresetSchema = Schema.Struct({
258
258
  max_players: Schema.NullOr(Schema.Number),
259
259
  created_at: Schema.String,
260
260
  });
261
- /** What stopped a saved Quiz's members from drawing: closed or gone Seasons, gone categories. */
261
+ /** What stopped a saved Quiz's members from drawing: closed or gone Seasons, gone or hidden categories. */
262
262
  const PresetMarksSchema = Schema.Struct({
263
263
  closedSeasons: Arr(Schema.Struct({
264
264
  id: Schema.String,
@@ -267,6 +267,7 @@ const PresetMarksSchema = Schema.Struct({
267
267
  })),
268
268
  missingSeasons: Arr(Schema.String),
269
269
  missingCategories: Arr(Schema.String),
270
+ hiddenCategories: Arr(Schema.String),
270
271
  });
271
272
  /** Body of `GET /api/pages/curator/create`. */
272
273
  export const CuratorCreatePageSchema = Schema.Struct({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orakl/protocol",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Orakl wire contract: WebSocket frames and API response schemas.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {