@dailydotdev/schema 0.2.10 → 0.2.11
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
var e,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,t=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,r={};((e,a)=>{for(var t in a)n(e,t,{get:a[t],enumerable:!0})})(r,{ContentUpdatedMessage:()=>c}),module.exports=(e=r,((e,r,i,s)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let d of t(r))o.call(e,d)||d===i||n(e,d,{get:()=>r[d],enumerable:!(s=a(r,d))||s.enumerable});return e})(n({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf"),s=require("../sources_pb.cjs"),d=require("../posts_pb.cjs");class c extends i.Message{yggdrasilId;postId="";type="";title;createdAt=0;updatedAt=0;source;tags=[];keywords=[];banned=!1;private=!1;visible=!1;origin;url="";canonicalUrl;image;description;readTime;summary;content;language;contentMeta;relatedPosts=[];contentCuration=[];contentQuality;constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.pubsub.contentupdated.ContentUpdatedMessage";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"yggdrasil_id",kind:"scalar",T:9,opt:!0},{no:2,name:"post_id",kind:"scalar",T:9},{no:3,name:"type",kind:"scalar",T:9},{no:4,name:"title",kind:"scalar",T:9,opt:!0},{no:5,name:"created_at",kind:"scalar",T:5},{no:6,name:"updated_at",kind:"scalar",T:5},{no:7,name:"source",kind:"message",T:s.Source},{no:8,name:"tags",kind:"scalar",T:9,repeated:!0},{no:9,name:"keywords",kind:"scalar",T:9,repeated:!0},{no:10,name:"banned",kind:"scalar",T:8},{no:11,name:"private",kind:"scalar",T:8},{no:12,name:"visible",kind:"scalar",T:8},{no:13,name:"origin",kind:"scalar",T:9,opt:!0},{no:14,name:"url",kind:"scalar",T:9},{no:15,name:"canonical_url",kind:"scalar",T:9,opt:!0},{no:16,name:"image",kind:"scalar",T:9,opt:!0},{no:17,name:"description",kind:"scalar",T:9,opt:!0},{no:18,name:"read_time",kind:"scalar",T:5,opt:!0},{no:19,name:"summary",kind:"scalar",T:9,opt:!0},{no:20,name:"content",kind:"scalar",T:9,opt:!0},{no:21,name:"language",kind:"scalar",T:9,opt:!0},{no:22,name:"content_meta",kind:"message",T:d.ContentMeta},{no:23,name:"relatedPosts",kind:"message",T:d.PostRelation,repeated:!0},{no:24,name:"content_curation",kind:"scalar",T:9,repeated:!0},{no:25,name:"content_quality",kind:"message",T:d.ContentQuality}]));static fromBinary(e,n){return(new c).fromBinary(e,n)}static fromJson(e,n){return(new c).fromJson(e,n)}static fromJsonString(e,n){return(new c).fromJsonString(e,n)}static equals(e,n){return i.proto3.util.equals(c,e,n)}}
|
|
1
|
+
var e,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,t=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,r={};((e,a)=>{for(var t in a)n(e,t,{get:a[t],enumerable:!0})})(r,{ContentUpdatedMessage:()=>c}),module.exports=(e=r,((e,r,i,s)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let d of t(r))o.call(e,d)||d===i||n(e,d,{get:()=>r[d],enumerable:!(s=a(r,d))||s.enumerable});return e})(n({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf"),s=require("../sources_pb.cjs"),d=require("../posts_pb.cjs");class c extends i.Message{yggdrasilId;postId="";type="";title;createdAt=0;updatedAt=0;source;tags=[];keywords=[];banned=!1;private=!1;visible=!1;origin;url="";canonicalUrl;image;description;readTime;summary;content;language;contentMeta;relatedPosts=[];contentCuration=[];contentQuality;deleted=!1;constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.pubsub.contentupdated.ContentUpdatedMessage";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"yggdrasil_id",kind:"scalar",T:9,opt:!0},{no:2,name:"post_id",kind:"scalar",T:9},{no:3,name:"type",kind:"scalar",T:9},{no:4,name:"title",kind:"scalar",T:9,opt:!0},{no:5,name:"created_at",kind:"scalar",T:5},{no:6,name:"updated_at",kind:"scalar",T:5},{no:7,name:"source",kind:"message",T:s.Source},{no:8,name:"tags",kind:"scalar",T:9,repeated:!0},{no:9,name:"keywords",kind:"scalar",T:9,repeated:!0},{no:10,name:"banned",kind:"scalar",T:8},{no:11,name:"private",kind:"scalar",T:8},{no:12,name:"visible",kind:"scalar",T:8},{no:13,name:"origin",kind:"scalar",T:9,opt:!0},{no:14,name:"url",kind:"scalar",T:9},{no:15,name:"canonical_url",kind:"scalar",T:9,opt:!0},{no:16,name:"image",kind:"scalar",T:9,opt:!0},{no:17,name:"description",kind:"scalar",T:9,opt:!0},{no:18,name:"read_time",kind:"scalar",T:5,opt:!0},{no:19,name:"summary",kind:"scalar",T:9,opt:!0},{no:20,name:"content",kind:"scalar",T:9,opt:!0},{no:21,name:"language",kind:"scalar",T:9,opt:!0},{no:22,name:"content_meta",kind:"message",T:d.ContentMeta},{no:23,name:"relatedPosts",kind:"message",T:d.PostRelation,repeated:!0},{no:24,name:"content_curation",kind:"scalar",T:9,repeated:!0},{no:25,name:"content_quality",kind:"message",T:d.ContentQuality},{no:26,name:"deleted",kind:"scalar",T:8}]));static fromBinary(e,n){return(new c).fromBinary(e,n)}static fromJson(e,n){return(new c).fromJson(e,n)}static fromJsonString(e,n){return(new c).fromJsonString(e,n)}static equals(e,n){return i.proto3.util.equals(c,e,n)}}
|
|
@@ -106,6 +106,10 @@ declare class ContentUpdatedMessage extends Message<ContentUpdatedMessage> {
|
|
|
106
106
|
* @generated from field: dailydotdev.api.posts.ContentQuality content_quality = 25;
|
|
107
107
|
*/
|
|
108
108
|
contentQuality?: ContentQuality;
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: bool deleted = 26;
|
|
111
|
+
*/
|
|
112
|
+
deleted: boolean;
|
|
109
113
|
constructor(data?: PartialMessage<ContentUpdatedMessage>);
|
|
110
114
|
static readonly runtime: typeof proto3;
|
|
111
115
|
static readonly typeName = "dailydotdev.api.pubsub.contentupdated.ContentUpdatedMessage";
|
|
@@ -106,6 +106,10 @@ declare class ContentUpdatedMessage extends Message<ContentUpdatedMessage> {
|
|
|
106
106
|
* @generated from field: dailydotdev.api.posts.ContentQuality content_quality = 25;
|
|
107
107
|
*/
|
|
108
108
|
contentQuality?: ContentQuality;
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: bool deleted = 26;
|
|
111
|
+
*/
|
|
112
|
+
deleted: boolean;
|
|
109
113
|
constructor(data?: PartialMessage<ContentUpdatedMessage>);
|
|
110
114
|
static readonly runtime: typeof proto3;
|
|
111
115
|
static readonly typeName = "dailydotdev.api.pubsub.contentupdated.ContentUpdatedMessage";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as a,proto3 as n}from"@bufbuild/protobuf";import{Source as e}from"../sources_pb.ts";import{ContentMeta as t,ContentQuality as o,PostRelation as i}from"../posts_pb.ts";class r extends a{yggdrasilId;postId="";type="";title;createdAt=0;updatedAt=0;source;tags=[];keywords=[];banned=!1;private=!1;visible=!1;origin;url="";canonicalUrl;image;description;readTime;summary;content;language;contentMeta;relatedPosts=[];contentCuration=[];contentQuality;constructor(a){super(),n.util.initPartial(a,this)}static runtime=n;static typeName="dailydotdev.api.pubsub.contentupdated.ContentUpdatedMessage";static fields=n.util.newFieldList((()=>[{no:1,name:"yggdrasil_id",kind:"scalar",T:9,opt:!0},{no:2,name:"post_id",kind:"scalar",T:9},{no:3,name:"type",kind:"scalar",T:9},{no:4,name:"title",kind:"scalar",T:9,opt:!0},{no:5,name:"created_at",kind:"scalar",T:5},{no:6,name:"updated_at",kind:"scalar",T:5},{no:7,name:"source",kind:"message",T:e},{no:8,name:"tags",kind:"scalar",T:9,repeated:!0},{no:9,name:"keywords",kind:"scalar",T:9,repeated:!0},{no:10,name:"banned",kind:"scalar",T:8},{no:11,name:"private",kind:"scalar",T:8},{no:12,name:"visible",kind:"scalar",T:8},{no:13,name:"origin",kind:"scalar",T:9,opt:!0},{no:14,name:"url",kind:"scalar",T:9},{no:15,name:"canonical_url",kind:"scalar",T:9,opt:!0},{no:16,name:"image",kind:"scalar",T:9,opt:!0},{no:17,name:"description",kind:"scalar",T:9,opt:!0},{no:18,name:"read_time",kind:"scalar",T:5,opt:!0},{no:19,name:"summary",kind:"scalar",T:9,opt:!0},{no:20,name:"content",kind:"scalar",T:9,opt:!0},{no:21,name:"language",kind:"scalar",T:9,opt:!0},{no:22,name:"content_meta",kind:"message",T:t},{no:23,name:"relatedPosts",kind:"message",T:i,repeated:!0},{no:24,name:"content_curation",kind:"scalar",T:9,repeated:!0},{no:25,name:"content_quality",kind:"message",T:o}]));static fromBinary(a,n){return(new r).fromBinary(a,n)}static fromJson(a,n){return(new r).fromJson(a,n)}static fromJsonString(a,n){return(new r).fromJsonString(a,n)}static equals(a,e){return n.util.equals(r,a,e)}}export{r as ContentUpdatedMessage};
|
|
1
|
+
import{Message as a,proto3 as n}from"@bufbuild/protobuf";import{Source as e}from"../sources_pb.ts";import{ContentMeta as t,ContentQuality as o,PostRelation as i}from"../posts_pb.ts";class r extends a{yggdrasilId;postId="";type="";title;createdAt=0;updatedAt=0;source;tags=[];keywords=[];banned=!1;private=!1;visible=!1;origin;url="";canonicalUrl;image;description;readTime;summary;content;language;contentMeta;relatedPosts=[];contentCuration=[];contentQuality;deleted=!1;constructor(a){super(),n.util.initPartial(a,this)}static runtime=n;static typeName="dailydotdev.api.pubsub.contentupdated.ContentUpdatedMessage";static fields=n.util.newFieldList((()=>[{no:1,name:"yggdrasil_id",kind:"scalar",T:9,opt:!0},{no:2,name:"post_id",kind:"scalar",T:9},{no:3,name:"type",kind:"scalar",T:9},{no:4,name:"title",kind:"scalar",T:9,opt:!0},{no:5,name:"created_at",kind:"scalar",T:5},{no:6,name:"updated_at",kind:"scalar",T:5},{no:7,name:"source",kind:"message",T:e},{no:8,name:"tags",kind:"scalar",T:9,repeated:!0},{no:9,name:"keywords",kind:"scalar",T:9,repeated:!0},{no:10,name:"banned",kind:"scalar",T:8},{no:11,name:"private",kind:"scalar",T:8},{no:12,name:"visible",kind:"scalar",T:8},{no:13,name:"origin",kind:"scalar",T:9,opt:!0},{no:14,name:"url",kind:"scalar",T:9},{no:15,name:"canonical_url",kind:"scalar",T:9,opt:!0},{no:16,name:"image",kind:"scalar",T:9,opt:!0},{no:17,name:"description",kind:"scalar",T:9,opt:!0},{no:18,name:"read_time",kind:"scalar",T:5,opt:!0},{no:19,name:"summary",kind:"scalar",T:9,opt:!0},{no:20,name:"content",kind:"scalar",T:9,opt:!0},{no:21,name:"language",kind:"scalar",T:9,opt:!0},{no:22,name:"content_meta",kind:"message",T:t},{no:23,name:"relatedPosts",kind:"message",T:i,repeated:!0},{no:24,name:"content_curation",kind:"scalar",T:9,repeated:!0},{no:25,name:"content_quality",kind:"message",T:o},{no:26,name:"deleted",kind:"scalar",T:8}]));static fromBinary(a,n){return(new r).fromBinary(a,n)}static fromJson(a,n){return(new r).fromJson(a,n)}static fromJsonString(a,n){return(new r).fromJsonString(a,n)}static equals(a,e){return n.util.equals(r,a,e)}}export{r as ContentUpdatedMessage};
|