@dailydotdev/schema 0.2.31 → 0.2.33

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,r=Object.defineProperty,t=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,o={};((e,t)=>{for(var a in t)r(e,a,{get:t[a],enumerable:!0})})(o,{CandidatePreferenceUpdated:()=>d}),module.exports=(e=o,((e,o,i,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let d of a(o))n.call(e,d)||d===i||r(e,d,{get:()=>o[d],enumerable:!(s=t(o,d))||s.enumerable});return e})(r({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf"),s=require("../user-candidate-preference_pb.cjs");class d extends i.Message{userId="";payload;constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.pubsub.candidatepreferenceupdated.CandidatePreferenceUpdated";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"payload",kind:"message",T:s.UserCandidatePreference}]));static fromBinary(e,r){return(new d).fromBinary(e,r)}static fromJson(e,r){return(new d).fromJson(e,r)}static fromJsonString(e,r){return(new d).fromJsonString(e,r)}static equals(e,r){return i.proto3.util.equals(d,e,r)}}
1
+ var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,o={};((e,r)=>{for(var a in r)t(e,a,{get:r[a],enumerable:!0})})(o,{CandidatePreferenceUpdated:()=>d}),module.exports=(e=o,((e,o,i,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let d of a(o))n.call(e,d)||d===i||t(e,d,{get:()=>o[d],enumerable:!(s=r(o,d))||s.enumerable});return e})(t({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf"),s=require("../user-candidate-preference_pb.cjs");class d extends i.Message{payload;constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.pubsub.candidatepreferenceupdated.CandidatePreferenceUpdated";static fields=i.proto3.util.newFieldList((()=>[{no:2,name:"payload",kind:"message",T:s.UserCandidatePreference}]));static fromBinary(e,t){return(new d).fromBinary(e,t)}static fromJson(e,t){return(new d).fromJson(e,t)}static fromJsonString(e,t){return(new d).fromJsonString(e,t)}static equals(e,t){return i.proto3.util.equals(d,e,t)}}
@@ -9,10 +9,6 @@ import '../organization_pb.cjs';
9
9
  * @generated from message dailydotdev.api.pubsub.candidatepreferenceupdated.CandidatePreferenceUpdated
10
10
  */
11
11
  declare class CandidatePreferenceUpdated extends Message<CandidatePreferenceUpdated> {
12
- /**
13
- * @generated from field: string user_id = 1;
14
- */
15
- userId: string;
16
12
  /**
17
13
  * @generated from field: dailydotdev.api.usercandidatepreference.UserCandidatePreference payload = 2;
18
14
  */
@@ -9,10 +9,6 @@ import '../organization_pb.js';
9
9
  * @generated from message dailydotdev.api.pubsub.candidatepreferenceupdated.CandidatePreferenceUpdated
10
10
  */
11
11
  declare class CandidatePreferenceUpdated extends Message<CandidatePreferenceUpdated> {
12
- /**
13
- * @generated from field: string user_id = 1;
14
- */
15
- userId: string;
16
12
  /**
17
13
  * @generated from field: dailydotdev.api.usercandidatepreference.UserCandidatePreference payload = 2;
18
14
  */
@@ -1 +1 @@
1
- import{Message as e,proto3 as t}from"@bufbuild/protobuf";import{UserCandidatePreference as r}from"../user-candidate-preference_pb.ts";class a extends e{userId="";payload;constructor(e){super(),t.util.initPartial(e,this)}static runtime=t;static typeName="dailydotdev.api.pubsub.candidatepreferenceupdated.CandidatePreferenceUpdated";static fields=t.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"payload",kind:"message",T:r}]));static fromBinary(e,t){return(new a).fromBinary(e,t)}static fromJson(e,t){return(new a).fromJson(e,t)}static fromJsonString(e,t){return(new a).fromJsonString(e,t)}static equals(e,r){return t.util.equals(a,e,r)}}export{a as CandidatePreferenceUpdated};
1
+ import{Message as t,proto3 as e}from"@bufbuild/protobuf";import{UserCandidatePreference as r}from"../user-candidate-preference_pb.ts";class a extends t{payload;constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.pubsub.candidatepreferenceupdated.CandidatePreferenceUpdated";static fields=e.util.newFieldList((()=>[{no:2,name:"payload",kind:"message",T:r}]));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,r){return e.util.equals(a,t,r)}}export{a as CandidatePreferenceUpdated};
@@ -1 +1 @@
1
- var e,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,r={};((e,n)=>{for(var a in n)t(e,a,{get:n[a],enumerable:!0})})(r,{CandidateStatus:()=>d,UserCandidatePreference:()=>c}),module.exports=(e=r,((e,r,i,p)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let s of a(r))o.call(e,s)||s===i||t(e,s,{get:()=>r[s],enumerable:!(p=n(r,s))||p.enumerable});return e})(t({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf"),p=require("./user_pb.cjs"),s=require("./opportunity_pb.cjs"),m=require("./util_pb.cjs"),u=require("./organization_pb.cjs"),d=(e=>(e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.DISABLED=1]="DISABLED",e[e.ACTIVELY_LOOKING=2]="ACTIVELY_LOOKING",e[e.OPEN_TO_OFFERS=3]="OPEN_TO_OFFERS",e))(d||{});i.proto3.util.setEnumType(d,"dailydotdev.api.usercandidatepreference.CandidateStatus",[{no:0,name:"CANDIDATE_STATUS_UNSPECIFIED"},{no:1,name:"CANDIDATE_STATUS_DISABLED"},{no:2,name:"CANDIDATE_STATUS_ACTIVELY_LOOKING"},{no:3,name:"CANDIDATE_STATUS_OPEN_TO_OFFERS"}]);class c extends i.Message{userId="";status=0;updatedAt=0;cv;cvParsedJson;role="";roleType=0;employmentType=[];salaryExpectation;location=[];locationType=[];companyStage=[];companySize=[];constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.usercandidatepreference.UserCandidatePreference";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:i.proto3.getEnumType(d)},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"cv",kind:"message",T:p.UserCV},{no:5,name:"cv_parsed_json",kind:"scalar",T:9,opt:!0},{no:6,name:"role",kind:"scalar",T:9},{no:7,name:"role_type",kind:"scalar",T:2},{no:8,name:"employment_type",kind:"enum",T:i.proto3.getEnumType(s.EmploymentType),repeated:!0},{no:9,name:"salary_expectation",kind:"message",T:s.Salary,opt:!0},{no:10,name:"location",kind:"message",T:m.Location,repeated:!0},{no:11,name:"location_type",kind:"enum",T:i.proto3.getEnumType(m.LocationType),repeated:!0},{no:12,name:"company_stage",kind:"enum",T:i.proto3.getEnumType(u.CompanyStage),repeated:!0},{no:13,name:"company_size",kind:"enum",T:i.proto3.getEnumType(u.CompanySize),repeated:!0}]));static fromBinary(e,t){return(new c).fromBinary(e,t)}static fromJson(e,t){return(new c).fromJson(e,t)}static fromJsonString(e,t){return(new c).fromJsonString(e,t)}static equals(e,t){return i.proto3.util.equals(c,e,t)}}
1
+ var e,n=Object.defineProperty,t=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,r={};((e,t)=>{for(var a in t)n(e,a,{get:t[a],enumerable:!0})})(r,{CandidateStatus:()=>u,UserCandidatePreference:()=>c}),module.exports=(e=r,((e,r,i,p)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let s of a(r))o.call(e,s)||s===i||n(e,s,{get:()=>r[s],enumerable:!(p=t(r,s))||p.enumerable});return e})(n({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf"),p=require("./user_pb.cjs"),s=require("./opportunity_pb.cjs"),m=require("./util_pb.cjs"),d=require("./organization_pb.cjs"),u=(e=>(e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.DISABLED=1]="DISABLED",e[e.ACTIVELY_LOOKING=2]="ACTIVELY_LOOKING",e[e.OPEN_TO_OFFERS=3]="OPEN_TO_OFFERS",e))(u||{});i.proto3.util.setEnumType(u,"dailydotdev.api.usercandidatepreference.CandidateStatus",[{no:0,name:"CANDIDATE_STATUS_UNSPECIFIED"},{no:1,name:"CANDIDATE_STATUS_DISABLED"},{no:2,name:"CANDIDATE_STATUS_ACTIVELY_LOOKING"},{no:3,name:"CANDIDATE_STATUS_OPEN_TO_OFFERS"}]);class c extends i.Message{userId="";status=0;updatedAt=0;cv;cvParsedJson;role="";roleType=0;employmentType=[];salaryExpectation;location=[];locationType=[];companyStage=[];companySize=[];keywords=[];constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.usercandidatepreference.UserCandidatePreference";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:i.proto3.getEnumType(u)},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"cv",kind:"message",T:p.UserCV},{no:5,name:"cv_parsed_json",kind:"scalar",T:9,opt:!0},{no:6,name:"role",kind:"scalar",T:9},{no:7,name:"role_type",kind:"scalar",T:2},{no:8,name:"employment_type",kind:"enum",T:i.proto3.getEnumType(s.EmploymentType),repeated:!0},{no:9,name:"salary_expectation",kind:"message",T:s.Salary,opt:!0},{no:10,name:"location",kind:"message",T:m.Location,repeated:!0},{no:11,name:"location_type",kind:"enum",T:i.proto3.getEnumType(m.LocationType),repeated:!0},{no:12,name:"company_stage",kind:"enum",T:i.proto3.getEnumType(d.CompanyStage),repeated:!0},{no:13,name:"company_size",kind:"enum",T:i.proto3.getEnumType(d.CompanySize),repeated:!0},{no:14,name:"keywords",kind:"scalar",T:9,repeated:!0}]));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)}}
@@ -87,6 +87,12 @@ declare class UserCandidatePreference extends Message<UserCandidatePreference> {
87
87
  * @generated from field: repeated dailydotdev.api.organization.CompanySize company_size = 13;
88
88
  */
89
89
  companySize: CompanySize[];
90
+ /**
91
+ * A list of keywords that describe the user's skills and interests
92
+ *
93
+ * @generated from field: repeated string keywords = 14;
94
+ */
95
+ keywords: string[];
90
96
  constructor(data?: PartialMessage<UserCandidatePreference>);
91
97
  static readonly runtime: typeof proto3;
92
98
  static readonly typeName = "dailydotdev.api.usercandidatepreference.UserCandidatePreference";
@@ -87,6 +87,12 @@ declare class UserCandidatePreference extends Message<UserCandidatePreference> {
87
87
  * @generated from field: repeated dailydotdev.api.organization.CompanySize company_size = 13;
88
88
  */
89
89
  companySize: CompanySize[];
90
+ /**
91
+ * A list of keywords that describe the user's skills and interests
92
+ *
93
+ * @generated from field: repeated string keywords = 14;
94
+ */
95
+ keywords: string[];
90
96
  constructor(data?: PartialMessage<UserCandidatePreference>);
91
97
  static readonly runtime: typeof proto3;
92
98
  static readonly typeName = "dailydotdev.api.usercandidatepreference.UserCandidatePreference";
@@ -1 +1 @@
1
- import{Message as e,proto3 as n}from"@bufbuild/protobuf";import{UserCV as t}from"./user_pb.ts";import{EmploymentType as a,Salary as o}from"./opportunity_pb.ts";import{Location as r,LocationType as i}from"./util_pb.ts";import{CompanySize as m,CompanyStage as s}from"./organization_pb.ts";var p=(e=>(e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.DISABLED=1]="DISABLED",e[e.ACTIVELY_LOOKING=2]="ACTIVELY_LOOKING",e[e.OPEN_TO_OFFERS=3]="OPEN_TO_OFFERS",e))(p||{});n.util.setEnumType(p,"dailydotdev.api.usercandidatepreference.CandidateStatus",[{no:0,name:"CANDIDATE_STATUS_UNSPECIFIED"},{no:1,name:"CANDIDATE_STATUS_DISABLED"},{no:2,name:"CANDIDATE_STATUS_ACTIVELY_LOOKING"},{no:3,name:"CANDIDATE_STATUS_OPEN_TO_OFFERS"}]);class d extends e{userId="";status=0;updatedAt=0;cv;cvParsedJson;role="";roleType=0;employmentType=[];salaryExpectation;location=[];locationType=[];companyStage=[];companySize=[];constructor(e){super(),n.util.initPartial(e,this)}static runtime=n;static typeName="dailydotdev.api.usercandidatepreference.UserCandidatePreference";static fields=n.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:n.getEnumType(p)},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"cv",kind:"message",T:t},{no:5,name:"cv_parsed_json",kind:"scalar",T:9,opt:!0},{no:6,name:"role",kind:"scalar",T:9},{no:7,name:"role_type",kind:"scalar",T:2},{no:8,name:"employment_type",kind:"enum",T:n.getEnumType(a),repeated:!0},{no:9,name:"salary_expectation",kind:"message",T:o,opt:!0},{no:10,name:"location",kind:"message",T:r,repeated:!0},{no:11,name:"location_type",kind:"enum",T:n.getEnumType(i),repeated:!0},{no:12,name:"company_stage",kind:"enum",T:n.getEnumType(s),repeated:!0},{no:13,name:"company_size",kind:"enum",T:n.getEnumType(m),repeated:!0}]));static fromBinary(e,n){return(new d).fromBinary(e,n)}static fromJson(e,n){return(new d).fromJson(e,n)}static fromJsonString(e,n){return(new d).fromJsonString(e,n)}static equals(e,t){return n.util.equals(d,e,t)}}export{p as CandidateStatus,d as UserCandidatePreference};
1
+ import{Message as e,proto3 as n}from"@bufbuild/protobuf";import{UserCV as a}from"./user_pb.ts";import{EmploymentType as t,Salary as o}from"./opportunity_pb.ts";import{Location as r,LocationType as i}from"./util_pb.ts";import{CompanySize as s,CompanyStage as m}from"./organization_pb.ts";var p=(e=>(e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.DISABLED=1]="DISABLED",e[e.ACTIVELY_LOOKING=2]="ACTIVELY_LOOKING",e[e.OPEN_TO_OFFERS=3]="OPEN_TO_OFFERS",e))(p||{});n.util.setEnumType(p,"dailydotdev.api.usercandidatepreference.CandidateStatus",[{no:0,name:"CANDIDATE_STATUS_UNSPECIFIED"},{no:1,name:"CANDIDATE_STATUS_DISABLED"},{no:2,name:"CANDIDATE_STATUS_ACTIVELY_LOOKING"},{no:3,name:"CANDIDATE_STATUS_OPEN_TO_OFFERS"}]);class d extends e{userId="";status=0;updatedAt=0;cv;cvParsedJson;role="";roleType=0;employmentType=[];salaryExpectation;location=[];locationType=[];companyStage=[];companySize=[];keywords=[];constructor(e){super(),n.util.initPartial(e,this)}static runtime=n;static typeName="dailydotdev.api.usercandidatepreference.UserCandidatePreference";static fields=n.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:n.getEnumType(p)},{no:3,name:"updated_at",kind:"scalar",T:5},{no:4,name:"cv",kind:"message",T:a},{no:5,name:"cv_parsed_json",kind:"scalar",T:9,opt:!0},{no:6,name:"role",kind:"scalar",T:9},{no:7,name:"role_type",kind:"scalar",T:2},{no:8,name:"employment_type",kind:"enum",T:n.getEnumType(t),repeated:!0},{no:9,name:"salary_expectation",kind:"message",T:o,opt:!0},{no:10,name:"location",kind:"message",T:r,repeated:!0},{no:11,name:"location_type",kind:"enum",T:n.getEnumType(i),repeated:!0},{no:12,name:"company_stage",kind:"enum",T:n.getEnumType(m),repeated:!0},{no:13,name:"company_size",kind:"enum",T:n.getEnumType(s),repeated:!0},{no:14,name:"keywords",kind:"scalar",T:9,repeated:!0}]));static fromBinary(e,n){return(new d).fromBinary(e,n)}static fromJson(e,n){return(new d).fromJson(e,n)}static fromJsonString(e,n){return(new d).fromJsonString(e,n)}static equals(e,a){return n.util.equals(d,e,a)}}export{p as CandidateStatus,d as UserCandidatePreference};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dailydotdev/schema",
3
- "version": "0.2.31",
3
+ "version": "0.2.33",
4
4
  "author": "@dailydotdev",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",