tonightpass 0.0.109 → 0.0.110

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,5 +1,5 @@
1
1
 
2
- > tonightpass@0.0.109 build /home/runner/work/tonightpass/tonightpass/packages/node
2
+ > tonightpass@0.0.110 build /home/runner/work/tonightpass/tonightpass/packages/node
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,12 +10,12 @@
10
10
  CJS Build start
11
11
  ESM Build start
12
12
  DTS Build start
13
- CJS dist/index.js 36.28 KB
14
- CJS dist/index.js.map 115.69 KB
15
- CJS ⚡️ Build success in 1015ms
16
13
  ESM dist/index.mjs 31.85 KB
17
- ESM dist/index.mjs.map 115.44 KB
18
- ESM ⚡️ Build success in 1015ms
19
- DTS ⚡️ Build success in 4538ms
20
- DTS dist/index.d.ts 40.51 KB
21
- DTS dist/index.d.mts 40.51 KB
14
+ ESM dist/index.mjs.map 115.57 KB
15
+ ESM ⚡️ Build success in 730ms
16
+ CJS dist/index.js 36.28 KB
17
+ CJS dist/index.js.map 115.83 KB
18
+ CJS ⚡️ Build success in 731ms
19
+ DTS ⚡️ Build success in 4457ms
20
+ DTS dist/index.d.ts 40.94 KB
21
+ DTS dist/index.d.mts 40.94 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # tonightpass
2
2
 
3
+ ## 0.0.110
4
+
5
+ ### Patch Changes
6
+
7
+ - [`cf17374`](https://github.com/tonightpass/tonightpass/commit/cf17374cb712c828fcbcba223b554a97bd786ff1) Thanks [@AntoineKM](https://github.com/AntoineKM)! - Add new endpoint for recording event views in organization events
8
+
3
9
  ## 0.0.109
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -232,6 +232,14 @@ interface Health<T extends string = string> extends HealthCheckResult {
232
232
  }
233
233
  type HealthEndpoints = Endpoint<"GET", "/health", Health<"database" | "app" | "api" | "database">> | Endpoint<"GET", "/health/database", Health<"database">> | Endpoint<"GET", "/health/api", Health<"api">> | Endpoint<"GET", "/health/app", Health<"app">>;
234
234
 
235
+ /**
236
+ * Represents a GeoJSON point with specific geographic coordinates.
237
+ *
238
+ * @see https://geojson.org/geojson-spec.html#point
239
+ *
240
+ * @property {"Point"} type - The type of the geometry, which is always "Point" for a GeoJSON point.
241
+ * @property {[number, number]} coordinates - The coordinates of the point, represented as [longitude, latitude].
242
+ */
235
243
  type GeoPoint = {
236
244
  type: "Point";
237
245
  coordinates: [number, number];
@@ -360,7 +368,7 @@ type OrganizationEventEndpoints = Endpoint<"GET", "/organizations/events", Array
360
368
  latitude: number;
361
369
  longitude: number;
362
370
  radius?: number;
363
- }> | Endpoint<"GET", "/organizations/:organizationSlug/events", ArrayResult<OrganizationEvent>, ArrayOptions<OrganizationEvent>> | Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", OrganizationEvent> | Endpoint<"POST", "/organizations/:organizationSlug/events", OrganizationEvent, CreateOrganizationEventDto> | Endpoint<"PUT", "/organizations/:organizationSlug/events/:eventSlug", OrganizationEvent, UpdateOrganizationEventDto> | Endpoint<"DELETE", "/organizations/:organizationSlug/events/:eventSlug", OrganizationEvent, null> | OrganizationEventOrderEndpoints | OrganizationEventStyleEndpoints | OrganizationEventTicketEndpoints;
371
+ }> | Endpoint<"GET", "/organizations/:organizationSlug/events", ArrayResult<OrganizationEvent>, ArrayOptions<OrganizationEvent>> | Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", OrganizationEvent> | Endpoint<"POST", "/organizations/:organizationSlug/events", OrganizationEvent, CreateOrganizationEventDto> | Endpoint<"POST", "/organizations/:organizationSlug/events/:eventSlug/views", boolean, null> | Endpoint<"PUT", "/organizations/:organizationSlug/events/:eventSlug", OrganizationEvent, UpdateOrganizationEventDto> | Endpoint<"DELETE", "/organizations/:organizationSlug/events/:eventSlug", OrganizationEvent, null> | OrganizationEventOrderEndpoints | OrganizationEventStyleEndpoints | OrganizationEventTicketEndpoints;
364
372
 
365
373
  declare class UpdateOrganizationMemberDto {
366
374
  role: OrganizationMemberRole;
package/dist/index.d.ts CHANGED
@@ -232,6 +232,14 @@ interface Health<T extends string = string> extends HealthCheckResult {
232
232
  }
233
233
  type HealthEndpoints = Endpoint<"GET", "/health", Health<"database" | "app" | "api" | "database">> | Endpoint<"GET", "/health/database", Health<"database">> | Endpoint<"GET", "/health/api", Health<"api">> | Endpoint<"GET", "/health/app", Health<"app">>;
234
234
 
235
+ /**
236
+ * Represents a GeoJSON point with specific geographic coordinates.
237
+ *
238
+ * @see https://geojson.org/geojson-spec.html#point
239
+ *
240
+ * @property {"Point"} type - The type of the geometry, which is always "Point" for a GeoJSON point.
241
+ * @property {[number, number]} coordinates - The coordinates of the point, represented as [longitude, latitude].
242
+ */
235
243
  type GeoPoint = {
236
244
  type: "Point";
237
245
  coordinates: [number, number];
@@ -360,7 +368,7 @@ type OrganizationEventEndpoints = Endpoint<"GET", "/organizations/events", Array
360
368
  latitude: number;
361
369
  longitude: number;
362
370
  radius?: number;
363
- }> | Endpoint<"GET", "/organizations/:organizationSlug/events", ArrayResult<OrganizationEvent>, ArrayOptions<OrganizationEvent>> | Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", OrganizationEvent> | Endpoint<"POST", "/organizations/:organizationSlug/events", OrganizationEvent, CreateOrganizationEventDto> | Endpoint<"PUT", "/organizations/:organizationSlug/events/:eventSlug", OrganizationEvent, UpdateOrganizationEventDto> | Endpoint<"DELETE", "/organizations/:organizationSlug/events/:eventSlug", OrganizationEvent, null> | OrganizationEventOrderEndpoints | OrganizationEventStyleEndpoints | OrganizationEventTicketEndpoints;
371
+ }> | Endpoint<"GET", "/organizations/:organizationSlug/events", ArrayResult<OrganizationEvent>, ArrayOptions<OrganizationEvent>> | Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", OrganizationEvent> | Endpoint<"POST", "/organizations/:organizationSlug/events", OrganizationEvent, CreateOrganizationEventDto> | Endpoint<"POST", "/organizations/:organizationSlug/events/:eventSlug/views", boolean, null> | Endpoint<"PUT", "/organizations/:organizationSlug/events/:eventSlug", OrganizationEvent, UpdateOrganizationEventDto> | Endpoint<"DELETE", "/organizations/:organizationSlug/events/:eventSlug", OrganizationEvent, null> | OrganizationEventOrderEndpoints | OrganizationEventStyleEndpoints | OrganizationEventTicketEndpoints;
364
372
 
365
373
  declare class UpdateOrganizationMemberDto {
366
374
  role: OrganizationMemberRole;