@dailydotdev/schema 0.2.78 → 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.
- package/dist/daily-api/sources_connect.cjs +1 -1
- package/dist/daily-api/sources_connect.d.cts +7 -29
- package/dist/daily-api/sources_connect.d.ts +7 -29
- package/dist/daily-api/sources_connect.js +1 -1
- package/dist/daily-api/sources_pb.cjs +1 -1
- package/dist/daily-api/sources_pb.d.cts +208 -92
- package/dist/daily-api/sources_pb.d.ts +208 -92
- package/dist/daily-api/sources_pb.js +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var e,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,t=Object.getOwnPropertyNames,
|
|
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}}};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProvisionSourceRequest, ProvisionSourceResponse } from './sources_pb.cjs';
|
|
2
2
|
import '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -8,36 +8,14 @@ declare const SourceService: {
|
|
|
8
8
|
readonly typeName: "dailydotdev.api.sources.SourceService";
|
|
9
9
|
readonly methods: {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Create a source and provision its ingestion in one call.
|
|
12
12
|
*
|
|
13
|
-
* @generated from rpc dailydotdev.api.sources.SourceService.
|
|
13
|
+
* @generated from rpc dailydotdev.api.sources.SourceService.Provision
|
|
14
14
|
*/
|
|
15
|
-
readonly
|
|
16
|
-
readonly name: "
|
|
17
|
-
readonly I: typeof
|
|
18
|
-
readonly O: typeof
|
|
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;
|
|
15
|
+
readonly provision: {
|
|
16
|
+
readonly name: "Provision";
|
|
17
|
+
readonly I: typeof ProvisionSourceRequest;
|
|
18
|
+
readonly O: typeof ProvisionSourceResponse;
|
|
41
19
|
readonly kind: any;
|
|
42
20
|
};
|
|
43
21
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProvisionSourceRequest, ProvisionSourceResponse } from './sources_pb.js';
|
|
2
2
|
import '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -8,36 +8,14 @@ declare const SourceService: {
|
|
|
8
8
|
readonly typeName: "dailydotdev.api.sources.SourceService";
|
|
9
9
|
readonly methods: {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Create a source and provision its ingestion in one call.
|
|
12
12
|
*
|
|
13
|
-
* @generated from rpc dailydotdev.api.sources.SourceService.
|
|
13
|
+
* @generated from rpc dailydotdev.api.sources.SourceService.Provision
|
|
14
14
|
*/
|
|
15
|
-
readonly
|
|
16
|
-
readonly name: "
|
|
17
|
-
readonly I: typeof
|
|
18
|
-
readonly O: typeof
|
|
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;
|
|
15
|
+
readonly provision: {
|
|
16
|
+
readonly name: "Provision";
|
|
17
|
+
readonly I: typeof ProvisionSourceRequest;
|
|
18
|
+
readonly O: typeof ProvisionSourceResponse;
|
|
41
19
|
readonly kind: any;
|
|
42
20
|
};
|
|
43
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
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
|
|
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
|
*/
|
|
@@ -66,88 +95,135 @@ declare class Source extends Message<Source> {
|
|
|
66
95
|
static equals(a: Source | PlainMessage<Source> | undefined, b: Source | PlainMessage<Source> | undefined): boolean;
|
|
67
96
|
}
|
|
68
97
|
/**
|
|
69
|
-
* @generated from message dailydotdev.api.sources.
|
|
98
|
+
* @generated from message dailydotdev.api.sources.SelectorIngestionOptions
|
|
70
99
|
*/
|
|
71
|
-
declare class
|
|
100
|
+
declare class SelectorIngestionOptions extends Message<SelectorIngestionOptions> {
|
|
72
101
|
/**
|
|
73
|
-
* @generated from field: string
|
|
102
|
+
* @generated from field: optional string selector = 1;
|
|
74
103
|
*/
|
|
75
|
-
|
|
76
|
-
|
|
104
|
+
selector?: string;
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: optional string evaluator = 2;
|
|
107
|
+
*/
|
|
108
|
+
evaluator?: string;
|
|
109
|
+
constructor(data?: PartialMessage<SelectorIngestionOptions>);
|
|
77
110
|
static readonly runtime: typeof proto3;
|
|
78
|
-
static readonly typeName = "dailydotdev.api.sources.
|
|
111
|
+
static readonly typeName = "dailydotdev.api.sources.SelectorIngestionOptions";
|
|
79
112
|
static readonly fields: FieldList;
|
|
80
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
81
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
82
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
83
|
-
static equals(a:
|
|
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;
|
|
84
117
|
}
|
|
85
118
|
/**
|
|
86
|
-
* @generated from message dailydotdev.api.sources.
|
|
119
|
+
* @generated from message dailydotdev.api.sources.RssIngestion
|
|
87
120
|
*/
|
|
88
|
-
declare class
|
|
121
|
+
declare class RssIngestion extends Message<RssIngestion> {
|
|
89
122
|
/**
|
|
90
|
-
* @generated from field: string
|
|
123
|
+
* @generated from field: string feed_url = 1;
|
|
91
124
|
*/
|
|
92
|
-
|
|
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> {
|
|
93
139
|
/**
|
|
94
|
-
* @generated from field:
|
|
140
|
+
* @generated from field: string channel_url = 1;
|
|
95
141
|
*/
|
|
96
|
-
|
|
97
|
-
constructor(data?: PartialMessage<
|
|
142
|
+
channelUrl: string;
|
|
143
|
+
constructor(data?: PartialMessage<YoutubeChannelIngestion>);
|
|
98
144
|
static readonly runtime: typeof proto3;
|
|
99
|
-
static readonly typeName = "dailydotdev.api.sources.
|
|
145
|
+
static readonly typeName = "dailydotdev.api.sources.YoutubeChannelIngestion";
|
|
100
146
|
static readonly fields: FieldList;
|
|
101
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
102
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
103
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
104
|
-
static equals(a:
|
|
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;
|
|
105
151
|
}
|
|
106
152
|
/**
|
|
107
|
-
* @generated from message dailydotdev.api.sources.
|
|
153
|
+
* @generated from message dailydotdev.api.sources.RssNewsletterIngestion
|
|
108
154
|
*/
|
|
109
|
-
declare class
|
|
155
|
+
declare class RssNewsletterIngestion extends Message<RssNewsletterIngestion> {
|
|
110
156
|
/**
|
|
111
|
-
* @generated from field: string
|
|
157
|
+
* @generated from field: string feed_url = 1;
|
|
112
158
|
*/
|
|
113
|
-
|
|
159
|
+
feedUrl: string;
|
|
114
160
|
/**
|
|
115
|
-
* @generated from field: optional
|
|
161
|
+
* @generated from field: optional dailydotdev.api.sources.SelectorIngestionOptions extraction = 2;
|
|
116
162
|
*/
|
|
117
|
-
|
|
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> {
|
|
118
177
|
/**
|
|
119
|
-
* @generated from field:
|
|
178
|
+
* @generated from field: string page_url = 1;
|
|
120
179
|
*/
|
|
121
|
-
|
|
180
|
+
pageUrl: string;
|
|
122
181
|
/**
|
|
123
|
-
* @generated from field: optional
|
|
182
|
+
* @generated from field: optional dailydotdev.api.sources.SelectorIngestionOptions extraction = 2;
|
|
124
183
|
*/
|
|
125
|
-
|
|
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> {
|
|
126
198
|
/**
|
|
127
|
-
* @generated from field:
|
|
199
|
+
* @generated from field: string username = 1;
|
|
128
200
|
*/
|
|
129
|
-
|
|
130
|
-
|
|
201
|
+
username: string;
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: optional float audience_fit_threshold = 2;
|
|
204
|
+
*/
|
|
205
|
+
audienceFitThreshold?: number;
|
|
206
|
+
constructor(data?: PartialMessage<TwitterAccountIngestion>);
|
|
131
207
|
static readonly runtime: typeof proto3;
|
|
132
|
-
static readonly typeName = "dailydotdev.api.sources.
|
|
208
|
+
static readonly typeName = "dailydotdev.api.sources.TwitterAccountIngestion";
|
|
133
209
|
static readonly fields: FieldList;
|
|
134
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
135
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
136
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
137
|
-
static equals(a:
|
|
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;
|
|
138
214
|
}
|
|
139
215
|
/**
|
|
140
|
-
* @generated from message dailydotdev.api.sources.
|
|
216
|
+
* @generated from message dailydotdev.api.sources.ProvisionSourceRequest
|
|
141
217
|
*/
|
|
142
|
-
declare class
|
|
218
|
+
declare class ProvisionSourceRequest extends Message<ProvisionSourceRequest> {
|
|
143
219
|
/**
|
|
144
|
-
* @generated from field: string
|
|
220
|
+
* @generated from field: string source_id = 1;
|
|
145
221
|
*/
|
|
146
|
-
|
|
222
|
+
sourceId: string;
|
|
147
223
|
/**
|
|
148
|
-
* @generated from field: string name = 2;
|
|
224
|
+
* @generated from field: optional string name = 2;
|
|
149
225
|
*/
|
|
150
|
-
name
|
|
226
|
+
name?: string;
|
|
151
227
|
/**
|
|
152
228
|
* @generated from field: optional string image = 3;
|
|
153
229
|
*/
|
|
@@ -160,73 +236,113 @@ declare class CreateSourceRequest extends Message<CreateSourceRequest> {
|
|
|
160
236
|
* @generated from field: optional string website = 5;
|
|
161
237
|
*/
|
|
162
238
|
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
239
|
/**
|
|
177
|
-
* @generated from field:
|
|
240
|
+
* @generated from field: optional bool scrape_metadata = 6;
|
|
178
241
|
*/
|
|
179
|
-
|
|
180
|
-
|
|
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>);
|
|
181
281
|
static readonly runtime: typeof proto3;
|
|
182
|
-
static readonly typeName = "dailydotdev.api.sources.
|
|
282
|
+
static readonly typeName = "dailydotdev.api.sources.ProvisionSourceRequest";
|
|
183
283
|
static readonly fields: FieldList;
|
|
184
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
185
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
186
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
187
|
-
static equals(a:
|
|
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;
|
|
188
288
|
}
|
|
189
289
|
/**
|
|
190
|
-
* @generated from message dailydotdev.api.sources.
|
|
290
|
+
* @generated from message dailydotdev.api.sources.ProvisionedIngestion
|
|
191
291
|
*/
|
|
192
|
-
declare class
|
|
292
|
+
declare class ProvisionedIngestion extends Message<ProvisionedIngestion> {
|
|
193
293
|
/**
|
|
194
|
-
* @generated from field:
|
|
294
|
+
* @generated from field: dailydotdev.api.sources.SourceEngine engine = 1;
|
|
195
295
|
*/
|
|
196
|
-
|
|
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;
|
|
197
305
|
/**
|
|
198
|
-
* @generated from field: string
|
|
306
|
+
* @generated from field: optional string evaluator = 4;
|
|
199
307
|
*/
|
|
200
|
-
|
|
201
|
-
|
|
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>);
|
|
202
318
|
static readonly runtime: typeof proto3;
|
|
203
|
-
static readonly typeName = "dailydotdev.api.sources.
|
|
319
|
+
static readonly typeName = "dailydotdev.api.sources.ProvisionedIngestion";
|
|
204
320
|
static readonly fields: FieldList;
|
|
205
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
206
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
207
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
208
|
-
static equals(a:
|
|
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;
|
|
209
325
|
}
|
|
210
326
|
/**
|
|
211
|
-
* @generated from message dailydotdev.api.sources.
|
|
327
|
+
* @generated from message dailydotdev.api.sources.ProvisionSourceResponse
|
|
212
328
|
*/
|
|
213
|
-
declare class
|
|
329
|
+
declare class ProvisionSourceResponse extends Message<ProvisionSourceResponse> {
|
|
214
330
|
/**
|
|
215
|
-
* @generated from field:
|
|
331
|
+
* @generated from field: dailydotdev.api.sources.Source source = 1;
|
|
216
332
|
*/
|
|
217
|
-
|
|
333
|
+
source?: Source;
|
|
218
334
|
/**
|
|
219
|
-
* @generated from field:
|
|
335
|
+
* @generated from field: dailydotdev.api.sources.ProvisionedIngestion ingestion = 2;
|
|
220
336
|
*/
|
|
221
|
-
|
|
222
|
-
constructor(data?: PartialMessage<
|
|
337
|
+
ingestion?: ProvisionedIngestion;
|
|
338
|
+
constructor(data?: PartialMessage<ProvisionSourceResponse>);
|
|
223
339
|
static readonly runtime: typeof proto3;
|
|
224
|
-
static readonly typeName = "dailydotdev.api.sources.
|
|
340
|
+
static readonly typeName = "dailydotdev.api.sources.ProvisionSourceResponse";
|
|
225
341
|
static readonly fields: FieldList;
|
|
226
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
227
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
228
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
229
|
-
static equals(a:
|
|
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;
|
|
230
346
|
}
|
|
231
347
|
|
|
232
|
-
export {
|
|
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
|
*/
|
|
@@ -66,88 +95,135 @@ declare class Source extends Message<Source> {
|
|
|
66
95
|
static equals(a: Source | PlainMessage<Source> | undefined, b: Source | PlainMessage<Source> | undefined): boolean;
|
|
67
96
|
}
|
|
68
97
|
/**
|
|
69
|
-
* @generated from message dailydotdev.api.sources.
|
|
98
|
+
* @generated from message dailydotdev.api.sources.SelectorIngestionOptions
|
|
70
99
|
*/
|
|
71
|
-
declare class
|
|
100
|
+
declare class SelectorIngestionOptions extends Message<SelectorIngestionOptions> {
|
|
72
101
|
/**
|
|
73
|
-
* @generated from field: string
|
|
102
|
+
* @generated from field: optional string selector = 1;
|
|
74
103
|
*/
|
|
75
|
-
|
|
76
|
-
|
|
104
|
+
selector?: string;
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: optional string evaluator = 2;
|
|
107
|
+
*/
|
|
108
|
+
evaluator?: string;
|
|
109
|
+
constructor(data?: PartialMessage<SelectorIngestionOptions>);
|
|
77
110
|
static readonly runtime: typeof proto3;
|
|
78
|
-
static readonly typeName = "dailydotdev.api.sources.
|
|
111
|
+
static readonly typeName = "dailydotdev.api.sources.SelectorIngestionOptions";
|
|
79
112
|
static readonly fields: FieldList;
|
|
80
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
81
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
82
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
83
|
-
static equals(a:
|
|
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;
|
|
84
117
|
}
|
|
85
118
|
/**
|
|
86
|
-
* @generated from message dailydotdev.api.sources.
|
|
119
|
+
* @generated from message dailydotdev.api.sources.RssIngestion
|
|
87
120
|
*/
|
|
88
|
-
declare class
|
|
121
|
+
declare class RssIngestion extends Message<RssIngestion> {
|
|
89
122
|
/**
|
|
90
|
-
* @generated from field: string
|
|
123
|
+
* @generated from field: string feed_url = 1;
|
|
91
124
|
*/
|
|
92
|
-
|
|
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> {
|
|
93
139
|
/**
|
|
94
|
-
* @generated from field:
|
|
140
|
+
* @generated from field: string channel_url = 1;
|
|
95
141
|
*/
|
|
96
|
-
|
|
97
|
-
constructor(data?: PartialMessage<
|
|
142
|
+
channelUrl: string;
|
|
143
|
+
constructor(data?: PartialMessage<YoutubeChannelIngestion>);
|
|
98
144
|
static readonly runtime: typeof proto3;
|
|
99
|
-
static readonly typeName = "dailydotdev.api.sources.
|
|
145
|
+
static readonly typeName = "dailydotdev.api.sources.YoutubeChannelIngestion";
|
|
100
146
|
static readonly fields: FieldList;
|
|
101
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
102
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
103
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
104
|
-
static equals(a:
|
|
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;
|
|
105
151
|
}
|
|
106
152
|
/**
|
|
107
|
-
* @generated from message dailydotdev.api.sources.
|
|
153
|
+
* @generated from message dailydotdev.api.sources.RssNewsletterIngestion
|
|
108
154
|
*/
|
|
109
|
-
declare class
|
|
155
|
+
declare class RssNewsletterIngestion extends Message<RssNewsletterIngestion> {
|
|
110
156
|
/**
|
|
111
|
-
* @generated from field: string
|
|
157
|
+
* @generated from field: string feed_url = 1;
|
|
112
158
|
*/
|
|
113
|
-
|
|
159
|
+
feedUrl: string;
|
|
114
160
|
/**
|
|
115
|
-
* @generated from field: optional
|
|
161
|
+
* @generated from field: optional dailydotdev.api.sources.SelectorIngestionOptions extraction = 2;
|
|
116
162
|
*/
|
|
117
|
-
|
|
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> {
|
|
118
177
|
/**
|
|
119
|
-
* @generated from field:
|
|
178
|
+
* @generated from field: string page_url = 1;
|
|
120
179
|
*/
|
|
121
|
-
|
|
180
|
+
pageUrl: string;
|
|
122
181
|
/**
|
|
123
|
-
* @generated from field: optional
|
|
182
|
+
* @generated from field: optional dailydotdev.api.sources.SelectorIngestionOptions extraction = 2;
|
|
124
183
|
*/
|
|
125
|
-
|
|
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> {
|
|
126
198
|
/**
|
|
127
|
-
* @generated from field:
|
|
199
|
+
* @generated from field: string username = 1;
|
|
128
200
|
*/
|
|
129
|
-
|
|
130
|
-
|
|
201
|
+
username: string;
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: optional float audience_fit_threshold = 2;
|
|
204
|
+
*/
|
|
205
|
+
audienceFitThreshold?: number;
|
|
206
|
+
constructor(data?: PartialMessage<TwitterAccountIngestion>);
|
|
131
207
|
static readonly runtime: typeof proto3;
|
|
132
|
-
static readonly typeName = "dailydotdev.api.sources.
|
|
208
|
+
static readonly typeName = "dailydotdev.api.sources.TwitterAccountIngestion";
|
|
133
209
|
static readonly fields: FieldList;
|
|
134
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
135
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
136
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
137
|
-
static equals(a:
|
|
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;
|
|
138
214
|
}
|
|
139
215
|
/**
|
|
140
|
-
* @generated from message dailydotdev.api.sources.
|
|
216
|
+
* @generated from message dailydotdev.api.sources.ProvisionSourceRequest
|
|
141
217
|
*/
|
|
142
|
-
declare class
|
|
218
|
+
declare class ProvisionSourceRequest extends Message<ProvisionSourceRequest> {
|
|
143
219
|
/**
|
|
144
|
-
* @generated from field: string
|
|
220
|
+
* @generated from field: string source_id = 1;
|
|
145
221
|
*/
|
|
146
|
-
|
|
222
|
+
sourceId: string;
|
|
147
223
|
/**
|
|
148
|
-
* @generated from field: string name = 2;
|
|
224
|
+
* @generated from field: optional string name = 2;
|
|
149
225
|
*/
|
|
150
|
-
name
|
|
226
|
+
name?: string;
|
|
151
227
|
/**
|
|
152
228
|
* @generated from field: optional string image = 3;
|
|
153
229
|
*/
|
|
@@ -160,73 +236,113 @@ declare class CreateSourceRequest extends Message<CreateSourceRequest> {
|
|
|
160
236
|
* @generated from field: optional string website = 5;
|
|
161
237
|
*/
|
|
162
238
|
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
239
|
/**
|
|
177
|
-
* @generated from field:
|
|
240
|
+
* @generated from field: optional bool scrape_metadata = 6;
|
|
178
241
|
*/
|
|
179
|
-
|
|
180
|
-
|
|
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>);
|
|
181
281
|
static readonly runtime: typeof proto3;
|
|
182
|
-
static readonly typeName = "dailydotdev.api.sources.
|
|
282
|
+
static readonly typeName = "dailydotdev.api.sources.ProvisionSourceRequest";
|
|
183
283
|
static readonly fields: FieldList;
|
|
184
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
185
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
186
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
187
|
-
static equals(a:
|
|
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;
|
|
188
288
|
}
|
|
189
289
|
/**
|
|
190
|
-
* @generated from message dailydotdev.api.sources.
|
|
290
|
+
* @generated from message dailydotdev.api.sources.ProvisionedIngestion
|
|
191
291
|
*/
|
|
192
|
-
declare class
|
|
292
|
+
declare class ProvisionedIngestion extends Message<ProvisionedIngestion> {
|
|
193
293
|
/**
|
|
194
|
-
* @generated from field:
|
|
294
|
+
* @generated from field: dailydotdev.api.sources.SourceEngine engine = 1;
|
|
195
295
|
*/
|
|
196
|
-
|
|
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;
|
|
197
305
|
/**
|
|
198
|
-
* @generated from field: string
|
|
306
|
+
* @generated from field: optional string evaluator = 4;
|
|
199
307
|
*/
|
|
200
|
-
|
|
201
|
-
|
|
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>);
|
|
202
318
|
static readonly runtime: typeof proto3;
|
|
203
|
-
static readonly typeName = "dailydotdev.api.sources.
|
|
319
|
+
static readonly typeName = "dailydotdev.api.sources.ProvisionedIngestion";
|
|
204
320
|
static readonly fields: FieldList;
|
|
205
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
206
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
207
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
208
|
-
static equals(a:
|
|
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;
|
|
209
325
|
}
|
|
210
326
|
/**
|
|
211
|
-
* @generated from message dailydotdev.api.sources.
|
|
327
|
+
* @generated from message dailydotdev.api.sources.ProvisionSourceResponse
|
|
212
328
|
*/
|
|
213
|
-
declare class
|
|
329
|
+
declare class ProvisionSourceResponse extends Message<ProvisionSourceResponse> {
|
|
214
330
|
/**
|
|
215
|
-
* @generated from field:
|
|
331
|
+
* @generated from field: dailydotdev.api.sources.Source source = 1;
|
|
216
332
|
*/
|
|
217
|
-
|
|
333
|
+
source?: Source;
|
|
218
334
|
/**
|
|
219
|
-
* @generated from field:
|
|
335
|
+
* @generated from field: dailydotdev.api.sources.ProvisionedIngestion ingestion = 2;
|
|
220
336
|
*/
|
|
221
|
-
|
|
222
|
-
constructor(data?: PartialMessage<
|
|
337
|
+
ingestion?: ProvisionedIngestion;
|
|
338
|
+
constructor(data?: PartialMessage<ProvisionSourceResponse>);
|
|
223
339
|
static readonly runtime: typeof proto3;
|
|
224
|
-
static readonly typeName = "dailydotdev.api.sources.
|
|
340
|
+
static readonly typeName = "dailydotdev.api.sources.ProvisionSourceResponse";
|
|
225
341
|
static readonly fields: FieldList;
|
|
226
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
227
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
228
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
229
|
-
static equals(a:
|
|
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;
|
|
230
346
|
}
|
|
231
347
|
|
|
232
|
-
export {
|
|
348
|
+
export { PageIngestion, ProvisionSourceRequest, ProvisionSourceResponse, ProvisionedIngestion, RssIngestion, RssNewsletterIngestion, SelectorIngestionOptions, Source, SourceEngine, TwitterAccountIngestion, YoutubeChannelIngestion };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as t,proto3 as e}from"@bufbuild/protobuf";
|
|
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.d.cts
CHANGED
|
@@ -15,7 +15,7 @@ export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, Cr
|
|
|
15
15
|
export { SourceRequestService } from './daily-api/source-requests_connect.cjs';
|
|
16
16
|
export { CreateSourceRequestInput, CreateSourceRequestResponse } from './daily-api/source-requests_pb.cjs';
|
|
17
17
|
export { SourceService } from './daily-api/sources_connect.cjs';
|
|
18
|
-
export {
|
|
18
|
+
export { PageIngestion, ProvisionSourceRequest, ProvisionSourceResponse, ProvisionedIngestion, RssIngestion, RssNewsletterIngestion, SelectorIngestionOptions, Source, SourceEngine, TwitterAccountIngestion, YoutubeChannelIngestion } from './daily-api/sources_pb.cjs';
|
|
19
19
|
export { CandidateStatus, UserCandidatePreference } from './daily-api/user-candidate-preference_pb.cjs';
|
|
20
20
|
export { UserExperience, UserExperienceSkill, UserExperienceType, UserProfile } from './daily-api/user-experience_pb.cjs';
|
|
21
21
|
export { UserCV } from './daily-api/user_pb.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { AIGCDetect, Cleaned, ContentMeta, ContentQuality, CreatePostRequest, Cr
|
|
|
15
15
|
export { SourceRequestService } from './daily-api/source-requests_connect.js';
|
|
16
16
|
export { CreateSourceRequestInput, CreateSourceRequestResponse } from './daily-api/source-requests_pb.js';
|
|
17
17
|
export { SourceService } from './daily-api/sources_connect.js';
|
|
18
|
-
export {
|
|
18
|
+
export { PageIngestion, ProvisionSourceRequest, ProvisionSourceResponse, ProvisionedIngestion, RssIngestion, RssNewsletterIngestion, SelectorIngestionOptions, Source, SourceEngine, TwitterAccountIngestion, YoutubeChannelIngestion } from './daily-api/sources_pb.js';
|
|
19
19
|
export { CandidateStatus, UserCandidatePreference } from './daily-api/user-candidate-preference_pb.js';
|
|
20
20
|
export { UserExperience, UserExperienceSkill, UserExperienceType, UserProfile } from './daily-api/user-experience_pb.js';
|
|
21
21
|
export { UserCV } from './daily-api/user_pb.js';
|