@dailydotdev/schema 0.2.60 → 0.2.62
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/daily-api/organization_pb.cjs +1 -1
- package/dist/daily-api/organization_pb.d.cts +3 -2
- package/dist/daily-api/organization_pb.d.ts +3 -2
- package/dist/daily-api/organization_pb.js +1 -1
- package/dist/daily-api/posts_pb.cjs +1 -1
- package/dist/daily-api/posts_pb.d.cts +30 -1
- package/dist/daily-api/posts_pb.d.ts +30 -1
- package/dist/daily-api/posts_pb.js +1 -1
- package/dist/daily-api/pubsub/content-updated_pb.cjs +1 -1
- package/dist/daily-api/pubsub/content-updated_pb.d.cts +7 -1
- package/dist/daily-api/pubsub/content-updated_pb.d.ts +7 -1
- package/dist/daily-api/pubsub/content-updated_pb.js +1 -1
- package/dist/gondul/candidates_pb.cjs +1 -1
- package/dist/gondul/candidates_pb.d.cts +26 -1
- package/dist/gondul/candidates_pb.d.ts +26 -1
- package/dist/gondul/candidates_pb.js +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var n
|
|
1
|
+
var e,n=Object.defineProperty,_=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,t={};((e,_)=>{for(var a in _)n(e,a,{get:_[a],enumerable:!0})})(t,{CompanySize:()=>i,CompanyStage:()=>r,Organization:()=>P}),module.exports=(e=t,((e,t,E,S)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))o.call(e,r)||r===E||n(e,r,{get:()=>t[r],enumerable:!(S=_(t,r))||S.enumerable});return e})(n({},"__esModule",{value:!0}),e));var E=require("@bufbuild/protobuf"),S=require("./util_pb.cjs"),r=(e=>(e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.PRE_SEED=1]="PRE_SEED",e[e.SEED=2]="SEED",e[e.SERIES_A=3]="SERIES_A",e[e.SERIES_B=4]="SERIES_B",e[e.SERIES_C=5]="SERIES_C",e[e.SERIES_D=6]="SERIES_D",e[e.PUBLIC=7]="PUBLIC",e[e.BOOTSTRAPPED=8]="BOOTSTRAPPED",e[e.NON_PROFIT=9]="NON_PROFIT",e[e.GOVERNMENT=10]="GOVERNMENT",e))(r||{});E.proto3.util.setEnumType(r,"dailydotdev.api.organization.CompanyStage",[{no:0,name:"COMPANY_STAGE_UNSPECIFIED"},{no:1,name:"COMPANY_STAGE_PRE_SEED"},{no:2,name:"COMPANY_STAGE_SEED"},{no:3,name:"COMPANY_STAGE_SERIES_A"},{no:4,name:"COMPANY_STAGE_SERIES_B"},{no:5,name:"COMPANY_STAGE_SERIES_C"},{no:6,name:"COMPANY_STAGE_SERIES_D"},{no:7,name:"COMPANY_STAGE_PUBLIC"},{no:8,name:"COMPANY_STAGE_BOOTSTRAPPED"},{no:9,name:"COMPANY_STAGE_NON_PROFIT"},{no:10,name:"COMPANY_STAGE_GOVERNMENT"}]);var i=(e=>(e[e.COMPANY_SIZE_UNSPECIFIED=0]="COMPANY_SIZE_UNSPECIFIED",e[e.COMPANY_SIZE_1_10=1]="COMPANY_SIZE_1_10",e[e.COMPANY_SIZE_11_50=2]="COMPANY_SIZE_11_50",e[e.COMPANY_SIZE_51_200=3]="COMPANY_SIZE_51_200",e[e.COMPANY_SIZE_201_500=4]="COMPANY_SIZE_201_500",e[e.COMPANY_SIZE_501_1000=5]="COMPANY_SIZE_501_1000",e[e.COMPANY_SIZE_1001_5000=6]="COMPANY_SIZE_1001_5000",e[e.COMPANY_SIZE_5000_PLUS=7]="COMPANY_SIZE_5000_PLUS",e))(i||{});E.proto3.util.setEnumType(i,"dailydotdev.api.organization.CompanySize",[{no:0,name:"COMPANY_SIZE_UNSPECIFIED"},{no:1,name:"COMPANY_SIZE_1_10"},{no:2,name:"COMPANY_SIZE_11_50"},{no:3,name:"COMPANY_SIZE_51_200"},{no:4,name:"COMPANY_SIZE_201_500"},{no:5,name:"COMPANY_SIZE_501_1000"},{no:6,name:"COMPANY_SIZE_1001_5000"},{no:7,name:"COMPANY_SIZE_5000_PLUS"}]);class P extends E.Message{id="";createdAt=0;updatedAt=0;name="";description;perks=[];founded;location;category;size;stage;constructor(e){super(),E.proto3.util.initPartial(e,this)}static runtime=E.proto3;static typeName="dailydotdev.api.organization.Organization";static fields=E.proto3.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"created_at",kind:"scalar",T:5},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"name",kind:"scalar",T:9},{no:5,name:"description",kind:"scalar",T:9,opt:!0},{no:6,name:"perks",kind:"scalar",T:9,repeated:!0},{no:7,name:"founded",kind:"scalar",T:5,opt:!0},{no:8,name:"location",kind:"message",T:S.Location},{no:9,name:"category",kind:"scalar",T:9,opt:!0},{no:10,name:"size",kind:"enum",T:E.proto3.getEnumType(i),opt:!0},{no:11,name:"stage",kind:"enum",T:E.proto3.getEnumType(r),opt:!0}]));static fromBinary(e,n){return(new P).fromBinary(e,n)}static fromJson(e,n){return(new P).fromJson(e,n)}static fromJsonString(e,n){return(new P).fromJsonString(e,n)}static equals(e,n){return E.proto3.util.equals(P,e,n)}}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
+
import { Location } from './util_pb.cjs';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @generated from enum dailydotdev.api.organization.CompanyStage
|
|
@@ -119,9 +120,9 @@ declare class Organization extends Message<Organization> {
|
|
|
119
120
|
*/
|
|
120
121
|
founded?: number;
|
|
121
122
|
/**
|
|
122
|
-
* @generated from field:
|
|
123
|
+
* @generated from field: dailydotdev.api.util.Location location = 8;
|
|
123
124
|
*/
|
|
124
|
-
location?:
|
|
125
|
+
location?: Location;
|
|
125
126
|
/**
|
|
126
127
|
* @generated from field: optional string category = 9;
|
|
127
128
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
+
import { Location } from './util_pb.js';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @generated from enum dailydotdev.api.organization.CompanyStage
|
|
@@ -119,9 +120,9 @@ declare class Organization extends Message<Organization> {
|
|
|
119
120
|
*/
|
|
120
121
|
founded?: number;
|
|
121
122
|
/**
|
|
122
|
-
* @generated from field:
|
|
123
|
+
* @generated from field: dailydotdev.api.util.Location location = 8;
|
|
123
124
|
*/
|
|
124
|
-
location?:
|
|
125
|
+
location?: Location;
|
|
125
126
|
/**
|
|
126
127
|
* @generated from field: optional string category = 9;
|
|
127
128
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as n,proto3 as _}from"@bufbuild/protobuf";var
|
|
1
|
+
import{Message as n,proto3 as _}from"@bufbuild/protobuf";import{Location as E}from"./util_pb.ts";var a=(n=>(n[n.UNSPECIFIED=0]="UNSPECIFIED",n[n.PRE_SEED=1]="PRE_SEED",n[n.SEED=2]="SEED",n[n.SERIES_A=3]="SERIES_A",n[n.SERIES_B=4]="SERIES_B",n[n.SERIES_C=5]="SERIES_C",n[n.SERIES_D=6]="SERIES_D",n[n.PUBLIC=7]="PUBLIC",n[n.BOOTSTRAPPED=8]="BOOTSTRAPPED",n[n.NON_PROFIT=9]="NON_PROFIT",n[n.GOVERNMENT=10]="GOVERNMENT",n))(a||{});_.util.setEnumType(a,"dailydotdev.api.organization.CompanyStage",[{no:0,name:"COMPANY_STAGE_UNSPECIFIED"},{no:1,name:"COMPANY_STAGE_PRE_SEED"},{no:2,name:"COMPANY_STAGE_SEED"},{no:3,name:"COMPANY_STAGE_SERIES_A"},{no:4,name:"COMPANY_STAGE_SERIES_B"},{no:5,name:"COMPANY_STAGE_SERIES_C"},{no:6,name:"COMPANY_STAGE_SERIES_D"},{no:7,name:"COMPANY_STAGE_PUBLIC"},{no:8,name:"COMPANY_STAGE_BOOTSTRAPPED"},{no:9,name:"COMPANY_STAGE_NON_PROFIT"},{no:10,name:"COMPANY_STAGE_GOVERNMENT"}]);var e=(n=>(n[n.COMPANY_SIZE_UNSPECIFIED=0]="COMPANY_SIZE_UNSPECIFIED",n[n.COMPANY_SIZE_1_10=1]="COMPANY_SIZE_1_10",n[n.COMPANY_SIZE_11_50=2]="COMPANY_SIZE_11_50",n[n.COMPANY_SIZE_51_200=3]="COMPANY_SIZE_51_200",n[n.COMPANY_SIZE_201_500=4]="COMPANY_SIZE_201_500",n[n.COMPANY_SIZE_501_1000=5]="COMPANY_SIZE_501_1000",n[n.COMPANY_SIZE_1001_5000=6]="COMPANY_SIZE_1001_5000",n[n.COMPANY_SIZE_5000_PLUS=7]="COMPANY_SIZE_5000_PLUS",n))(e||{});_.util.setEnumType(e,"dailydotdev.api.organization.CompanySize",[{no:0,name:"COMPANY_SIZE_UNSPECIFIED"},{no:1,name:"COMPANY_SIZE_1_10"},{no:2,name:"COMPANY_SIZE_11_50"},{no:3,name:"COMPANY_SIZE_51_200"},{no:4,name:"COMPANY_SIZE_201_500"},{no:5,name:"COMPANY_SIZE_501_1000"},{no:6,name:"COMPANY_SIZE_1001_5000"},{no:7,name:"COMPANY_SIZE_5000_PLUS"}]);class S extends n{id="";createdAt=0;updatedAt=0;name="";description;perks=[];founded;location;category;size;stage;constructor(n){super(),_.util.initPartial(n,this)}static runtime=_;static typeName="dailydotdev.api.organization.Organization";static fields=_.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"created_at",kind:"scalar",T:5},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"name",kind:"scalar",T:9},{no:5,name:"description",kind:"scalar",T:9,opt:!0},{no:6,name:"perks",kind:"scalar",T:9,repeated:!0},{no:7,name:"founded",kind:"scalar",T:5,opt:!0},{no:8,name:"location",kind:"message",T:E},{no:9,name:"category",kind:"scalar",T:9,opt:!0},{no:10,name:"size",kind:"enum",T:_.getEnumType(e),opt:!0},{no:11,name:"stage",kind:"enum",T:_.getEnumType(a),opt:!0}]));static fromBinary(n,_){return(new S).fromBinary(n,_)}static fromJson(n,_){return(new S).fromJson(n,_)}static fromJsonString(n,_){return(new S).fromJsonString(n,_)}static equals(n,E){return _.util.equals(S,n,E)}}export{e as CompanySize,a as CompanyStage,S as Organization};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var t,e=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,
|
|
1
|
+
var t,e=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,i={};((t,r)=>{for(var n in r)e(t,n,{get:r[n],enumerable:!0})})(i,{AIGCDetect:()=>p,Cleaned:()=>f,ContentMeta:()=>y,ContentQuality:()=>g,CreatePostRequest:()=>a,CreatePostResponse:()=>l,Enriched:()=>u,Language:()=>m,PostEmbedding:()=>d,PostRelation:()=>w,Scraped:()=>c,Translation:()=>J}),module.exports=(t=i,((t,i,o,a)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let l of n(i))s.call(t,l)||l===o||e(t,l,{get:()=>i[l],enumerable:!(a=r(i,l))||a.enumerable});return t})(e({},"__esModule",{value:!0}),t));var o=require("@bufbuild/protobuf");class a extends o.Message{url="";sourceId="";yggdrasilId;constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="dailydotdev.api.posts.CreatePostRequest";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"source_id",kind:"scalar",T:9},{no:3,name:"yggdrasil_id",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,e){return(new a).fromBinary(t,e)}static fromJson(t,e){return(new a).fromJson(t,e)}static fromJsonString(t,e){return(new a).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(a,t,e)}}class l extends o.Message{postId="";url="";constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="dailydotdev.api.posts.CreatePostResponse";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"post_id",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9}]));static fromBinary(t,e){return(new l).fromBinary(t,e)}static fromJson(t,e){return(new l).fromJson(t,e)}static fromJsonString(t,e){return(new l).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(l,t,e)}}class c extends o.Message{resourceLocation="";constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="dailydotdev.api.posts.Scraped";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"resource_location",kind:"scalar",T:9}]));static fromBinary(t,e){return(new c).fromBinary(t,e)}static fromJson(t,e){return(new c).fromJson(t,e)}static fromJsonString(t,e){return(new c).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(c,t,e)}}class u extends o.Message{provider="";constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="dailydotdev.api.posts.Enriched";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"provider",kind:"scalar",T:9}]));static fromBinary(t,e){return(new u).fromBinary(t,e)}static fromJson(t,e){return(new u).fromJson(t,e)}static fromJsonString(t,e){return(new u).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(u,t,e)}}class d extends o.Message{provider="";model="";size=0;contentType="";resourceLocation="";updatedAt=0;constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="dailydotdev.api.posts.PostEmbedding";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"provider",kind:"scalar",T:9},{no:2,name:"model",kind:"scalar",T:9},{no:3,name:"size",kind:"scalar",T:5},{no:4,name:"content_type",kind:"scalar",T:9},{no:5,name:"resource_location",kind:"scalar",T:9},{no:6,name:"updated_at",kind:"scalar",T:5}]));static fromBinary(t,e){return(new d).fromBinary(t,e)}static fromJson(t,e){return(new d).fromJson(t,e)}static fromJsonString(t,e){return(new d).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(d,t,e)}}class m extends o.Message{provider="";constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="dailydotdev.api.posts.Language";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"provider",kind:"scalar",T:9}]));static fromBinary(t,e){return(new m).fromBinary(t,e)}static fromJson(t,e){return(new m).fromJson(t,e)}static fromJsonString(t,e){return(new m).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(m,t,e)}}class p extends o.Message{provider="";constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="dailydotdev.api.posts.AIGCDetect";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"provider",kind:"scalar",T:9}]));static fromBinary(t,e){return(new p).fromBinary(t,e)}static fromJson(t,e){return(new p).fromJson(t,e)}static fromJsonString(t,e){return(new p).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(p,t,e)}}class f extends o.Message{resourceLocation="";provider="";constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="dailydotdev.api.posts.Cleaned";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"resource_location",kind:"scalar",T:9},{no:2,name:"provider",kind:"scalar",T:9}]));static fromBinary(t,e){return(new f).fromBinary(t,e)}static fromJson(t,e){return(new f).fromJson(t,e)}static fromJsonString(t,e){return(new f).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(f,t,e)}}class y extends o.Message{scraped;enriched;cleaned=[];embedding;language;aigcDetect;storedCodeSnippets="";constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="dailydotdev.api.posts.ContentMeta";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"scraped",kind:"message",T:c},{no:2,name:"enriched",kind:"message",T:u},{no:3,name:"cleaned",kind:"message",T:f,repeated:!0},{no:4,name:"embedding",kind:"message",T:d},{no:5,name:"language",kind:"message",T:m},{no:6,name:"aigc_detect",kind:"message",T:p},{no:7,name:"stored_code_snippets",kind:"scalar",T:9}]));static fromBinary(t,e){return(new y).fromBinary(t,e)}static fromJson(t,e){return(new y).fromJson(t,e)}static fromJsonString(t,e){return(new y).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(y,t,e)}}class g extends o.Message{isAiProbability;constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="dailydotdev.api.posts.ContentQuality";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"is_ai_probability",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,e){return(new g).fromBinary(t,e)}static fromJson(t,e){return(new g).fromJson(t,e)}static fromJsonString(t,e){return(new g).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(g,t,e)}}class w extends o.Message{postId="";relatedPostId="";type="";createdAt=0;constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="dailydotdev.api.posts.PostRelation";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"post_id",kind:"scalar",T:9},{no:2,name:"related_post_id",kind:"scalar",T:9},{no:3,name:"type",kind:"scalar",T:9},{no:4,name:"created_at",kind:"scalar",T:5}]));static fromBinary(t,e){return(new w).fromBinary(t,e)}static fromJson(t,e){return(new w).fromJson(t,e)}static fromJsonString(t,e){return(new w).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(w,t,e)}}class J extends o.Message{smartTitle="";title="";summary="";titleHtml="";constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="dailydotdev.api.posts.Translation";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"smartTitle",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"summary",kind:"scalar",T:9},{no:4,name:"titleHtml",kind:"scalar",T:9}]));static fromBinary(t,e){return(new J).fromBinary(t,e)}static fromJson(t,e){return(new J).fromJson(t,e)}static fromJsonString(t,e){return(new J).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(J,t,e)}}
|
|
@@ -259,5 +259,34 @@ declare class PostRelation extends Message<PostRelation> {
|
|
|
259
259
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PostRelation;
|
|
260
260
|
static equals(a: PostRelation | PlainMessage<PostRelation> | undefined, b: PostRelation | PlainMessage<PostRelation> | undefined): boolean;
|
|
261
261
|
}
|
|
262
|
+
/**
|
|
263
|
+
* @generated from message dailydotdev.api.posts.Translation
|
|
264
|
+
*/
|
|
265
|
+
declare class Translation extends Message<Translation> {
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: string smartTitle = 1;
|
|
268
|
+
*/
|
|
269
|
+
smartTitle: string;
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: string title = 2;
|
|
272
|
+
*/
|
|
273
|
+
title: string;
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: string summary = 3;
|
|
276
|
+
*/
|
|
277
|
+
summary: string;
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: string titleHtml = 4;
|
|
280
|
+
*/
|
|
281
|
+
titleHtml: string;
|
|
282
|
+
constructor(data?: PartialMessage<Translation>);
|
|
283
|
+
static readonly runtime: typeof proto3;
|
|
284
|
+
static readonly typeName = "dailydotdev.api.posts.Translation";
|
|
285
|
+
static readonly fields: FieldList;
|
|
286
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Translation;
|
|
287
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Translation;
|
|
288
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Translation;
|
|
289
|
+
static equals(a: Translation | PlainMessage<Translation> | undefined, b: Translation | PlainMessage<Translation> | undefined): boolean;
|
|
290
|
+
}
|
|
262
291
|
|
|
263
|
-
export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped };
|
|
292
|
+
export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped, Translation };
|
|
@@ -259,5 +259,34 @@ declare class PostRelation extends Message<PostRelation> {
|
|
|
259
259
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PostRelation;
|
|
260
260
|
static equals(a: PostRelation | PlainMessage<PostRelation> | undefined, b: PostRelation | PlainMessage<PostRelation> | undefined): boolean;
|
|
261
261
|
}
|
|
262
|
+
/**
|
|
263
|
+
* @generated from message dailydotdev.api.posts.Translation
|
|
264
|
+
*/
|
|
265
|
+
declare class Translation extends Message<Translation> {
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: string smartTitle = 1;
|
|
268
|
+
*/
|
|
269
|
+
smartTitle: string;
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: string title = 2;
|
|
272
|
+
*/
|
|
273
|
+
title: string;
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: string summary = 3;
|
|
276
|
+
*/
|
|
277
|
+
summary: string;
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: string titleHtml = 4;
|
|
280
|
+
*/
|
|
281
|
+
titleHtml: string;
|
|
282
|
+
constructor(data?: PartialMessage<Translation>);
|
|
283
|
+
static readonly runtime: typeof proto3;
|
|
284
|
+
static readonly typeName = "dailydotdev.api.posts.Translation";
|
|
285
|
+
static readonly fields: FieldList;
|
|
286
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Translation;
|
|
287
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Translation;
|
|
288
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Translation;
|
|
289
|
+
static equals(a: Translation | PlainMessage<Translation> | undefined, b: Translation | PlainMessage<Translation> | undefined): boolean;
|
|
290
|
+
}
|
|
262
291
|
|
|
263
|
-
export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped };
|
|
292
|
+
export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped, Translation };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as t,proto3 as
|
|
1
|
+
import{Message as t,proto3 as i}from"@bufbuild/protobuf";class e extends t{url="";sourceId="";yggdrasilId;constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.posts.CreatePostRequest";static fields=i.util.newFieldList((()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"source_id",kind:"scalar",T:9},{no:3,name:"yggdrasil_id",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,i){return(new e).fromBinary(t,i)}static fromJson(t,i){return(new e).fromJson(t,i)}static fromJsonString(t,i){return(new e).fromJsonString(t,i)}static equals(t,n){return i.util.equals(e,t,n)}}class n extends t{postId="";url="";constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.posts.CreatePostResponse";static fields=i.util.newFieldList((()=>[{no:1,name:"post_id",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9}]));static fromBinary(t,i){return(new n).fromBinary(t,i)}static fromJson(t,i){return(new n).fromJson(t,i)}static fromJsonString(t,i){return(new n).fromJsonString(t,i)}static equals(t,e){return i.util.equals(n,t,e)}}class r extends t{resourceLocation="";constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.posts.Scraped";static fields=i.util.newFieldList((()=>[{no:1,name:"resource_location",kind:"scalar",T:9}]));static fromBinary(t,i){return(new r).fromBinary(t,i)}static fromJson(t,i){return(new r).fromJson(t,i)}static fromJsonString(t,i){return(new r).fromJsonString(t,i)}static equals(t,e){return i.util.equals(r,t,e)}}class s extends t{provider="";constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.posts.Enriched";static fields=i.util.newFieldList((()=>[{no:1,name:"provider",kind:"scalar",T:9}]));static fromBinary(t,i){return(new s).fromBinary(t,i)}static fromJson(t,i){return(new s).fromJson(t,i)}static fromJsonString(t,i){return(new s).fromJsonString(t,i)}static equals(t,e){return i.util.equals(s,t,e)}}class a extends t{provider="";model="";size=0;contentType="";resourceLocation="";updatedAt=0;constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.posts.PostEmbedding";static fields=i.util.newFieldList((()=>[{no:1,name:"provider",kind:"scalar",T:9},{no:2,name:"model",kind:"scalar",T:9},{no:3,name:"size",kind:"scalar",T:5},{no:4,name:"content_type",kind:"scalar",T:9},{no:5,name:"resource_location",kind:"scalar",T:9},{no:6,name:"updated_at",kind:"scalar",T:5}]));static fromBinary(t,i){return(new a).fromBinary(t,i)}static fromJson(t,i){return(new a).fromJson(t,i)}static fromJsonString(t,i){return(new a).fromJsonString(t,i)}static equals(t,e){return i.util.equals(a,t,e)}}class o extends t{provider="";constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.posts.Language";static fields=i.util.newFieldList((()=>[{no:1,name:"provider",kind:"scalar",T:9}]));static fromBinary(t,i){return(new o).fromBinary(t,i)}static fromJson(t,i){return(new o).fromJson(t,i)}static fromJsonString(t,i){return(new o).fromJsonString(t,i)}static equals(t,e){return i.util.equals(o,t,e)}}class c extends t{provider="";constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.posts.AIGCDetect";static fields=i.util.newFieldList((()=>[{no:1,name:"provider",kind:"scalar",T:9}]));static fromBinary(t,i){return(new c).fromBinary(t,i)}static fromJson(t,i){return(new c).fromJson(t,i)}static fromJsonString(t,i){return(new c).fromJsonString(t,i)}static equals(t,e){return i.util.equals(c,t,e)}}class l extends t{resourceLocation="";provider="";constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.posts.Cleaned";static fields=i.util.newFieldList((()=>[{no:1,name:"resource_location",kind:"scalar",T:9},{no:2,name:"provider",kind:"scalar",T:9}]));static fromBinary(t,i){return(new l).fromBinary(t,i)}static fromJson(t,i){return(new l).fromJson(t,i)}static fromJsonString(t,i){return(new l).fromJsonString(t,i)}static equals(t,e){return i.util.equals(l,t,e)}}class u extends t{scraped;enriched;cleaned=[];embedding;language;aigcDetect;storedCodeSnippets="";constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.posts.ContentMeta";static fields=i.util.newFieldList((()=>[{no:1,name:"scraped",kind:"message",T:r},{no:2,name:"enriched",kind:"message",T:s},{no:3,name:"cleaned",kind:"message",T:l,repeated:!0},{no:4,name:"embedding",kind:"message",T:a},{no:5,name:"language",kind:"message",T:o},{no:6,name:"aigc_detect",kind:"message",T:c},{no:7,name:"stored_code_snippets",kind:"scalar",T:9}]));static fromBinary(t,i){return(new u).fromBinary(t,i)}static fromJson(t,i){return(new u).fromJson(t,i)}static fromJsonString(t,i){return(new u).fromJsonString(t,i)}static equals(t,e){return i.util.equals(u,t,e)}}class d extends t{isAiProbability;constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.posts.ContentQuality";static fields=i.util.newFieldList((()=>[{no:1,name:"is_ai_probability",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,i){return(new d).fromBinary(t,i)}static fromJson(t,i){return(new d).fromJson(t,i)}static fromJsonString(t,i){return(new d).fromJsonString(t,i)}static equals(t,e){return i.util.equals(d,t,e)}}class m extends t{postId="";relatedPostId="";type="";createdAt=0;constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.posts.PostRelation";static fields=i.util.newFieldList((()=>[{no:1,name:"post_id",kind:"scalar",T:9},{no:2,name:"related_post_id",kind:"scalar",T:9},{no:3,name:"type",kind:"scalar",T:9},{no:4,name:"created_at",kind:"scalar",T:5}]));static fromBinary(t,i){return(new m).fromBinary(t,i)}static fromJson(t,i){return(new m).fromJson(t,i)}static fromJsonString(t,i){return(new m).fromJsonString(t,i)}static equals(t,e){return i.util.equals(m,t,e)}}class f extends t{smartTitle="";title="";summary="";titleHtml="";constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.posts.Translation";static fields=i.util.newFieldList((()=>[{no:1,name:"smartTitle",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"summary",kind:"scalar",T:9},{no:4,name:"titleHtml",kind:"scalar",T:9}]));static fromBinary(t,i){return(new f).fromBinary(t,i)}static fromJson(t,i){return(new f).fromJson(t,i)}static fromJsonString(t,i){return(new f).fromJsonString(t,i)}static equals(t,e){return i.util.equals(f,t,e)}}export{c as AIGCDetect,l as Cleaned,u as ContentMeta,d as ContentQuality,e as CreatePostRequest,n as CreatePostResponse,s as Enriched,o as Language,a as PostEmbedding,m as PostRelation,r as Scraped,f as Translation};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e,
|
|
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:()=>l}),module.exports=(e=r,((e,r,s,i)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let d of t(r))o.call(e,d)||d===s||n(e,d,{get:()=>r[d],enumerable:!(i=a(r,d))||i.enumerable});return e})(n({},"__esModule",{value:!0}),e));var s=require("@bufbuild/protobuf"),i=require("../sources_pb.cjs"),d=require("../posts_pb.cjs");class l extends s.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;sharedPostId;translation={};constructor(e){super(),s.proto3.util.initPartial(e,this)}static runtime=s.proto3;static typeName="dailydotdev.api.pubsub.contentupdated.ContentUpdatedMessage";static fields=s.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:i.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},{no:27,name:"shared_post_id",kind:"scalar",T:9,opt:!0},{no:28,name:"translation",kind:"map",K:9,V:{kind:"message",T:d.Translation}}]));static fromBinary(e,n){return(new l).fromBinary(e,n)}static fromJson(e,n){return(new l).fromJson(e,n)}static fromJsonString(e,n){return(new l).fromJsonString(e,n)}static equals(e,n){return s.proto3.util.equals(l,e,n)}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
2
|
import { Source } from '../sources_pb.cjs';
|
|
3
|
-
import { ContentMeta, PostRelation, ContentQuality } from '../posts_pb.cjs';
|
|
3
|
+
import { ContentMeta, PostRelation, ContentQuality, Translation } from '../posts_pb.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @generated from message dailydotdev.api.pubsub.contentupdated.ContentUpdatedMessage
|
|
@@ -114,6 +114,12 @@ declare class ContentUpdatedMessage extends Message<ContentUpdatedMessage> {
|
|
|
114
114
|
* @generated from field: optional string shared_post_id = 27;
|
|
115
115
|
*/
|
|
116
116
|
sharedPostId?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: map<string, dailydotdev.api.posts.Translation> translation = 28;
|
|
119
|
+
*/
|
|
120
|
+
translation: {
|
|
121
|
+
[key: string]: Translation;
|
|
122
|
+
};
|
|
117
123
|
constructor(data?: PartialMessage<ContentUpdatedMessage>);
|
|
118
124
|
static readonly runtime: typeof proto3;
|
|
119
125
|
static readonly typeName = "dailydotdev.api.pubsub.contentupdated.ContentUpdatedMessage";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
2
|
import { Source } from '../sources_pb.js';
|
|
3
|
-
import { ContentMeta, PostRelation, ContentQuality } from '../posts_pb.js';
|
|
3
|
+
import { ContentMeta, PostRelation, ContentQuality, Translation } from '../posts_pb.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @generated from message dailydotdev.api.pubsub.contentupdated.ContentUpdatedMessage
|
|
@@ -114,6 +114,12 @@ declare class ContentUpdatedMessage extends Message<ContentUpdatedMessage> {
|
|
|
114
114
|
* @generated from field: optional string shared_post_id = 27;
|
|
115
115
|
*/
|
|
116
116
|
sharedPostId?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: map<string, dailydotdev.api.posts.Translation> translation = 28;
|
|
119
|
+
*/
|
|
120
|
+
translation: {
|
|
121
|
+
[key: string]: Translation;
|
|
122
|
+
};
|
|
117
123
|
constructor(data?: PartialMessage<ContentUpdatedMessage>);
|
|
118
124
|
static readonly runtime: typeof proto3;
|
|
119
125
|
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 r}from"../posts_pb.ts";class
|
|
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,Translation as r}from"../posts_pb.ts";class s 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;sharedPostId;translation={};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},{no:27,name:"shared_post_id",kind:"scalar",T:9,opt:!0},{no:28,name:"translation",kind:"map",K:9,V:{kind:"message",T:r}}]));static fromBinary(a,n){return(new s).fromBinary(a,n)}static fromJson(a,n){return(new s).fromJson(a,n)}static fromJsonString(a,n){return(new s).fromJsonString(a,n)}static equals(a,e){return n.util.equals(s,a,e)}}export{s as ContentUpdatedMessage};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var t,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,e=Object.getOwnPropertyNames,
|
|
1
|
+
var t,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,e=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o={};((t,n)=>{for(var e in n)r(t,e,{get:n[e],enumerable:!0})})(o,{ApplicationScored:()=>d,MatchedCandidate:()=>s,MatchedCandidateDataReady:()=>c,WarmIntro:()=>u}),module.exports=(t=o,((t,o,i,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let c of e(o))a.call(t,c)||c===i||r(t,c,{get:()=>o[c],enumerable:!(s=n(o,c))||s.enumerable});return t})(r({},"__esModule",{value:!0}),t));var i=require("@bufbuild/protobuf");class s extends i.Message{batchId=0;userId="";opportunityId="";matchScore=0;reasoning="";reasoningShort="";constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="gondul.candidates.MatchedCandidate";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"batch_id",kind:"scalar",T:5},{no:2,name:"user_id",kind:"scalar",T:9},{no:3,name:"opportunity_id",kind:"scalar",T:9},{no:4,name:"match_score",kind:"scalar",T:2},{no:5,name:"reasoning",kind:"scalar",T:9},{no:6,name:"reasoning_short",kind:"scalar",T:9}]));static fromBinary(t,r){return(new s).fromBinary(t,r)}static fromJson(t,r){return(new s).fromJson(t,r)}static fromJsonString(t,r){return(new s).fromJsonString(t,r)}static equals(t,r){return i.proto3.util.equals(s,t,r)}}class c extends i.Message{batchId=0;userId="";opportunityId="";constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="gondul.candidates.MatchedCandidateDataReady";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"batch_id",kind:"scalar",T:5},{no:2,name:"user_id",kind:"scalar",T:9},{no:3,name:"opportunity_id",kind:"scalar",T:9}]));static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return i.proto3.util.equals(c,t,r)}}class d extends i.Message{userId="";opportunityId="";score=0;description="";constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="gondul.candidates.ApplicationScored";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"opportunity_id",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:2},{no:4,name:"description",kind:"scalar",T:9}]));static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return i.proto3.util.equals(d,t,r)}}class u extends i.Message{userId="";opportunityId="";description="";constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="gondul.candidates.WarmIntro";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"opportunity_id",kind:"scalar",T:9},{no:3,name:"description",kind:"scalar",T:9}]));static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return i.proto3.util.equals(u,t,r)}}
|
|
@@ -39,6 +39,31 @@ declare class MatchedCandidate extends Message<MatchedCandidate> {
|
|
|
39
39
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MatchedCandidate;
|
|
40
40
|
static equals(a: MatchedCandidate | PlainMessage<MatchedCandidate> | undefined, b: MatchedCandidate | PlainMessage<MatchedCandidate> | undefined): boolean;
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* @generated from message gondul.candidates.MatchedCandidateDataReady
|
|
44
|
+
*/
|
|
45
|
+
declare class MatchedCandidateDataReady extends Message<MatchedCandidateDataReady> {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: int32 batch_id = 1;
|
|
48
|
+
*/
|
|
49
|
+
batchId: number;
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: string user_id = 2;
|
|
52
|
+
*/
|
|
53
|
+
userId: string;
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: string opportunity_id = 3;
|
|
56
|
+
*/
|
|
57
|
+
opportunityId: string;
|
|
58
|
+
constructor(data?: PartialMessage<MatchedCandidateDataReady>);
|
|
59
|
+
static readonly runtime: typeof proto3;
|
|
60
|
+
static readonly typeName = "gondul.candidates.MatchedCandidateDataReady";
|
|
61
|
+
static readonly fields: FieldList;
|
|
62
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MatchedCandidateDataReady;
|
|
63
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MatchedCandidateDataReady;
|
|
64
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MatchedCandidateDataReady;
|
|
65
|
+
static equals(a: MatchedCandidateDataReady | PlainMessage<MatchedCandidateDataReady> | undefined, b: MatchedCandidateDataReady | PlainMessage<MatchedCandidateDataReady> | undefined): boolean;
|
|
66
|
+
}
|
|
42
67
|
/**
|
|
43
68
|
* @generated from message gondul.candidates.ApplicationScored
|
|
44
69
|
*/
|
|
@@ -94,4 +119,4 @@ declare class WarmIntro extends Message<WarmIntro> {
|
|
|
94
119
|
static equals(a: WarmIntro | PlainMessage<WarmIntro> | undefined, b: WarmIntro | PlainMessage<WarmIntro> | undefined): boolean;
|
|
95
120
|
}
|
|
96
121
|
|
|
97
|
-
export { ApplicationScored, MatchedCandidate, WarmIntro };
|
|
122
|
+
export { ApplicationScored, MatchedCandidate, MatchedCandidateDataReady, WarmIntro };
|
|
@@ -39,6 +39,31 @@ declare class MatchedCandidate extends Message<MatchedCandidate> {
|
|
|
39
39
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MatchedCandidate;
|
|
40
40
|
static equals(a: MatchedCandidate | PlainMessage<MatchedCandidate> | undefined, b: MatchedCandidate | PlainMessage<MatchedCandidate> | undefined): boolean;
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* @generated from message gondul.candidates.MatchedCandidateDataReady
|
|
44
|
+
*/
|
|
45
|
+
declare class MatchedCandidateDataReady extends Message<MatchedCandidateDataReady> {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: int32 batch_id = 1;
|
|
48
|
+
*/
|
|
49
|
+
batchId: number;
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: string user_id = 2;
|
|
52
|
+
*/
|
|
53
|
+
userId: string;
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: string opportunity_id = 3;
|
|
56
|
+
*/
|
|
57
|
+
opportunityId: string;
|
|
58
|
+
constructor(data?: PartialMessage<MatchedCandidateDataReady>);
|
|
59
|
+
static readonly runtime: typeof proto3;
|
|
60
|
+
static readonly typeName = "gondul.candidates.MatchedCandidateDataReady";
|
|
61
|
+
static readonly fields: FieldList;
|
|
62
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MatchedCandidateDataReady;
|
|
63
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MatchedCandidateDataReady;
|
|
64
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MatchedCandidateDataReady;
|
|
65
|
+
static equals(a: MatchedCandidateDataReady | PlainMessage<MatchedCandidateDataReady> | undefined, b: MatchedCandidateDataReady | PlainMessage<MatchedCandidateDataReady> | undefined): boolean;
|
|
66
|
+
}
|
|
42
67
|
/**
|
|
43
68
|
* @generated from message gondul.candidates.ApplicationScored
|
|
44
69
|
*/
|
|
@@ -94,4 +119,4 @@ declare class WarmIntro extends Message<WarmIntro> {
|
|
|
94
119
|
static equals(a: WarmIntro | PlainMessage<WarmIntro> | undefined, b: WarmIntro | PlainMessage<WarmIntro> | undefined): boolean;
|
|
95
120
|
}
|
|
96
121
|
|
|
97
|
-
export { ApplicationScored, MatchedCandidate, WarmIntro };
|
|
122
|
+
export { ApplicationScored, MatchedCandidate, MatchedCandidateDataReady, WarmIntro };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as t,proto3 as n}from"@bufbuild/protobuf";class r extends t{batchId=0;userId="";opportunityId="";matchScore=0;reasoning="";reasoningShort="";constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="gondul.candidates.MatchedCandidate";static fields=n.util.newFieldList((()=>[{no:1,name:"batch_id",kind:"scalar",T:5},{no:2,name:"user_id",kind:"scalar",T:9},{no:3,name:"opportunity_id",kind:"scalar",T:9},{no:4,name:"match_score",kind:"scalar",T:2},{no:5,name:"reasoning",kind:"scalar",T:9},{no:6,name:"reasoning_short",kind:"scalar",T:9}]));static fromBinary(t,n){return(new r).fromBinary(t,n)}static fromJson(t,n){return(new r).fromJson(t,n)}static fromJsonString(t,n){return(new r).fromJsonString(t,n)}static equals(t,i){return n.util.equals(r,t,i)}}class i extends t{userId="";opportunityId="";score=0;description="";constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="gondul.candidates.ApplicationScored";static fields=n.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"opportunity_id",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:2},{no:4,name:"description",kind:"scalar",T:9}]));static fromBinary(t,n){return(new
|
|
1
|
+
import{Message as t,proto3 as n}from"@bufbuild/protobuf";class r extends t{batchId=0;userId="";opportunityId="";matchScore=0;reasoning="";reasoningShort="";constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="gondul.candidates.MatchedCandidate";static fields=n.util.newFieldList((()=>[{no:1,name:"batch_id",kind:"scalar",T:5},{no:2,name:"user_id",kind:"scalar",T:9},{no:3,name:"opportunity_id",kind:"scalar",T:9},{no:4,name:"match_score",kind:"scalar",T:2},{no:5,name:"reasoning",kind:"scalar",T:9},{no:6,name:"reasoning_short",kind:"scalar",T:9}]));static fromBinary(t,n){return(new r).fromBinary(t,n)}static fromJson(t,n){return(new r).fromJson(t,n)}static fromJsonString(t,n){return(new r).fromJsonString(t,n)}static equals(t,i){return n.util.equals(r,t,i)}}class i extends t{batchId=0;userId="";opportunityId="";constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="gondul.candidates.MatchedCandidateDataReady";static fields=n.util.newFieldList((()=>[{no:1,name:"batch_id",kind:"scalar",T:5},{no:2,name:"user_id",kind:"scalar",T:9},{no:3,name:"opportunity_id",kind:"scalar",T:9}]));static fromBinary(t,n){return(new i).fromBinary(t,n)}static fromJson(t,n){return(new i).fromJson(t,n)}static fromJsonString(t,n){return(new i).fromJsonString(t,n)}static equals(t,r){return n.util.equals(i,t,r)}}class a extends t{userId="";opportunityId="";score=0;description="";constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="gondul.candidates.ApplicationScored";static fields=n.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"opportunity_id",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:2},{no:4,name:"description",kind:"scalar",T:9}]));static fromBinary(t,n){return(new a).fromBinary(t,n)}static fromJson(t,n){return(new a).fromJson(t,n)}static fromJsonString(t,n){return(new a).fromJsonString(t,n)}static equals(t,r){return n.util.equals(a,t,r)}}class s extends t{userId="";opportunityId="";description="";constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="gondul.candidates.WarmIntro";static fields=n.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"opportunity_id",kind:"scalar",T:9},{no:3,name:"description",kind:"scalar",T:9}]));static fromBinary(t,n){return(new s).fromBinary(t,n)}static fromJson(t,n){return(new s).fromJson(t,n)}static fromJsonString(t,n){return(new s).fromJsonString(t,n)}static equals(t,r){return n.util.equals(s,t,r)}}export{a as ApplicationScored,r as MatchedCandidate,i as MatchedCandidateDataReady,s as WarmIntro};
|
package/dist/index.d.cts
CHANGED
|
@@ -8,7 +8,7 @@ export { Screening } from './daily-api/opportunity-match_pb.cjs';
|
|
|
8
8
|
export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityFlags, OpportunityMeta, OpportunityState, OpportunityType, Recruiter, Salary, SalaryPeriod, SeniorityLevel } from './daily-api/opportunity_pb.cjs';
|
|
9
9
|
export { CompanySize, CompanyStage, Organization } from './daily-api/organization_pb.cjs';
|
|
10
10
|
export { PostService } from './daily-api/posts_connect.cjs';
|
|
11
|
-
export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped } from './daily-api/posts_pb.cjs';
|
|
11
|
+
export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped, Translation } from './daily-api/posts_pb.cjs';
|
|
12
12
|
export { SourceRequestService } from './daily-api/source-requests_connect.cjs';
|
|
13
13
|
export { CreateSourceRequest, CreateSourceRequestResponse } from './daily-api/source-requests_pb.cjs';
|
|
14
14
|
export { Source } from './daily-api/sources_pb.cjs';
|
|
@@ -27,7 +27,7 @@ export { Briefing, BriefingItem, BriefingSection, BriefingStatistics, UserBriefi
|
|
|
27
27
|
export { Request, Response } from './feed/personalised/personalised_pb.cjs';
|
|
28
28
|
export { EntryMetadata, ServerSideEvent } from './feed/server_side_event/server_side_event_pb.cjs';
|
|
29
29
|
export { ApplicationService } from './gondul/application-services_connect.cjs';
|
|
30
|
-
export { ApplicationScored, MatchedCandidate, WarmIntro } from './gondul/candidates_pb.cjs';
|
|
30
|
+
export { ApplicationScored, MatchedCandidate, MatchedCandidateDataReady, WarmIntro } from './gondul/candidates_pb.cjs';
|
|
31
31
|
export { OpportunityService } from './gondul/opportunity-service_connect.cjs';
|
|
32
32
|
export { OpportunityPreviewResponse, OpportunityPreviewResult } from './gondul/opportunity-service_pb.cjs';
|
|
33
33
|
export { BoolFilter, Filter, Operation, Order, Quantifier, SearchRequest, SearchResponse, SearchResult, Sort, StringListFilter, TimeRangeFilter } from './mimir/search/search_pb.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export { Screening } from './daily-api/opportunity-match_pb.js';
|
|
|
8
8
|
export { EmploymentType, Opportunity, OpportunityContent, OpportunityContent_ContentBlock, OpportunityFlags, OpportunityMeta, OpportunityState, OpportunityType, Recruiter, Salary, SalaryPeriod, SeniorityLevel } from './daily-api/opportunity_pb.js';
|
|
9
9
|
export { CompanySize, CompanyStage, Organization } from './daily-api/organization_pb.js';
|
|
10
10
|
export { PostService } from './daily-api/posts_connect.js';
|
|
11
|
-
export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped } from './daily-api/posts_pb.js';
|
|
11
|
+
export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped, Translation } from './daily-api/posts_pb.js';
|
|
12
12
|
export { SourceRequestService } from './daily-api/source-requests_connect.js';
|
|
13
13
|
export { CreateSourceRequest, CreateSourceRequestResponse } from './daily-api/source-requests_pb.js';
|
|
14
14
|
export { Source } from './daily-api/sources_pb.js';
|
|
@@ -27,7 +27,7 @@ export { Briefing, BriefingItem, BriefingSection, BriefingStatistics, UserBriefi
|
|
|
27
27
|
export { Request, Response } from './feed/personalised/personalised_pb.js';
|
|
28
28
|
export { EntryMetadata, ServerSideEvent } from './feed/server_side_event/server_side_event_pb.js';
|
|
29
29
|
export { ApplicationService } from './gondul/application-services_connect.js';
|
|
30
|
-
export { ApplicationScored, MatchedCandidate, WarmIntro } from './gondul/candidates_pb.js';
|
|
30
|
+
export { ApplicationScored, MatchedCandidate, MatchedCandidateDataReady, WarmIntro } from './gondul/candidates_pb.js';
|
|
31
31
|
export { OpportunityService } from './gondul/opportunity-service_connect.js';
|
|
32
32
|
export { OpportunityPreviewResponse, OpportunityPreviewResult } from './gondul/opportunity-service_pb.js';
|
|
33
33
|
export { BoolFilter, Filter, Operation, Order, Quantifier, SearchRequest, SearchResponse, SearchResult, Sort, StringListFilter, TimeRangeFilter } from './mimir/search/search_pb.js';
|