ssb-typescript
Advanced tools
Comparing version 1.3.0 to 1.4.0
{ | ||
"name": "ssb-typescript", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "TypeScript type definitions for Secure Scuttlebutt", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -51,3 +51,6 @@ /** | ||
}; | ||
export declare type Content = PostContent | ContactContent | VoteContent | AboutContent | null; | ||
export declare type Privatable<T> = T & { | ||
recps?: Array<FeedId>; | ||
}; | ||
export declare type Content = Privatable<PostContent> | Privatable<ContactContent> | Privatable<VoteContent> | Privatable<AboutContent> | null; | ||
export declare type PostContent = { | ||
@@ -54,0 +57,0 @@ type: 'post'; |
@@ -58,7 +58,9 @@ /** | ||
export type Privatable<T> = T & {recps?: Array<FeedId>}; | ||
export type Content = | ||
| PostContent | ||
| ContactContent | ||
| VoteContent | ||
| AboutContent | ||
| Privatable<PostContent> | ||
| Privatable<ContactContent> | ||
| Privatable<VoteContent> | ||
| Privatable<AboutContent> | ||
| null; | ||
@@ -65,0 +67,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11953
355