@dailydotdev/schema 0.2.46 → 0.2.48
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/opportunity_pb.cjs +1 -1
- package/dist/daily-api/opportunity_pb.d.cts +3 -3
- package/dist/daily-api/opportunity_pb.d.ts +3 -3
- package/dist/daily-api/opportunity_pb.js +1 -1
- package/dist/daily-api/pubsub/opportunity_pb.cjs +1 -1
- package/dist/daily-api/pubsub/opportunity_pb.d.cts +4 -0
- package/dist/daily-api/pubsub/opportunity_pb.d.ts +4 -0
- package/dist/daily-api/pubsub/opportunity_pb.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var t,e=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,a={};((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})(a,{EmploymentType:()=>E,Opportunity:()=>L,OpportunityContent:()=>d,OpportunityContent_ContentBlock:()=>y,OpportunityMeta:()=>c,OpportunityState:()=>p,OpportunityType:()=>m,Recruiter:()=>I,Salary:()=>T,SalaryPeriod:()=>u,SeniorityLevel:()=>l}),module.exports=(t=a,((t,a,i,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let p of o(a))r.call(t,p)||p===i||e(t,p,{get:()=>a[p],enumerable:!(s=n(a,p))||s.enumerable});return t})(e({},"__esModule",{value:!0}),t));var i=require("@bufbuild/protobuf"),s=require("./util_pb.cjs"),p=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.DRAFT=1]="DRAFT",t[t.LIVE=2]="LIVE",t[t.CLOSED=3]="CLOSED",t))(p||{});i.proto3.util.setEnumType(p,"dailydotdev.api.opportunity.OpportunityState",[{no:0,name:"OPPORTUNITY_STATE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_STATE_DRAFT"},{no:2,name:"OPPORTUNITY_STATE_LIVE"},{no:3,name:"OPPORTUNITY_STATE_CLOSED"}]);var m=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(m||{});i.proto3.util.setEnumType(m,"dailydotdev.api.opportunity.OpportunityType",[{no:0,name:"OPPORTUNITY_TYPE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_TYPE_JOB"}]);var E=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.FULL_TIME=1]="FULL_TIME",t[t.PART_TIME=2]="PART_TIME",t[t.CONTRACT=3]="CONTRACT",t[t.INTERNSHIP=4]="INTERNSHIP",t))(E||{});i.proto3.util.setEnumType(E,"dailydotdev.api.opportunity.EmploymentType",[{no:0,name:"EMPLOYMENT_TYPE_UNSPECIFIED"},{no:1,name:"EMPLOYMENT_TYPE_FULL_TIME"},{no:2,name:"EMPLOYMENT_TYPE_PART_TIME"},{no:3,name:"EMPLOYMENT_TYPE_CONTRACT"},{no:4,name:"EMPLOYMENT_TYPE_INTERNSHIP"}]);var u=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.ANNUAL=1]="ANNUAL",t[t.MONTHLY=2]="MONTHLY",t[t.WEEKLY=3]="WEEKLY",t[t.DAILY=4]="DAILY",t[t.HOURLY=5]="HOURLY",t))(u||{});i.proto3.util.setEnumType(u,"dailydotdev.api.opportunity.SalaryPeriod",[{no:0,name:"SALARY_PERIOD_UNSPECIFIED"},{no:1,name:"SALARY_PERIOD_ANNUAL"},{no:2,name:"SALARY_PERIOD_MONTHLY"},{no:3,name:"SALARY_PERIOD_WEEKLY"},{no:4,name:"SALARY_PERIOD_DAILY"},{no:5,name:"SALARY_PERIOD_HOURLY"}]);var l=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.INTERN=1]="INTERN",t[t.JUNIOR=2]="JUNIOR",t[t.MID=3]="MID",t[t.SENIOR=4]="SENIOR",t[t.LEAD=5]="LEAD",t[t.MANAGER=6]="MANAGER",t[t.DIRECTOR=7]="DIRECTOR",t[t.VP=8]="VP",t[t.C_LEVEL=9]="C_LEVEL",t))(l||{});i.proto3.util.setEnumType(l,"dailydotdev.api.opportunity.SeniorityLevel",[{no:0,name:"SENIORITY_LEVEL_UNSPECIFIED"},{no:1,name:"SENIORITY_LEVEL_INTERN"},{no:2,name:"SENIORITY_LEVEL_JUNIOR"},{no:3,name:"SENIORITY_LEVEL_MID"},{no:4,name:"SENIORITY_LEVEL_SENIOR"},{no:5,name:"SENIORITY_LEVEL_LEAD"},{no:6,name:"SENIORITY_LEVEL_MANAGER"},{no:7,name:"SENIORITY_LEVEL_DIRECTOR"},{no:8,name:"SENIORITY_LEVEL_VP"},{no:9,name:"SENIORITY_LEVEL_C_LEVEL"}]);class T extends i.Message{min;max;currency;period;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.Salary";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"min",kind:"scalar",T:3,opt:!0},{no:2,name:"max",kind:"scalar",T:3,opt:!0},{no:3,name:"currency",kind:"scalar",T:9,opt:!0},{no:4,name:"period",kind:"enum",T:i.proto3.getEnumType(u),opt:!0}]));static fromBinary(t,e){return(new T).fromBinary(t,e)}static fromJson(t,e){return(new T).fromJson(t,e)}static fromJsonString(t,e){return(new T).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(T,t,e)}}class c extends i.Message{employmentType;teamSize;salary;seniorityLevel;roleType;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityMeta";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"employment_type",kind:"enum",T:i.proto3.getEnumType(E),opt:!0},{no:2,name:"team_size",kind:"scalar",T:5,opt:!0},{no:3,name:"salary",kind:"message",T:T,opt:!0},{no:4,name:"seniority_level",kind:"enum",T:i.proto3.getEnumType(l),opt:!0},{no:5,name:"role_type",kind:"scalar",T:2,opt:!0}]));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 i.proto3.util.equals(c,t,e)}}class d extends i.Message{overview;responsibilities;requirements;whatYoullDo;interviewProcess;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityContent";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"overview",kind:"message",T:y,opt:!0},{no:2,name:"responsibilities",kind:"message",T:y,opt:!0},{no:3,name:"requirements",kind:"message",T:y,opt:!0},{no:4,name:"what_youll_do",kind:"message",T:y,opt:!0},{no:5,name:"interview_process",kind:"message",T:y,opt:!0}]));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 i.proto3.util.equals(d,t,e)}}class y extends i.Message{content="";html;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityContent.ContentBlock";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"content",kind:"scalar",T:9},{no:2,name:"html",kind:"scalar",T:9,opt:!0}]));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 i.proto3.util.equals(y,t,e)}}class I extends i.Message{name="";role;bio;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.Recruiter";static fields=i.proto3.util.newFieldList((()=>[{no:
|
|
1
|
+
var t,e=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,a={};((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})(a,{EmploymentType:()=>E,Opportunity:()=>L,OpportunityContent:()=>d,OpportunityContent_ContentBlock:()=>y,OpportunityMeta:()=>c,OpportunityState:()=>p,OpportunityType:()=>m,Recruiter:()=>I,Salary:()=>T,SalaryPeriod:()=>u,SeniorityLevel:()=>l}),module.exports=(t=a,((t,a,i,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let p of o(a))r.call(t,p)||p===i||e(t,p,{get:()=>a[p],enumerable:!(s=n(a,p))||s.enumerable});return t})(e({},"__esModule",{value:!0}),t));var i=require("@bufbuild/protobuf"),s=require("./util_pb.cjs"),p=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.DRAFT=1]="DRAFT",t[t.LIVE=2]="LIVE",t[t.CLOSED=3]="CLOSED",t))(p||{});i.proto3.util.setEnumType(p,"dailydotdev.api.opportunity.OpportunityState",[{no:0,name:"OPPORTUNITY_STATE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_STATE_DRAFT"},{no:2,name:"OPPORTUNITY_STATE_LIVE"},{no:3,name:"OPPORTUNITY_STATE_CLOSED"}]);var m=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(m||{});i.proto3.util.setEnumType(m,"dailydotdev.api.opportunity.OpportunityType",[{no:0,name:"OPPORTUNITY_TYPE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_TYPE_JOB"}]);var E=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.FULL_TIME=1]="FULL_TIME",t[t.PART_TIME=2]="PART_TIME",t[t.CONTRACT=3]="CONTRACT",t[t.INTERNSHIP=4]="INTERNSHIP",t))(E||{});i.proto3.util.setEnumType(E,"dailydotdev.api.opportunity.EmploymentType",[{no:0,name:"EMPLOYMENT_TYPE_UNSPECIFIED"},{no:1,name:"EMPLOYMENT_TYPE_FULL_TIME"},{no:2,name:"EMPLOYMENT_TYPE_PART_TIME"},{no:3,name:"EMPLOYMENT_TYPE_CONTRACT"},{no:4,name:"EMPLOYMENT_TYPE_INTERNSHIP"}]);var u=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.ANNUAL=1]="ANNUAL",t[t.MONTHLY=2]="MONTHLY",t[t.WEEKLY=3]="WEEKLY",t[t.DAILY=4]="DAILY",t[t.HOURLY=5]="HOURLY",t))(u||{});i.proto3.util.setEnumType(u,"dailydotdev.api.opportunity.SalaryPeriod",[{no:0,name:"SALARY_PERIOD_UNSPECIFIED"},{no:1,name:"SALARY_PERIOD_ANNUAL"},{no:2,name:"SALARY_PERIOD_MONTHLY"},{no:3,name:"SALARY_PERIOD_WEEKLY"},{no:4,name:"SALARY_PERIOD_DAILY"},{no:5,name:"SALARY_PERIOD_HOURLY"}]);var l=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.INTERN=1]="INTERN",t[t.JUNIOR=2]="JUNIOR",t[t.MID=3]="MID",t[t.SENIOR=4]="SENIOR",t[t.LEAD=5]="LEAD",t[t.MANAGER=6]="MANAGER",t[t.DIRECTOR=7]="DIRECTOR",t[t.VP=8]="VP",t[t.C_LEVEL=9]="C_LEVEL",t))(l||{});i.proto3.util.setEnumType(l,"dailydotdev.api.opportunity.SeniorityLevel",[{no:0,name:"SENIORITY_LEVEL_UNSPECIFIED"},{no:1,name:"SENIORITY_LEVEL_INTERN"},{no:2,name:"SENIORITY_LEVEL_JUNIOR"},{no:3,name:"SENIORITY_LEVEL_MID"},{no:4,name:"SENIORITY_LEVEL_SENIOR"},{no:5,name:"SENIORITY_LEVEL_LEAD"},{no:6,name:"SENIORITY_LEVEL_MANAGER"},{no:7,name:"SENIORITY_LEVEL_DIRECTOR"},{no:8,name:"SENIORITY_LEVEL_VP"},{no:9,name:"SENIORITY_LEVEL_C_LEVEL"}]);class T extends i.Message{min;max;currency;period;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.Salary";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"min",kind:"scalar",T:3,opt:!0},{no:2,name:"max",kind:"scalar",T:3,opt:!0},{no:3,name:"currency",kind:"scalar",T:9,opt:!0},{no:4,name:"period",kind:"enum",T:i.proto3.getEnumType(u),opt:!0}]));static fromBinary(t,e){return(new T).fromBinary(t,e)}static fromJson(t,e){return(new T).fromJson(t,e)}static fromJsonString(t,e){return(new T).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(T,t,e)}}class c extends i.Message{employmentType;teamSize;salary;seniorityLevel;roleType;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityMeta";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"employment_type",kind:"enum",T:i.proto3.getEnumType(E),opt:!0},{no:2,name:"team_size",kind:"scalar",T:5,opt:!0},{no:3,name:"salary",kind:"message",T:T,opt:!0},{no:4,name:"seniority_level",kind:"enum",T:i.proto3.getEnumType(l),opt:!0},{no:5,name:"role_type",kind:"scalar",T:2,opt:!0}]));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 i.proto3.util.equals(c,t,e)}}class d extends i.Message{overview;responsibilities;requirements;whatYoullDo;interviewProcess;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityContent";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"overview",kind:"message",T:y,opt:!0},{no:2,name:"responsibilities",kind:"message",T:y,opt:!0},{no:3,name:"requirements",kind:"message",T:y,opt:!0},{no:4,name:"what_youll_do",kind:"message",T:y,opt:!0},{no:5,name:"interview_process",kind:"message",T:y,opt:!0}]));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 i.proto3.util.equals(d,t,e)}}class y extends i.Message{content="";html;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.OpportunityContent.ContentBlock";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"content",kind:"scalar",T:9},{no:2,name:"html",kind:"scalar",T:9,opt:!0}]));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 i.proto3.util.equals(y,t,e)}}class I extends i.Message{name="";role;bio;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.Recruiter";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"role",kind:"scalar",T:9,opt:!0},{no:3,name:"bio",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,e){return(new I).fromBinary(t,e)}static fromJson(t,e){return(new I).fromJson(t,e)}static fromJsonString(t,e){return(new I).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(I,t,e)}}class L extends i.Message{id="";createdAt=0;updatedAt=0;type=0;state=0;title="";tldr="";content;meta;location=[];keywords=[];constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.opportunity.Opportunity";static fields=i.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:"type",kind:"enum",T:i.proto3.getEnumType(m)},{no:5,name:"state",kind:"enum",T:i.proto3.getEnumType(p)},{no:6,name:"title",kind:"scalar",T:9},{no:7,name:"tldr",kind:"scalar",T:9},{no:8,name:"content",kind:"message",T:d},{no:9,name:"meta",kind:"message",T:c},{no:10,name:"location",kind:"message",T:s.Location,repeated:!0},{no:11,name:"keywords",kind:"scalar",T:9,repeated:!0}]));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 i.proto3.util.equals(L,t,e)}}
|
|
@@ -263,15 +263,15 @@ declare class OpportunityContent_ContentBlock extends Message<OpportunityContent
|
|
|
263
263
|
*/
|
|
264
264
|
declare class Recruiter extends Message<Recruiter> {
|
|
265
265
|
/**
|
|
266
|
-
* @generated from field: string name =
|
|
266
|
+
* @generated from field: string name = 1;
|
|
267
267
|
*/
|
|
268
268
|
name: string;
|
|
269
269
|
/**
|
|
270
|
-
* @generated from field: optional string role =
|
|
270
|
+
* @generated from field: optional string role = 2;
|
|
271
271
|
*/
|
|
272
272
|
role?: string;
|
|
273
273
|
/**
|
|
274
|
-
* @generated from field: optional string bio =
|
|
274
|
+
* @generated from field: optional string bio = 3;
|
|
275
275
|
*/
|
|
276
276
|
bio?: string;
|
|
277
277
|
constructor(data?: PartialMessage<Recruiter>);
|
|
@@ -263,15 +263,15 @@ declare class OpportunityContent_ContentBlock extends Message<OpportunityContent
|
|
|
263
263
|
*/
|
|
264
264
|
declare class Recruiter extends Message<Recruiter> {
|
|
265
265
|
/**
|
|
266
|
-
* @generated from field: string name =
|
|
266
|
+
* @generated from field: string name = 1;
|
|
267
267
|
*/
|
|
268
268
|
name: string;
|
|
269
269
|
/**
|
|
270
|
-
* @generated from field: optional string role =
|
|
270
|
+
* @generated from field: optional string role = 2;
|
|
271
271
|
*/
|
|
272
272
|
role?: string;
|
|
273
273
|
/**
|
|
274
|
-
* @generated from field: optional string bio =
|
|
274
|
+
* @generated from field: optional string bio = 3;
|
|
275
275
|
*/
|
|
276
276
|
bio?: string;
|
|
277
277
|
constructor(data?: PartialMessage<Recruiter>);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as t,proto3 as n}from"@bufbuild/protobuf";import{Location as e}from"./util_pb.ts";var i=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.DRAFT=1]="DRAFT",t[t.LIVE=2]="LIVE",t[t.CLOSED=3]="CLOSED",t))(i||{});n.util.setEnumType(i,"dailydotdev.api.opportunity.OpportunityState",[{no:0,name:"OPPORTUNITY_STATE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_STATE_DRAFT"},{no:2,name:"OPPORTUNITY_STATE_LIVE"},{no:3,name:"OPPORTUNITY_STATE_CLOSED"}]);var a=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(a||{});n.util.setEnumType(a,"dailydotdev.api.opportunity.OpportunityType",[{no:0,name:"OPPORTUNITY_TYPE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_TYPE_JOB"}]);var o=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.FULL_TIME=1]="FULL_TIME",t[t.PART_TIME=2]="PART_TIME",t[t.CONTRACT=3]="CONTRACT",t[t.INTERNSHIP=4]="INTERNSHIP",t))(o||{});n.util.setEnumType(o,"dailydotdev.api.opportunity.EmploymentType",[{no:0,name:"EMPLOYMENT_TYPE_UNSPECIFIED"},{no:1,name:"EMPLOYMENT_TYPE_FULL_TIME"},{no:2,name:"EMPLOYMENT_TYPE_PART_TIME"},{no:3,name:"EMPLOYMENT_TYPE_CONTRACT"},{no:4,name:"EMPLOYMENT_TYPE_INTERNSHIP"}]);var r=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.ANNUAL=1]="ANNUAL",t[t.MONTHLY=2]="MONTHLY",t[t.WEEKLY=3]="WEEKLY",t[t.DAILY=4]="DAILY",t[t.HOURLY=5]="HOURLY",t))(r||{});n.util.setEnumType(r,"dailydotdev.api.opportunity.SalaryPeriod",[{no:0,name:"SALARY_PERIOD_UNSPECIFIED"},{no:1,name:"SALARY_PERIOD_ANNUAL"},{no:2,name:"SALARY_PERIOD_MONTHLY"},{no:3,name:"SALARY_PERIOD_WEEKLY"},{no:4,name:"SALARY_PERIOD_DAILY"},{no:5,name:"SALARY_PERIOD_HOURLY"}]);var s=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.INTERN=1]="INTERN",t[t.JUNIOR=2]="JUNIOR",t[t.MID=3]="MID",t[t.SENIOR=4]="SENIOR",t[t.LEAD=5]="LEAD",t[t.MANAGER=6]="MANAGER",t[t.DIRECTOR=7]="DIRECTOR",t[t.VP=8]="VP",t[t.C_LEVEL=9]="C_LEVEL",t))(s||{});n.util.setEnumType(s,"dailydotdev.api.opportunity.SeniorityLevel",[{no:0,name:"SENIORITY_LEVEL_UNSPECIFIED"},{no:1,name:"SENIORITY_LEVEL_INTERN"},{no:2,name:"SENIORITY_LEVEL_JUNIOR"},{no:3,name:"SENIORITY_LEVEL_MID"},{no:4,name:"SENIORITY_LEVEL_SENIOR"},{no:5,name:"SENIORITY_LEVEL_LEAD"},{no:6,name:"SENIORITY_LEVEL_MANAGER"},{no:7,name:"SENIORITY_LEVEL_DIRECTOR"},{no:8,name:"SENIORITY_LEVEL_VP"},{no:9,name:"SENIORITY_LEVEL_C_LEVEL"}]);class m extends t{min;max;currency;period;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.Salary";static fields=n.util.newFieldList((()=>[{no:1,name:"min",kind:"scalar",T:3,opt:!0},{no:2,name:"max",kind:"scalar",T:3,opt:!0},{no:3,name:"currency",kind:"scalar",T:9,opt:!0},{no:4,name:"period",kind:"enum",T:n.getEnumType(r),opt:!0}]));static fromBinary(t,n){return(new m).fromBinary(t,n)}static fromJson(t,n){return(new m).fromJson(t,n)}static fromJsonString(t,n){return(new m).fromJsonString(t,n)}static equals(t,e){return n.util.equals(m,t,e)}}class E extends t{employmentType;teamSize;salary;seniorityLevel;roleType;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.OpportunityMeta";static fields=n.util.newFieldList((()=>[{no:1,name:"employment_type",kind:"enum",T:n.getEnumType(o),opt:!0},{no:2,name:"team_size",kind:"scalar",T:5,opt:!0},{no:3,name:"salary",kind:"message",T:m,opt:!0},{no:4,name:"seniority_level",kind:"enum",T:n.getEnumType(s),opt:!0},{no:5,name:"role_type",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,n){return(new E).fromBinary(t,n)}static fromJson(t,n){return(new E).fromJson(t,n)}static fromJsonString(t,n){return(new E).fromJsonString(t,n)}static equals(t,e){return n.util.equals(E,t,e)}}class u extends t{overview;responsibilities;requirements;whatYoullDo;interviewProcess;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.OpportunityContent";static fields=n.util.newFieldList((()=>[{no:1,name:"overview",kind:"message",T:l,opt:!0},{no:2,name:"responsibilities",kind:"message",T:l,opt:!0},{no:3,name:"requirements",kind:"message",T:l,opt:!0},{no:4,name:"what_youll_do",kind:"message",T:l,opt:!0},{no:5,name:"interview_process",kind:"message",T:l,opt:!0}]));static fromBinary(t,n){return(new u).fromBinary(t,n)}static fromJson(t,n){return(new u).fromJson(t,n)}static fromJsonString(t,n){return(new u).fromJsonString(t,n)}static equals(t,e){return n.util.equals(u,t,e)}}class l extends t{content="";html;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.OpportunityContent.ContentBlock";static fields=n.util.newFieldList((()=>[{no:1,name:"content",kind:"scalar",T:9},{no:2,name:"html",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,n){return(new l).fromBinary(t,n)}static fromJson(t,n){return(new l).fromJson(t,n)}static fromJsonString(t,n){return(new l).fromJsonString(t,n)}static equals(t,e){return n.util.equals(l,t,e)}}class T extends t{name="";role;bio;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.Recruiter";static fields=n.util.newFieldList((()=>[{no:
|
|
1
|
+
import{Message as t,proto3 as n}from"@bufbuild/protobuf";import{Location as e}from"./util_pb.ts";var i=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.DRAFT=1]="DRAFT",t[t.LIVE=2]="LIVE",t[t.CLOSED=3]="CLOSED",t))(i||{});n.util.setEnumType(i,"dailydotdev.api.opportunity.OpportunityState",[{no:0,name:"OPPORTUNITY_STATE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_STATE_DRAFT"},{no:2,name:"OPPORTUNITY_STATE_LIVE"},{no:3,name:"OPPORTUNITY_STATE_CLOSED"}]);var a=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(a||{});n.util.setEnumType(a,"dailydotdev.api.opportunity.OpportunityType",[{no:0,name:"OPPORTUNITY_TYPE_UNSPECIFIED"},{no:1,name:"OPPORTUNITY_TYPE_JOB"}]);var o=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.FULL_TIME=1]="FULL_TIME",t[t.PART_TIME=2]="PART_TIME",t[t.CONTRACT=3]="CONTRACT",t[t.INTERNSHIP=4]="INTERNSHIP",t))(o||{});n.util.setEnumType(o,"dailydotdev.api.opportunity.EmploymentType",[{no:0,name:"EMPLOYMENT_TYPE_UNSPECIFIED"},{no:1,name:"EMPLOYMENT_TYPE_FULL_TIME"},{no:2,name:"EMPLOYMENT_TYPE_PART_TIME"},{no:3,name:"EMPLOYMENT_TYPE_CONTRACT"},{no:4,name:"EMPLOYMENT_TYPE_INTERNSHIP"}]);var r=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.ANNUAL=1]="ANNUAL",t[t.MONTHLY=2]="MONTHLY",t[t.WEEKLY=3]="WEEKLY",t[t.DAILY=4]="DAILY",t[t.HOURLY=5]="HOURLY",t))(r||{});n.util.setEnumType(r,"dailydotdev.api.opportunity.SalaryPeriod",[{no:0,name:"SALARY_PERIOD_UNSPECIFIED"},{no:1,name:"SALARY_PERIOD_ANNUAL"},{no:2,name:"SALARY_PERIOD_MONTHLY"},{no:3,name:"SALARY_PERIOD_WEEKLY"},{no:4,name:"SALARY_PERIOD_DAILY"},{no:5,name:"SALARY_PERIOD_HOURLY"}]);var s=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.INTERN=1]="INTERN",t[t.JUNIOR=2]="JUNIOR",t[t.MID=3]="MID",t[t.SENIOR=4]="SENIOR",t[t.LEAD=5]="LEAD",t[t.MANAGER=6]="MANAGER",t[t.DIRECTOR=7]="DIRECTOR",t[t.VP=8]="VP",t[t.C_LEVEL=9]="C_LEVEL",t))(s||{});n.util.setEnumType(s,"dailydotdev.api.opportunity.SeniorityLevel",[{no:0,name:"SENIORITY_LEVEL_UNSPECIFIED"},{no:1,name:"SENIORITY_LEVEL_INTERN"},{no:2,name:"SENIORITY_LEVEL_JUNIOR"},{no:3,name:"SENIORITY_LEVEL_MID"},{no:4,name:"SENIORITY_LEVEL_SENIOR"},{no:5,name:"SENIORITY_LEVEL_LEAD"},{no:6,name:"SENIORITY_LEVEL_MANAGER"},{no:7,name:"SENIORITY_LEVEL_DIRECTOR"},{no:8,name:"SENIORITY_LEVEL_VP"},{no:9,name:"SENIORITY_LEVEL_C_LEVEL"}]);class m extends t{min;max;currency;period;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.Salary";static fields=n.util.newFieldList((()=>[{no:1,name:"min",kind:"scalar",T:3,opt:!0},{no:2,name:"max",kind:"scalar",T:3,opt:!0},{no:3,name:"currency",kind:"scalar",T:9,opt:!0},{no:4,name:"period",kind:"enum",T:n.getEnumType(r),opt:!0}]));static fromBinary(t,n){return(new m).fromBinary(t,n)}static fromJson(t,n){return(new m).fromJson(t,n)}static fromJsonString(t,n){return(new m).fromJsonString(t,n)}static equals(t,e){return n.util.equals(m,t,e)}}class E extends t{employmentType;teamSize;salary;seniorityLevel;roleType;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.OpportunityMeta";static fields=n.util.newFieldList((()=>[{no:1,name:"employment_type",kind:"enum",T:n.getEnumType(o),opt:!0},{no:2,name:"team_size",kind:"scalar",T:5,opt:!0},{no:3,name:"salary",kind:"message",T:m,opt:!0},{no:4,name:"seniority_level",kind:"enum",T:n.getEnumType(s),opt:!0},{no:5,name:"role_type",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,n){return(new E).fromBinary(t,n)}static fromJson(t,n){return(new E).fromJson(t,n)}static fromJsonString(t,n){return(new E).fromJsonString(t,n)}static equals(t,e){return n.util.equals(E,t,e)}}class u extends t{overview;responsibilities;requirements;whatYoullDo;interviewProcess;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.OpportunityContent";static fields=n.util.newFieldList((()=>[{no:1,name:"overview",kind:"message",T:l,opt:!0},{no:2,name:"responsibilities",kind:"message",T:l,opt:!0},{no:3,name:"requirements",kind:"message",T:l,opt:!0},{no:4,name:"what_youll_do",kind:"message",T:l,opt:!0},{no:5,name:"interview_process",kind:"message",T:l,opt:!0}]));static fromBinary(t,n){return(new u).fromBinary(t,n)}static fromJson(t,n){return(new u).fromJson(t,n)}static fromJsonString(t,n){return(new u).fromJsonString(t,n)}static equals(t,e){return n.util.equals(u,t,e)}}class l extends t{content="";html;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.OpportunityContent.ContentBlock";static fields=n.util.newFieldList((()=>[{no:1,name:"content",kind:"scalar",T:9},{no:2,name:"html",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,n){return(new l).fromBinary(t,n)}static fromJson(t,n){return(new l).fromJson(t,n)}static fromJsonString(t,n){return(new l).fromJsonString(t,n)}static equals(t,e){return n.util.equals(l,t,e)}}class T extends t{name="";role;bio;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.Recruiter";static fields=n.util.newFieldList((()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"role",kind:"scalar",T:9,opt:!0},{no:3,name:"bio",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,n){return(new T).fromBinary(t,n)}static fromJson(t,n){return(new T).fromJson(t,n)}static fromJsonString(t,n){return(new T).fromJsonString(t,n)}static equals(t,e){return n.util.equals(T,t,e)}}class p extends t{id="";createdAt=0;updatedAt=0;type=0;state=0;title="";tldr="";content;meta;location=[];keywords=[];constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="dailydotdev.api.opportunity.Opportunity";static fields=n.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:"type",kind:"enum",T:n.getEnumType(a)},{no:5,name:"state",kind:"enum",T:n.getEnumType(i)},{no:6,name:"title",kind:"scalar",T:9},{no:7,name:"tldr",kind:"scalar",T:9},{no:8,name:"content",kind:"message",T:u},{no:9,name:"meta",kind:"message",T:E},{no:10,name:"location",kind:"message",T:e,repeated:!0},{no:11,name:"keywords",kind:"scalar",T:9,repeated:!0}]));static fromBinary(t,n){return(new p).fromBinary(t,n)}static fromJson(t,n){return(new p).fromJson(t,n)}static fromJsonString(t,n){return(new p).fromJsonString(t,n)}static equals(t,e){return n.util.equals(p,t,e)}}export{o as EmploymentType,p as Opportunity,u as OpportunityContent,l as OpportunityContent_ContentBlock,E as OpportunityMeta,i as OpportunityState,a as OpportunityType,T as Recruiter,m as Salary,r as SalaryPeriod,s as SeniorityLevel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var t
|
|
1
|
+
var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,i={};((e,r)=>{for(var o in r)t(e,o,{get:r[o],enumerable:!0})})(i,{OpportunityMessage:()=>p}),module.exports=(e=i,((e,i,a,s)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let u of o(i))n.call(e,u)||u===a||t(e,u,{get:()=>i[u],enumerable:!(s=r(i,u))||s.enumerable});return e})(t({},"__esModule",{value:!0}),e));var a=require("@bufbuild/protobuf"),s=require("../opportunity_pb.cjs"),u=require("../organization_pb.cjs");class p extends a.Message{opportunity;organization;excludedUserIds=[];constructor(e){super(),a.proto3.util.initPartial(e,this)}static runtime=a.proto3;static typeName="dailydotdev.api.pubsub.opportunity.OpportunityMessage";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"opportunity",kind:"message",T:s.Opportunity},{no:2,name:"organization",kind:"message",T:u.Organization},{no:3,name:"excluded_user_ids",kind:"scalar",T:9,repeated:!0}]));static fromBinary(e,t){return(new p).fromBinary(e,t)}static fromJson(e,t){return(new p).fromJson(e,t)}static fromJsonString(e,t){return(new p).fromJsonString(e,t)}static equals(e,t){return a.proto3.util.equals(p,e,t)}}
|
|
@@ -15,6 +15,10 @@ declare class OpportunityMessage extends Message<OpportunityMessage> {
|
|
|
15
15
|
* @generated from field: dailydotdev.api.organization.Organization organization = 2;
|
|
16
16
|
*/
|
|
17
17
|
organization?: Organization;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: repeated string excluded_user_ids = 3;
|
|
20
|
+
*/
|
|
21
|
+
excludedUserIds: string[];
|
|
18
22
|
constructor(data?: PartialMessage<OpportunityMessage>);
|
|
19
23
|
static readonly runtime: typeof proto3;
|
|
20
24
|
static readonly typeName = "dailydotdev.api.pubsub.opportunity.OpportunityMessage";
|
|
@@ -15,6 +15,10 @@ declare class OpportunityMessage extends Message<OpportunityMessage> {
|
|
|
15
15
|
* @generated from field: dailydotdev.api.organization.Organization organization = 2;
|
|
16
16
|
*/
|
|
17
17
|
organization?: Organization;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: repeated string excluded_user_ids = 3;
|
|
20
|
+
*/
|
|
21
|
+
excludedUserIds: string[];
|
|
18
22
|
constructor(data?: PartialMessage<OpportunityMessage>);
|
|
19
23
|
static readonly runtime: typeof proto3;
|
|
20
24
|
static readonly typeName = "dailydotdev.api.pubsub.opportunity.OpportunityMessage";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as t,proto3 as i}from"@bufbuild/protobuf";import{Opportunity as
|
|
1
|
+
import{Message as t,proto3 as i}from"@bufbuild/protobuf";import{Opportunity as r}from"../opportunity_pb.ts";import{Organization as n}from"../organization_pb.ts";class o extends t{opportunity;organization;excludedUserIds=[];constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.pubsub.opportunity.OpportunityMessage";static fields=i.util.newFieldList((()=>[{no:1,name:"opportunity",kind:"message",T:r},{no:2,name:"organization",kind:"message",T:n},{no:3,name:"excluded_user_ids",kind:"scalar",T:9,repeated:!0}]));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,r){return i.util.equals(o,t,r)}}export{o as OpportunityMessage};
|