Skip to content

Commit

Permalink
fixed: documentation typos and omitted details from LIP
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarenaldi committed Dec 4, 2023
1 parent 4a678d0 commit 39005b4
Show file tree
Hide file tree
Showing 18 changed files with 40 additions and 20 deletions.
5 changes: 5 additions & 0 deletions .changeset/weak-bulldogs-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lens-protocol/metadata': patch
---

**fixed:** documentation typos and omitted details from LIP
2 changes: 1 addition & 1 deletion src/profile/ProfileMetadataSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export type ProfileMetadata = {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/3D.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export type ThreeDMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/ArticleSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export type ArticleMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/AudioSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export type AudioMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/CheckingInSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export type CheckingInMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/EmbedSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export type EmbedMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/EventSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export type EventMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/ImageSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export type ImageMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
4 changes: 3 additions & 1 deletion src/publication/LinkSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export type LinkMetadata = MarketplaceMetadata & {
*/
lens: LinkMetadataDetails;
/**
* The signature.
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
21 changes: 17 additions & 4 deletions src/publication/LiveStreamSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,21 @@ export type LiveStreamMetadataDetails = PublicationMetadataCommon & {
liveUrl: EncryptableURI;
/**
* The data cannot be changed so you can put in an API endpoint to know if it is still live or not for clients to be able to check.
*
* Responses from this endpoint should conform to the following schema:
*
* ```json
* {
* "$schema": "http://json-schema.org/draft-07/schema#",
* "type": "object",
* "properties": {
* "isLive": {
* "type": "boolean"
* }
* },
* "required": ["isLive"]
* }
* ```
*/
checkLiveAPI?: EncryptableURI;
/**
Expand Down Expand Up @@ -113,10 +128,8 @@ export type LiveStreamMetadata = MarketplaceMetadata & {
lens: LiveStreamMetadataDetails;
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
@experimental DO NOT use yet
*
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/MintSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export type MintMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/MirrorMetadataSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export type MirrorMetadata = ShapeCheck<{
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
}>;
Expand Down
2 changes: 1 addition & 1 deletion src/publication/SpaceSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export type SpaceMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/StorySchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export type StoryMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/TextOnlySchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export type TextOnlyMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/TransactionSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export type TransactionMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down
2 changes: 1 addition & 1 deletion src/publication/VideoSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export type VideoMetadata = MarketplaceMetadata & {
/**
* A cryptographic signature of the `lens` data.
*
* @experimental DO NOT use ye
* @experimental DO NOT use yet
*/
signature?: Signature;
};
Expand Down

0 comments on commit 39005b4

Please sign in to comment.