@dailydotdev/schema 0.2.59 → 0.2.61

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 n,e=Object.defineProperty,_=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,t={};((n,_)=>{for(var a in _)e(n,a,{get:_[a],enumerable:!0})})(t,{CompanySize:()=>r,CompanyStage:()=>S,Organization:()=>i}),module.exports=(n=t,((n,t,E,S)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))o.call(n,r)||r===E||e(n,r,{get:()=>t[r],enumerable:!(S=_(t,r))||S.enumerable});return n})(e({},"__esModule",{value:!0}),n));var E=require("@bufbuild/protobuf"),S=(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))(S||{});E.proto3.util.setEnumType(S,"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 r=(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))(r||{});E.proto3.util.setEnumType(r,"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 i extends E.Message{id="";createdAt=0;updatedAt=0;name="";description;perks=[];founded;location;category;size;stage;constructor(n){super(),E.proto3.util.initPartial(n,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:"scalar",T:9,opt:!0},{no:9,name:"category",kind:"scalar",T:9,opt:!0},{no:10,name:"size",kind:"enum",T:E.proto3.getEnumType(r),opt:!0},{no:11,name:"stage",kind:"enum",T:E.proto3.getEnumType(S),opt:!0}]));static fromBinary(n,e){return(new i).fromBinary(n,e)}static fromJson(n,e){return(new i).fromJson(n,e)}static fromJsonString(n,e){return(new i).fromJsonString(n,e)}static equals(n,e){return E.proto3.util.equals(i,n,e)}}
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: optional string location = 8;
123
+ * @generated from field: dailydotdev.api.util.Location location = 8;
123
124
  */
124
- location?: string;
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: optional string location = 8;
123
+ * @generated from field: dailydotdev.api.util.Location location = 8;
123
124
  */
124
- location?: string;
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 E=(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))(E||{});_.util.setEnumType(E,"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 a=(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))(a||{});_.util.setEnumType(a,"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 e 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:"scalar",T:9,opt:!0},{no:9,name:"category",kind:"scalar",T:9,opt:!0},{no:10,name:"size",kind:"enum",T:_.getEnumType(a),opt:!0},{no:11,name:"stage",kind:"enum",T:_.getEnumType(E),opt:!0}]));static fromBinary(n,_){return(new e).fromBinary(n,_)}static fromJson(n,_){return(new e).fromJson(n,_)}static fromJsonString(n,_){return(new e).fromJsonString(n,_)}static equals(n,E){return _.util.equals(e,n,E)}}export{a as CompanySize,E as CompanyStage,e as Organization};
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 e,r=Object.defineProperty,t=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})})(i,{OpportunityService:()=>a}),module.exports=(e=i,((e,i,n,u)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let y of o(i))p.call(e,y)||y===n||r(e,y,{get:()=>i[y],enumerable:!(u=t(i,y))||u.enumerable});return e})(r({},"__esModule",{value:!0}),e));var n=require("../daily-api/opportunity_pb.cjs"),u=require("./opportunity-service_pb.cjs"),y=require("@bufbuild/protobuf");const a={typeName:"gondul.opportunity.OpportunityService",methods:{preview:{name:"Preview",I:n.Opportunity,O:u.PreviewResponse,kind:y.MethodKind.Unary}}};
1
+ var e,r=Object.defineProperty,t=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i={};((e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})})(i,{OpportunityService:()=>a}),module.exports=(e=i,((e,i,n,u)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let y of o(i))p.call(e,y)||y===n||r(e,y,{get:()=>i[y],enumerable:!(u=t(i,y))||u.enumerable});return e})(r({},"__esModule",{value:!0}),e));var n=require("../daily-api/opportunity_pb.cjs"),u=require("./opportunity-service_pb.cjs"),y=require("@bufbuild/protobuf");const a={typeName:"gondul.opportunity.OpportunityService",methods:{preview:{name:"Preview",I:n.Opportunity,O:u.OpportunityPreviewResponse,kind:y.MethodKind.Unary}}};
@@ -1,10 +1,10 @@
1
1
  import { Opportunity } from '../daily-api/opportunity_pb.cjs';
2
- import { PreviewResponse } from './opportunity-service_pb.cjs';
2
+ import { OpportunityPreviewResponse } from './opportunity-service_pb.cjs';
3
3
  import '@bufbuild/protobuf';
4
4
  import '../daily-api/util_pb.cjs';
5
5
 
6
6
  /**
7
- * Example service to setup gRPC endpoint
7
+ * OpportunityService setup for gRPC endpoint
8
8
  *
9
9
  * @generated from service gondul.opportunity.OpportunityService
10
10
  */
@@ -17,7 +17,7 @@ declare const OpportunityService: {
17
17
  readonly preview: {
18
18
  readonly name: "Preview";
19
19
  readonly I: typeof Opportunity;
20
- readonly O: typeof PreviewResponse;
20
+ readonly O: typeof OpportunityPreviewResponse;
21
21
  readonly kind: any;
22
22
  };
23
23
  };
@@ -1,10 +1,10 @@
1
1
  import { Opportunity } from '../daily-api/opportunity_pb.js';
2
- import { PreviewResponse } from './opportunity-service_pb.js';
2
+ import { OpportunityPreviewResponse } from './opportunity-service_pb.js';
3
3
  import '@bufbuild/protobuf';
4
4
  import '../daily-api/util_pb.js';
5
5
 
6
6
  /**
7
- * Example service to setup gRPC endpoint
7
+ * OpportunityService setup for gRPC endpoint
8
8
  *
9
9
  * @generated from service gondul.opportunity.OpportunityService
10
10
  */
@@ -17,7 +17,7 @@ declare const OpportunityService: {
17
17
  readonly preview: {
18
18
  readonly name: "Preview";
19
19
  readonly I: typeof Opportunity;
20
- readonly O: typeof PreviewResponse;
20
+ readonly O: typeof OpportunityPreviewResponse;
21
21
  readonly kind: any;
22
22
  };
23
23
  };
@@ -1 +1 @@
1
- import{Opportunity as o}from"../daily-api/opportunity_pb.ts";import{PreviewResponse as p}from"./opportunity-service_pb.ts";import{MethodKind as t}from"@bufbuild/protobuf";const r={typeName:"gondul.opportunity.OpportunityService",methods:{preview:{name:"Preview",I:o,O:p,kind:t.Unary}}};export{r as OpportunityService};
1
+ import{Opportunity as o}from"../daily-api/opportunity_pb.ts";import{OpportunityPreviewResponse as p}from"./opportunity-service_pb.ts";import{MethodKind as t}from"@bufbuild/protobuf";const r={typeName:"gondul.opportunity.OpportunityService",methods:{preview:{name:"Preview",I:o,O:p,kind:t.Unary}}};export{r as OpportunityService};
@@ -1 +1 @@
1
- var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s={};((e,r)=>{for(var o in r)t(e,o,{get:r[o],enumerable:!0})})(s,{PreviewResponse:()=>i}),module.exports=(e=s,((e,s,a,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let u of o(s))n.call(e,u)||u===a||t(e,u,{get:()=>s[u],enumerable:!(i=r(s,u))||i.enumerable});return e})(t({},"__esModule",{value:!0}),e));var a=require("@bufbuild/protobuf");class i extends a.Message{userIds=[];totalCount=0;constructor(e){super(),a.proto3.util.initPartial(e,this)}static runtime=a.proto3;static typeName="gondul.opportunity.PreviewResponse";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"user_ids",kind:"scalar",T:9,repeated:!0},{no:2,name:"total_count",kind:"scalar",T:13}]));static fromBinary(e,t){return(new i).fromBinary(e,t)}static fromJson(e,t){return(new i).fromJson(e,t)}static fromJsonString(e,t){return(new i).fromJsonString(e,t)}static equals(e,t){return a.proto3.util.equals(i,e,t)}}
1
+ var t,e=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,i={};((t,r)=>{for(var o in r)e(t,o,{get:r[o],enumerable:!0})})(i,{OpportunityPreviewResponse:()=>a,OpportunityPreviewResult:()=>u}),module.exports=(t=i,((t,i,s,a)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let u of o(i))n.call(t,u)||u===s||e(t,u,{get:()=>i[u],enumerable:!(a=r(i,u))||a.enumerable});return t})(e({},"__esModule",{value:!0}),t));var s=require("@bufbuild/protobuf");class a extends s.Message{opportunityId="";constructor(t){super(),s.proto3.util.initPartial(t,this)}static runtime=s.proto3;static typeName="gondul.opportunity.OpportunityPreviewResponse";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"opportunity_id",kind:"scalar",T:9}]));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 s.proto3.util.equals(a,t,e)}}class u extends s.Message{opportunityId="";userIds=[];totalCount=0;constructor(t){super(),s.proto3.util.initPartial(t,this)}static runtime=s.proto3;static typeName="gondul.opportunity.OpportunityPreviewResult";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"opportunity_id",kind:"scalar",T:9},{no:2,name:"user_ids",kind:"scalar",T:9,repeated:!0},{no:3,name:"total_count",kind:"scalar",T:13}]));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 s.proto3.util.equals(u,t,e)}}
@@ -1,25 +1,46 @@
1
1
  import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
2
 
3
3
  /**
4
- * @generated from message gondul.opportunity.PreviewResponse
4
+ * @generated from message gondul.opportunity.OpportunityPreviewResponse
5
5
  */
6
- declare class PreviewResponse extends Message<PreviewResponse> {
6
+ declare class OpportunityPreviewResponse extends Message<OpportunityPreviewResponse> {
7
7
  /**
8
- * @generated from field: repeated string user_ids = 1;
8
+ * @generated from field: string opportunity_id = 1;
9
+ */
10
+ opportunityId: string;
11
+ constructor(data?: PartialMessage<OpportunityPreviewResponse>);
12
+ static readonly runtime: typeof proto3;
13
+ static readonly typeName = "gondul.opportunity.OpportunityPreviewResponse";
14
+ static readonly fields: FieldList;
15
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityPreviewResponse;
16
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityPreviewResponse;
17
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityPreviewResponse;
18
+ static equals(a: OpportunityPreviewResponse | PlainMessage<OpportunityPreviewResponse> | undefined, b: OpportunityPreviewResponse | PlainMessage<OpportunityPreviewResponse> | undefined): boolean;
19
+ }
20
+ /**
21
+ * @generated from message gondul.opportunity.OpportunityPreviewResult
22
+ */
23
+ declare class OpportunityPreviewResult extends Message<OpportunityPreviewResult> {
24
+ /**
25
+ * @generated from field: string opportunity_id = 1;
26
+ */
27
+ opportunityId: string;
28
+ /**
29
+ * @generated from field: repeated string user_ids = 2;
9
30
  */
10
31
  userIds: string[];
11
32
  /**
12
- * @generated from field: uint32 total_count = 2;
33
+ * @generated from field: uint32 total_count = 3;
13
34
  */
14
35
  totalCount: number;
15
- constructor(data?: PartialMessage<PreviewResponse>);
36
+ constructor(data?: PartialMessage<OpportunityPreviewResult>);
16
37
  static readonly runtime: typeof proto3;
17
- static readonly typeName = "gondul.opportunity.PreviewResponse";
38
+ static readonly typeName = "gondul.opportunity.OpportunityPreviewResult";
18
39
  static readonly fields: FieldList;
19
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PreviewResponse;
20
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PreviewResponse;
21
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PreviewResponse;
22
- static equals(a: PreviewResponse | PlainMessage<PreviewResponse> | undefined, b: PreviewResponse | PlainMessage<PreviewResponse> | undefined): boolean;
40
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityPreviewResult;
41
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityPreviewResult;
42
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityPreviewResult;
43
+ static equals(a: OpportunityPreviewResult | PlainMessage<OpportunityPreviewResult> | undefined, b: OpportunityPreviewResult | PlainMessage<OpportunityPreviewResult> | undefined): boolean;
23
44
  }
24
45
 
25
- export { PreviewResponse };
46
+ export { OpportunityPreviewResponse, OpportunityPreviewResult };
@@ -1,25 +1,46 @@
1
1
  import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
2
 
3
3
  /**
4
- * @generated from message gondul.opportunity.PreviewResponse
4
+ * @generated from message gondul.opportunity.OpportunityPreviewResponse
5
5
  */
6
- declare class PreviewResponse extends Message<PreviewResponse> {
6
+ declare class OpportunityPreviewResponse extends Message<OpportunityPreviewResponse> {
7
7
  /**
8
- * @generated from field: repeated string user_ids = 1;
8
+ * @generated from field: string opportunity_id = 1;
9
+ */
10
+ opportunityId: string;
11
+ constructor(data?: PartialMessage<OpportunityPreviewResponse>);
12
+ static readonly runtime: typeof proto3;
13
+ static readonly typeName = "gondul.opportunity.OpportunityPreviewResponse";
14
+ static readonly fields: FieldList;
15
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityPreviewResponse;
16
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityPreviewResponse;
17
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityPreviewResponse;
18
+ static equals(a: OpportunityPreviewResponse | PlainMessage<OpportunityPreviewResponse> | undefined, b: OpportunityPreviewResponse | PlainMessage<OpportunityPreviewResponse> | undefined): boolean;
19
+ }
20
+ /**
21
+ * @generated from message gondul.opportunity.OpportunityPreviewResult
22
+ */
23
+ declare class OpportunityPreviewResult extends Message<OpportunityPreviewResult> {
24
+ /**
25
+ * @generated from field: string opportunity_id = 1;
26
+ */
27
+ opportunityId: string;
28
+ /**
29
+ * @generated from field: repeated string user_ids = 2;
9
30
  */
10
31
  userIds: string[];
11
32
  /**
12
- * @generated from field: uint32 total_count = 2;
33
+ * @generated from field: uint32 total_count = 3;
13
34
  */
14
35
  totalCount: number;
15
- constructor(data?: PartialMessage<PreviewResponse>);
36
+ constructor(data?: PartialMessage<OpportunityPreviewResult>);
16
37
  static readonly runtime: typeof proto3;
17
- static readonly typeName = "gondul.opportunity.PreviewResponse";
38
+ static readonly typeName = "gondul.opportunity.OpportunityPreviewResult";
18
39
  static readonly fields: FieldList;
19
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PreviewResponse;
20
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PreviewResponse;
21
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PreviewResponse;
22
- static equals(a: PreviewResponse | PlainMessage<PreviewResponse> | undefined, b: PreviewResponse | PlainMessage<PreviewResponse> | undefined): boolean;
40
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpportunityPreviewResult;
41
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpportunityPreviewResult;
42
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpportunityPreviewResult;
43
+ static equals(a: OpportunityPreviewResult | PlainMessage<OpportunityPreviewResult> | undefined, b: OpportunityPreviewResult | PlainMessage<OpportunityPreviewResult> | undefined): boolean;
23
44
  }
24
45
 
25
- export { PreviewResponse };
46
+ export { OpportunityPreviewResponse, OpportunityPreviewResult };
@@ -1 +1 @@
1
- import{Message as t,proto3 as r}from"@bufbuild/protobuf";class n extends t{userIds=[];totalCount=0;constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="gondul.opportunity.PreviewResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"user_ids",kind:"scalar",T:9,repeated:!0},{no:2,name:"total_count",kind:"scalar",T:13}]));static fromBinary(t,r){return(new n).fromBinary(t,r)}static fromJson(t,r){return(new n).fromJson(t,r)}static fromJsonString(t,r){return(new n).fromJsonString(t,r)}static equals(t,e){return r.util.equals(n,t,e)}}export{n as PreviewResponse};
1
+ import{Message as t,proto3 as r}from"@bufbuild/protobuf";class n extends t{opportunityId="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="gondul.opportunity.OpportunityPreviewResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"opportunity_id",kind:"scalar",T:9}]));static fromBinary(t,r){return(new n).fromBinary(t,r)}static fromJson(t,r){return(new n).fromJson(t,r)}static fromJsonString(t,r){return(new n).fromJsonString(t,r)}static equals(t,i){return r.util.equals(n,t,i)}}class i extends t{opportunityId="";userIds=[];totalCount=0;constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="gondul.opportunity.OpportunityPreviewResult";static fields=r.util.newFieldList((()=>[{no:1,name:"opportunity_id",kind:"scalar",T:9},{no:2,name:"user_ids",kind:"scalar",T:9,repeated:!0},{no:3,name:"total_count",kind:"scalar",T:13}]));static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,n){return r.util.equals(i,t,n)}}export{n as OpportunityPreviewResponse,i as OpportunityPreviewResult};
package/dist/index.d.cts CHANGED
@@ -29,7 +29,7 @@ export { EntryMetadata, ServerSideEvent } from './feed/server_side_event/server_
29
29
  export { ApplicationService } from './gondul/application-services_connect.cjs';
30
30
  export { ApplicationScored, MatchedCandidate, WarmIntro } from './gondul/candidates_pb.cjs';
31
31
  export { OpportunityService } from './gondul/opportunity-service_connect.cjs';
32
- export { PreviewResponse } from './gondul/opportunity-service_pb.cjs';
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';
34
34
  export { Credits } from './njord/transactions_connect.cjs';
35
35
  export { BalanceChange, Currency, EntityType, FeeResult, GetBalanceRequest, GetBalanceResponse, Transfer, TransferFee, TransferParticipant, TransferRequest, TransferResponse, TransferResult, TransferStatus, TransferType, UserAccount } from './njord/transactions_pb.cjs';
package/dist/index.d.ts CHANGED
@@ -29,7 +29,7 @@ export { EntryMetadata, ServerSideEvent } from './feed/server_side_event/server_
29
29
  export { ApplicationService } from './gondul/application-services_connect.js';
30
30
  export { ApplicationScored, MatchedCandidate, WarmIntro } from './gondul/candidates_pb.js';
31
31
  export { OpportunityService } from './gondul/opportunity-service_connect.js';
32
- export { PreviewResponse } from './gondul/opportunity-service_pb.js';
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';
34
34
  export { Credits } from './njord/transactions_connect.js';
35
35
  export { BalanceChange, Currency, EntityType, FeeResult, GetBalanceRequest, GetBalanceResponse, Transfer, TransferFee, TransferParticipant, TransferRequest, TransferResponse, TransferResult, TransferStatus, TransferType, UserAccount } from './njord/transactions_pb.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dailydotdev/schema",
3
- "version": "0.2.59",
3
+ "version": "0.2.61",
4
4
  "author": "@dailydotdev",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",