@bygnet/types 1.6.1 → 1.7.0
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 +14 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -49,6 +49,19 @@ interface BygPost {
|
|
|
49
49
|
commentCount: number;
|
|
50
50
|
}
|
|
51
51
|
//#endregion
|
|
52
|
+
//#region src/people/auth-user.d.ts
|
|
53
|
+
interface BygAuthUser {
|
|
54
|
+
id: number;
|
|
55
|
+
email: string;
|
|
56
|
+
username: string;
|
|
57
|
+
avatarUrl: string | null;
|
|
58
|
+
bannerUrl: string | null;
|
|
59
|
+
bio: string | null;
|
|
60
|
+
subscriptionState: BygSubscription | null;
|
|
61
|
+
emailVerificationCode: string | null;
|
|
62
|
+
twoFactorEnabled: boolean;
|
|
63
|
+
}
|
|
64
|
+
//#endregion
|
|
52
65
|
//#region src/people/profile.d.ts
|
|
53
66
|
interface BygProfile {
|
|
54
67
|
user: BygUser;
|
|
@@ -114,4 +127,4 @@ interface BygPushAlertPayload {
|
|
|
114
127
|
createdDate: string;
|
|
115
128
|
}
|
|
116
129
|
//#endregion
|
|
117
|
-
export { BygAd, BygComment, BygImage, BygNotification, BygNotificationType, BygPage, BygPost, BygProfile, BygPushAlertPayload, BygPushPublicKeyResponse, BygPushSubscription, BygPushSubscriptionKeys, BygPushUnsubscribeRequest, BygSubscription, BygUser, BygVerification, CreateType };
|
|
130
|
+
export { BygAd, BygAuthUser, BygComment, BygImage, BygNotification, BygNotificationType, BygPage, BygPost, BygProfile, BygPushAlertPayload, BygPushPublicKeyResponse, BygPushSubscription, BygPushSubscriptionKeys, BygPushUnsubscribeRequest, BygSubscription, BygUser, BygVerification, CreateType };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"alert": "THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. Instead, edit package.ts and run 'ts-pkg' to regenerate.",
|
|
3
3
|
"name": "@bygnet/types",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.7.0",
|
|
5
5
|
"description": "Byg Platform's types for posts, images, and more, for Byg devs and the community.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"social-network",
|