@tonightpass/react 0.0.49 → 0.0.50
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 +6 -6
- package/CHANGELOG.md +7 -0
- package/dist/index.d.mts +36 -12
- package/dist/index.d.ts +36 -12
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @tonightpass/react@0.0.
|
|
2
|
+
> @tonightpass/react@0.0.50 build /home/runner/work/tonightpass/tonightpass/packages/react
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
CLI Building entry: src/index.ts
|
|
@@ -11,11 +11,11 @@ CJS Build start
|
|
|
11
11
|
ESM Build start
|
|
12
12
|
CJS dist/index.js 438.00 B
|
|
13
13
|
CJS dist/index.js.map 948.00 B
|
|
14
|
-
CJS ⚡️ Build success in
|
|
14
|
+
CJS ⚡️ Build success in 88ms
|
|
15
15
|
ESM dist/index.mjs 258.00 B
|
|
16
16
|
ESM dist/index.mjs.map 948.00 B
|
|
17
|
-
ESM ⚡️ Build success in
|
|
17
|
+
ESM ⚡️ Build success in 88ms
|
|
18
18
|
DTS Build start
|
|
19
|
-
DTS ⚡️ Build success in
|
|
20
|
-
DTS dist/index.d.ts
|
|
21
|
-
DTS dist/index.d.mts
|
|
19
|
+
DTS ⚡️ Build success in 2782ms
|
|
20
|
+
DTS dist/index.d.ts 7.15 KB
|
|
21
|
+
DTS dist/index.d.mts 7.15 KB
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @tonightpass/react
|
|
2
2
|
|
|
3
|
+
## 0.0.50
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`3ba3d9e`](https://github.com/tonightpass/tonightpass/commit/3ba3d9e118a5f4d86cd046895669f854952aaacf), [`f02fa95`](https://github.com/tonightpass/tonightpass/commit/f02fa95dd04876389affd5027c575a7553f9dfce), [`f02fa95`](https://github.com/tonightpass/tonightpass/commit/f02fa95dd04876389affd5027c575a7553f9dfce)]:
|
|
8
|
+
- tonightpass@0.0.49
|
|
9
|
+
|
|
3
10
|
## 0.0.49
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -47,8 +47,8 @@ declare const useAPI: <Path extends PathsFor<"GET">>(path?: Path | null, query?:
|
|
|
47
47
|
}>, {
|
|
48
48
|
path: Path;
|
|
49
49
|
method: "GET";
|
|
50
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/careers/jobs/:
|
|
51
|
-
|
|
50
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/careers/jobs/:jobId", tonightpass.CareersJob, {
|
|
51
|
+
jobId: number;
|
|
52
52
|
}>, {
|
|
53
53
|
path: Path;
|
|
54
54
|
method: "GET";
|
|
@@ -72,16 +72,16 @@ declare const useAPI: <Path extends PathsFor<"GET">>(path?: Path | null, query?:
|
|
|
72
72
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations", tonightpass.Organization[], undefined>, {
|
|
73
73
|
path: Path;
|
|
74
74
|
method: "GET";
|
|
75
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
75
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug", tonightpass.Organization, undefined>, {
|
|
76
76
|
path: Path;
|
|
77
77
|
method: "GET";
|
|
78
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
78
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/billing/account", stripe.Stripe.Account, undefined>, {
|
|
79
79
|
path: Path;
|
|
80
80
|
method: "GET";
|
|
81
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
81
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/billing/link", void, undefined>, {
|
|
82
82
|
path: Path;
|
|
83
83
|
method: "GET";
|
|
84
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
84
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/billing/dashboard", void, undefined>, {
|
|
85
85
|
path: Path;
|
|
86
86
|
method: "GET";
|
|
87
87
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events", tonightpass.ArrayResult<tonightpass.OrganizationEvent>, tonightpass.ArrayOptions<tonightpass.OrganizationEvent>>, {
|
|
@@ -99,28 +99,52 @@ declare const useAPI: <Path extends PathsFor<"GET">>(path?: Path | null, query?:
|
|
|
99
99
|
}>, {
|
|
100
100
|
path: Path;
|
|
101
101
|
method: "GET";
|
|
102
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
102
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events", tonightpass.ArrayResult<tonightpass.OrganizationEvent>, tonightpass.ArrayOptions<tonightpass.OrganizationEvent>>, {
|
|
103
103
|
path: Path;
|
|
104
104
|
method: "GET";
|
|
105
105
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", tonightpass.OrganizationEvent, undefined>, {
|
|
106
106
|
path: Path;
|
|
107
107
|
method: "GET";
|
|
108
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug/carts", tonightpass.ArrayResult<{
|
|
109
|
+
organizationEvent: tonightpass.OrganizationEvent;
|
|
110
|
+
tickets: {
|
|
111
|
+
ticket: tonightpass.OrganizationEventTicket;
|
|
112
|
+
quantity: number;
|
|
113
|
+
}[];
|
|
114
|
+
}>, tonightpass.ArrayOptions<{
|
|
115
|
+
organizationEvent: tonightpass.OrganizationEvent;
|
|
116
|
+
tickets: {
|
|
117
|
+
ticket: tonightpass.OrganizationEventTicket;
|
|
118
|
+
quantity: number;
|
|
119
|
+
}[];
|
|
120
|
+
}>>, {
|
|
121
|
+
path: Path;
|
|
122
|
+
method: "GET";
|
|
123
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug/carts/:cartId", {
|
|
124
|
+
organizationEvent: tonightpass.OrganizationEvent;
|
|
125
|
+
tickets: {
|
|
126
|
+
ticket: tonightpass.OrganizationEventTicket;
|
|
127
|
+
quantity: number;
|
|
128
|
+
}[];
|
|
129
|
+
}, undefined>, {
|
|
130
|
+
path: Path;
|
|
131
|
+
method: "GET";
|
|
108
132
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events/styles", tonightpass.OrganizationEventStyle[], undefined>, {
|
|
109
133
|
path: Path;
|
|
110
134
|
method: "GET";
|
|
111
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events/styles/:
|
|
135
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events/styles/:styleSlug", tonightpass.OrganizationEventStyle, undefined>, {
|
|
112
136
|
path: Path;
|
|
113
137
|
method: "GET";
|
|
114
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
138
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug/tickets", tonightpass.OrganizationEventTicket[], undefined>, {
|
|
115
139
|
path: Path;
|
|
116
140
|
method: "GET";
|
|
117
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
141
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug/tickets/:ticketId", tonightpass.OrganizationEventTicket, undefined>, {
|
|
118
142
|
path: Path;
|
|
119
143
|
method: "GET";
|
|
120
144
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/members", tonightpass.ArrayResult<tonightpass.OrganizationMember>, tonightpass.ArrayOptions<tonightpass.OrganizationMember>>, {
|
|
121
145
|
path: Path;
|
|
122
146
|
method: "GET";
|
|
123
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
147
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/members", tonightpass.ArrayResult<tonightpass.OrganizationMember>, tonightpass.ArrayOptions<tonightpass.OrganizationMember>>, {
|
|
124
148
|
path: Path;
|
|
125
149
|
method: "GET";
|
|
126
150
|
}> | Extract<tonightpass.ProfileEndpoints, {
|
|
@@ -129,7 +153,7 @@ declare const useAPI: <Path extends PathsFor<"GET">>(path?: Path | null, query?:
|
|
|
129
153
|
}> | Extract<tonightpass.Endpoint<"GET", "/users", tonightpass.User[], undefined>, {
|
|
130
154
|
path: Path;
|
|
131
155
|
method: "GET";
|
|
132
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/users/:
|
|
156
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/users/:userId", tonightpass.User, {
|
|
133
157
|
id: string;
|
|
134
158
|
}>, {
|
|
135
159
|
path: Path;
|
package/dist/index.d.ts
CHANGED
|
@@ -47,8 +47,8 @@ declare const useAPI: <Path extends PathsFor<"GET">>(path?: Path | null, query?:
|
|
|
47
47
|
}>, {
|
|
48
48
|
path: Path;
|
|
49
49
|
method: "GET";
|
|
50
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/careers/jobs/:
|
|
51
|
-
|
|
50
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/careers/jobs/:jobId", tonightpass.CareersJob, {
|
|
51
|
+
jobId: number;
|
|
52
52
|
}>, {
|
|
53
53
|
path: Path;
|
|
54
54
|
method: "GET";
|
|
@@ -72,16 +72,16 @@ declare const useAPI: <Path extends PathsFor<"GET">>(path?: Path | null, query?:
|
|
|
72
72
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations", tonightpass.Organization[], undefined>, {
|
|
73
73
|
path: Path;
|
|
74
74
|
method: "GET";
|
|
75
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
75
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug", tonightpass.Organization, undefined>, {
|
|
76
76
|
path: Path;
|
|
77
77
|
method: "GET";
|
|
78
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
78
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/billing/account", stripe.Stripe.Account, undefined>, {
|
|
79
79
|
path: Path;
|
|
80
80
|
method: "GET";
|
|
81
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
81
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/billing/link", void, undefined>, {
|
|
82
82
|
path: Path;
|
|
83
83
|
method: "GET";
|
|
84
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
84
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/billing/dashboard", void, undefined>, {
|
|
85
85
|
path: Path;
|
|
86
86
|
method: "GET";
|
|
87
87
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events", tonightpass.ArrayResult<tonightpass.OrganizationEvent>, tonightpass.ArrayOptions<tonightpass.OrganizationEvent>>, {
|
|
@@ -99,28 +99,52 @@ declare const useAPI: <Path extends PathsFor<"GET">>(path?: Path | null, query?:
|
|
|
99
99
|
}>, {
|
|
100
100
|
path: Path;
|
|
101
101
|
method: "GET";
|
|
102
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
102
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events", tonightpass.ArrayResult<tonightpass.OrganizationEvent>, tonightpass.ArrayOptions<tonightpass.OrganizationEvent>>, {
|
|
103
103
|
path: Path;
|
|
104
104
|
method: "GET";
|
|
105
105
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", tonightpass.OrganizationEvent, undefined>, {
|
|
106
106
|
path: Path;
|
|
107
107
|
method: "GET";
|
|
108
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug/carts", tonightpass.ArrayResult<{
|
|
109
|
+
organizationEvent: tonightpass.OrganizationEvent;
|
|
110
|
+
tickets: {
|
|
111
|
+
ticket: tonightpass.OrganizationEventTicket;
|
|
112
|
+
quantity: number;
|
|
113
|
+
}[];
|
|
114
|
+
}>, tonightpass.ArrayOptions<{
|
|
115
|
+
organizationEvent: tonightpass.OrganizationEvent;
|
|
116
|
+
tickets: {
|
|
117
|
+
ticket: tonightpass.OrganizationEventTicket;
|
|
118
|
+
quantity: number;
|
|
119
|
+
}[];
|
|
120
|
+
}>>, {
|
|
121
|
+
path: Path;
|
|
122
|
+
method: "GET";
|
|
123
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug/carts/:cartId", {
|
|
124
|
+
organizationEvent: tonightpass.OrganizationEvent;
|
|
125
|
+
tickets: {
|
|
126
|
+
ticket: tonightpass.OrganizationEventTicket;
|
|
127
|
+
quantity: number;
|
|
128
|
+
}[];
|
|
129
|
+
}, undefined>, {
|
|
130
|
+
path: Path;
|
|
131
|
+
method: "GET";
|
|
108
132
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events/styles", tonightpass.OrganizationEventStyle[], undefined>, {
|
|
109
133
|
path: Path;
|
|
110
134
|
method: "GET";
|
|
111
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events/styles/:
|
|
135
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events/styles/:styleSlug", tonightpass.OrganizationEventStyle, undefined>, {
|
|
112
136
|
path: Path;
|
|
113
137
|
method: "GET";
|
|
114
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
138
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug/tickets", tonightpass.OrganizationEventTicket[], undefined>, {
|
|
115
139
|
path: Path;
|
|
116
140
|
method: "GET";
|
|
117
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
141
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug/tickets/:ticketId", tonightpass.OrganizationEventTicket, undefined>, {
|
|
118
142
|
path: Path;
|
|
119
143
|
method: "GET";
|
|
120
144
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/members", tonightpass.ArrayResult<tonightpass.OrganizationMember>, tonightpass.ArrayOptions<tonightpass.OrganizationMember>>, {
|
|
121
145
|
path: Path;
|
|
122
146
|
method: "GET";
|
|
123
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
147
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/members", tonightpass.ArrayResult<tonightpass.OrganizationMember>, tonightpass.ArrayOptions<tonightpass.OrganizationMember>>, {
|
|
124
148
|
path: Path;
|
|
125
149
|
method: "GET";
|
|
126
150
|
}> | Extract<tonightpass.ProfileEndpoints, {
|
|
@@ -129,7 +153,7 @@ declare const useAPI: <Path extends PathsFor<"GET">>(path?: Path | null, query?:
|
|
|
129
153
|
}> | Extract<tonightpass.Endpoint<"GET", "/users", tonightpass.User[], undefined>, {
|
|
130
154
|
path: Path;
|
|
131
155
|
method: "GET";
|
|
132
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/users/:
|
|
156
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/users/:userId", tonightpass.User, {
|
|
133
157
|
id: string;
|
|
134
158
|
}>, {
|
|
135
159
|
path: Path;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tonightpass/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.50",
|
|
4
4
|
"description": "@tonightpass react sdk.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"types": "dist/index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"swr": "^2.2.5",
|
|
18
|
-
"tonightpass": "^0.0.
|
|
18
|
+
"tonightpass": "^0.0.49"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": "*"
|