@dailydotdev/schema 0.2.34 → 0.2.35
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 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:()=>c,OpportunityContent:()=>y,OpportunityContent_ContentBlock:()=>I,OpportunityMeta:()=>d,OpportunityState:()=>p,OpportunityType:()=>m,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.HOURLY=3]="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_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:
|
|
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:()=>c,OpportunityContent:()=>y,OpportunityContent_ContentBlock:()=>I,OpportunityMeta:()=>d,OpportunityState:()=>p,OpportunityType:()=>m,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.HOURLY=3]="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_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 d 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 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{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:I,opt:!0},{no:2,name:"responsibilities",kind:"message",T:I,opt:!0},{no:3,name:"requirements",kind:"message",T:I,opt:!0},{no:4,name:"what_youll_do",kind:"message",T:I,opt:!0},{no:5,name:"interview_process",kind:"message",T:I,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{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 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 c 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:y},{no:9,name:"meta",kind:"message",T:d},{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 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)}}
|
|
@@ -133,13 +133,13 @@ declare enum SeniorityLevel {
|
|
|
133
133
|
*/
|
|
134
134
|
declare class Salary extends Message<Salary> {
|
|
135
135
|
/**
|
|
136
|
-
* @generated from field: optional
|
|
136
|
+
* @generated from field: optional int64 min = 1;
|
|
137
137
|
*/
|
|
138
|
-
min?:
|
|
138
|
+
min?: bigint;
|
|
139
139
|
/**
|
|
140
|
-
* @generated from field: optional
|
|
140
|
+
* @generated from field: optional int64 max = 2;
|
|
141
141
|
*/
|
|
142
|
-
max?:
|
|
142
|
+
max?: bigint;
|
|
143
143
|
/**
|
|
144
144
|
* @generated from field: optional string currency = 3;
|
|
145
145
|
*/
|
|
@@ -133,13 +133,13 @@ declare enum SeniorityLevel {
|
|
|
133
133
|
*/
|
|
134
134
|
declare class Salary extends Message<Salary> {
|
|
135
135
|
/**
|
|
136
|
-
* @generated from field: optional
|
|
136
|
+
* @generated from field: optional int64 min = 1;
|
|
137
137
|
*/
|
|
138
|
-
min?:
|
|
138
|
+
min?: bigint;
|
|
139
139
|
/**
|
|
140
|
-
* @generated from field: optional
|
|
140
|
+
* @generated from field: optional int64 max = 2;
|
|
141
141
|
*/
|
|
142
|
-
max?:
|
|
142
|
+
max?: bigint;
|
|
143
143
|
/**
|
|
144
144
|
* @generated from field: optional string currency = 3;
|
|
145
145
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as t,proto3 as n}from"@bufbuild/protobuf";import{Location as e}from"./util_pb.ts";var a=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.DRAFT=1]="DRAFT",t[t.LIVE=2]="LIVE",t[t.CLOSED=3]="CLOSED",t))(a||{});n.util.setEnumType(a,"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 i=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(i||{});n.util.setEnumType(i,"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.HOURLY=3]="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_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:
|
|
1
|
+
import{Message as t,proto3 as n}from"@bufbuild/protobuf";import{Location as e}from"./util_pb.ts";var a=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.DRAFT=1]="DRAFT",t[t.LIVE=2]="LIVE",t[t.CLOSED=3]="CLOSED",t))(a||{});n.util.setEnumType(a,"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 i=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.JOB=1]="JOB",t))(i||{});n.util.setEnumType(i,"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.HOURLY=3]="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_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 T 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:u,opt:!0},{no:2,name:"responsibilities",kind:"message",T:u,opt:!0},{no:3,name:"requirements",kind:"message",T:u,opt:!0},{no:4,name:"what_youll_do",kind:"message",T:u,opt:!0},{no:5,name:"interview_process",kind:"message",T:u,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 u 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 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{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(i)},{no:5,name:"state",kind:"enum",T:n.getEnumType(a)},{no:6,name:"title",kind:"scalar",T:9},{no:7,name:"tldr",kind:"scalar",T:9},{no:8,name:"content",kind:"message",T:T},{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 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)}}export{o as EmploymentType,l as Opportunity,T as OpportunityContent,u as OpportunityContent_ContentBlock,E as OpportunityMeta,a as OpportunityState,i as OpportunityType,m as Salary,r as SalaryPeriod,s as SeniorityLevel};
|