@dailydotdev/schema 0.2.52 → 0.2.54
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,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o={};((e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})})(o,{UserExperience:()=>l,UserExperienceSkill:()=>c,UserExperienceType:()=>
|
|
1
|
+
var e,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o={};((e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})})(o,{UserExperience:()=>l,UserExperienceSkill:()=>c,UserExperienceType:()=>E,UserProfile:()=>m}),module.exports=(e=o,((e,o,i,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let p of r(o))a.call(e,p)||p===i||t(e,p,{get:()=>o[p],enumerable:!(s=n(o,p))||s.enumerable});return e})(t({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf"),s=require("./util_pb.cjs"),p=require("./opportunity_pb.cjs"),E=(e=>(e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.WORK=1]="WORK",e[e.EDUCATION=2]="EDUCATION",e[e.PROJECT=3]="PROJECT",e[e.CERTIFICATION=4]="CERTIFICATION",e[e.VOLUNTEERING=5]="VOLUNTEERING",e[e.OPENSOURCE=6]="OPENSOURCE",e))(E||{});i.proto3.util.setEnumType(E,"dailydotdev.api.userexperience.UserExperienceType",[{no:0,name:"USER_EXPERIENCE_TYPE_UNSPECIFIED"},{no:1,name:"USER_EXPERIENCE_TYPE_WORK"},{no:2,name:"USER_EXPERIENCE_TYPE_EDUCATION"},{no:3,name:"USER_EXPERIENCE_TYPE_PROJECT"},{no:4,name:"USER_EXPERIENCE_TYPE_CERTIFICATION"},{no:5,name:"USER_EXPERIENCE_TYPE_VOLUNTEERING"},{no:6,name:"USER_EXPERIENCE_TYPE_OPENSOURCE"}]);class l extends i.Message{id="";type=0;companyName;title="";subtitle;description;startedAt=0;endedAt;location;locationType=s.LocationType.UNSPECIFIED;createdAt=0;updatedAt=0;url;grade;employmentType=p.EmploymentType.UNSPECIFIED;verified=!1;constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.userexperience.UserExperience";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:i.proto3.getEnumType(E)},{no:3,name:"company_name",kind:"scalar",T:9,opt:!0},{no:4,name:"title",kind:"scalar",T:9},{no:5,name:"subtitle",kind:"scalar",T:9,opt:!0},{no:6,name:"description",kind:"scalar",T:9,opt:!0},{no:7,name:"started_at",kind:"scalar",T:5},{no:8,name:"ended_at",kind:"scalar",T:5,opt:!0},{no:9,name:"location",kind:"message",T:s.Location,opt:!0},{no:10,name:"location_type",kind:"enum",T:i.proto3.getEnumType(s.LocationType)},{no:11,name:"created_at",kind:"scalar",T:5},{no:12,name:"updated_at",kind:"scalar",T:5},{no:13,name:"url",kind:"scalar",T:9,opt:!0},{no:14,name:"grade",kind:"scalar",T:9,opt:!0},{no:15,name:"employment_type",kind:"enum",T:i.proto3.getEnumType(p.EmploymentType)},{no:16,name:"verified",kind:"scalar",T:8}]));static fromBinary(e,t){return(new l).fromBinary(e,t)}static fromJson(e,t){return(new l).fromJson(e,t)}static fromJsonString(e,t){return(new l).fromJsonString(e,t)}static equals(e,t){return i.proto3.util.equals(l,e,t)}}class c extends i.Message{value="";experienceId="";constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.userexperience.UserExperienceSkill";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"value",kind:"scalar",T:9},{no:2,name:"experience_id",kind:"scalar",T:9}]));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)}}class m extends i.Message{userId="";experiences=[];skills=[];constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.userexperience.UserProfile";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"experiences",kind:"message",T:l,repeated:!0},{no:3,name:"skills",kind:"message",T:c,repeated:!0}]));static fromBinary(e,t){return(new m).fromBinary(e,t)}static fromJson(e,t){return(new m).fromJson(e,t)}static fromJsonString(e,t){return(new m).fromJsonString(e,t)}static equals(e,t){return i.proto3.util.equals(m,e,t)}}
|
|
@@ -7,33 +7,33 @@ import { EmploymentType } from './opportunity_pb.cjs';
|
|
|
7
7
|
*/
|
|
8
8
|
declare enum UserExperienceType {
|
|
9
9
|
/**
|
|
10
|
-
* @generated from enum value:
|
|
10
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_UNSPECIFIED = 0;
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
UNSPECIFIED = 0,
|
|
13
13
|
/**
|
|
14
|
-
* @generated from enum value:
|
|
14
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_WORK = 1;
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
WORK = 1,
|
|
17
17
|
/**
|
|
18
|
-
* @generated from enum value:
|
|
18
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_EDUCATION = 2;
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
EDUCATION = 2,
|
|
21
21
|
/**
|
|
22
|
-
* @generated from enum value:
|
|
22
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_PROJECT = 3;
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
PROJECT = 3,
|
|
25
25
|
/**
|
|
26
|
-
* @generated from enum value:
|
|
26
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_CERTIFICATION = 4;
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
CERTIFICATION = 4,
|
|
29
29
|
/**
|
|
30
|
-
* @generated from enum value:
|
|
30
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_VOLUNTEERING = 5;
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
VOLUNTEERING = 5,
|
|
33
33
|
/**
|
|
34
|
-
* @generated from enum value:
|
|
34
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_OPENSOURCE = 6;
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
OPENSOURCE = 6
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* @generated from message dailydotdev.api.userexperience.UserExperience
|
|
@@ -7,33 +7,33 @@ import { EmploymentType } from './opportunity_pb.js';
|
|
|
7
7
|
*/
|
|
8
8
|
declare enum UserExperienceType {
|
|
9
9
|
/**
|
|
10
|
-
* @generated from enum value:
|
|
10
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_UNSPECIFIED = 0;
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
UNSPECIFIED = 0,
|
|
13
13
|
/**
|
|
14
|
-
* @generated from enum value:
|
|
14
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_WORK = 1;
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
WORK = 1,
|
|
17
17
|
/**
|
|
18
|
-
* @generated from enum value:
|
|
18
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_EDUCATION = 2;
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
EDUCATION = 2,
|
|
21
21
|
/**
|
|
22
|
-
* @generated from enum value:
|
|
22
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_PROJECT = 3;
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
PROJECT = 3,
|
|
25
25
|
/**
|
|
26
|
-
* @generated from enum value:
|
|
26
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_CERTIFICATION = 4;
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
CERTIFICATION = 4,
|
|
29
29
|
/**
|
|
30
|
-
* @generated from enum value:
|
|
30
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_VOLUNTEERING = 5;
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
VOLUNTEERING = 5,
|
|
33
33
|
/**
|
|
34
|
-
* @generated from enum value:
|
|
34
|
+
* @generated from enum value: USER_EXPERIENCE_TYPE_OPENSOURCE = 6;
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
OPENSOURCE = 6
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* @generated from message dailydotdev.api.userexperience.UserExperience
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as e,proto3 as n}from"@bufbuild/protobuf";import{Location as t,LocationType as
|
|
1
|
+
import{Message as e,proto3 as n}from"@bufbuild/protobuf";import{Location as t,LocationType as a}from"./util_pb.ts";import{EmploymentType as i}from"./opportunity_pb.ts";var r=(e=>(e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.WORK=1]="WORK",e[e.EDUCATION=2]="EDUCATION",e[e.PROJECT=3]="PROJECT",e[e.CERTIFICATION=4]="CERTIFICATION",e[e.VOLUNTEERING=5]="VOLUNTEERING",e[e.OPENSOURCE=6]="OPENSOURCE",e))(r||{});n.util.setEnumType(r,"dailydotdev.api.userexperience.UserExperienceType",[{no:0,name:"USER_EXPERIENCE_TYPE_UNSPECIFIED"},{no:1,name:"USER_EXPERIENCE_TYPE_WORK"},{no:2,name:"USER_EXPERIENCE_TYPE_EDUCATION"},{no:3,name:"USER_EXPERIENCE_TYPE_PROJECT"},{no:4,name:"USER_EXPERIENCE_TYPE_CERTIFICATION"},{no:5,name:"USER_EXPERIENCE_TYPE_VOLUNTEERING"},{no:6,name:"USER_EXPERIENCE_TYPE_OPENSOURCE"}]);class s extends e{id="";type=0;companyName;title="";subtitle;description;startedAt=0;endedAt;location;locationType=a.UNSPECIFIED;createdAt=0;updatedAt=0;url;grade;employmentType=i.UNSPECIFIED;verified=!1;constructor(e){super(),n.util.initPartial(e,this)}static runtime=n;static typeName="dailydotdev.api.userexperience.UserExperience";static fields=n.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:n.getEnumType(r)},{no:3,name:"company_name",kind:"scalar",T:9,opt:!0},{no:4,name:"title",kind:"scalar",T:9},{no:5,name:"subtitle",kind:"scalar",T:9,opt:!0},{no:6,name:"description",kind:"scalar",T:9,opt:!0},{no:7,name:"started_at",kind:"scalar",T:5},{no:8,name:"ended_at",kind:"scalar",T:5,opt:!0},{no:9,name:"location",kind:"message",T:t,opt:!0},{no:10,name:"location_type",kind:"enum",T:n.getEnumType(a)},{no:11,name:"created_at",kind:"scalar",T:5},{no:12,name:"updated_at",kind:"scalar",T:5},{no:13,name:"url",kind:"scalar",T:9,opt:!0},{no:14,name:"grade",kind:"scalar",T:9,opt:!0},{no:15,name:"employment_type",kind:"enum",T:n.getEnumType(i)},{no:16,name:"verified",kind:"scalar",T:8}]));static fromBinary(e,n){return(new s).fromBinary(e,n)}static fromJson(e,n){return(new s).fromJson(e,n)}static fromJsonString(e,n){return(new s).fromJsonString(e,n)}static equals(e,t){return n.util.equals(s,e,t)}}class o extends e{value="";experienceId="";constructor(e){super(),n.util.initPartial(e,this)}static runtime=n;static typeName="dailydotdev.api.userexperience.UserExperienceSkill";static fields=n.util.newFieldList((()=>[{no:1,name:"value",kind:"scalar",T:9},{no:2,name:"experience_id",kind:"scalar",T:9}]));static fromBinary(e,n){return(new o).fromBinary(e,n)}static fromJson(e,n){return(new o).fromJson(e,n)}static fromJsonString(e,n){return(new o).fromJsonString(e,n)}static equals(e,t){return n.util.equals(o,e,t)}}class E extends e{userId="";experiences=[];skills=[];constructor(e){super(),n.util.initPartial(e,this)}static runtime=n;static typeName="dailydotdev.api.userexperience.UserProfile";static fields=n.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"experiences",kind:"message",T:s,repeated:!0},{no:3,name:"skills",kind:"message",T:o,repeated:!0}]));static fromBinary(e,n){return(new E).fromBinary(e,n)}static fromJson(e,n){return(new E).fromJson(e,n)}static fromJsonString(e,n){return(new E).fromJsonString(e,n)}static equals(e,t){return n.util.equals(E,e,t)}}export{s as UserExperience,o as UserExperienceSkill,r as UserExperienceType,E as UserProfile};
|