@bygnet/types 1.4.2 → 1.5.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.ts
CHANGED
package/dist/people/profile.d.ts
CHANGED
package/dist/people/user.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BygSubscription } from '
|
|
1
|
+
import { BygSubscription, BygVerification } from '@/index';
|
|
2
2
|
export interface BygUser {
|
|
3
3
|
id: number;
|
|
4
4
|
email: string;
|
|
@@ -8,4 +8,5 @@ export interface BygUser {
|
|
|
8
8
|
avatarUrl: string | null;
|
|
9
9
|
bannerUrl: string | null;
|
|
10
10
|
subscriptionState: BygSubscription;
|
|
11
|
+
verification: BygVerification;
|
|
11
12
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BygVerification = 'notable' | 'organization' | 'government' | 'identity';
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"alert": "THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. Instead, edit package.ts and run 'ts-pkg' to regenerate.",
|
|
2
3
|
"name": "@bygnet/types",
|
|
3
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0",
|
|
4
5
|
"description": "Byg Platform's types for posts, images, and more, for Byg devs and the community.",
|
|
5
6
|
"keywords": [
|
|
6
7
|
"social-network",
|
|
@@ -20,15 +21,15 @@
|
|
|
20
21
|
},
|
|
21
22
|
"type": "module",
|
|
22
23
|
"main": "src/index.ts",
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
23
27
|
"types": "dist/index.d.ts",
|
|
24
28
|
"exports": {
|
|
25
29
|
".": {
|
|
26
30
|
"types": "./dist/index.d.ts"
|
|
27
31
|
}
|
|
28
32
|
},
|
|
29
|
-
"files": [
|
|
30
|
-
"dist"
|
|
31
|
-
],
|
|
32
33
|
"scripts": {
|
|
33
34
|
"build": "tsc",
|
|
34
35
|
"build:watch": "tsc --watch",
|