@tietokilta/ilmomasiina-models 2.0.0-alpha10 → 2.0.0-alpha11

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.
@@ -1,7 +1,7 @@
1
1
  import EventAttributes from '../../models/event';
2
2
  import QuotaAttributes from '../../models/quota';
3
- export declare const eventListEventAttrs: readonly ["id", "slug", "title", "date", "endDate", "registrationStartDate", "registrationEndDate", "openQuotaSize", "signupsPublic"];
4
- export declare const adminEventListEventAttrs: readonly ["id", "slug", "title", "date", "endDate", "registrationStartDate", "registrationEndDate", "openQuotaSize", "signupsPublic", "draft", "listed"];
3
+ export declare const eventListEventAttrs: readonly ["id", "slug", "title", "date", "endDate", "registrationStartDate", "registrationEndDate", "openQuotaSize", "description", "price", "location", "webpageUrl", "facebookUrl", "category", "signupsPublic"];
4
+ export declare const adminEventListEventAttrs: readonly ["id", "slug", "title", "date", "endDate", "registrationStartDate", "registrationEndDate", "openQuotaSize", "description", "price", "location", "webpageUrl", "facebookUrl", "category", "signupsPublic", "draft", "listed"];
5
5
  export declare const eventListQuotaAttrs: readonly ["id", "title", "size"];
6
6
  export interface EventListQuotaItem extends Pick<QuotaAttributes, typeof eventListQuotaAttrs[number]> {
7
7
  signupCount: number;
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/services/events/list.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,eAAe,MAAM,oBAAoB,CAAC;AAGjD,eAAO,MAAM,mBAAmB,uIAUtB,CAAC;AAGX,eAAO,MAAM,wBAAwB,0JAI3B,CAAC;AAEX,eAAO,MAAM,mBAAmB,kCAItB,CAAC;AAIX,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,eAAe,EAAE,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACnG,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,aAAc,SAAQ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@ exports.eventListEventAttrs = [
11
11
  'registrationStartDate',
12
12
  'registrationEndDate',
13
13
  'openQuotaSize',
14
+ 'description',
15
+ 'price',
16
+ 'location',
17
+ 'webpageUrl',
18
+ 'facebookUrl',
19
+ 'category',
14
20
  'signupsPublic',
15
21
  ];
16
22
  // Attributes included in GET /api/admin/events for Event instances.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tietokilta/ilmomasiina-models",
3
- "version": "2.0.0-alpha10",
3
+ "version": "2.0.0-alpha11",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Tietokilta/ilmomasiina.git"