@dailydotdev/schema 0.2.27 → 0.2.28
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,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(o,{MatchedCandidate:()=>s}),module.exports=(e=o,((e,o,i,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let c of n(o))a.call(e,c)||c===i||t(e,c,{get:()=>o[c],enumerable:!(s=r(o,c))||s.enumerable});return e})(t({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf");class s extends i.Message{userId="";opportunityId="";
|
|
1
|
+
var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(o,{MatchedCandidate:()=>s}),module.exports=(e=o,((e,o,i,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let c of n(o))a.call(e,c)||c===i||t(e,c,{get:()=>o[c],enumerable:!(s=r(o,c))||s.enumerable});return e})(t({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf");class s extends i.Message{userId="";opportunityId="";matchScore=0;reasoning="";batchId=0;constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="gondul.candidates.MatchedCandidate";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"opportunity_id",kind:"scalar",T:9},{no:3,name:"match_score",kind:"scalar",T:2},{no:4,name:"reasoning",kind:"scalar",T:9},{no:5,name:"batch_id",kind:"scalar",T:5}]));static fromBinary(e,t){return(new s).fromBinary(e,t)}static fromJson(e,t){return(new s).fromJson(e,t)}static fromJsonString(e,t){return(new s).fromJsonString(e,t)}static equals(e,t){return i.proto3.util.equals(s,e,t)}}
|
|
@@ -13,23 +13,17 @@ declare class MatchedCandidate extends Message<MatchedCandidate> {
|
|
|
13
13
|
*/
|
|
14
14
|
opportunityId: string;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @generated from field: float cosine_distance = 3;
|
|
19
|
-
*/
|
|
20
|
-
cosineDistance: number;
|
|
21
|
-
/**
|
|
22
|
-
* @generated from field: float match_score = 4;
|
|
16
|
+
* @generated from field: float match_score = 3;
|
|
23
17
|
*/
|
|
24
18
|
matchScore: number;
|
|
25
19
|
/**
|
|
26
|
-
* @generated from field: string reasoning =
|
|
20
|
+
* @generated from field: string reasoning = 4;
|
|
27
21
|
*/
|
|
28
22
|
reasoning: string;
|
|
29
23
|
/**
|
|
30
24
|
* just in case we need to differentiate between batches later, can be ignored for now
|
|
31
25
|
*
|
|
32
|
-
* @generated from field: int32 batch_id =
|
|
26
|
+
* @generated from field: int32 batch_id = 5;
|
|
33
27
|
*/
|
|
34
28
|
batchId: number;
|
|
35
29
|
constructor(data?: PartialMessage<MatchedCandidate>);
|
|
@@ -13,23 +13,17 @@ declare class MatchedCandidate extends Message<MatchedCandidate> {
|
|
|
13
13
|
*/
|
|
14
14
|
opportunityId: string;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @generated from field: float cosine_distance = 3;
|
|
19
|
-
*/
|
|
20
|
-
cosineDistance: number;
|
|
21
|
-
/**
|
|
22
|
-
* @generated from field: float match_score = 4;
|
|
16
|
+
* @generated from field: float match_score = 3;
|
|
23
17
|
*/
|
|
24
18
|
matchScore: number;
|
|
25
19
|
/**
|
|
26
|
-
* @generated from field: string reasoning =
|
|
20
|
+
* @generated from field: string reasoning = 4;
|
|
27
21
|
*/
|
|
28
22
|
reasoning: string;
|
|
29
23
|
/**
|
|
30
24
|
* just in case we need to differentiate between batches later, can be ignored for now
|
|
31
25
|
*
|
|
32
|
-
* @generated from field: int32 batch_id =
|
|
26
|
+
* @generated from field: int32 batch_id = 5;
|
|
33
27
|
*/
|
|
34
28
|
batchId: number;
|
|
35
29
|
constructor(data?: PartialMessage<MatchedCandidate>);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as
|
|
1
|
+
import{Message as t,proto3 as n}from"@bufbuild/protobuf";class a extends t{userId="";opportunityId="";matchScore=0;reasoning="";batchId=0;constructor(t){super(),n.util.initPartial(t,this)}static runtime=n;static typeName="gondul.candidates.MatchedCandidate";static fields=n.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"opportunity_id",kind:"scalar",T:9},{no:3,name:"match_score",kind:"scalar",T:2},{no:4,name:"reasoning",kind:"scalar",T:9},{no:5,name:"batch_id",kind:"scalar",T:5}]));static fromBinary(t,n){return(new a).fromBinary(t,n)}static fromJson(t,n){return(new a).fromJson(t,n)}static fromJsonString(t,n){return(new a).fromJsonString(t,n)}static equals(t,r){return n.util.equals(a,t,r)}}export{a as MatchedCandidate};
|