@pathway-io/core 1.0.28 → 1.0.29

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/dist/index.d.mts CHANGED
@@ -125,6 +125,10 @@ type AuthSignInRefreshRequest = {
125
125
  };
126
126
  type AuthSignInRefreshResponse = AuthSignInResponse;
127
127
 
128
+ type Channel = {
129
+ id: number;
130
+ };
131
+
128
132
  type MessageListQueryParams = {
129
133
  channelId: string;
130
134
  };
@@ -173,4 +177,4 @@ type UserUpdateNameInput = {
173
177
  lastName: string;
174
178
  };
175
179
 
176
- export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateRequest, type MessageListCoercedQueryParams, type MessageListQueryParams, type User, type UserRole, type UserUpdateEmailInput, type UserUpdateNameInput, colors, fonts };
180
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Channel, type Message, type MessageCreateRequest, type MessageListCoercedQueryParams, type MessageListQueryParams, type User, type UserRole, type UserUpdateEmailInput, type UserUpdateNameInput, colors, fonts };
package/dist/index.d.ts CHANGED
@@ -125,6 +125,10 @@ type AuthSignInRefreshRequest = {
125
125
  };
126
126
  type AuthSignInRefreshResponse = AuthSignInResponse;
127
127
 
128
+ type Channel = {
129
+ id: number;
130
+ };
131
+
128
132
  type MessageListQueryParams = {
129
133
  channelId: string;
130
134
  };
@@ -173,4 +177,4 @@ type UserUpdateNameInput = {
173
177
  lastName: string;
174
178
  };
175
179
 
176
- export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateRequest, type MessageListCoercedQueryParams, type MessageListQueryParams, type User, type UserRole, type UserUpdateEmailInput, type UserUpdateNameInput, colors, fonts };
180
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Channel, type Message, type MessageCreateRequest, type MessageListCoercedQueryParams, type MessageListQueryParams, type User, type UserRole, type UserUpdateEmailInput, type UserUpdateNameInput, colors, fonts };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathway-io/core",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "Shared constants and types for Pathway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -0,0 +1,3 @@
1
+ export type Channel = {
2
+ id: number;
3
+ };
@@ -1,3 +1,4 @@
1
1
  export * from "./auth";
2
+ export * from "./channels";
2
3
  export * from "./messages";
3
4
  export * from "./user";