@dailydotdev/schema 0.2.77 → 0.2.78

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,r=Object.defineProperty,t=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,u=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})})(s,{SourceRequestService:()=>n}),module.exports=(e=s,((e,s,a,c)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let n of o(s))u.call(e,n)||n===a||r(e,n,{get:()=>s[n],enumerable:!(c=t(s,n))||c.enumerable});return e})(r({},"__esModule",{value:!0}),e));var a=require("./source-requests_pb.cjs"),c=require("@bufbuild/protobuf");const n={typeName:"dailydotdev.api.sourcerequests.SourceRequestService",methods:{create:{name:"Create",I:a.CreateSourceRequest,O:a.CreateSourceRequestResponse,kind:c.MethodKind.Unary}}};
1
+ var e,r=Object.defineProperty,t=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,u=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})})(s,{SourceRequestService:()=>n}),module.exports=(e=s,((e,s,a,c)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let n of o(s))u.call(e,n)||n===a||r(e,n,{get:()=>s[n],enumerable:!(c=t(s,n))||c.enumerable});return e})(r({},"__esModule",{value:!0}),e));var a=require("./source-requests_pb.cjs"),c=require("@bufbuild/protobuf");const n={typeName:"dailydotdev.api.sourcerequests.SourceRequestService",methods:{create:{name:"Create",I:a.CreateSourceRequestInput,O:a.CreateSourceRequestResponse,kind:c.MethodKind.Unary}}};
@@ -1,4 +1,4 @@
1
- import { CreateSourceRequest, CreateSourceRequestResponse } from './source-requests_pb.cjs';
1
+ import { CreateSourceRequestInput, CreateSourceRequestResponse } from './source-requests_pb.cjs';
2
2
  import '@bufbuild/protobuf';
3
3
 
4
4
  /**
@@ -14,7 +14,7 @@ declare const SourceRequestService: {
14
14
  */
15
15
  readonly create: {
16
16
  readonly name: "Create";
17
- readonly I: typeof CreateSourceRequest;
17
+ readonly I: typeof CreateSourceRequestInput;
18
18
  readonly O: typeof CreateSourceRequestResponse;
19
19
  readonly kind: any;
20
20
  };
@@ -1,4 +1,4 @@
1
- import { CreateSourceRequest, CreateSourceRequestResponse } from './source-requests_pb.js';
1
+ import { CreateSourceRequestInput, CreateSourceRequestResponse } from './source-requests_pb.js';
2
2
  import '@bufbuild/protobuf';
3
3
 
4
4
  /**
@@ -14,7 +14,7 @@ declare const SourceRequestService: {
14
14
  */
15
15
  readonly create: {
16
16
  readonly name: "Create";
17
- readonly I: typeof CreateSourceRequest;
17
+ readonly I: typeof CreateSourceRequestInput;
18
18
  readonly O: typeof CreateSourceRequestResponse;
19
19
  readonly kind: any;
20
20
  };
@@ -1 +1 @@
1
- import{CreateSourceRequest as e,CreateSourceRequestResponse as r}from"./source-requests_pb.ts";import{MethodKind as t}from"@bufbuild/protobuf";const o={typeName:"dailydotdev.api.sourcerequests.SourceRequestService",methods:{create:{name:"Create",I:e,O:r,kind:t.Unary}}};export{o as SourceRequestService};
1
+ import{CreateSourceRequestInput as e,CreateSourceRequestResponse as r}from"./source-requests_pb.ts";import{MethodKind as t}from"@bufbuild/protobuf";const o={typeName:"dailydotdev.api.sourcerequests.SourceRequestService",methods:{create:{name:"Create",I:e,O:r,kind:t.Unary}}};export{o as SourceRequestService};
@@ -1 +1 @@
1
- var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,i={};((e,r)=>{for(var o in r)t(e,o,{get:r[o],enumerable:!0})})(i,{CreateSourceRequest:()=>a,CreateSourceRequestResponse:()=>u}),module.exports=(e=i,((e,i,n,a)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let u of o(i))s.call(e,u)||u===n||t(e,u,{get:()=>i[u],enumerable:!(a=r(i,u))||a.enumerable});return e})(t({},"__esModule",{value:!0}),e));var n=require("@bufbuild/protobuf");class a extends n.Message{url="";constructor(e){super(),n.proto3.util.initPartial(e,this)}static runtime=n.proto3;static typeName="dailydotdev.api.sourcerequests.CreateSourceRequest";static fields=n.proto3.util.newFieldList((()=>[{no:1,name:"url",kind:"scalar",T:9}]));static fromBinary(e,t){return(new a).fromBinary(e,t)}static fromJson(e,t){return(new a).fromJson(e,t)}static fromJsonString(e,t){return(new a).fromJsonString(e,t)}static equals(e,t){return n.proto3.util.equals(a,e,t)}}class u extends n.Message{id="";constructor(e){super(),n.proto3.util.initPartial(e,this)}static runtime=n.proto3;static typeName="dailydotdev.api.sourcerequests.CreateSourceRequestResponse";static fields=n.proto3.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9}]));static fromBinary(e,t){return(new u).fromBinary(e,t)}static fromJson(e,t){return(new u).fromJson(e,t)}static fromJsonString(e,t){return(new u).fromJsonString(e,t)}static equals(e,t){return n.proto3.util.equals(u,e,t)}}
1
+ var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,n={};((e,r)=>{for(var o in r)t(e,o,{get:r[o],enumerable:!0})})(n,{CreateSourceRequestInput:()=>a,CreateSourceRequestResponse:()=>u}),module.exports=(e=n,((e,n,i,a)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let u of o(n))s.call(e,u)||u===i||t(e,u,{get:()=>n[u],enumerable:!(a=r(n,u))||a.enumerable});return e})(t({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf");class a extends i.Message{url="";constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.sourcerequests.CreateSourceRequestInput";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"url",kind:"scalar",T:9}]));static fromBinary(e,t){return(new a).fromBinary(e,t)}static fromJson(e,t){return(new a).fromJson(e,t)}static fromJsonString(e,t){return(new a).fromJsonString(e,t)}static equals(e,t){return i.proto3.util.equals(a,e,t)}}class u extends i.Message{id="";constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.sourcerequests.CreateSourceRequestResponse";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9}]));static fromBinary(e,t){return(new u).fromBinary(e,t)}static fromJson(e,t){return(new u).fromJson(e,t)}static fromJsonString(e,t){return(new u).fromJsonString(e,t)}static equals(e,t){return i.proto3.util.equals(u,e,t)}}
@@ -1,21 +1,21 @@
1
1
  import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
2
 
3
3
  /**
4
- * @generated from message dailydotdev.api.sourcerequests.CreateSourceRequest
4
+ * @generated from message dailydotdev.api.sourcerequests.CreateSourceRequestInput
5
5
  */
6
- declare class CreateSourceRequest extends Message<CreateSourceRequest> {
6
+ declare class CreateSourceRequestInput extends Message<CreateSourceRequestInput> {
7
7
  /**
8
8
  * @generated from field: string url = 1;
9
9
  */
10
10
  url: string;
11
- constructor(data?: PartialMessage<CreateSourceRequest>);
11
+ constructor(data?: PartialMessage<CreateSourceRequestInput>);
12
12
  static readonly runtime: typeof proto3;
13
- static readonly typeName = "dailydotdev.api.sourcerequests.CreateSourceRequest";
13
+ static readonly typeName = "dailydotdev.api.sourcerequests.CreateSourceRequestInput";
14
14
  static readonly fields: FieldList;
15
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSourceRequest;
16
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSourceRequest;
17
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSourceRequest;
18
- static equals(a: CreateSourceRequest | PlainMessage<CreateSourceRequest> | undefined, b: CreateSourceRequest | PlainMessage<CreateSourceRequest> | undefined): boolean;
15
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSourceRequestInput;
16
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSourceRequestInput;
17
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSourceRequestInput;
18
+ static equals(a: CreateSourceRequestInput | PlainMessage<CreateSourceRequestInput> | undefined, b: CreateSourceRequestInput | PlainMessage<CreateSourceRequestInput> | undefined): boolean;
19
19
  }
20
20
  /**
21
21
  * @generated from message dailydotdev.api.sourcerequests.CreateSourceRequestResponse
@@ -35,4 +35,4 @@ declare class CreateSourceRequestResponse extends Message<CreateSourceRequestRes
35
35
  static equals(a: CreateSourceRequestResponse | PlainMessage<CreateSourceRequestResponse> | undefined, b: CreateSourceRequestResponse | PlainMessage<CreateSourceRequestResponse> | undefined): boolean;
36
36
  }
37
37
 
38
- export { CreateSourceRequest, CreateSourceRequestResponse };
38
+ export { CreateSourceRequestInput, CreateSourceRequestResponse };
@@ -1,21 +1,21 @@
1
1
  import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
2
 
3
3
  /**
4
- * @generated from message dailydotdev.api.sourcerequests.CreateSourceRequest
4
+ * @generated from message dailydotdev.api.sourcerequests.CreateSourceRequestInput
5
5
  */
6
- declare class CreateSourceRequest extends Message<CreateSourceRequest> {
6
+ declare class CreateSourceRequestInput extends Message<CreateSourceRequestInput> {
7
7
  /**
8
8
  * @generated from field: string url = 1;
9
9
  */
10
10
  url: string;
11
- constructor(data?: PartialMessage<CreateSourceRequest>);
11
+ constructor(data?: PartialMessage<CreateSourceRequestInput>);
12
12
  static readonly runtime: typeof proto3;
13
- static readonly typeName = "dailydotdev.api.sourcerequests.CreateSourceRequest";
13
+ static readonly typeName = "dailydotdev.api.sourcerequests.CreateSourceRequestInput";
14
14
  static readonly fields: FieldList;
15
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSourceRequest;
16
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSourceRequest;
17
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSourceRequest;
18
- static equals(a: CreateSourceRequest | PlainMessage<CreateSourceRequest> | undefined, b: CreateSourceRequest | PlainMessage<CreateSourceRequest> | undefined): boolean;
15
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSourceRequestInput;
16
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSourceRequestInput;
17
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSourceRequestInput;
18
+ static equals(a: CreateSourceRequestInput | PlainMessage<CreateSourceRequestInput> | undefined, b: CreateSourceRequestInput | PlainMessage<CreateSourceRequestInput> | undefined): boolean;
19
19
  }
20
20
  /**
21
21
  * @generated from message dailydotdev.api.sourcerequests.CreateSourceRequestResponse
@@ -35,4 +35,4 @@ declare class CreateSourceRequestResponse extends Message<CreateSourceRequestRes
35
35
  static equals(a: CreateSourceRequestResponse | PlainMessage<CreateSourceRequestResponse> | undefined, b: CreateSourceRequestResponse | PlainMessage<CreateSourceRequestResponse> | undefined): boolean;
36
36
  }
37
37
 
38
- export { CreateSourceRequest, CreateSourceRequestResponse };
38
+ export { CreateSourceRequestInput, CreateSourceRequestResponse };
@@ -1 +1 @@
1
- import{Message as t,proto3 as r}from"@bufbuild/protobuf";class e extends t{url="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="dailydotdev.api.sourcerequests.CreateSourceRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"url",kind:"scalar",T:9}]));static fromBinary(t,r){return(new e).fromBinary(t,r)}static fromJson(t,r){return(new e).fromJson(t,r)}static fromJsonString(t,r){return(new e).fromJsonString(t,r)}static equals(t,i){return r.util.equals(e,t,i)}}class i extends t{id="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="dailydotdev.api.sourcerequests.CreateSourceRequestResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9}]));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,e){return r.util.equals(i,t,e)}}export{e as CreateSourceRequest,i as CreateSourceRequestResponse};
1
+ import{Message as t,proto3 as r}from"@bufbuild/protobuf";class e extends t{url="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="dailydotdev.api.sourcerequests.CreateSourceRequestInput";static fields=r.util.newFieldList((()=>[{no:1,name:"url",kind:"scalar",T:9}]));static fromBinary(t,r){return(new e).fromBinary(t,r)}static fromJson(t,r){return(new e).fromJson(t,r)}static fromJsonString(t,r){return(new e).fromJsonString(t,r)}static equals(t,i){return r.util.equals(e,t,i)}}class i extends t{id="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="dailydotdev.api.sourcerequests.CreateSourceRequestResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9}]));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,e){return r.util.equals(i,t,e)}}export{e as CreateSourceRequestInput,i as CreateSourceRequestResponse};
@@ -0,0 +1 @@
1
+ var e,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,t=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,u={};((e,o)=>{for(var t in o)r(e,t,{get:o[t],enumerable:!0})})(u,{SourceService:()=>n}),module.exports=(e=u,((e,u,d,a)=>{if(u&&"object"==typeof u||"function"==typeof u)for(let n of t(u))c.call(e,n)||n===d||r(e,n,{get:()=>u[n],enumerable:!(a=o(u,n))||a.enumerable});return e})(r({},"__esModule",{value:!0}),e));var d=require("./sources_pb.cjs"),a=require("@bufbuild/protobuf");const n={typeName:"dailydotdev.api.sources.SourceService",methods:{scrapeSource:{name:"ScrapeSource",I:d.ScrapeSourceRequest,O:d.ScrapeSourceResponse,kind:a.MethodKind.Unary},createSource:{name:"CreateSource",I:d.CreateSourceRequest,O:d.CreateSourceResponse,kind:a.MethodKind.Unary},addSourceFeed:{name:"AddSourceFeed",I:d.AddSourceFeedRequest,O:d.AddSourceFeedResponse,kind:a.MethodKind.Unary}}};
@@ -0,0 +1,46 @@
1
+ import { ScrapeSourceRequest, ScrapeSourceResponse, CreateSourceRequest, CreateSourceResponse, AddSourceFeedRequest, AddSourceFeedResponse } from './sources_pb.cjs';
2
+ import '@bufbuild/protobuf';
3
+
4
+ /**
5
+ * @generated from service dailydotdev.api.sources.SourceService
6
+ */
7
+ declare const SourceService: {
8
+ readonly typeName: "dailydotdev.api.sources.SourceService";
9
+ readonly methods: {
10
+ /**
11
+ * Scrape source metadata from a website URL
12
+ *
13
+ * @generated from rpc dailydotdev.api.sources.SourceService.ScrapeSource
14
+ */
15
+ readonly scrapeSource: {
16
+ readonly name: "ScrapeSource";
17
+ readonly I: typeof ScrapeSourceRequest;
18
+ readonly O: typeof ScrapeSourceResponse;
19
+ readonly kind: any;
20
+ };
21
+ /**
22
+ * Create a new machine source
23
+ *
24
+ * @generated from rpc dailydotdev.api.sources.SourceService.CreateSource
25
+ */
26
+ readonly createSource: {
27
+ readonly name: "CreateSource";
28
+ readonly I: typeof CreateSourceRequest;
29
+ readonly O: typeof CreateSourceResponse;
30
+ readonly kind: any;
31
+ };
32
+ /**
33
+ * Attach a feed URL to an existing source
34
+ *
35
+ * @generated from rpc dailydotdev.api.sources.SourceService.AddSourceFeed
36
+ */
37
+ readonly addSourceFeed: {
38
+ readonly name: "AddSourceFeed";
39
+ readonly I: typeof AddSourceFeedRequest;
40
+ readonly O: typeof AddSourceFeedResponse;
41
+ readonly kind: any;
42
+ };
43
+ };
44
+ };
45
+
46
+ export { SourceService };
@@ -0,0 +1,46 @@
1
+ import { ScrapeSourceRequest, ScrapeSourceResponse, CreateSourceRequest, CreateSourceResponse, AddSourceFeedRequest, AddSourceFeedResponse } from './sources_pb.js';
2
+ import '@bufbuild/protobuf';
3
+
4
+ /**
5
+ * @generated from service dailydotdev.api.sources.SourceService
6
+ */
7
+ declare const SourceService: {
8
+ readonly typeName: "dailydotdev.api.sources.SourceService";
9
+ readonly methods: {
10
+ /**
11
+ * Scrape source metadata from a website URL
12
+ *
13
+ * @generated from rpc dailydotdev.api.sources.SourceService.ScrapeSource
14
+ */
15
+ readonly scrapeSource: {
16
+ readonly name: "ScrapeSource";
17
+ readonly I: typeof ScrapeSourceRequest;
18
+ readonly O: typeof ScrapeSourceResponse;
19
+ readonly kind: any;
20
+ };
21
+ /**
22
+ * Create a new machine source
23
+ *
24
+ * @generated from rpc dailydotdev.api.sources.SourceService.CreateSource
25
+ */
26
+ readonly createSource: {
27
+ readonly name: "CreateSource";
28
+ readonly I: typeof CreateSourceRequest;
29
+ readonly O: typeof CreateSourceResponse;
30
+ readonly kind: any;
31
+ };
32
+ /**
33
+ * Attach a feed URL to an existing source
34
+ *
35
+ * @generated from rpc dailydotdev.api.sources.SourceService.AddSourceFeed
36
+ */
37
+ readonly addSourceFeed: {
38
+ readonly name: "AddSourceFeed";
39
+ readonly I: typeof AddSourceFeedRequest;
40
+ readonly O: typeof AddSourceFeedResponse;
41
+ readonly kind: any;
42
+ };
43
+ };
44
+ };
45
+
46
+ export { SourceService };
@@ -0,0 +1 @@
1
+ import{AddSourceFeedRequest as e,AddSourceFeedResponse as r,CreateSourceRequest as o,CreateSourceResponse as a,ScrapeSourceRequest as c,ScrapeSourceResponse as d}from"./sources_pb.ts";import{MethodKind as u}from"@bufbuild/protobuf";const t={typeName:"dailydotdev.api.sources.SourceService",methods:{scrapeSource:{name:"ScrapeSource",I:c,O:d,kind:u.Unary},createSource:{name:"CreateSource",I:o,O:a,kind:u.Unary},addSourceFeed:{name:"AddSourceFeed",I:e,O:r,kind:u.Unary}}};export{t as SourceService};
@@ -1 +1 @@
1
- var e,t=Object.defineProperty,a=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,o={};((e,a)=>{for(var r in a)t(e,r,{get:a[r],enumerable:!0})})(o,{Source:()=>s}),module.exports=(e=o,((e,o,i,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let c of r(o))n.call(e,c)||c===i||t(e,c,{get:()=>o[c],enumerable:!(s=a(o,c))||s.enumerable});return e})(t({},"__esModule",{value:!0}),e));var i=require("@bufbuild/protobuf");class s extends i.Message{id="";type="";createdAt=0;active=!1;name="";image="";private=!1;headerImage;color;handle="";twitter;website;description;constructor(e){super(),i.proto3.util.initPartial(e,this)}static runtime=i.proto3;static typeName="dailydotdev.api.sources.Source";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"created_at",kind:"scalar",T:5},{no:4,name:"active",kind:"scalar",T:8},{no:5,name:"name",kind:"scalar",T:9},{no:6,name:"image",kind:"scalar",T:9},{no:7,name:"private",kind:"scalar",T:8},{no:8,name:"header_image",kind:"scalar",T:9,opt:!0},{no:9,name:"color",kind:"scalar",T:9,opt:!0},{no:10,name:"handle",kind:"scalar",T:9},{no:11,name:"twitter",kind:"scalar",T:9,opt:!0},{no:12,name:"website",kind:"scalar",T:9,opt:!0},{no:13,name:"description",kind:"scalar",T:9,opt:!0}]));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)}}
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,{AddSourceFeedRequest:()=>p,AddSourceFeedResponse:()=>f,CreateSourceRequest:()=>d,CreateSourceResponse:()=>m,ScrapeSourceFeed:()=>u,ScrapeSourceRequest:()=>c,ScrapeSourceResponse:()=>l,Source:()=>i}),module.exports=(e=o,((e,o,s,i)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let c of n(o))a.call(e,c)||c===s||t(e,c,{get:()=>o[c],enumerable:!(i=r(o,c))||i.enumerable});return e})(t({},"__esModule",{value:!0}),e));var s=require("@bufbuild/protobuf");class i extends s.Message{id="";type="";createdAt=0;active=!1;name="";image="";private=!1;headerImage;color;handle="";twitter;website;description;constructor(e){super(),s.proto3.util.initPartial(e,this)}static runtime=s.proto3;static typeName="dailydotdev.api.sources.Source";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"created_at",kind:"scalar",T:5},{no:4,name:"active",kind:"scalar",T:8},{no:5,name:"name",kind:"scalar",T:9},{no:6,name:"image",kind:"scalar",T:9},{no:7,name:"private",kind:"scalar",T:8},{no:8,name:"header_image",kind:"scalar",T:9,opt:!0},{no:9,name:"color",kind:"scalar",T:9,opt:!0},{no:10,name:"handle",kind:"scalar",T:9},{no:11,name:"twitter",kind:"scalar",T:9,opt:!0},{no:12,name:"website",kind:"scalar",T:9,opt:!0},{no:13,name:"description",kind:"scalar",T:9,opt:!0}]));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 s.proto3.util.equals(i,e,t)}}class c extends s.Message{url="";constructor(e){super(),s.proto3.util.initPartial(e,this)}static runtime=s.proto3;static typeName="dailydotdev.api.sources.ScrapeSourceRequest";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"url",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 s.proto3.util.equals(c,e,t)}}class u extends s.Message{url="";title;constructor(e){super(),s.proto3.util.initPartial(e,this)}static runtime=s.proto3;static typeName="dailydotdev.api.sources.ScrapeSourceFeed";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9,opt:!0}]));static fromBinary(e,t){return(new u).fromBinary(e,t)}static fromJson(e,t){return(new u).fromJson(e,t)}static fromJsonString(e,t){return(new u).fromJsonString(e,t)}static equals(e,t){return s.proto3.util.equals(u,e,t)}}class l extends s.Message{type="";name;logo;website;feeds=[];constructor(e){super(),s.proto3.util.initPartial(e,this)}static runtime=s.proto3;static typeName="dailydotdev.api.sources.ScrapeSourceResponse";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"type",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9,opt:!0},{no:3,name:"logo",kind:"scalar",T:9,opt:!0},{no:4,name:"website",kind:"scalar",T:9,opt:!0},{no:5,name:"feeds",kind:"message",T:u,repeated:!0}]));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 s.proto3.util.equals(l,e,t)}}class d extends s.Message{id="";name="";image;twitter;website;constructor(e){super(),s.proto3.util.initPartial(e,this)}static runtime=s.proto3;static typeName="dailydotdev.api.sources.CreateSourceRequest";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"image",kind:"scalar",T:9,opt:!0},{no:4,name:"twitter",kind:"scalar",T:9,opt:!0},{no:5,name:"website",kind:"scalar",T:9,opt:!0}]));static fromBinary(e,t){return(new d).fromBinary(e,t)}static fromJson(e,t){return(new d).fromJson(e,t)}static fromJsonString(e,t){return(new d).fromJsonString(e,t)}static equals(e,t){return s.proto3.util.equals(d,e,t)}}class m extends s.Message{source;constructor(e){super(),s.proto3.util.initPartial(e,this)}static runtime=s.proto3;static typeName="dailydotdev.api.sources.CreateSourceResponse";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"source",kind:"message",T:i}]));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 s.proto3.util.equals(m,e,t)}}class p extends s.Message{sourceId="";feed="";constructor(e){super(),s.proto3.util.initPartial(e,this)}static runtime=s.proto3;static typeName="dailydotdev.api.sources.AddSourceFeedRequest";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"source_id",kind:"scalar",T:9},{no:2,name:"feed",kind:"scalar",T:9}]));static fromBinary(e,t){return(new p).fromBinary(e,t)}static fromJson(e,t){return(new p).fromJson(e,t)}static fromJsonString(e,t){return(new p).fromJsonString(e,t)}static equals(e,t){return s.proto3.util.equals(p,e,t)}}class f extends s.Message{sourceId="";feed="";constructor(e){super(),s.proto3.util.initPartial(e,this)}static runtime=s.proto3;static typeName="dailydotdev.api.sources.AddSourceFeedResponse";static fields=s.proto3.util.newFieldList((()=>[{no:1,name:"source_id",kind:"scalar",T:9},{no:2,name:"feed",kind:"scalar",T:9}]));static fromBinary(e,t){return(new f).fromBinary(e,t)}static fromJson(e,t){return(new f).fromJson(e,t)}static fromJsonString(e,t){return(new f).fromJsonString(e,t)}static equals(e,t){return s.proto3.util.equals(f,e,t)}}
@@ -65,5 +65,168 @@ declare class Source extends Message<Source> {
65
65
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Source;
66
66
  static equals(a: Source | PlainMessage<Source> | undefined, b: Source | PlainMessage<Source> | undefined): boolean;
67
67
  }
68
+ /**
69
+ * @generated from message dailydotdev.api.sources.ScrapeSourceRequest
70
+ */
71
+ declare class ScrapeSourceRequest extends Message<ScrapeSourceRequest> {
72
+ /**
73
+ * @generated from field: string url = 1;
74
+ */
75
+ url: string;
76
+ constructor(data?: PartialMessage<ScrapeSourceRequest>);
77
+ static readonly runtime: typeof proto3;
78
+ static readonly typeName = "dailydotdev.api.sources.ScrapeSourceRequest";
79
+ static readonly fields: FieldList;
80
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScrapeSourceRequest;
81
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScrapeSourceRequest;
82
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScrapeSourceRequest;
83
+ static equals(a: ScrapeSourceRequest | PlainMessage<ScrapeSourceRequest> | undefined, b: ScrapeSourceRequest | PlainMessage<ScrapeSourceRequest> | undefined): boolean;
84
+ }
85
+ /**
86
+ * @generated from message dailydotdev.api.sources.ScrapeSourceFeed
87
+ */
88
+ declare class ScrapeSourceFeed extends Message<ScrapeSourceFeed> {
89
+ /**
90
+ * @generated from field: string url = 1;
91
+ */
92
+ url: string;
93
+ /**
94
+ * @generated from field: optional string title = 2;
95
+ */
96
+ title?: string;
97
+ constructor(data?: PartialMessage<ScrapeSourceFeed>);
98
+ static readonly runtime: typeof proto3;
99
+ static readonly typeName = "dailydotdev.api.sources.ScrapeSourceFeed";
100
+ static readonly fields: FieldList;
101
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScrapeSourceFeed;
102
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScrapeSourceFeed;
103
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScrapeSourceFeed;
104
+ static equals(a: ScrapeSourceFeed | PlainMessage<ScrapeSourceFeed> | undefined, b: ScrapeSourceFeed | PlainMessage<ScrapeSourceFeed> | undefined): boolean;
105
+ }
106
+ /**
107
+ * @generated from message dailydotdev.api.sources.ScrapeSourceResponse
108
+ */
109
+ declare class ScrapeSourceResponse extends Message<ScrapeSourceResponse> {
110
+ /**
111
+ * @generated from field: string type = 1;
112
+ */
113
+ type: string;
114
+ /**
115
+ * @generated from field: optional string name = 2;
116
+ */
117
+ name?: string;
118
+ /**
119
+ * @generated from field: optional string logo = 3;
120
+ */
121
+ logo?: string;
122
+ /**
123
+ * @generated from field: optional string website = 4;
124
+ */
125
+ website?: string;
126
+ /**
127
+ * @generated from field: repeated dailydotdev.api.sources.ScrapeSourceFeed feeds = 5;
128
+ */
129
+ feeds: ScrapeSourceFeed[];
130
+ constructor(data?: PartialMessage<ScrapeSourceResponse>);
131
+ static readonly runtime: typeof proto3;
132
+ static readonly typeName = "dailydotdev.api.sources.ScrapeSourceResponse";
133
+ static readonly fields: FieldList;
134
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScrapeSourceResponse;
135
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScrapeSourceResponse;
136
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScrapeSourceResponse;
137
+ static equals(a: ScrapeSourceResponse | PlainMessage<ScrapeSourceResponse> | undefined, b: ScrapeSourceResponse | PlainMessage<ScrapeSourceResponse> | undefined): boolean;
138
+ }
139
+ /**
140
+ * @generated from message dailydotdev.api.sources.CreateSourceRequest
141
+ */
142
+ declare class CreateSourceRequest extends Message<CreateSourceRequest> {
143
+ /**
144
+ * @generated from field: string id = 1;
145
+ */
146
+ id: string;
147
+ /**
148
+ * @generated from field: string name = 2;
149
+ */
150
+ name: string;
151
+ /**
152
+ * @generated from field: optional string image = 3;
153
+ */
154
+ image?: string;
155
+ /**
156
+ * @generated from field: optional string twitter = 4;
157
+ */
158
+ twitter?: string;
159
+ /**
160
+ * @generated from field: optional string website = 5;
161
+ */
162
+ website?: string;
163
+ constructor(data?: PartialMessage<CreateSourceRequest>);
164
+ static readonly runtime: typeof proto3;
165
+ static readonly typeName = "dailydotdev.api.sources.CreateSourceRequest";
166
+ static readonly fields: FieldList;
167
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSourceRequest;
168
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSourceRequest;
169
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSourceRequest;
170
+ static equals(a: CreateSourceRequest | PlainMessage<CreateSourceRequest> | undefined, b: CreateSourceRequest | PlainMessage<CreateSourceRequest> | undefined): boolean;
171
+ }
172
+ /**
173
+ * @generated from message dailydotdev.api.sources.CreateSourceResponse
174
+ */
175
+ declare class CreateSourceResponse extends Message<CreateSourceResponse> {
176
+ /**
177
+ * @generated from field: dailydotdev.api.sources.Source source = 1;
178
+ */
179
+ source?: Source;
180
+ constructor(data?: PartialMessage<CreateSourceResponse>);
181
+ static readonly runtime: typeof proto3;
182
+ static readonly typeName = "dailydotdev.api.sources.CreateSourceResponse";
183
+ static readonly fields: FieldList;
184
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSourceResponse;
185
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSourceResponse;
186
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSourceResponse;
187
+ static equals(a: CreateSourceResponse | PlainMessage<CreateSourceResponse> | undefined, b: CreateSourceResponse | PlainMessage<CreateSourceResponse> | undefined): boolean;
188
+ }
189
+ /**
190
+ * @generated from message dailydotdev.api.sources.AddSourceFeedRequest
191
+ */
192
+ declare class AddSourceFeedRequest extends Message<AddSourceFeedRequest> {
193
+ /**
194
+ * @generated from field: string source_id = 1;
195
+ */
196
+ sourceId: string;
197
+ /**
198
+ * @generated from field: string feed = 2;
199
+ */
200
+ feed: string;
201
+ constructor(data?: PartialMessage<AddSourceFeedRequest>);
202
+ static readonly runtime: typeof proto3;
203
+ static readonly typeName = "dailydotdev.api.sources.AddSourceFeedRequest";
204
+ static readonly fields: FieldList;
205
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddSourceFeedRequest;
206
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddSourceFeedRequest;
207
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddSourceFeedRequest;
208
+ static equals(a: AddSourceFeedRequest | PlainMessage<AddSourceFeedRequest> | undefined, b: AddSourceFeedRequest | PlainMessage<AddSourceFeedRequest> | undefined): boolean;
209
+ }
210
+ /**
211
+ * @generated from message dailydotdev.api.sources.AddSourceFeedResponse
212
+ */
213
+ declare class AddSourceFeedResponse extends Message<AddSourceFeedResponse> {
214
+ /**
215
+ * @generated from field: string source_id = 1;
216
+ */
217
+ sourceId: string;
218
+ /**
219
+ * @generated from field: string feed = 2;
220
+ */
221
+ feed: string;
222
+ constructor(data?: PartialMessage<AddSourceFeedResponse>);
223
+ static readonly runtime: typeof proto3;
224
+ static readonly typeName = "dailydotdev.api.sources.AddSourceFeedResponse";
225
+ static readonly fields: FieldList;
226
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddSourceFeedResponse;
227
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddSourceFeedResponse;
228
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddSourceFeedResponse;
229
+ static equals(a: AddSourceFeedResponse | PlainMessage<AddSourceFeedResponse> | undefined, b: AddSourceFeedResponse | PlainMessage<AddSourceFeedResponse> | undefined): boolean;
230
+ }
68
231
 
69
- export { Source };
232
+ export { AddSourceFeedRequest, AddSourceFeedResponse, CreateSourceRequest, CreateSourceResponse, ScrapeSourceFeed, ScrapeSourceRequest, ScrapeSourceResponse, Source };
@@ -65,5 +65,168 @@ declare class Source extends Message<Source> {
65
65
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Source;
66
66
  static equals(a: Source | PlainMessage<Source> | undefined, b: Source | PlainMessage<Source> | undefined): boolean;
67
67
  }
68
+ /**
69
+ * @generated from message dailydotdev.api.sources.ScrapeSourceRequest
70
+ */
71
+ declare class ScrapeSourceRequest extends Message<ScrapeSourceRequest> {
72
+ /**
73
+ * @generated from field: string url = 1;
74
+ */
75
+ url: string;
76
+ constructor(data?: PartialMessage<ScrapeSourceRequest>);
77
+ static readonly runtime: typeof proto3;
78
+ static readonly typeName = "dailydotdev.api.sources.ScrapeSourceRequest";
79
+ static readonly fields: FieldList;
80
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScrapeSourceRequest;
81
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScrapeSourceRequest;
82
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScrapeSourceRequest;
83
+ static equals(a: ScrapeSourceRequest | PlainMessage<ScrapeSourceRequest> | undefined, b: ScrapeSourceRequest | PlainMessage<ScrapeSourceRequest> | undefined): boolean;
84
+ }
85
+ /**
86
+ * @generated from message dailydotdev.api.sources.ScrapeSourceFeed
87
+ */
88
+ declare class ScrapeSourceFeed extends Message<ScrapeSourceFeed> {
89
+ /**
90
+ * @generated from field: string url = 1;
91
+ */
92
+ url: string;
93
+ /**
94
+ * @generated from field: optional string title = 2;
95
+ */
96
+ title?: string;
97
+ constructor(data?: PartialMessage<ScrapeSourceFeed>);
98
+ static readonly runtime: typeof proto3;
99
+ static readonly typeName = "dailydotdev.api.sources.ScrapeSourceFeed";
100
+ static readonly fields: FieldList;
101
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScrapeSourceFeed;
102
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScrapeSourceFeed;
103
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScrapeSourceFeed;
104
+ static equals(a: ScrapeSourceFeed | PlainMessage<ScrapeSourceFeed> | undefined, b: ScrapeSourceFeed | PlainMessage<ScrapeSourceFeed> | undefined): boolean;
105
+ }
106
+ /**
107
+ * @generated from message dailydotdev.api.sources.ScrapeSourceResponse
108
+ */
109
+ declare class ScrapeSourceResponse extends Message<ScrapeSourceResponse> {
110
+ /**
111
+ * @generated from field: string type = 1;
112
+ */
113
+ type: string;
114
+ /**
115
+ * @generated from field: optional string name = 2;
116
+ */
117
+ name?: string;
118
+ /**
119
+ * @generated from field: optional string logo = 3;
120
+ */
121
+ logo?: string;
122
+ /**
123
+ * @generated from field: optional string website = 4;
124
+ */
125
+ website?: string;
126
+ /**
127
+ * @generated from field: repeated dailydotdev.api.sources.ScrapeSourceFeed feeds = 5;
128
+ */
129
+ feeds: ScrapeSourceFeed[];
130
+ constructor(data?: PartialMessage<ScrapeSourceResponse>);
131
+ static readonly runtime: typeof proto3;
132
+ static readonly typeName = "dailydotdev.api.sources.ScrapeSourceResponse";
133
+ static readonly fields: FieldList;
134
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScrapeSourceResponse;
135
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScrapeSourceResponse;
136
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScrapeSourceResponse;
137
+ static equals(a: ScrapeSourceResponse | PlainMessage<ScrapeSourceResponse> | undefined, b: ScrapeSourceResponse | PlainMessage<ScrapeSourceResponse> | undefined): boolean;
138
+ }
139
+ /**
140
+ * @generated from message dailydotdev.api.sources.CreateSourceRequest
141
+ */
142
+ declare class CreateSourceRequest extends Message<CreateSourceRequest> {
143
+ /**
144
+ * @generated from field: string id = 1;
145
+ */
146
+ id: string;
147
+ /**
148
+ * @generated from field: string name = 2;
149
+ */
150
+ name: string;
151
+ /**
152
+ * @generated from field: optional string image = 3;
153
+ */
154
+ image?: string;
155
+ /**
156
+ * @generated from field: optional string twitter = 4;
157
+ */
158
+ twitter?: string;
159
+ /**
160
+ * @generated from field: optional string website = 5;
161
+ */
162
+ website?: string;
163
+ constructor(data?: PartialMessage<CreateSourceRequest>);
164
+ static readonly runtime: typeof proto3;
165
+ static readonly typeName = "dailydotdev.api.sources.CreateSourceRequest";
166
+ static readonly fields: FieldList;
167
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSourceRequest;
168
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSourceRequest;
169
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSourceRequest;
170
+ static equals(a: CreateSourceRequest | PlainMessage<CreateSourceRequest> | undefined, b: CreateSourceRequest | PlainMessage<CreateSourceRequest> | undefined): boolean;
171
+ }
172
+ /**
173
+ * @generated from message dailydotdev.api.sources.CreateSourceResponse
174
+ */
175
+ declare class CreateSourceResponse extends Message<CreateSourceResponse> {
176
+ /**
177
+ * @generated from field: dailydotdev.api.sources.Source source = 1;
178
+ */
179
+ source?: Source;
180
+ constructor(data?: PartialMessage<CreateSourceResponse>);
181
+ static readonly runtime: typeof proto3;
182
+ static readonly typeName = "dailydotdev.api.sources.CreateSourceResponse";
183
+ static readonly fields: FieldList;
184
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSourceResponse;
185
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSourceResponse;
186
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSourceResponse;
187
+ static equals(a: CreateSourceResponse | PlainMessage<CreateSourceResponse> | undefined, b: CreateSourceResponse | PlainMessage<CreateSourceResponse> | undefined): boolean;
188
+ }
189
+ /**
190
+ * @generated from message dailydotdev.api.sources.AddSourceFeedRequest
191
+ */
192
+ declare class AddSourceFeedRequest extends Message<AddSourceFeedRequest> {
193
+ /**
194
+ * @generated from field: string source_id = 1;
195
+ */
196
+ sourceId: string;
197
+ /**
198
+ * @generated from field: string feed = 2;
199
+ */
200
+ feed: string;
201
+ constructor(data?: PartialMessage<AddSourceFeedRequest>);
202
+ static readonly runtime: typeof proto3;
203
+ static readonly typeName = "dailydotdev.api.sources.AddSourceFeedRequest";
204
+ static readonly fields: FieldList;
205
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddSourceFeedRequest;
206
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddSourceFeedRequest;
207
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddSourceFeedRequest;
208
+ static equals(a: AddSourceFeedRequest | PlainMessage<AddSourceFeedRequest> | undefined, b: AddSourceFeedRequest | PlainMessage<AddSourceFeedRequest> | undefined): boolean;
209
+ }
210
+ /**
211
+ * @generated from message dailydotdev.api.sources.AddSourceFeedResponse
212
+ */
213
+ declare class AddSourceFeedResponse extends Message<AddSourceFeedResponse> {
214
+ /**
215
+ * @generated from field: string source_id = 1;
216
+ */
217
+ sourceId: string;
218
+ /**
219
+ * @generated from field: string feed = 2;
220
+ */
221
+ feed: string;
222
+ constructor(data?: PartialMessage<AddSourceFeedResponse>);
223
+ static readonly runtime: typeof proto3;
224
+ static readonly typeName = "dailydotdev.api.sources.AddSourceFeedResponse";
225
+ static readonly fields: FieldList;
226
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddSourceFeedResponse;
227
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddSourceFeedResponse;
228
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddSourceFeedResponse;
229
+ static equals(a: AddSourceFeedResponse | PlainMessage<AddSourceFeedResponse> | undefined, b: AddSourceFeedResponse | PlainMessage<AddSourceFeedResponse> | undefined): boolean;
230
+ }
68
231
 
69
- export { Source };
232
+ export { AddSourceFeedRequest, AddSourceFeedResponse, CreateSourceRequest, CreateSourceResponse, ScrapeSourceFeed, ScrapeSourceRequest, ScrapeSourceResponse, Source };
@@ -1 +1 @@
1
- import{Message as a,proto3 as e}from"@bufbuild/protobuf";class n extends a{id="";type="";createdAt=0;active=!1;name="";image="";private=!1;headerImage;color;handle="";twitter;website;description;constructor(a){super(),e.util.initPartial(a,this)}static runtime=e;static typeName="dailydotdev.api.sources.Source";static fields=e.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"created_at",kind:"scalar",T:5},{no:4,name:"active",kind:"scalar",T:8},{no:5,name:"name",kind:"scalar",T:9},{no:6,name:"image",kind:"scalar",T:9},{no:7,name:"private",kind:"scalar",T:8},{no:8,name:"header_image",kind:"scalar",T:9,opt:!0},{no:9,name:"color",kind:"scalar",T:9,opt:!0},{no:10,name:"handle",kind:"scalar",T:9},{no:11,name:"twitter",kind:"scalar",T:9,opt:!0},{no:12,name:"website",kind:"scalar",T:9,opt:!0},{no:13,name:"description",kind:"scalar",T:9,opt:!0}]));static fromBinary(a,e){return(new n).fromBinary(a,e)}static fromJson(a,e){return(new n).fromJson(a,e)}static fromJsonString(a,e){return(new n).fromJsonString(a,e)}static equals(a,t){return e.util.equals(n,a,t)}}export{n as Source};
1
+ import{Message as t,proto3 as e}from"@bufbuild/protobuf";class n extends t{id="";type="";createdAt=0;active=!1;name="";image="";private=!1;headerImage;color;handle="";twitter;website;description;constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.Source";static fields=e.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"created_at",kind:"scalar",T:5},{no:4,name:"active",kind:"scalar",T:8},{no:5,name:"name",kind:"scalar",T:9},{no:6,name:"image",kind:"scalar",T:9},{no:7,name:"private",kind:"scalar",T:8},{no:8,name:"header_image",kind:"scalar",T:9,opt:!0},{no:9,name:"color",kind:"scalar",T:9,opt:!0},{no:10,name:"handle",kind:"scalar",T:9},{no:11,name:"twitter",kind:"scalar",T:9,opt:!0},{no:12,name:"website",kind:"scalar",T:9,opt:!0},{no:13,name:"description",kind:"scalar",T:9,opt:!0}]));static fromBinary(t,e){return(new n).fromBinary(t,e)}static fromJson(t,e){return(new n).fromJson(t,e)}static fromJsonString(t,e){return(new n).fromJsonString(t,e)}static equals(t,r){return e.util.equals(n,t,r)}}class r extends t{url="";constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.ScrapeSourceRequest";static fields=e.util.newFieldList((()=>[{no:1,name:"url",kind:"scalar",T:9}]));static fromBinary(t,e){return(new r).fromBinary(t,e)}static fromJson(t,e){return(new r).fromJson(t,e)}static fromJsonString(t,e){return(new r).fromJsonString(t,e)}static equals(t,n){return e.util.equals(r,t,n)}}class a extends t{url="";title;constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.ScrapeSourceFeed";static fields=e.util.newFieldList((()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9,opt:!0}]));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,n){return e.util.equals(a,t,n)}}class i extends t{type="";name;logo;website;feeds=[];constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.ScrapeSourceResponse";static fields=e.util.newFieldList((()=>[{no:1,name:"type",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9,opt:!0},{no:3,name:"logo",kind:"scalar",T:9,opt:!0},{no:4,name:"website",kind:"scalar",T:9,opt:!0},{no:5,name:"feeds",kind:"message",T:a,repeated:!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,n){return e.util.equals(i,t,n)}}class s extends t{id="";name="";image;twitter;website;constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.CreateSourceRequest";static fields=e.util.newFieldList((()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"image",kind:"scalar",T:9,opt:!0},{no:4,name:"twitter",kind:"scalar",T:9,opt:!0},{no:5,name:"website",kind:"scalar",T:9,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,n){return e.util.equals(s,t,n)}}class o extends t{source;constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.CreateSourceResponse";static fields=e.util.newFieldList((()=>[{no:1,name:"source",kind:"message",T:n}]));static fromBinary(t,e){return(new o).fromBinary(t,e)}static fromJson(t,e){return(new o).fromJson(t,e)}static fromJsonString(t,e){return(new o).fromJsonString(t,e)}static equals(t,n){return e.util.equals(o,t,n)}}class c extends t{sourceId="";feed="";constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.AddSourceFeedRequest";static fields=e.util.newFieldList((()=>[{no:1,name:"source_id",kind:"scalar",T:9},{no:2,name:"feed",kind:"scalar",T:9}]));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,n){return e.util.equals(c,t,n)}}class u extends t{sourceId="";feed="";constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.AddSourceFeedResponse";static fields=e.util.newFieldList((()=>[{no:1,name:"source_id",kind:"scalar",T:9},{no:2,name:"feed",kind:"scalar",T:9}]));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,n){return e.util.equals(u,t,n)}}export{c as AddSourceFeedRequest,u as AddSourceFeedResponse,s as CreateSourceRequest,o as CreateSourceResponse,a as ScrapeSourceFeed,r as ScrapeSourceRequest,i as ScrapeSourceResponse,n as Source};
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- var e,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=(e,s,u,t)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let d of p(s))i.call(e,d)||d===u||r(e,d,{get:()=>s[d],enumerable:!(t=o(s,d))||t.enumerable});return e},u=(e,r,o)=>(s(e,r,"default"),o&&s(o,r,"default")),t={};module.exports=(e=t,s(r({},"__esModule",{value:!0}),e)),u(t,require("./bragi/feedback_pb.cjs"),module.exports),u(t,require("./bragi/pipelines_connect.cjs"),module.exports),u(t,require("./bragi/pipelines_pb.cjs"),module.exports),u(t,require("./bragi/proxy_connect.cjs"),module.exports),u(t,require("./bragi/proxy_pb.cjs"),module.exports),u(t,require("./brokkr/brokkr_connect.cjs"),module.exports),u(t,require("./brokkr/brokkr_pb.cjs"),module.exports),u(t,require("./daily-api/job_connect.cjs"),module.exports),u(t,require("./daily-api/job_pb.cjs"),module.exports),u(t,require("./daily-api/opportunity-match_pb.cjs"),module.exports),u(t,require("./daily-api/opportunity_pb.cjs"),module.exports),u(t,require("./daily-api/organization_pb.cjs"),module.exports),u(t,require("./daily-api/posts_connect.cjs"),module.exports),u(t,require("./daily-api/posts_pb.cjs"),module.exports),u(t,require("./daily-api/source-requests_connect.cjs"),module.exports),u(t,require("./daily-api/source-requests_pb.cjs"),module.exports),u(t,require("./daily-api/sources_pb.cjs"),module.exports),u(t,require("./daily-api/user-candidate-preference_pb.cjs"),module.exports),u(t,require("./daily-api/user-experience_pb.cjs"),module.exports),u(t,require("./daily-api/user_pb.cjs"),module.exports),u(t,require("./daily-api/util_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/candidate-accepted-opportunity_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/candidate-preference-updated_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/candidate-rejected-opportunity_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/content-updated_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/opportunity_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/recruiter-accepted-candidate-match_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/user-profile-updated_pb.cjs"),module.exports),u(t,require("./feed/briefing/briefing_pb.cjs"),module.exports),u(t,require("./feed/personalised/personalised_pb.cjs"),module.exports),u(t,require("./feed/server_side_event/server_side_event_pb.cjs"),module.exports),u(t,require("./gondul/application-services_connect.cjs"),module.exports),u(t,require("./gondul/candidates_pb.cjs"),module.exports),u(t,require("./gondul/opportunity-service_connect.cjs"),module.exports),u(t,require("./gondul/opportunity-service_pb.cjs"),module.exports),u(t,require("./mimir/search/search_pb.cjs"),module.exports),u(t,require("./njord/transactions_connect.cjs"),module.exports),u(t,require("./njord/transactions_pb.cjs"),module.exports),u(t,require("./snotra/engagement/engagement_pb.cjs"),module.exports),u(t,require("./snotra/personalisation/personalisation_pb.cjs"),module.exports),u(t,require("./tei/embedding_connect.cjs"),module.exports),u(t,require("./tei/embedding_pb.cjs"),module.exports),u(t,require("./util/error_pb.cjs"),module.exports);
1
+ var e,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=(e,s,u,t)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let d of p(s))i.call(e,d)||d===u||r(e,d,{get:()=>s[d],enumerable:!(t=o(s,d))||t.enumerable});return e},u=(e,r,o)=>(s(e,r,"default"),o&&s(o,r,"default")),t={};module.exports=(e=t,s(r({},"__esModule",{value:!0}),e)),u(t,require("./bragi/feedback_pb.cjs"),module.exports),u(t,require("./bragi/pipelines_connect.cjs"),module.exports),u(t,require("./bragi/pipelines_pb.cjs"),module.exports),u(t,require("./bragi/proxy_connect.cjs"),module.exports),u(t,require("./bragi/proxy_pb.cjs"),module.exports),u(t,require("./brokkr/brokkr_connect.cjs"),module.exports),u(t,require("./brokkr/brokkr_pb.cjs"),module.exports),u(t,require("./daily-api/job_connect.cjs"),module.exports),u(t,require("./daily-api/job_pb.cjs"),module.exports),u(t,require("./daily-api/opportunity-match_pb.cjs"),module.exports),u(t,require("./daily-api/opportunity_pb.cjs"),module.exports),u(t,require("./daily-api/organization_pb.cjs"),module.exports),u(t,require("./daily-api/posts_connect.cjs"),module.exports),u(t,require("./daily-api/posts_pb.cjs"),module.exports),u(t,require("./daily-api/source-requests_connect.cjs"),module.exports),u(t,require("./daily-api/source-requests_pb.cjs"),module.exports),u(t,require("./daily-api/sources_connect.cjs"),module.exports),u(t,require("./daily-api/sources_pb.cjs"),module.exports),u(t,require("./daily-api/user-candidate-preference_pb.cjs"),module.exports),u(t,require("./daily-api/user-experience_pb.cjs"),module.exports),u(t,require("./daily-api/user_pb.cjs"),module.exports),u(t,require("./daily-api/util_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/candidate-accepted-opportunity_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/candidate-preference-updated_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/candidate-rejected-opportunity_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/content-updated_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/opportunity_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/recruiter-accepted-candidate-match_pb.cjs"),module.exports),u(t,require("./daily-api/pubsub/user-profile-updated_pb.cjs"),module.exports),u(t,require("./feed/briefing/briefing_pb.cjs"),module.exports),u(t,require("./feed/personalised/personalised_pb.cjs"),module.exports),u(t,require("./feed/server_side_event/server_side_event_pb.cjs"),module.exports),u(t,require("./gondul/application-services_connect.cjs"),module.exports),u(t,require("./gondul/candidates_pb.cjs"),module.exports),u(t,require("./gondul/opportunity-service_connect.cjs"),module.exports),u(t,require("./gondul/opportunity-service_pb.cjs"),module.exports),u(t,require("./mimir/search/search_pb.cjs"),module.exports),u(t,require("./njord/transactions_connect.cjs"),module.exports),u(t,require("./njord/transactions_pb.cjs"),module.exports),u(t,require("./snotra/engagement/engagement_pb.cjs"),module.exports),u(t,require("./snotra/personalisation/personalisation_pb.cjs"),module.exports),u(t,require("./tei/embedding_connect.cjs"),module.exports),u(t,require("./tei/embedding_pb.cjs"),module.exports),u(t,require("./util/error_pb.cjs"),module.exports);
package/dist/index.d.cts CHANGED
@@ -13,8 +13,9 @@ export { CompanySize, CompanyStage, Organization } from './daily-api/organizatio
13
13
  export { PostService } from './daily-api/posts_connect.cjs';
14
14
  export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped, Translation } from './daily-api/posts_pb.cjs';
15
15
  export { SourceRequestService } from './daily-api/source-requests_connect.cjs';
16
- export { CreateSourceRequest, CreateSourceRequestResponse } from './daily-api/source-requests_pb.cjs';
17
- export { Source } from './daily-api/sources_pb.cjs';
16
+ export { CreateSourceRequestInput, CreateSourceRequestResponse } from './daily-api/source-requests_pb.cjs';
17
+ export { SourceService } from './daily-api/sources_connect.cjs';
18
+ export { AddSourceFeedRequest, AddSourceFeedResponse, CreateSourceRequest, CreateSourceResponse, ScrapeSourceFeed, ScrapeSourceRequest, ScrapeSourceResponse, Source } from './daily-api/sources_pb.cjs';
18
19
  export { CandidateStatus, UserCandidatePreference } from './daily-api/user-candidate-preference_pb.cjs';
19
20
  export { UserExperience, UserExperienceSkill, UserExperienceType, UserProfile } from './daily-api/user-experience_pb.cjs';
20
21
  export { UserCV } from './daily-api/user_pb.cjs';
package/dist/index.d.ts CHANGED
@@ -13,8 +13,9 @@ export { CompanySize, CompanyStage, Organization } from './daily-api/organizatio
13
13
  export { PostService } from './daily-api/posts_connect.js';
14
14
  export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, CreatePostResponse, Enriched, Language, PostEmbedding, PostRelation, Scraped, Translation } from './daily-api/posts_pb.js';
15
15
  export { SourceRequestService } from './daily-api/source-requests_connect.js';
16
- export { CreateSourceRequest, CreateSourceRequestResponse } from './daily-api/source-requests_pb.js';
17
- export { Source } from './daily-api/sources_pb.js';
16
+ export { CreateSourceRequestInput, CreateSourceRequestResponse } from './daily-api/source-requests_pb.js';
17
+ export { SourceService } from './daily-api/sources_connect.js';
18
+ export { AddSourceFeedRequest, AddSourceFeedResponse, CreateSourceRequest, CreateSourceResponse, ScrapeSourceFeed, ScrapeSourceRequest, ScrapeSourceResponse, Source } from './daily-api/sources_pb.js';
18
19
  export { CandidateStatus, UserCandidatePreference } from './daily-api/user-candidate-preference_pb.js';
19
20
  export { UserExperience, UserExperienceSkill, UserExperienceType, UserProfile } from './daily-api/user-experience_pb.js';
20
21
  export { UserCV } from './daily-api/user_pb.js';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export*from"./bragi/feedback_pb";export*from"./bragi/pipelines_connect";export*from"./bragi/pipelines_pb";export*from"./bragi/proxy_connect";export*from"./bragi/proxy_pb";export*from"./brokkr/brokkr_connect";export*from"./brokkr/brokkr_pb";export*from"./daily-api/job_connect";export*from"./daily-api/job_pb";export*from"./daily-api/opportunity-match_pb";export*from"./daily-api/opportunity_pb";export*from"./daily-api/organization_pb";export*from"./daily-api/posts_connect";export*from"./daily-api/posts_pb";export*from"./daily-api/source-requests_connect";export*from"./daily-api/source-requests_pb";export*from"./daily-api/sources_pb";export*from"./daily-api/user-candidate-preference_pb";export*from"./daily-api/user-experience_pb";export*from"./daily-api/user_pb";export*from"./daily-api/util_pb";export*from"./daily-api/pubsub/candidate-accepted-opportunity_pb";export*from"./daily-api/pubsub/candidate-preference-updated_pb";export*from"./daily-api/pubsub/candidate-rejected-opportunity_pb";export*from"./daily-api/pubsub/content-updated_pb";export*from"./daily-api/pubsub/opportunity_pb";export*from"./daily-api/pubsub/recruiter-accepted-candidate-match_pb";export*from"./daily-api/pubsub/user-profile-updated_pb";export*from"./feed/briefing/briefing_pb";export*from"./feed/personalised/personalised_pb";export*from"./feed/server_side_event/server_side_event_pb";export*from"./gondul/application-services_connect";export*from"./gondul/candidates_pb";export*from"./gondul/opportunity-service_connect";export*from"./gondul/opportunity-service_pb";export*from"./mimir/search/search_pb";export*from"./njord/transactions_connect";export*from"./njord/transactions_pb";export*from"./snotra/engagement/engagement_pb";export*from"./snotra/personalisation/personalisation_pb";export*from"./tei/embedding_connect";export*from"./tei/embedding_pb";export*from"./util/error_pb";
1
+ export*from"./bragi/feedback_pb";export*from"./bragi/pipelines_connect";export*from"./bragi/pipelines_pb";export*from"./bragi/proxy_connect";export*from"./bragi/proxy_pb";export*from"./brokkr/brokkr_connect";export*from"./brokkr/brokkr_pb";export*from"./daily-api/job_connect";export*from"./daily-api/job_pb";export*from"./daily-api/opportunity-match_pb";export*from"./daily-api/opportunity_pb";export*from"./daily-api/organization_pb";export*from"./daily-api/posts_connect";export*from"./daily-api/posts_pb";export*from"./daily-api/source-requests_connect";export*from"./daily-api/source-requests_pb";export*from"./daily-api/sources_connect";export*from"./daily-api/sources_pb";export*from"./daily-api/user-candidate-preference_pb";export*from"./daily-api/user-experience_pb";export*from"./daily-api/user_pb";export*from"./daily-api/util_pb";export*from"./daily-api/pubsub/candidate-accepted-opportunity_pb";export*from"./daily-api/pubsub/candidate-preference-updated_pb";export*from"./daily-api/pubsub/candidate-rejected-opportunity_pb";export*from"./daily-api/pubsub/content-updated_pb";export*from"./daily-api/pubsub/opportunity_pb";export*from"./daily-api/pubsub/recruiter-accepted-candidate-match_pb";export*from"./daily-api/pubsub/user-profile-updated_pb";export*from"./feed/briefing/briefing_pb";export*from"./feed/personalised/personalised_pb";export*from"./feed/server_side_event/server_side_event_pb";export*from"./gondul/application-services_connect";export*from"./gondul/candidates_pb";export*from"./gondul/opportunity-service_connect";export*from"./gondul/opportunity-service_pb";export*from"./mimir/search/search_pb";export*from"./njord/transactions_connect";export*from"./njord/transactions_pb";export*from"./snotra/engagement/engagement_pb";export*from"./snotra/personalisation/personalisation_pb";export*from"./tei/embedding_connect";export*from"./tei/embedding_pb";export*from"./util/error_pb";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dailydotdev/schema",
3
- "version": "0.2.77",
3
+ "version": "0.2.78",
4
4
  "author": "@dailydotdev",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",