@dailydotdev/schema 0.2.23 → 0.2.24
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,o=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,i={};((t,o)=>{for(var n in o)e(t,n,{get:o[n],enumerable:!0})})(i,{Location:()=>s,LocationType:()=>c}),module.exports=(t=i,((t,i,a,s)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let c of n(i))r.call(t,c)||c===a||e(t,c,{get:()=>i[c],enumerable:!(s=o(i,c))||s.enumerable});return t})(e({},"__esModule",{value:!0}),t));var a=require("@bufbuild/protobuf");class s extends a.Message{city;country;subdivision;continent;latitude;longitude;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.util.Location";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"city",kind:"scalar",T:9,opt:!0},{no:2,name:"country",kind:"scalar",T:9,opt:!0},{no:3,name:"subdivision",kind:"scalar",T:9,opt:!0},{no:4,name:"continent",kind:"scalar",T:9,opt:!0},{no:5,name:"latitude",kind:"scalar",T:2,opt:!0},{no:6,name:"longitude",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,e){return(new s).fromBinary(t,e)}static fromJson(t,e){return(new s).fromJson(t,e)}static fromJsonString(t,e){return(new s).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(s,t,e)}}class c extends a.Message{remote;
|
|
1
|
+
var t,e=Object.defineProperty,o=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,i={};((t,o)=>{for(var n in o)e(t,n,{get:o[n],enumerable:!0})})(i,{Location:()=>s,LocationType:()=>c}),module.exports=(t=i,((t,i,a,s)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let c of n(i))r.call(t,c)||c===a||e(t,c,{get:()=>i[c],enumerable:!(s=o(i,c))||s.enumerable});return t})(e({},"__esModule",{value:!0}),t));var a=require("@bufbuild/protobuf");class s extends a.Message{city;country;subdivision;continent;latitude;longitude;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.util.Location";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"city",kind:"scalar",T:9,opt:!0},{no:2,name:"country",kind:"scalar",T:9,opt:!0},{no:3,name:"subdivision",kind:"scalar",T:9,opt:!0},{no:4,name:"continent",kind:"scalar",T:9,opt:!0},{no:5,name:"latitude",kind:"scalar",T:2,opt:!0},{no:6,name:"longitude",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,e){return(new s).fromBinary(t,e)}static fromJson(t,e){return(new s).fromJson(t,e)}static fromJsonString(t,e){return(new s).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(s,t,e)}}class c extends a.Message{remote=!1;office=!1;hybrid=!1;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="dailydotdev.api.util.LocationType";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"remote",kind:"scalar",T:8},{no:2,name:"office",kind:"scalar",T:8},{no:3,name:"hybrid",kind:"scalar",T:8}]));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 a.proto3.util.equals(c,t,e)}}
|
|
@@ -42,17 +42,17 @@ declare class Location extends Message<Location> {
|
|
|
42
42
|
*/
|
|
43
43
|
declare class LocationType extends Message<LocationType> {
|
|
44
44
|
/**
|
|
45
|
-
* @generated from field:
|
|
45
|
+
* @generated from field: bool remote = 1;
|
|
46
46
|
*/
|
|
47
|
-
remote
|
|
47
|
+
remote: boolean;
|
|
48
48
|
/**
|
|
49
|
-
* @generated from field:
|
|
49
|
+
* @generated from field: bool office = 2;
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
office: boolean;
|
|
52
52
|
/**
|
|
53
|
-
* @generated from field:
|
|
53
|
+
* @generated from field: bool hybrid = 3;
|
|
54
54
|
*/
|
|
55
|
-
hybrid
|
|
55
|
+
hybrid: boolean;
|
|
56
56
|
constructor(data?: PartialMessage<LocationType>);
|
|
57
57
|
static readonly runtime: typeof proto3;
|
|
58
58
|
static readonly typeName = "dailydotdev.api.util.LocationType";
|
|
@@ -42,17 +42,17 @@ declare class Location extends Message<Location> {
|
|
|
42
42
|
*/
|
|
43
43
|
declare class LocationType extends Message<LocationType> {
|
|
44
44
|
/**
|
|
45
|
-
* @generated from field:
|
|
45
|
+
* @generated from field: bool remote = 1;
|
|
46
46
|
*/
|
|
47
|
-
remote
|
|
47
|
+
remote: boolean;
|
|
48
48
|
/**
|
|
49
|
-
* @generated from field:
|
|
49
|
+
* @generated from field: bool office = 2;
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
office: boolean;
|
|
52
52
|
/**
|
|
53
|
-
* @generated from field:
|
|
53
|
+
* @generated from field: bool hybrid = 3;
|
|
54
54
|
*/
|
|
55
|
-
hybrid
|
|
55
|
+
hybrid: boolean;
|
|
56
56
|
constructor(data?: PartialMessage<LocationType>);
|
|
57
57
|
static readonly runtime: typeof proto3;
|
|
58
58
|
static readonly typeName = "dailydotdev.api.util.LocationType";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as t,proto3 as
|
|
1
|
+
import{Message as t,proto3 as i}from"@bufbuild/protobuf";class n extends t{city;country;subdivision;continent;latitude;longitude;constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.util.Location";static fields=i.util.newFieldList((()=>[{no:1,name:"city",kind:"scalar",T:9,opt:!0},{no:2,name:"country",kind:"scalar",T:9,opt:!0},{no:3,name:"subdivision",kind:"scalar",T:9,opt:!0},{no:4,name:"continent",kind:"scalar",T:9,opt:!0},{no:5,name:"latitude",kind:"scalar",T:2,opt:!0},{no:6,name:"longitude",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,i){return(new n).fromBinary(t,i)}static fromJson(t,i){return(new n).fromJson(t,i)}static fromJsonString(t,i){return(new n).fromJsonString(t,i)}static equals(t,a){return i.util.equals(n,t,a)}}class a extends t{remote=!1;office=!1;hybrid=!1;constructor(t){super(),i.util.initPartial(t,this)}static runtime=i;static typeName="dailydotdev.api.util.LocationType";static fields=i.util.newFieldList((()=>[{no:1,name:"remote",kind:"scalar",T:8},{no:2,name:"office",kind:"scalar",T:8},{no:3,name:"hybrid",kind:"scalar",T:8}]));static fromBinary(t,i){return(new a).fromBinary(t,i)}static fromJson(t,i){return(new a).fromJson(t,i)}static fromJsonString(t,i){return(new a).fromJsonString(t,i)}static equals(t,n){return i.util.equals(a,t,n)}}export{n as Location,a as LocationType};
|