@tietokilta/ilmomasiina-models 2.0.0-alpha24 → 2.0.0-alpha26

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.
Files changed (64) hide show
  1. package/dist/attrs/event.d.ts.map +1 -1
  2. package/dist/attrs/event.js +44 -68
  3. package/dist/index.d.ts +2 -2
  4. package/dist/models/answer.d.ts +4 -4
  5. package/dist/models/auditlog.d.ts +1 -1
  6. package/dist/models/index.d.ts +7 -7
  7. package/dist/models/question.d.ts +3 -3
  8. package/dist/models/quota.d.ts +2 -2
  9. package/dist/models/signup.d.ts +3 -3
  10. package/dist/schema/auditLog/attributes.d.ts +1 -1
  11. package/dist/schema/auditLog/attributes.d.ts.map +1 -1
  12. package/dist/schema/auditLog/attributes.js +25 -13
  13. package/dist/schema/auditLog/index.d.ts +3 -3
  14. package/dist/schema/auditLog/index.d.ts.map +1 -1
  15. package/dist/schema/auditLog/index.js +10 -9
  16. package/dist/schema/category/index.d.ts +1 -1
  17. package/dist/schema/category/index.js +1 -1
  18. package/dist/schema/errors/index.d.ts +2 -2
  19. package/dist/schema/errors/index.d.ts.map +1 -1
  20. package/dist/schema/errors/index.js +9 -5
  21. package/dist/schema/event/attributes.d.ts.map +1 -1
  22. package/dist/schema/event/attributes.js +46 -26
  23. package/dist/schema/event/index.d.ts +3 -2
  24. package/dist/schema/event/index.d.ts.map +1 -1
  25. package/dist/schema/event/index.js +6 -6
  26. package/dist/schema/eventList/index.d.ts +1 -1
  27. package/dist/schema/eventList/index.d.ts.map +1 -1
  28. package/dist/schema/eventList/index.js +7 -3
  29. package/dist/schema/headers.js +1 -1
  30. package/dist/schema/index.d.ts +14 -14
  31. package/dist/schema/login/index.d.ts +1 -1
  32. package/dist/schema/login/index.js +3 -3
  33. package/dist/schema/question/attributes.d.ts +1 -1
  34. package/dist/schema/question/attributes.d.ts.map +1 -1
  35. package/dist/schema/question/attributes.js +10 -8
  36. package/dist/schema/question/index.d.ts +3 -3
  37. package/dist/schema/question/index.d.ts.map +1 -1
  38. package/dist/schema/question/index.js +4 -8
  39. package/dist/schema/quota/attributes.d.ts.map +1 -1
  40. package/dist/schema/quota/attributes.js +6 -4
  41. package/dist/schema/quota/index.d.ts +4 -3
  42. package/dist/schema/quota/index.d.ts.map +1 -1
  43. package/dist/schema/quota/index.js +4 -8
  44. package/dist/schema/quotaWithSignups/index.d.ts +1 -1
  45. package/dist/schema/quotaWithSignups/index.d.ts.map +1 -1
  46. package/dist/schema/quotaWithSignups/index.js +7 -3
  47. package/dist/schema/signup/attributes.d.ts +1 -1
  48. package/dist/schema/signup/attributes.d.ts.map +1 -1
  49. package/dist/schema/signup/attributes.js +37 -20
  50. package/dist/schema/signup/index.d.ts +2 -2
  51. package/dist/schema/signup/index.d.ts.map +1 -1
  52. package/dist/schema/signup/index.js +3 -10
  53. package/dist/schema/signupForEdit/index.d.ts +1 -1
  54. package/dist/schema/slug/index.d.ts +1 -1
  55. package/dist/schema/slug/index.d.ts.map +1 -1
  56. package/dist/schema/slug/index.js +6 -2
  57. package/dist/schema/user/attributes.js +3 -3
  58. package/dist/schema/user/index.d.ts +2 -2
  59. package/dist/schema/user/index.d.ts.map +1 -1
  60. package/dist/schema/user/index.js +2 -7
  61. package/dist/schema/utils.d.ts +1 -1
  62. package/dist/schema/utils.d.ts.map +1 -1
  63. package/dist/schema/utils.js +1 -1
  64. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/attrs/event.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,eAAO,MAAM,kBAAkB,UAkB9B,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,uBAAuB,UAMnC,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,qBAAqB,UAOjC,CAAC;AAEF,0DAA0D;AAC1D,eAAO,MAAM,kBAAkB,UAI9B,CAAC;AAEF,sEAAsE;AACtE,eAAO,MAAM,mBAAmB,UAQ/B,CAAC;AAEF,2DAA2D;AAC3D,eAAO,MAAM,mBAAmB,UAG/B,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,mBAAmB,UAgB/B,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,wBAAwB,UAIpC,CAAC"}
1
+ {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/attrs/event.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,eAAO,MAAM,kBAAkB,UAkB9B,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,uBAAuB,UAA+E,CAAC;AAEpH,6DAA6D;AAC7D,eAAO,MAAM,qBAAqB,UAA8D,CAAC;AAEjG,0DAA0D;AAC1D,eAAO,MAAM,kBAAkB,UAA0B,CAAC;AAE1D,sEAAsE;AACtE,eAAO,MAAM,mBAAmB,UAQ/B,CAAC;AAEF,2DAA2D;AAC3D,eAAO,MAAM,mBAAmB,UAA2B,CAAC;AAE5D,kEAAkE;AAClE,eAAO,MAAM,mBAAmB,UAgB/B,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,wBAAwB,UAA8C,CAAC"}
@@ -3,83 +3,59 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.adminEventListEventAttrs = exports.eventListEventAttrs = exports.eventGetAnswerAttrs = exports.eventGetSignupAttrs = exports.eventGetQuotaAttrs = exports.eventGetQuestionAttrs = exports.adminEventGetEventAttrs = exports.eventGetEventAttrs = void 0;
4
4
  /** Attributes included in GET /api/events/ID for Event instances. */
5
5
  exports.eventGetEventAttrs = [
6
- 'id',
7
- 'title',
8
- 'slug',
9
- 'date',
10
- 'endDate',
11
- 'registrationStartDate',
12
- 'registrationEndDate',
13
- 'openQuotaSize',
14
- 'description',
15
- 'price',
16
- 'location',
17
- 'webpageUrl',
18
- 'facebookUrl',
19
- 'category',
20
- 'signupsPublic',
21
- 'nameQuestion',
22
- 'emailQuestion',
6
+ "id",
7
+ "title",
8
+ "slug",
9
+ "date",
10
+ "endDate",
11
+ "registrationStartDate",
12
+ "registrationEndDate",
13
+ "openQuotaSize",
14
+ "description",
15
+ "price",
16
+ "location",
17
+ "webpageUrl",
18
+ "facebookUrl",
19
+ "category",
20
+ "signupsPublic",
21
+ "nameQuestion",
22
+ "emailQuestion",
23
23
  ];
24
24
  /** Attributes included in GET /api/admin/events/ID for Event instances. */
25
- exports.adminEventGetEventAttrs = [
26
- ...exports.eventGetEventAttrs,
27
- 'draft',
28
- 'listed',
29
- 'verificationEmail',
30
- 'updatedAt',
31
- ];
25
+ exports.adminEventGetEventAttrs = [...exports.eventGetEventAttrs, "draft", "listed", "verificationEmail", "updatedAt"];
32
26
  /** Attributes included in results for Question instances. */
33
- exports.eventGetQuestionAttrs = [
34
- 'id',
35
- 'question',
36
- 'type',
37
- 'options',
38
- 'required',
39
- 'public',
40
- ];
27
+ exports.eventGetQuestionAttrs = ["id", "question", "type", "options", "required", "public"];
41
28
  /** Attributes included in results for Quota instances. */
42
- exports.eventGetQuotaAttrs = [
43
- 'id',
44
- 'title',
45
- 'size',
46
- ];
29
+ exports.eventGetQuotaAttrs = ["id", "title", "size"];
47
30
  /** Attributes included in GET /api/events/ID for Signup instances. */
48
31
  exports.eventGetSignupAttrs = [
49
- 'firstName',
50
- 'lastName',
51
- 'namePublic',
52
- 'status',
53
- 'position',
54
- 'createdAt',
55
- 'confirmedAt',
32
+ "firstName",
33
+ "lastName",
34
+ "namePublic",
35
+ "status",
36
+ "position",
37
+ "createdAt",
38
+ "confirmedAt",
56
39
  ];
57
40
  /** Attributes included in results for Answer instances. */
58
- exports.eventGetAnswerAttrs = [
59
- 'questionId',
60
- 'answer',
61
- ];
41
+ exports.eventGetAnswerAttrs = ["questionId", "answer"];
62
42
  /** Attributes included in GET /api/events for Event instances. */
63
43
  exports.eventListEventAttrs = [
64
- 'id',
65
- 'slug',
66
- 'title',
67
- 'date',
68
- 'endDate',
69
- 'registrationStartDate',
70
- 'registrationEndDate',
71
- 'openQuotaSize',
72
- 'description',
73
- 'price',
74
- 'location',
75
- 'webpageUrl',
76
- 'facebookUrl',
77
- 'category',
78
- 'signupsPublic',
44
+ "id",
45
+ "slug",
46
+ "title",
47
+ "date",
48
+ "endDate",
49
+ "registrationStartDate",
50
+ "registrationEndDate",
51
+ "openQuotaSize",
52
+ "description",
53
+ "price",
54
+ "location",
55
+ "webpageUrl",
56
+ "facebookUrl",
57
+ "category",
58
+ "signupsPublic",
79
59
  ];
80
60
  /** Attributes included in GET /api/admin/events for Event instances. */
81
- exports.adminEventListEventAttrs = [
82
- ...exports.eventListEventAttrs,
83
- 'draft',
84
- 'listed',
85
- ];
61
+ exports.adminEventListEventAttrs = [...exports.eventListEventAttrs, "draft", "listed"];
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from './enum';
2
- export * from './schema';
1
+ export * from "./enum";
2
+ export * from "./schema";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,9 +1,9 @@
1
- import QuestionAttributes from './question';
2
- import SignupAttributes from './signup';
1
+ import QuestionAttributes from "./question";
2
+ import SignupAttributes from "./signup";
3
3
  export default interface AnswerAttributes {
4
4
  id: string;
5
5
  answer: string | string[];
6
- questionId: QuestionAttributes['id'];
7
- signupId: SignupAttributes['id'];
6
+ questionId: QuestionAttributes["id"];
7
+ signupId: SignupAttributes["id"];
8
8
  }
9
9
  //# sourceMappingURL=answer.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AuditEvent } from '../enum';
1
+ import { AuditEvent } from "../enum";
2
2
  export default interface AuditLogAttributes {
3
3
  id: number;
4
4
  user: string | null;
@@ -1,8 +1,8 @@
1
- export type { default as AnswerAttributes } from './answer';
2
- export type { default as AuditLogAttributes } from './auditlog';
3
- export type { default as EventAttributes } from './event';
4
- export type { default as QuestionAttributes } from './question';
5
- export type { default as QuotaAttributes } from './quota';
6
- export type { default as SignupAttributes } from './signup';
7
- export type { default as UserAttributes } from './user';
1
+ export type { default as AnswerAttributes } from "./answer";
2
+ export type { default as AuditLogAttributes } from "./auditlog";
3
+ export type { default as EventAttributes } from "./event";
4
+ export type { default as QuestionAttributes } from "./question";
5
+ export type { default as QuotaAttributes } from "./quota";
6
+ export type { default as SignupAttributes } from "./signup";
7
+ export type { default as UserAttributes } from "./user";
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- import { QuestionType } from '../enum';
2
- import EventAttributes from './event';
1
+ import { QuestionType } from "../enum";
2
+ import EventAttributes from "./event";
3
3
  export default interface QuestionAttributes {
4
4
  id: string;
5
5
  order: number;
@@ -8,6 +8,6 @@ export default interface QuestionAttributes {
8
8
  options: string[] | null;
9
9
  required: boolean;
10
10
  public: boolean;
11
- eventId: EventAttributes['id'];
11
+ eventId: EventAttributes["id"];
12
12
  }
13
13
  //# sourceMappingURL=question.d.ts.map
@@ -1,10 +1,10 @@
1
- import EventAttributes from './event';
1
+ import EventAttributes from "./event";
2
2
  export default interface QuotaAttributes {
3
3
  id: string;
4
4
  order: number;
5
5
  title: string;
6
6
  size: number | null;
7
- eventId: EventAttributes['id'];
7
+ eventId: EventAttributes["id"];
8
8
  signupCount?: number;
9
9
  }
10
10
  //# sourceMappingURL=quota.d.ts.map
@@ -1,5 +1,5 @@
1
- import { SignupStatus } from '../enum';
2
- import QuotaAttributes from './quota';
1
+ import { SignupStatus } from "../enum";
2
+ import QuotaAttributes from "./quota";
3
3
  export default interface SignupAttributes {
4
4
  id: string;
5
5
  firstName: string | null;
@@ -11,6 +11,6 @@ export default interface SignupAttributes {
11
11
  status: SignupStatus | null;
12
12
  position: number | null;
13
13
  createdAt: Date;
14
- quotaId: QuotaAttributes['id'];
14
+ quotaId: QuotaAttributes["id"];
15
15
  }
16
16
  //# sourceMappingURL=signup.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AuditEvent } from '../../enum';
1
+ import { AuditEvent } from "../../enum";
2
2
  /** Schema for an audit log item. */
3
3
  export declare const auditLogItemAttributes: import("@sinclair/typebox").TObject<{
4
4
  id: import("@sinclair/typebox").TInteger;
@@ -1 +1 @@
1
- {"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../src/schema/auditLog/attributes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKxC,oCAAoC;AACpC,eAAO,MAAM,sBAAsB;;;;;;;;;;;EA0CjC,CAAC"}
1
+ {"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../src/schema/auditLog/attributes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKxC,oCAAoC;AACpC,eAAO,MAAM,sBAAsB;;;;;;;;;;;EAiCjC,CAAC"}
@@ -8,23 +8,35 @@ const utils_1 = require("../utils");
8
8
  /** Schema for an audit log item. */
9
9
  exports.auditLogItemAttributes = typebox_1.Type.Object({
10
10
  id: typebox_1.Type.Integer({
11
- title: 'audit log event ID',
11
+ title: "audit log event ID",
12
+ }),
13
+ user: (0, utils_1.Nullable)(typebox_1.Type.String(), {
14
+ description: "Email of the user causing the log event.",
12
15
  }),
13
- user: (0, utils_1.Nullable)(typebox_1.Type.String(), { description: 'Email of the user causing the log event.' }),
14
16
  ipAddress: typebox_1.Type.String({
15
- description: 'IP address causing the log event.',
17
+ description: "IP address causing the log event.",
16
18
  }),
17
19
  action: typebox_1.Type.Enum(enum_1.AuditEvent, {
18
- title: 'AuditEvent',
19
- description: 'The type of action logged.',
20
- }),
21
- eventId: (0, utils_1.Nullable)(typebox_1.Type.String(), { description: 'ID of the event related to this log event.' }),
22
- eventName: (0, utils_1.Nullable)(typebox_1.Type.String(), { description: 'Title of the event related to this log event.' }),
23
- signupId: (0, utils_1.Nullable)(typebox_1.Type.String(), { description: 'ID of the signup related to this log event.' }),
24
- signupName: (0, utils_1.Nullable)(typebox_1.Type.String(), { description: 'Name of the signup related to this log event.' }),
25
- extra: (0, utils_1.Nullable)(typebox_1.Type.String(), { description: 'Additional information related to this log event as JSON.' }),
20
+ title: "AuditEvent",
21
+ description: "The type of action logged.",
22
+ }),
23
+ eventId: (0, utils_1.Nullable)(typebox_1.Type.String(), {
24
+ description: "ID of the event related to this log event.",
25
+ }),
26
+ eventName: (0, utils_1.Nullable)(typebox_1.Type.String(), {
27
+ description: "Title of the event related to this log event.",
28
+ }),
29
+ signupId: (0, utils_1.Nullable)(typebox_1.Type.String(), {
30
+ description: "ID of the signup related to this log event.",
31
+ }),
32
+ signupName: (0, utils_1.Nullable)(typebox_1.Type.String(), {
33
+ description: "Name of the signup related to this log event.",
34
+ }),
35
+ extra: (0, utils_1.Nullable)(typebox_1.Type.String(), {
36
+ description: "Additional information related to this log event as JSON.",
37
+ }),
26
38
  createdAt: typebox_1.Type.String({
27
- format: 'date-time',
28
- description: 'Timestamp for the log event.',
39
+ format: "date-time",
40
+ description: "Timestamp for the log event.",
29
41
  }),
30
42
  });
@@ -1,6 +1,6 @@
1
- import { Static } from '@sinclair/typebox';
2
- import { AuditEvent } from '../../enum';
3
- import { auditLogItemAttributes } from './attributes';
1
+ import { Static } from "@sinclair/typebox";
2
+ import { AuditEvent } from "../../enum";
3
+ import { auditLogItemAttributes } from "./attributes";
4
4
  /** Query parameters applicable to the audit log API. */
5
5
  export declare const auditLoqQuery: import("@sinclair/typebox").TObject<{
6
6
  user: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/auditLog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD,wDAAwD;AACxD,eAAO,MAAM,aAAa;;;;;;;;EA+BxB,CAAC;AAEH,+CAA+C;AAC/C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;EAK3B,CAAC;AAEH,wDAAwD;AACxD,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AACzD,qCAAqC;AACrC,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACvE,iDAAiD;AACjD,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/auditLog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD,wDAAwD;AACxD,eAAO,MAAM,aAAa;;;;;;;;EAyCxB,CAAC;AAEH,+CAA+C;AAC/C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;EAK3B,CAAC;AAEH,wDAAwD;AACxD,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AACzD,qCAAqC;AACrC,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACvE,iDAAiD;AACjD,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -7,34 +7,35 @@ const attributes_1 = require("./attributes");
7
7
  /** Query parameters applicable to the audit log API. */
8
8
  exports.auditLoqQuery = typebox_1.Type.Object({
9
9
  user: typebox_1.Type.Optional(typebox_1.Type.String({
10
- description: 'Filter events by username.',
10
+ description: "Filter events by username.",
11
11
  })),
12
12
  ip: typebox_1.Type.Optional(typebox_1.Type.String({
13
- description: 'Filter events by IP address.',
13
+ description: "Filter events by IP address.",
14
14
  })),
15
- action: typebox_1.Type.Optional(typebox_1.Type.Array(// TODO: Requires Ajv to be in coerce array mode
16
- typebox_1.Type.Enum(enum_1.AuditEvent, { description: 'Filter events by actions.' }))),
15
+ action: typebox_1.Type.Optional(typebox_1.Type.Array(
16
+ // TODO: Requires Ajv to be in coerce array mode
17
+ typebox_1.Type.Enum(enum_1.AuditEvent, { description: "Filter events by actions." }))),
17
18
  event: typebox_1.Type.Optional(typebox_1.Type.String({
18
- description: 'Filter events by event name or ID.',
19
+ description: "Filter events by event name or ID.",
19
20
  })),
20
21
  signup: typebox_1.Type.Optional(typebox_1.Type.String({
21
- description: 'Filter events by signup name or ID.',
22
+ description: "Filter events by signup name or ID.",
22
23
  })),
23
24
  limit: typebox_1.Type.Optional(typebox_1.Type.Integer({
24
25
  minimum: 0,
25
26
  default: Number.MAX_SAFE_INTEGER,
26
- description: 'Maximum number of log events to return.',
27
+ description: "Maximum number of log events to return.",
27
28
  })),
28
29
  offset: typebox_1.Type.Optional(typebox_1.Type.Integer({
29
30
  minimum: 0,
30
31
  default: 0,
31
- description: 'Number of log events to skip at the start of results.',
32
+ description: "Number of log events to skip at the start of results.",
32
33
  })),
33
34
  });
34
35
  /** Response schema for fetching audit logs. */
35
36
  exports.auditLogResponse = typebox_1.Type.Object({
36
37
  rows: typebox_1.Type.Array(attributes_1.auditLogItemAttributes),
37
38
  count: typebox_1.Type.Integer({
38
- description: 'Total number of log events found, including those omitted due to the offset/limit parameters.',
39
+ description: "Total number of log events found, including those omitted due to the offset/limit parameters.",
39
40
  }),
40
41
  });
@@ -1,4 +1,4 @@
1
- import { Static } from '@sinclair/typebox';
1
+ import { Static } from "@sinclair/typebox";
2
2
  /** Type of an event category. */
3
3
  export declare const eventCategory: import("@sinclair/typebox").TString;
4
4
  /** Response schema for fetching event categories. */
@@ -4,7 +4,7 @@ exports.categoriesResponse = exports.eventCategory = void 0;
4
4
  const typebox_1 = require("@sinclair/typebox");
5
5
  /** Type of an event category. */
6
6
  exports.eventCategory = typebox_1.Type.String({
7
- description: 'Category tag for events.',
7
+ description: "Category tag for events.",
8
8
  });
9
9
  /** Response schema for fetching event categories. */
10
10
  exports.categoriesResponse = typebox_1.Type.Array(exports.eventCategory);
@@ -1,5 +1,5 @@
1
- import { Static } from '@sinclair/typebox';
2
- import { ErrorCode } from '../../enum';
1
+ import { Static } from "@sinclair/typebox";
2
+ import { ErrorCode } from "../../enum";
3
3
  /** Response schema for a generic error. */
4
4
  export declare const errorResponse: import("@sinclair/typebox").TObject<{
5
5
  statusCode: import("@sinclair/typebox").TNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIvC,2CAA2C;AAC3C,eAAO,MAAM,aAAa;;;;EAIxB,CAAC;AAEH,+EAA+E;AAC/E,eAAO,MAAM,iBAAiB;;;;;;;;IAgB5B,CAAC;AAEH,kFAAkF;AAClF,eAAO,MAAM,4BAA4B;;;;;;IAOvC,CAAC;AAEH,2CAA2C;AAC3C,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AACzD,+EAA+E;AAC/E,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AACjE,kFAAkF;AAClF,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIvC,2CAA2C;AAC3C,eAAO,MAAM,aAAa;;;;EAIxB,CAAC;AAEH,+EAA+E;AAC/E,eAAO,MAAM,iBAAiB;;;;;;;;IAc5B,CAAC;AAEH,kFAAkF;AAClF,eAAO,MAAM,4BAA4B;;;;;;IAOvC,CAAC;AAEH,2CAA2C;AAC3C,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AACzD,+EAA+E;AAC/E,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AACjE,kFAAkF;AAClF,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
@@ -16,11 +16,15 @@ exports.editConflictError = typebox_1.Type.Intersect([
16
16
  exports.errorResponse,
17
17
  typebox_1.Type.Object({
18
18
  updatedAt: typebox_1.Type.String({
19
- format: 'date-time',
20
- description: 'Last update time of the event on the server.',
19
+ format: "date-time",
20
+ description: "Last update time of the event on the server.",
21
+ }),
22
+ deletedQuotas: typebox_1.Type.Array(attributes_2.quotaID, {
23
+ description: "IDs of quotas that are already deleted on the server.",
24
+ }),
25
+ deletedQuestions: typebox_1.Type.Array(attributes_1.questionID, {
26
+ description: "IDs of questions that are already deleted on the server.",
21
27
  }),
22
- deletedQuotas: typebox_1.Type.Array(attributes_2.quotaID, { description: 'IDs of quotas that are already deleted on the server.' }),
23
- deletedQuestions: typebox_1.Type.Array(attributes_1.questionID, { description: 'IDs of questions that are already deleted on the server.' }),
24
28
  }),
25
29
  ]);
26
30
  /** Response schema for an edit that would move some signups back to the queue. */
@@ -28,7 +32,7 @@ exports.wouldMoveSignupsToQueueError = typebox_1.Type.Intersect([
28
32
  exports.errorResponse,
29
33
  typebox_1.Type.Object({
30
34
  count: typebox_1.Type.Integer({
31
- description: 'Number of signups that would end up back in the queue if the action is executed.',
35
+ description: "Number of signups that would end up back in the queue if the action is executed.",
32
36
  }),
33
37
  }),
34
38
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../src/schema/event/attributes.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,qCAEpB,CAAC;AAEH,6DAA6D;AAC7D,eAAO,MAAM,OAAO,qCAGlB,CAAC;AAEH,mDAAmD;AACnD,eAAO,MAAM,aAAa;;EAExB,CAAC;AAEH,gEAAgE;AAChE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAqDlC,CAAC;AAEH,kEAAkE;AAClE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;IAYnC,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;IAapC,CAAC;AAEF,sEAAsE;AACtE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWpC,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,sBAAsB;;;EAQjC,CAAC"}
1
+ {"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../src/schema/event/attributes.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,qCAEpB,CAAC;AAEH,6DAA6D;AAC7D,eAAO,MAAM,OAAO,qCAGlB,CAAC;AAEH,mDAAmD;AACnD,eAAO,MAAM,aAAa;;EAExB,CAAC;AAEH,gEAAgE;AAChE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EA2ClC,CAAC;AAEH,kEAAkE;AAClE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;IAUlC,CAAC;AAEH,oEAAoE;AACpE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;IAYnC,CAAC;AAEH,sEAAsE;AACtE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQnC,CAAC;AAEH,gFAAgF;AAChF,eAAO,MAAM,sBAAsB;;;EAOjC,CAAC"}
@@ -4,12 +4,12 @@ exports.eventDynamicAttributes = exports.adminFullEventAttributes = exports.admi
4
4
  const typebox_1 = require("@sinclair/typebox");
5
5
  const utils_1 = require("../utils");
6
6
  exports.eventSlug = typebox_1.Type.String({
7
- description: 'Event slug, used for accessing the event by URL.',
7
+ description: "Event slug, used for accessing the event by URL.",
8
8
  });
9
9
  /** Event ID type. Randomly generated alphanumeric string. */
10
10
  exports.eventID = typebox_1.Type.String({
11
- title: 'EventID',
12
- description: 'Event ID. Randomly generated alphanumeric string.',
11
+ title: "EventID",
12
+ description: "Event ID. Randomly generated alphanumeric string.",
13
13
  });
14
14
  /** Non-editable identity attributes for events. */
15
15
  exports.eventIdentity = typebox_1.Type.Object({
@@ -18,29 +18,45 @@ exports.eventIdentity = typebox_1.Type.Object({
18
18
  /** Event attributes that are included in public event lists. */
19
19
  exports.userListEventAttributes = typebox_1.Type.Object({
20
20
  title: typebox_1.Type.String({
21
- description: 'Event title.',
21
+ description: "Event title.",
22
22
  }),
23
23
  slug: exports.eventSlug,
24
- date: (0, utils_1.Nullable)(typebox_1.Type.String({ format: 'date-time' }), {
25
- description: 'Event start date. Considered to be the start date if endDate is also set. If null, '
26
- + 'the event is signup-only.',
24
+ date: (0, utils_1.Nullable)(typebox_1.Type.String({ format: "date-time" }), {
25
+ description: "Event start date. Considered to be the start date if endDate is also set. If null, " +
26
+ "the event is signup-only.",
27
+ }),
28
+ endDate: (0, utils_1.Nullable)(typebox_1.Type.String({ format: "date-time" }), {
29
+ description: "Event end date. If null, the event will not appear in iCalendar exports.",
30
+ }),
31
+ registrationStartDate: (0, utils_1.Nullable)(typebox_1.Type.String({ format: "date-time" }), {
32
+ description: "Event signup opening date. If null, the event does not have a signup.",
33
+ }),
34
+ registrationEndDate: (0, utils_1.Nullable)(typebox_1.Type.String({ format: "date-time" }), {
35
+ description: "Event signup closing date.",
27
36
  }),
28
- endDate: (0, utils_1.Nullable)(typebox_1.Type.String({ format: 'date-time' }), { description: 'Event end date. If null, the event will not appear in iCalendar exports.' }),
29
- registrationStartDate: (0, utils_1.Nullable)(typebox_1.Type.String({ format: 'date-time' }), { description: 'Event signup opening date. If null, the event does not have a signup.' }),
30
- registrationEndDate: (0, utils_1.Nullable)(typebox_1.Type.String({ format: 'date-time' }), { description: 'Event signup closing date.' }),
31
37
  openQuotaSize: typebox_1.Type.Integer({
32
- description: 'The size of the open quota, which will be filled with signups overflowing their dedicated quota.',
38
+ description: "The size of the open quota, which will be filled with signups overflowing their dedicated quota.",
33
39
  }),
34
40
  category: typebox_1.Type.String({
35
- description: 'Category tag for the event. Can be used for filtering.',
41
+ description: "Category tag for the event. Can be used for filtering.",
42
+ }),
43
+ description: (0, utils_1.Nullable)(typebox_1.Type.String(), {
44
+ description: "Description for the event. Supports Markdown.",
45
+ }),
46
+ price: (0, utils_1.Nullable)(typebox_1.Type.String(), {
47
+ description: "Free-form pricing information for the event.",
48
+ }),
49
+ location: (0, utils_1.Nullable)(typebox_1.Type.String(), {
50
+ description: "Free-form location information for the event.",
51
+ }),
52
+ webpageUrl: (0, utils_1.Nullable)(typebox_1.Type.String(), {
53
+ description: "Link to an external event webpage.",
54
+ }),
55
+ facebookUrl: (0, utils_1.Nullable)(typebox_1.Type.String(), {
56
+ description: "Link to a Facebook page for the event.",
36
57
  }),
37
- description: (0, utils_1.Nullable)(typebox_1.Type.String(), { description: 'Description for the event. Supports Markdown.' }),
38
- price: (0, utils_1.Nullable)(typebox_1.Type.String(), { description: 'Free-form pricing information for the event.' }),
39
- location: (0, utils_1.Nullable)(typebox_1.Type.String(), { description: 'Free-form location information for the event.' }),
40
- webpageUrl: (0, utils_1.Nullable)(typebox_1.Type.String(), { description: 'Link to an external event webpage.' }),
41
- facebookUrl: (0, utils_1.Nullable)(typebox_1.Type.String(), { description: 'Link to a Facebook page for the event.' }),
42
58
  signupsPublic: typebox_1.Type.Boolean({
43
- description: 'Whether signups should be shown to all users.',
59
+ description: "Whether signups should be shown to all users.",
44
60
  }),
45
61
  });
46
62
  /** Event attributes that are included in public event details. */
@@ -48,10 +64,10 @@ exports.userFullEventAttributes = typebox_1.Type.Intersect([
48
64
  exports.userListEventAttributes,
49
65
  typebox_1.Type.Object({
50
66
  nameQuestion: typebox_1.Type.Boolean({
51
- description: 'Whether signups should contain a name field.',
67
+ description: "Whether signups should contain a name field.",
52
68
  }),
53
69
  emailQuestion: typebox_1.Type.Boolean({
54
- description: 'Whether signups should contain an email field. Also enables confirmation emails.',
70
+ description: "Whether signups should contain an email field. Also enables confirmation emails.",
55
71
  }),
56
72
  }),
57
73
  ]);
@@ -60,11 +76,11 @@ exports.adminListEventAttributes = typebox_1.Type.Intersect([
60
76
  exports.userListEventAttributes,
61
77
  typebox_1.Type.Object({
62
78
  draft: typebox_1.Type.Boolean({
63
- description: 'Whether the event is a draft, shown only to signed-in admins.',
79
+ description: "Whether the event is a draft, shown only to signed-in admins.",
64
80
  }),
65
81
  listed: typebox_1.Type.Boolean({
66
- description: 'Whether the event is publicly visible on the front page of Ilmomasiina.'
67
- + ' Unlisted events are only accessible with a direct link',
82
+ description: "Whether the event is publicly visible on the front page of Ilmomasiina." +
83
+ " Unlisted events are only accessible with a direct link",
68
84
  }),
69
85
  }),
70
86
  ]);
@@ -73,13 +89,17 @@ exports.adminFullEventAttributes = typebox_1.Type.Intersect([
73
89
  exports.userFullEventAttributes,
74
90
  exports.adminListEventAttributes,
75
91
  typebox_1.Type.Object({
76
- verificationEmail: (0, utils_1.Nullable)(typebox_1.Type.String(), { description: 'Custom message for the signup confirmation email.' }),
92
+ verificationEmail: (0, utils_1.Nullable)(typebox_1.Type.String(), {
93
+ description: "Custom message for the signup confirmation email.",
94
+ }),
77
95
  }),
78
96
  ]);
79
97
  /** Event attributes that are dynamically calculated in public event details. */
80
98
  exports.eventDynamicAttributes = typebox_1.Type.Object({
81
- millisTillOpening: (0, utils_1.Nullable)(typebox_1.Type.Integer(), { description: 'Time in ms until signup opens. If null, the signup will not open in the future.' }),
99
+ millisTillOpening: (0, utils_1.Nullable)(typebox_1.Type.Integer(), {
100
+ description: "Time in ms until signup opens. If null, the signup will not open in the future.",
101
+ }),
82
102
  registrationClosed: typebox_1.Type.Boolean({
83
- description: 'Whether the signup has closed.',
103
+ description: "Whether the signup has closed.",
84
104
  }),
85
105
  });
@@ -1,5 +1,5 @@
1
- import { Static } from '@sinclair/typebox';
2
- import { eventID, eventSlug } from './attributes';
1
+ import { Static } from "@sinclair/typebox";
2
+ import { eventID, eventSlug } from "./attributes";
3
3
  /** Response schema for fetching or modifying an event in the admin API. */
4
4
  export declare const adminEventResponse: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
5
5
  id: import("@sinclair/typebox").TString;
@@ -59,6 +59,7 @@ export declare const adminEventResponse: import("@sinclair/typebox").TIntersect<
59
59
  }>]>, import("@sinclair/typebox").TObject<{
60
60
  signupCount: import("@sinclair/typebox").TInteger;
61
61
  }>]>, import("@sinclair/typebox").TObject<{
62
+ /** Response schema for fetching an event from the public API. */
62
63
  signups: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
63
64
  id: import("@sinclair/typebox").TString;
64
65
  }>, import("@sinclair/typebox").TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/event/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AAKjD,OAAO,EAGL,OAAO,EAEP,SAAS,EAEV,MAAM,cAAc,CAAC;AAEtB,2EAA2E;AAC3E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAa9B,CAAC;AAEF,iEAAiE;AACjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQ5B,CAAC;AAEH,0CAA0C;AAC1C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAM1B,CAAC;AAEH,kDAAkD;AAClD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAezB,CAAC;AAEJ,8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@ exports.adminEventResponse = typebox_1.Type.Intersect([
14
14
  questions: typebox_1.Type.Array(question_1.question),
15
15
  quotas: typebox_1.Type.Array(quotaWithSignups_1.adminQuotaWithSignups),
16
16
  updatedAt: typebox_1.Type.String({
17
- description: 'Last update time of the event. Used for edit conflict handling.',
18
- format: 'date-time',
17
+ description: "Last update time of the event. Used for edit conflict handling.",
18
+ format: "date-time",
19
19
  }),
20
20
  }),
21
21
  ]);
@@ -45,12 +45,12 @@ exports.eventUpdateBody = typebox_1.Type.Partial(typebox_1.Type.Intersect([
45
45
  questions: typebox_1.Type.Array(question_1.questionUpdate),
46
46
  moveSignupsToQueue: typebox_1.Type.Boolean({
47
47
  default: false,
48
- description: 'Whether to allow moving signups to the queue, if caused by quota changes.',
48
+ description: "Whether to allow moving signups to the queue, if caused by quota changes.",
49
49
  }),
50
50
  updatedAt: typebox_1.Type.String({
51
- format: 'date-time',
52
- description: 'Last update time of the event. An edit conflict is detected if this does not match the update '
53
- + 'date on the server.',
51
+ format: "date-time",
52
+ description: "Last update time of the event. An edit conflict is detected if this does not match the update " +
53
+ "date on the server.",
54
54
  }),
55
55
  }),
56
56
  ]));
@@ -1,4 +1,4 @@
1
- import { Static } from '@sinclair/typebox';
1
+ import { Static } from "@sinclair/typebox";
2
2
  /** Schema for an item of an event list from the admin API. */
3
3
  declare const adminEventListItemSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
4
4
  id: import("@sinclair/typebox").TString;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/eventList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AAKjD,8DAA8D;AAC9D,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAS5B,CAAC;AAEH,wEAAwE;AACxE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAuC,CAAC;A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