@dailydotdev/schema 0.2.77 → 0.3.0

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,i=Object.prototype.hasOwnProperty,n={};((e,o)=>{for(var t in o)r(e,t,{get:o[t],enumerable:!0})})(n,{SourceService:()=>c}),module.exports=(e=n,((e,n,u,s)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let c of t(n))i.call(e,c)||c===u||r(e,c,{get:()=>n[c],enumerable:!(s=o(n,c))||s.enumerable});return e})(r({},"__esModule",{value:!0}),e));var u=require("./sources_pb.cjs"),s=require("@bufbuild/protobuf");const c={typeName:"dailydotdev.api.sources.SourceService",methods:{provision:{name:"Provision",I:u.ProvisionSourceRequest,O:u.ProvisionSourceResponse,kind:s.MethodKind.Unary}}};
@@ -0,0 +1,24 @@
1
+ import { ProvisionSourceRequest, ProvisionSourceResponse } 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
+ * Create a source and provision its ingestion in one call.
12
+ *
13
+ * @generated from rpc dailydotdev.api.sources.SourceService.Provision
14
+ */
15
+ readonly provision: {
16
+ readonly name: "Provision";
17
+ readonly I: typeof ProvisionSourceRequest;
18
+ readonly O: typeof ProvisionSourceResponse;
19
+ readonly kind: any;
20
+ };
21
+ };
22
+ };
23
+
24
+ export { SourceService };
@@ -0,0 +1,24 @@
1
+ import { ProvisionSourceRequest, ProvisionSourceResponse } 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
+ * Create a source and provision its ingestion in one call.
12
+ *
13
+ * @generated from rpc dailydotdev.api.sources.SourceService.Provision
14
+ */
15
+ readonly provision: {
16
+ readonly name: "Provision";
17
+ readonly I: typeof ProvisionSourceRequest;
18
+ readonly O: typeof ProvisionSourceResponse;
19
+ readonly kind: any;
20
+ };
21
+ };
22
+ };
23
+
24
+ export { SourceService };
@@ -0,0 +1 @@
1
+ import{ProvisionSourceRequest as o,ProvisionSourceResponse as r}from"./sources_pb.ts";import{MethodKind as e}from"@bufbuild/protobuf";const i={typeName:"dailydotdev.api.sources.SourceService",methods:{provision:{name:"Provision",I:o,O:r,kind:e.Unary}}};export{i 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 t,e=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={};((t,n)=>{for(var r in n)e(t,r,{get:n[r],enumerable:!0})})(s,{PageIngestion:()=>p,ProvisionSourceRequest:()=>g,ProvisionSourceResponse:()=>w,ProvisionedIngestion:()=>T,RssIngestion:()=>l,RssNewsletterIngestion:()=>d,SelectorIngestionOptions:()=>u,Source:()=>c,SourceEngine:()=>a,TwitterAccountIngestion:()=>f,YoutubeChannelIngestion:()=>m}),module.exports=(t=s,((t,s,i,a)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let c of r(s))o.call(t,c)||c===i||e(t,c,{get:()=>s[c],enumerable:!(a=n(s,c))||a.enumerable});return t})(e({},"__esModule",{value:!0}),t));var i=require("@bufbuild/protobuf"),a=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.RSS=1]="RSS",t[t.YOUTUBE_CHANNEL=2]="YOUTUBE_CHANNEL",t[t.RSS_NEWSLETTER=3]="RSS_NEWSLETTER",t[t.PAGE=4]="PAGE",t[t.TWITTER_ACCOUNT=5]="TWITTER_ACCOUNT",t))(a||{});i.proto3.util.setEnumType(a,"dailydotdev.api.sources.SourceEngine",[{no:0,name:"SOURCE_ENGINE_UNSPECIFIED"},{no:1,name:"SOURCE_ENGINE_RSS"},{no:2,name:"SOURCE_ENGINE_YOUTUBE_CHANNEL"},{no:3,name:"SOURCE_ENGINE_RSS_NEWSLETTER"},{no:4,name:"SOURCE_ENGINE_PAGE"},{no:5,name:"SOURCE_ENGINE_TWITTER_ACCOUNT"}]);class c extends i.Message{id="";type="";createdAt=0;active=!1;name="";image="";private=!1;headerImage;color;handle="";twitter;website;description;constructor(t){super(),i.proto3.util.initPartial(t,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(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 i.proto3.util.equals(c,t,e)}}class u extends i.Message{selector;evaluator;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.sources.SelectorIngestionOptions";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"selector",kind:"scalar",T:9,opt:!0},{no:2,name:"evaluator",kind:"scalar",T:9,opt:!0}]));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 i.proto3.util.equals(u,t,e)}}class l extends i.Message{feedUrl="";constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.sources.RssIngestion";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"feed_url",kind:"scalar",T:9}]));static fromBinary(t,e){return(new l).fromBinary(t,e)}static fromJson(t,e){return(new l).fromJson(t,e)}static fromJsonString(t,e){return(new l).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(l,t,e)}}class m extends i.Message{channelUrl="";constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.sources.YoutubeChannelIngestion";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"channel_url",kind:"scalar",T:9}]));static fromBinary(t,e){return(new m).fromBinary(t,e)}static fromJson(t,e){return(new m).fromJson(t,e)}static fromJsonString(t,e){return(new m).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(m,t,e)}}class d extends i.Message{feedUrl="";extraction;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.sources.RssNewsletterIngestion";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"feed_url",kind:"scalar",T:9},{no:2,name:"extraction",kind:"message",T:u,opt:!0}]));static fromBinary(t,e){return(new d).fromBinary(t,e)}static fromJson(t,e){return(new d).fromJson(t,e)}static fromJsonString(t,e){return(new d).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(d,t,e)}}class p extends i.Message{pageUrl="";extraction;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.sources.PageIngestion";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"page_url",kind:"scalar",T:9},{no:2,name:"extraction",kind:"message",T:u,opt:!0}]));static fromBinary(t,e){return(new p).fromBinary(t,e)}static fromJson(t,e){return(new p).fromJson(t,e)}static fromJsonString(t,e){return(new p).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(p,t,e)}}class f extends i.Message{username="";audienceFitThreshold;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.sources.TwitterAccountIngestion";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"audience_fit_threshold",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,e){return(new f).fromBinary(t,e)}static fromJson(t,e){return(new f).fromJson(t,e)}static fromJsonString(t,e){return(new f).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(f,t,e)}}class g extends i.Message{sourceId="";name;image;twitter;website;scrapeMetadata;ingestion={case:void 0};constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.sources.ProvisionSourceRequest";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"source_id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9,opt:!0},{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},{no:6,name:"scrape_metadata",kind:"scalar",T:8,opt:!0},{no:10,name:"rss",kind:"message",T:l,oneof:"ingestion"},{no:11,name:"youtube_channel",kind:"message",T:m,oneof:"ingestion"},{no:12,name:"rss_newsletter",kind:"message",T:d,oneof:"ingestion"},{no:13,name:"page",kind:"message",T:p,oneof:"ingestion"},{no:14,name:"twitter_account",kind:"message",T:f,oneof:"ingestion"}]));static fromBinary(t,e){return(new g).fromBinary(t,e)}static fromJson(t,e){return(new g).fromJson(t,e)}static fromJsonString(t,e){return(new g).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(g,t,e)}}class T extends i.Message{engine=0;url="";selector;evaluator;twitterUsername;audienceFitThreshold;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.sources.ProvisionedIngestion";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"engine",kind:"enum",T:i.proto3.getEnumType(a)},{no:2,name:"url",kind:"scalar",T:9},{no:3,name:"selector",kind:"scalar",T:9,opt:!0},{no:4,name:"evaluator",kind:"scalar",T:9,opt:!0},{no:5,name:"twitter_username",kind:"scalar",T:9,opt:!0},{no:6,name:"audience_fit_threshold",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,e){return(new T).fromBinary(t,e)}static fromJson(t,e){return(new T).fromJson(t,e)}static fromJsonString(t,e){return(new T).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(T,t,e)}}class w extends i.Message{source;ingestion;constructor(t){super(),i.proto3.util.initPartial(t,this)}static runtime=i.proto3;static typeName="dailydotdev.api.sources.ProvisionSourceResponse";static fields=i.proto3.util.newFieldList((()=>[{no:1,name:"source",kind:"message",T:c},{no:2,name:"ingestion",kind:"message",T:T}]));static fromBinary(t,e){return(new w).fromBinary(t,e)}static fromJson(t,e){return(new w).fromJson(t,e)}static fromJsonString(t,e){return(new w).fromJsonString(t,e)}static equals(t,e){return i.proto3.util.equals(w,t,e)}}
@@ -1,5 +1,34 @@
1
1
  import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
2
 
3
+ /**
4
+ * @generated from enum dailydotdev.api.sources.SourceEngine
5
+ */
6
+ declare enum SourceEngine {
7
+ /**
8
+ * @generated from enum value: SOURCE_ENGINE_UNSPECIFIED = 0;
9
+ */
10
+ UNSPECIFIED = 0,
11
+ /**
12
+ * @generated from enum value: SOURCE_ENGINE_RSS = 1;
13
+ */
14
+ RSS = 1,
15
+ /**
16
+ * @generated from enum value: SOURCE_ENGINE_YOUTUBE_CHANNEL = 2;
17
+ */
18
+ YOUTUBE_CHANNEL = 2,
19
+ /**
20
+ * @generated from enum value: SOURCE_ENGINE_RSS_NEWSLETTER = 3;
21
+ */
22
+ RSS_NEWSLETTER = 3,
23
+ /**
24
+ * @generated from enum value: SOURCE_ENGINE_PAGE = 4;
25
+ */
26
+ PAGE = 4,
27
+ /**
28
+ * @generated from enum value: SOURCE_ENGINE_TWITTER_ACCOUNT = 5;
29
+ */
30
+ TWITTER_ACCOUNT = 5
31
+ }
3
32
  /**
4
33
  * @generated from message dailydotdev.api.sources.Source
5
34
  */
@@ -65,5 +94,255 @@ declare class Source extends Message<Source> {
65
94
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Source;
66
95
  static equals(a: Source | PlainMessage<Source> | undefined, b: Source | PlainMessage<Source> | undefined): boolean;
67
96
  }
97
+ /**
98
+ * @generated from message dailydotdev.api.sources.SelectorIngestionOptions
99
+ */
100
+ declare class SelectorIngestionOptions extends Message<SelectorIngestionOptions> {
101
+ /**
102
+ * @generated from field: optional string selector = 1;
103
+ */
104
+ selector?: string;
105
+ /**
106
+ * @generated from field: optional string evaluator = 2;
107
+ */
108
+ evaluator?: string;
109
+ constructor(data?: PartialMessage<SelectorIngestionOptions>);
110
+ static readonly runtime: typeof proto3;
111
+ static readonly typeName = "dailydotdev.api.sources.SelectorIngestionOptions";
112
+ static readonly fields: FieldList;
113
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SelectorIngestionOptions;
114
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SelectorIngestionOptions;
115
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SelectorIngestionOptions;
116
+ static equals(a: SelectorIngestionOptions | PlainMessage<SelectorIngestionOptions> | undefined, b: SelectorIngestionOptions | PlainMessage<SelectorIngestionOptions> | undefined): boolean;
117
+ }
118
+ /**
119
+ * @generated from message dailydotdev.api.sources.RssIngestion
120
+ */
121
+ declare class RssIngestion extends Message<RssIngestion> {
122
+ /**
123
+ * @generated from field: string feed_url = 1;
124
+ */
125
+ feedUrl: string;
126
+ constructor(data?: PartialMessage<RssIngestion>);
127
+ static readonly runtime: typeof proto3;
128
+ static readonly typeName = "dailydotdev.api.sources.RssIngestion";
129
+ static readonly fields: FieldList;
130
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RssIngestion;
131
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RssIngestion;
132
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RssIngestion;
133
+ static equals(a: RssIngestion | PlainMessage<RssIngestion> | undefined, b: RssIngestion | PlainMessage<RssIngestion> | undefined): boolean;
134
+ }
135
+ /**
136
+ * @generated from message dailydotdev.api.sources.YoutubeChannelIngestion
137
+ */
138
+ declare class YoutubeChannelIngestion extends Message<YoutubeChannelIngestion> {
139
+ /**
140
+ * @generated from field: string channel_url = 1;
141
+ */
142
+ channelUrl: string;
143
+ constructor(data?: PartialMessage<YoutubeChannelIngestion>);
144
+ static readonly runtime: typeof proto3;
145
+ static readonly typeName = "dailydotdev.api.sources.YoutubeChannelIngestion";
146
+ static readonly fields: FieldList;
147
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): YoutubeChannelIngestion;
148
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): YoutubeChannelIngestion;
149
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): YoutubeChannelIngestion;
150
+ static equals(a: YoutubeChannelIngestion | PlainMessage<YoutubeChannelIngestion> | undefined, b: YoutubeChannelIngestion | PlainMessage<YoutubeChannelIngestion> | undefined): boolean;
151
+ }
152
+ /**
153
+ * @generated from message dailydotdev.api.sources.RssNewsletterIngestion
154
+ */
155
+ declare class RssNewsletterIngestion extends Message<RssNewsletterIngestion> {
156
+ /**
157
+ * @generated from field: string feed_url = 1;
158
+ */
159
+ feedUrl: string;
160
+ /**
161
+ * @generated from field: optional dailydotdev.api.sources.SelectorIngestionOptions extraction = 2;
162
+ */
163
+ extraction?: SelectorIngestionOptions;
164
+ constructor(data?: PartialMessage<RssNewsletterIngestion>);
165
+ static readonly runtime: typeof proto3;
166
+ static readonly typeName = "dailydotdev.api.sources.RssNewsletterIngestion";
167
+ static readonly fields: FieldList;
168
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RssNewsletterIngestion;
169
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RssNewsletterIngestion;
170
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RssNewsletterIngestion;
171
+ static equals(a: RssNewsletterIngestion | PlainMessage<RssNewsletterIngestion> | undefined, b: RssNewsletterIngestion | PlainMessage<RssNewsletterIngestion> | undefined): boolean;
172
+ }
173
+ /**
174
+ * @generated from message dailydotdev.api.sources.PageIngestion
175
+ */
176
+ declare class PageIngestion extends Message<PageIngestion> {
177
+ /**
178
+ * @generated from field: string page_url = 1;
179
+ */
180
+ pageUrl: string;
181
+ /**
182
+ * @generated from field: optional dailydotdev.api.sources.SelectorIngestionOptions extraction = 2;
183
+ */
184
+ extraction?: SelectorIngestionOptions;
185
+ constructor(data?: PartialMessage<PageIngestion>);
186
+ static readonly runtime: typeof proto3;
187
+ static readonly typeName = "dailydotdev.api.sources.PageIngestion";
188
+ static readonly fields: FieldList;
189
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PageIngestion;
190
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PageIngestion;
191
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PageIngestion;
192
+ static equals(a: PageIngestion | PlainMessage<PageIngestion> | undefined, b: PageIngestion | PlainMessage<PageIngestion> | undefined): boolean;
193
+ }
194
+ /**
195
+ * @generated from message dailydotdev.api.sources.TwitterAccountIngestion
196
+ */
197
+ declare class TwitterAccountIngestion extends Message<TwitterAccountIngestion> {
198
+ /**
199
+ * @generated from field: string username = 1;
200
+ */
201
+ username: string;
202
+ /**
203
+ * @generated from field: optional float audience_fit_threshold = 2;
204
+ */
205
+ audienceFitThreshold?: number;
206
+ constructor(data?: PartialMessage<TwitterAccountIngestion>);
207
+ static readonly runtime: typeof proto3;
208
+ static readonly typeName = "dailydotdev.api.sources.TwitterAccountIngestion";
209
+ static readonly fields: FieldList;
210
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TwitterAccountIngestion;
211
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TwitterAccountIngestion;
212
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TwitterAccountIngestion;
213
+ static equals(a: TwitterAccountIngestion | PlainMessage<TwitterAccountIngestion> | undefined, b: TwitterAccountIngestion | PlainMessage<TwitterAccountIngestion> | undefined): boolean;
214
+ }
215
+ /**
216
+ * @generated from message dailydotdev.api.sources.ProvisionSourceRequest
217
+ */
218
+ declare class ProvisionSourceRequest extends Message<ProvisionSourceRequest> {
219
+ /**
220
+ * @generated from field: string source_id = 1;
221
+ */
222
+ sourceId: string;
223
+ /**
224
+ * @generated from field: optional string name = 2;
225
+ */
226
+ name?: string;
227
+ /**
228
+ * @generated from field: optional string image = 3;
229
+ */
230
+ image?: string;
231
+ /**
232
+ * @generated from field: optional string twitter = 4;
233
+ */
234
+ twitter?: string;
235
+ /**
236
+ * @generated from field: optional string website = 5;
237
+ */
238
+ website?: string;
239
+ /**
240
+ * @generated from field: optional bool scrape_metadata = 6;
241
+ */
242
+ scrapeMetadata?: boolean;
243
+ /**
244
+ * @generated from oneof dailydotdev.api.sources.ProvisionSourceRequest.ingestion
245
+ */
246
+ ingestion: {
247
+ /**
248
+ * @generated from field: dailydotdev.api.sources.RssIngestion rss = 10;
249
+ */
250
+ value: RssIngestion;
251
+ case: "rss";
252
+ } | {
253
+ /**
254
+ * @generated from field: dailydotdev.api.sources.YoutubeChannelIngestion youtube_channel = 11;
255
+ */
256
+ value: YoutubeChannelIngestion;
257
+ case: "youtubeChannel";
258
+ } | {
259
+ /**
260
+ * @generated from field: dailydotdev.api.sources.RssNewsletterIngestion rss_newsletter = 12;
261
+ */
262
+ value: RssNewsletterIngestion;
263
+ case: "rssNewsletter";
264
+ } | {
265
+ /**
266
+ * @generated from field: dailydotdev.api.sources.PageIngestion page = 13;
267
+ */
268
+ value: PageIngestion;
269
+ case: "page";
270
+ } | {
271
+ /**
272
+ * @generated from field: dailydotdev.api.sources.TwitterAccountIngestion twitter_account = 14;
273
+ */
274
+ value: TwitterAccountIngestion;
275
+ case: "twitterAccount";
276
+ } | {
277
+ case: undefined;
278
+ value?: undefined;
279
+ };
280
+ constructor(data?: PartialMessage<ProvisionSourceRequest>);
281
+ static readonly runtime: typeof proto3;
282
+ static readonly typeName = "dailydotdev.api.sources.ProvisionSourceRequest";
283
+ static readonly fields: FieldList;
284
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProvisionSourceRequest;
285
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProvisionSourceRequest;
286
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProvisionSourceRequest;
287
+ static equals(a: ProvisionSourceRequest | PlainMessage<ProvisionSourceRequest> | undefined, b: ProvisionSourceRequest | PlainMessage<ProvisionSourceRequest> | undefined): boolean;
288
+ }
289
+ /**
290
+ * @generated from message dailydotdev.api.sources.ProvisionedIngestion
291
+ */
292
+ declare class ProvisionedIngestion extends Message<ProvisionedIngestion> {
293
+ /**
294
+ * @generated from field: dailydotdev.api.sources.SourceEngine engine = 1;
295
+ */
296
+ engine: SourceEngine;
297
+ /**
298
+ * @generated from field: string url = 2;
299
+ */
300
+ url: string;
301
+ /**
302
+ * @generated from field: optional string selector = 3;
303
+ */
304
+ selector?: string;
305
+ /**
306
+ * @generated from field: optional string evaluator = 4;
307
+ */
308
+ evaluator?: string;
309
+ /**
310
+ * @generated from field: optional string twitter_username = 5;
311
+ */
312
+ twitterUsername?: string;
313
+ /**
314
+ * @generated from field: optional float audience_fit_threshold = 6;
315
+ */
316
+ audienceFitThreshold?: number;
317
+ constructor(data?: PartialMessage<ProvisionedIngestion>);
318
+ static readonly runtime: typeof proto3;
319
+ static readonly typeName = "dailydotdev.api.sources.ProvisionedIngestion";
320
+ static readonly fields: FieldList;
321
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProvisionedIngestion;
322
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProvisionedIngestion;
323
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProvisionedIngestion;
324
+ static equals(a: ProvisionedIngestion | PlainMessage<ProvisionedIngestion> | undefined, b: ProvisionedIngestion | PlainMessage<ProvisionedIngestion> | undefined): boolean;
325
+ }
326
+ /**
327
+ * @generated from message dailydotdev.api.sources.ProvisionSourceResponse
328
+ */
329
+ declare class ProvisionSourceResponse extends Message<ProvisionSourceResponse> {
330
+ /**
331
+ * @generated from field: dailydotdev.api.sources.Source source = 1;
332
+ */
333
+ source?: Source;
334
+ /**
335
+ * @generated from field: dailydotdev.api.sources.ProvisionedIngestion ingestion = 2;
336
+ */
337
+ ingestion?: ProvisionedIngestion;
338
+ constructor(data?: PartialMessage<ProvisionSourceResponse>);
339
+ static readonly runtime: typeof proto3;
340
+ static readonly typeName = "dailydotdev.api.sources.ProvisionSourceResponse";
341
+ static readonly fields: FieldList;
342
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProvisionSourceResponse;
343
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProvisionSourceResponse;
344
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProvisionSourceResponse;
345
+ static equals(a: ProvisionSourceResponse | PlainMessage<ProvisionSourceResponse> | undefined, b: ProvisionSourceResponse | PlainMessage<ProvisionSourceResponse> | undefined): boolean;
346
+ }
68
347
 
69
- export { Source };
348
+ export { PageIngestion, ProvisionSourceRequest, ProvisionSourceResponse, ProvisionedIngestion, RssIngestion, RssNewsletterIngestion, SelectorIngestionOptions, Source, SourceEngine, TwitterAccountIngestion, YoutubeChannelIngestion };
@@ -1,5 +1,34 @@
1
1
  import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
2
 
3
+ /**
4
+ * @generated from enum dailydotdev.api.sources.SourceEngine
5
+ */
6
+ declare enum SourceEngine {
7
+ /**
8
+ * @generated from enum value: SOURCE_ENGINE_UNSPECIFIED = 0;
9
+ */
10
+ UNSPECIFIED = 0,
11
+ /**
12
+ * @generated from enum value: SOURCE_ENGINE_RSS = 1;
13
+ */
14
+ RSS = 1,
15
+ /**
16
+ * @generated from enum value: SOURCE_ENGINE_YOUTUBE_CHANNEL = 2;
17
+ */
18
+ YOUTUBE_CHANNEL = 2,
19
+ /**
20
+ * @generated from enum value: SOURCE_ENGINE_RSS_NEWSLETTER = 3;
21
+ */
22
+ RSS_NEWSLETTER = 3,
23
+ /**
24
+ * @generated from enum value: SOURCE_ENGINE_PAGE = 4;
25
+ */
26
+ PAGE = 4,
27
+ /**
28
+ * @generated from enum value: SOURCE_ENGINE_TWITTER_ACCOUNT = 5;
29
+ */
30
+ TWITTER_ACCOUNT = 5
31
+ }
3
32
  /**
4
33
  * @generated from message dailydotdev.api.sources.Source
5
34
  */
@@ -65,5 +94,255 @@ declare class Source extends Message<Source> {
65
94
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Source;
66
95
  static equals(a: Source | PlainMessage<Source> | undefined, b: Source | PlainMessage<Source> | undefined): boolean;
67
96
  }
97
+ /**
98
+ * @generated from message dailydotdev.api.sources.SelectorIngestionOptions
99
+ */
100
+ declare class SelectorIngestionOptions extends Message<SelectorIngestionOptions> {
101
+ /**
102
+ * @generated from field: optional string selector = 1;
103
+ */
104
+ selector?: string;
105
+ /**
106
+ * @generated from field: optional string evaluator = 2;
107
+ */
108
+ evaluator?: string;
109
+ constructor(data?: PartialMessage<SelectorIngestionOptions>);
110
+ static readonly runtime: typeof proto3;
111
+ static readonly typeName = "dailydotdev.api.sources.SelectorIngestionOptions";
112
+ static readonly fields: FieldList;
113
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SelectorIngestionOptions;
114
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SelectorIngestionOptions;
115
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SelectorIngestionOptions;
116
+ static equals(a: SelectorIngestionOptions | PlainMessage<SelectorIngestionOptions> | undefined, b: SelectorIngestionOptions | PlainMessage<SelectorIngestionOptions> | undefined): boolean;
117
+ }
118
+ /**
119
+ * @generated from message dailydotdev.api.sources.RssIngestion
120
+ */
121
+ declare class RssIngestion extends Message<RssIngestion> {
122
+ /**
123
+ * @generated from field: string feed_url = 1;
124
+ */
125
+ feedUrl: string;
126
+ constructor(data?: PartialMessage<RssIngestion>);
127
+ static readonly runtime: typeof proto3;
128
+ static readonly typeName = "dailydotdev.api.sources.RssIngestion";
129
+ static readonly fields: FieldList;
130
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RssIngestion;
131
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RssIngestion;
132
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RssIngestion;
133
+ static equals(a: RssIngestion | PlainMessage<RssIngestion> | undefined, b: RssIngestion | PlainMessage<RssIngestion> | undefined): boolean;
134
+ }
135
+ /**
136
+ * @generated from message dailydotdev.api.sources.YoutubeChannelIngestion
137
+ */
138
+ declare class YoutubeChannelIngestion extends Message<YoutubeChannelIngestion> {
139
+ /**
140
+ * @generated from field: string channel_url = 1;
141
+ */
142
+ channelUrl: string;
143
+ constructor(data?: PartialMessage<YoutubeChannelIngestion>);
144
+ static readonly runtime: typeof proto3;
145
+ static readonly typeName = "dailydotdev.api.sources.YoutubeChannelIngestion";
146
+ static readonly fields: FieldList;
147
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): YoutubeChannelIngestion;
148
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): YoutubeChannelIngestion;
149
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): YoutubeChannelIngestion;
150
+ static equals(a: YoutubeChannelIngestion | PlainMessage<YoutubeChannelIngestion> | undefined, b: YoutubeChannelIngestion | PlainMessage<YoutubeChannelIngestion> | undefined): boolean;
151
+ }
152
+ /**
153
+ * @generated from message dailydotdev.api.sources.RssNewsletterIngestion
154
+ */
155
+ declare class RssNewsletterIngestion extends Message<RssNewsletterIngestion> {
156
+ /**
157
+ * @generated from field: string feed_url = 1;
158
+ */
159
+ feedUrl: string;
160
+ /**
161
+ * @generated from field: optional dailydotdev.api.sources.SelectorIngestionOptions extraction = 2;
162
+ */
163
+ extraction?: SelectorIngestionOptions;
164
+ constructor(data?: PartialMessage<RssNewsletterIngestion>);
165
+ static readonly runtime: typeof proto3;
166
+ static readonly typeName = "dailydotdev.api.sources.RssNewsletterIngestion";
167
+ static readonly fields: FieldList;
168
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RssNewsletterIngestion;
169
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RssNewsletterIngestion;
170
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RssNewsletterIngestion;
171
+ static equals(a: RssNewsletterIngestion | PlainMessage<RssNewsletterIngestion> | undefined, b: RssNewsletterIngestion | PlainMessage<RssNewsletterIngestion> | undefined): boolean;
172
+ }
173
+ /**
174
+ * @generated from message dailydotdev.api.sources.PageIngestion
175
+ */
176
+ declare class PageIngestion extends Message<PageIngestion> {
177
+ /**
178
+ * @generated from field: string page_url = 1;
179
+ */
180
+ pageUrl: string;
181
+ /**
182
+ * @generated from field: optional dailydotdev.api.sources.SelectorIngestionOptions extraction = 2;
183
+ */
184
+ extraction?: SelectorIngestionOptions;
185
+ constructor(data?: PartialMessage<PageIngestion>);
186
+ static readonly runtime: typeof proto3;
187
+ static readonly typeName = "dailydotdev.api.sources.PageIngestion";
188
+ static readonly fields: FieldList;
189
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PageIngestion;
190
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PageIngestion;
191
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PageIngestion;
192
+ static equals(a: PageIngestion | PlainMessage<PageIngestion> | undefined, b: PageIngestion | PlainMessage<PageIngestion> | undefined): boolean;
193
+ }
194
+ /**
195
+ * @generated from message dailydotdev.api.sources.TwitterAccountIngestion
196
+ */
197
+ declare class TwitterAccountIngestion extends Message<TwitterAccountIngestion> {
198
+ /**
199
+ * @generated from field: string username = 1;
200
+ */
201
+ username: string;
202
+ /**
203
+ * @generated from field: optional float audience_fit_threshold = 2;
204
+ */
205
+ audienceFitThreshold?: number;
206
+ constructor(data?: PartialMessage<TwitterAccountIngestion>);
207
+ static readonly runtime: typeof proto3;
208
+ static readonly typeName = "dailydotdev.api.sources.TwitterAccountIngestion";
209
+ static readonly fields: FieldList;
210
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TwitterAccountIngestion;
211
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TwitterAccountIngestion;
212
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TwitterAccountIngestion;
213
+ static equals(a: TwitterAccountIngestion | PlainMessage<TwitterAccountIngestion> | undefined, b: TwitterAccountIngestion | PlainMessage<TwitterAccountIngestion> | undefined): boolean;
214
+ }
215
+ /**
216
+ * @generated from message dailydotdev.api.sources.ProvisionSourceRequest
217
+ */
218
+ declare class ProvisionSourceRequest extends Message<ProvisionSourceRequest> {
219
+ /**
220
+ * @generated from field: string source_id = 1;
221
+ */
222
+ sourceId: string;
223
+ /**
224
+ * @generated from field: optional string name = 2;
225
+ */
226
+ name?: string;
227
+ /**
228
+ * @generated from field: optional string image = 3;
229
+ */
230
+ image?: string;
231
+ /**
232
+ * @generated from field: optional string twitter = 4;
233
+ */
234
+ twitter?: string;
235
+ /**
236
+ * @generated from field: optional string website = 5;
237
+ */
238
+ website?: string;
239
+ /**
240
+ * @generated from field: optional bool scrape_metadata = 6;
241
+ */
242
+ scrapeMetadata?: boolean;
243
+ /**
244
+ * @generated from oneof dailydotdev.api.sources.ProvisionSourceRequest.ingestion
245
+ */
246
+ ingestion: {
247
+ /**
248
+ * @generated from field: dailydotdev.api.sources.RssIngestion rss = 10;
249
+ */
250
+ value: RssIngestion;
251
+ case: "rss";
252
+ } | {
253
+ /**
254
+ * @generated from field: dailydotdev.api.sources.YoutubeChannelIngestion youtube_channel = 11;
255
+ */
256
+ value: YoutubeChannelIngestion;
257
+ case: "youtubeChannel";
258
+ } | {
259
+ /**
260
+ * @generated from field: dailydotdev.api.sources.RssNewsletterIngestion rss_newsletter = 12;
261
+ */
262
+ value: RssNewsletterIngestion;
263
+ case: "rssNewsletter";
264
+ } | {
265
+ /**
266
+ * @generated from field: dailydotdev.api.sources.PageIngestion page = 13;
267
+ */
268
+ value: PageIngestion;
269
+ case: "page";
270
+ } | {
271
+ /**
272
+ * @generated from field: dailydotdev.api.sources.TwitterAccountIngestion twitter_account = 14;
273
+ */
274
+ value: TwitterAccountIngestion;
275
+ case: "twitterAccount";
276
+ } | {
277
+ case: undefined;
278
+ value?: undefined;
279
+ };
280
+ constructor(data?: PartialMessage<ProvisionSourceRequest>);
281
+ static readonly runtime: typeof proto3;
282
+ static readonly typeName = "dailydotdev.api.sources.ProvisionSourceRequest";
283
+ static readonly fields: FieldList;
284
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProvisionSourceRequest;
285
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProvisionSourceRequest;
286
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProvisionSourceRequest;
287
+ static equals(a: ProvisionSourceRequest | PlainMessage<ProvisionSourceRequest> | undefined, b: ProvisionSourceRequest | PlainMessage<ProvisionSourceRequest> | undefined): boolean;
288
+ }
289
+ /**
290
+ * @generated from message dailydotdev.api.sources.ProvisionedIngestion
291
+ */
292
+ declare class ProvisionedIngestion extends Message<ProvisionedIngestion> {
293
+ /**
294
+ * @generated from field: dailydotdev.api.sources.SourceEngine engine = 1;
295
+ */
296
+ engine: SourceEngine;
297
+ /**
298
+ * @generated from field: string url = 2;
299
+ */
300
+ url: string;
301
+ /**
302
+ * @generated from field: optional string selector = 3;
303
+ */
304
+ selector?: string;
305
+ /**
306
+ * @generated from field: optional string evaluator = 4;
307
+ */
308
+ evaluator?: string;
309
+ /**
310
+ * @generated from field: optional string twitter_username = 5;
311
+ */
312
+ twitterUsername?: string;
313
+ /**
314
+ * @generated from field: optional float audience_fit_threshold = 6;
315
+ */
316
+ audienceFitThreshold?: number;
317
+ constructor(data?: PartialMessage<ProvisionedIngestion>);
318
+ static readonly runtime: typeof proto3;
319
+ static readonly typeName = "dailydotdev.api.sources.ProvisionedIngestion";
320
+ static readonly fields: FieldList;
321
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProvisionedIngestion;
322
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProvisionedIngestion;
323
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProvisionedIngestion;
324
+ static equals(a: ProvisionedIngestion | PlainMessage<ProvisionedIngestion> | undefined, b: ProvisionedIngestion | PlainMessage<ProvisionedIngestion> | undefined): boolean;
325
+ }
326
+ /**
327
+ * @generated from message dailydotdev.api.sources.ProvisionSourceResponse
328
+ */
329
+ declare class ProvisionSourceResponse extends Message<ProvisionSourceResponse> {
330
+ /**
331
+ * @generated from field: dailydotdev.api.sources.Source source = 1;
332
+ */
333
+ source?: Source;
334
+ /**
335
+ * @generated from field: dailydotdev.api.sources.ProvisionedIngestion ingestion = 2;
336
+ */
337
+ ingestion?: ProvisionedIngestion;
338
+ constructor(data?: PartialMessage<ProvisionSourceResponse>);
339
+ static readonly runtime: typeof proto3;
340
+ static readonly typeName = "dailydotdev.api.sources.ProvisionSourceResponse";
341
+ static readonly fields: FieldList;
342
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProvisionSourceResponse;
343
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProvisionSourceResponse;
344
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProvisionSourceResponse;
345
+ static equals(a: ProvisionSourceResponse | PlainMessage<ProvisionSourceResponse> | undefined, b: ProvisionSourceResponse | PlainMessage<ProvisionSourceResponse> | undefined): boolean;
346
+ }
68
347
 
69
- export { Source };
348
+ export { PageIngestion, ProvisionSourceRequest, ProvisionSourceResponse, ProvisionedIngestion, RssIngestion, RssNewsletterIngestion, SelectorIngestionOptions, Source, SourceEngine, TwitterAccountIngestion, YoutubeChannelIngestion };
@@ -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";var n=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.RSS=1]="RSS",t[t.YOUTUBE_CHANNEL=2]="YOUTUBE_CHANNEL",t[t.RSS_NEWSLETTER=3]="RSS_NEWSLETTER",t[t.PAGE=4]="PAGE",t[t.TWITTER_ACCOUNT=5]="TWITTER_ACCOUNT",t))(n||{});e.util.setEnumType(n,"dailydotdev.api.sources.SourceEngine",[{no:0,name:"SOURCE_ENGINE_UNSPECIFIED"},{no:1,name:"SOURCE_ENGINE_RSS"},{no:2,name:"SOURCE_ENGINE_YOUTUBE_CHANNEL"},{no:3,name:"SOURCE_ENGINE_RSS_NEWSLETTER"},{no:4,name:"SOURCE_ENGINE_PAGE"},{no:5,name:"SOURCE_ENGINE_TWITTER_ACCOUNT"}]);class i 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 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 a extends t{selector;evaluator;constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.SelectorIngestionOptions";static fields=e.util.newFieldList((()=>[{no:1,name:"selector",kind:"scalar",T:9,opt:!0},{no:2,name:"evaluator",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 r extends t{feedUrl="";constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.RssIngestion";static fields=e.util.newFieldList((()=>[{no:1,name:"feed_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 s extends t{channelUrl="";constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.YoutubeChannelIngestion";static fields=e.util.newFieldList((()=>[{no:1,name:"channel_url",kind:"scalar",T:9}]));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{feedUrl="";extraction;constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.RssNewsletterIngestion";static fields=e.util.newFieldList((()=>[{no:1,name:"feed_url",kind:"scalar",T:9},{no:2,name:"extraction",kind:"message",T:a,opt:!0}]));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{pageUrl="";extraction;constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.PageIngestion";static fields=e.util.newFieldList((()=>[{no:1,name:"page_url",kind:"scalar",T:9},{no:2,name:"extraction",kind:"message",T:a,opt:!0}]));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{username="";audienceFitThreshold;constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.TwitterAccountIngestion";static fields=e.util.newFieldList((()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"audience_fit_threshold",kind:"scalar",T:2,opt:!0}]));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)}}class l extends t{sourceId="";name;image;twitter;website;scrapeMetadata;ingestion={case:void 0};constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.ProvisionSourceRequest";static fields=e.util.newFieldList((()=>[{no:1,name:"source_id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9,opt:!0},{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},{no:6,name:"scrape_metadata",kind:"scalar",T:8,opt:!0},{no:10,name:"rss",kind:"message",T:r,oneof:"ingestion"},{no:11,name:"youtube_channel",kind:"message",T:s,oneof:"ingestion"},{no:12,name:"rss_newsletter",kind:"message",T:o,oneof:"ingestion"},{no:13,name:"page",kind:"message",T:c,oneof:"ingestion"},{no:14,name:"twitter_account",kind:"message",T:u,oneof:"ingestion"}]));static fromBinary(t,e){return(new l).fromBinary(t,e)}static fromJson(t,e){return(new l).fromJson(t,e)}static fromJsonString(t,e){return(new l).fromJsonString(t,e)}static equals(t,n){return e.util.equals(l,t,n)}}class m extends t{engine=0;url="";selector;evaluator;twitterUsername;audienceFitThreshold;constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.ProvisionedIngestion";static fields=e.util.newFieldList((()=>[{no:1,name:"engine",kind:"enum",T:e.getEnumType(n)},{no:2,name:"url",kind:"scalar",T:9},{no:3,name:"selector",kind:"scalar",T:9,opt:!0},{no:4,name:"evaluator",kind:"scalar",T:9,opt:!0},{no:5,name:"twitter_username",kind:"scalar",T:9,opt:!0},{no:6,name:"audience_fit_threshold",kind:"scalar",T:2,opt:!0}]));static fromBinary(t,e){return(new m).fromBinary(t,e)}static fromJson(t,e){return(new m).fromJson(t,e)}static fromJsonString(t,e){return(new m).fromJsonString(t,e)}static equals(t,n){return e.util.equals(m,t,n)}}class d extends t{source;ingestion;constructor(t){super(),e.util.initPartial(t,this)}static runtime=e;static typeName="dailydotdev.api.sources.ProvisionSourceResponse";static fields=e.util.newFieldList((()=>[{no:1,name:"source",kind:"message",T:i},{no:2,name:"ingestion",kind:"message",T:m}]));static fromBinary(t,e){return(new d).fromBinary(t,e)}static fromJson(t,e){return(new d).fromJson(t,e)}static fromJsonString(t,e){return(new d).fromJsonString(t,e)}static equals(t,n){return e.util.equals(d,t,n)}}export{c as PageIngestion,l as ProvisionSourceRequest,d as ProvisionSourceResponse,m as ProvisionedIngestion,r as RssIngestion,o as RssNewsletterIngestion,a as SelectorIngestionOptions,i as Source,n as SourceEngine,u as TwitterAccountIngestion,s as YoutubeChannelIngestion};
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 { PageIngestion, ProvisionSourceRequest, ProvisionSourceResponse, ProvisionedIngestion, RssIngestion, RssNewsletterIngestion, SelectorIngestionOptions, Source, SourceEngine, TwitterAccountIngestion, YoutubeChannelIngestion } 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 { PageIngestion, ProvisionSourceRequest, ProvisionSourceResponse, ProvisionedIngestion, RssIngestion, RssNewsletterIngestion, SelectorIngestionOptions, Source, SourceEngine, TwitterAccountIngestion, YoutubeChannelIngestion } 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.3.0",
4
4
  "author": "@dailydotdev",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",