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.
- package/.turbo/turbo-build.log +9 -9
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/rest/types/locations/index.ts +8 -0
- package/src/rest/types/organizations/events/index.ts +6 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> tonightpass@0.0.
|
|
2
|
+
> tonightpass@0.0.110 build /home/runner/work/tonightpass/tonightpass/packages/node
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[34mESM[39m Build start
|
|
12
12
|
[34mDTS[39m Build start
|
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[32m36.28 KB[39m
|
|
14
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m115.69 KB[39m
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in 1015ms
|
|
16
13
|
[32mESM[39m [1mdist/index.mjs [22m[32m31.85 KB[39m
|
|
17
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m115.
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m115.57 KB[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 730ms
|
|
16
|
+
[32mCJS[39m [1mdist/index.js [22m[32m36.28 KB[39m
|
|
17
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m115.83 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 731ms
|
|
19
|
+
[32mDTS[39m ⚡️ Build success in 4457ms
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m40.94 KB[39m
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m40.94 KB[39m
|
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;
|