fix: fix webui compability
This commit is contained in:
parent
c3e546e256
commit
b4090e74c0
@ -1,6 +1,12 @@
|
|||||||
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
||||||
|
|
||||||
use crate::{graphql::domains::subscribers::restrict_subscriber_for_entity, models::bangumi};
|
use crate::{
|
||||||
|
graphql::{
|
||||||
|
domains::subscribers::restrict_subscriber_for_entity,
|
||||||
|
infra::custom::register_entity_default_writable,
|
||||||
|
},
|
||||||
|
models::bangumi,
|
||||||
|
};
|
||||||
|
|
||||||
pub fn register_bangumi_to_schema_context(context: &mut BuilderContext) {
|
pub fn register_bangumi_to_schema_context(context: &mut BuilderContext) {
|
||||||
restrict_subscriber_for_entity::<bangumi::Entity>(context, &bangumi::Column::SubscriberId);
|
restrict_subscriber_for_entity::<bangumi::Entity>(context, &bangumi::Column::SubscriberId);
|
||||||
@ -8,7 +14,6 @@ pub fn register_bangumi_to_schema_context(context: &mut BuilderContext) {
|
|||||||
|
|
||||||
pub fn register_bangumi_to_schema_builder(mut builder: SeaographyBuilder) -> SeaographyBuilder {
|
pub fn register_bangumi_to_schema_builder(mut builder: SeaographyBuilder) -> SeaographyBuilder {
|
||||||
builder.register_enumeration::<bangumi::BangumiType>();
|
builder.register_enumeration::<bangumi::BangumiType>();
|
||||||
seaography::register_entity!(builder, bangumi);
|
|
||||||
|
|
||||||
builder
|
register_entity_default_writable!(builder, bangumi, false)
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@ use std::sync::Arc;
|
|||||||
|
|
||||||
use async_graphql::dynamic::{Field, FieldFuture, FieldValue, Object, TypeRef};
|
use async_graphql::dynamic::{Field, FieldFuture, FieldValue, Object, TypeRef};
|
||||||
use sea_orm::{EntityTrait, QueryFilter};
|
use sea_orm::{EntityTrait, QueryFilter};
|
||||||
use seaography::{Builder as SeaographyBuilder, BuilderContext, get_filter_conditions};
|
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use util_derive::DynamicGraphql;
|
use util_derive::DynamicGraphql;
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ use crate::{
|
|||||||
register_crypto_column_input_conversion_to_schema_context,
|
register_crypto_column_input_conversion_to_schema_context,
|
||||||
register_crypto_column_output_conversion_to_schema_context,
|
register_crypto_column_output_conversion_to_schema_context,
|
||||||
},
|
},
|
||||||
custom::generate_entity_filtered_mutation_field,
|
custom::{generate_entity_filtered_mutation_field, register_entity_default_writable},
|
||||||
name::get_entity_custom_mutation_field_name,
|
name::get_entity_custom_mutation_field_name,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -95,7 +95,7 @@ pub fn register_credential3rd_to_schema_builder(
|
|||||||
mut builder: SeaographyBuilder,
|
mut builder: SeaographyBuilder,
|
||||||
) -> SeaographyBuilder {
|
) -> SeaographyBuilder {
|
||||||
builder.register_enumeration::<credential_3rd::Credential3rdType>();
|
builder.register_enumeration::<credential_3rd::Credential3rdType>();
|
||||||
seaography::register_entity!(builder, credential_3rd);
|
builder = register_entity_default_writable!(builder, credential_3rd, false);
|
||||||
|
|
||||||
builder.schema = builder
|
builder.schema = builder
|
||||||
.schema
|
.schema
|
||||||
@ -111,18 +111,12 @@ pub fn register_credential3rd_to_schema_builder(
|
|||||||
builder_context,
|
builder_context,
|
||||||
check_available_mutation_name,
|
check_available_mutation_name,
|
||||||
TypeRef::named_nn(Credential3rdCheckAvailableInfo::object_type_name()),
|
TypeRef::named_nn(Credential3rdCheckAvailableInfo::object_type_name()),
|
||||||
Arc::new(|resolver_ctx, app_ctx, filters| {
|
Arc::new(|_resolver_ctx, app_ctx, filters| {
|
||||||
let filters_condition = get_filter_conditions::<credential_3rd::Entity>(
|
|
||||||
resolver_ctx,
|
|
||||||
builder_context,
|
|
||||||
filters,
|
|
||||||
);
|
|
||||||
|
|
||||||
Box::pin(async move {
|
Box::pin(async move {
|
||||||
let db = app_ctx.db();
|
let db = app_ctx.db();
|
||||||
|
|
||||||
let credential_model = credential_3rd::Entity::find()
|
let credential_model = credential_3rd::Entity::find()
|
||||||
.filter(filters_condition)
|
.filter(filters)
|
||||||
.one(db)
|
.one(db)
|
||||||
.await?
|
.await?
|
||||||
.ok_or_else(|| {
|
.ok_or_else(|| {
|
||||||
|
@ -6,14 +6,7 @@ use crate::{
|
|||||||
graphql::{
|
graphql::{
|
||||||
domains::subscribers::restrict_subscriber_for_entity,
|
domains::subscribers::restrict_subscriber_for_entity,
|
||||||
infra::{
|
infra::{
|
||||||
custom::{
|
custom::register_entity_default_writable,
|
||||||
generate_entity_default_create_batch_mutation_field,
|
|
||||||
generate_entity_default_create_one_mutation_field,
|
|
||||||
generate_entity_default_delete_mutation_field,
|
|
||||||
generate_entity_default_insert_input_object,
|
|
||||||
generate_entity_default_update_input_object,
|
|
||||||
generate_entity_default_update_mutation_field,
|
|
||||||
},
|
|
||||||
json::{
|
json::{
|
||||||
convert_jsonb_output_case_for_entity, restrict_jsonb_filter_input_for_entity,
|
convert_jsonb_output_case_for_entity, restrict_jsonb_filter_input_for_entity,
|
||||||
validate_jsonb_input_for_entity,
|
validate_jsonb_input_for_entity,
|
||||||
@ -70,58 +63,9 @@ pub fn register_cron_to_schema_context(context: &mut BuilderContext) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn register_cron_to_schema_builder(mut builder: SeaographyBuilder) -> SeaographyBuilder {
|
pub fn register_cron_to_schema_builder(mut builder: SeaographyBuilder) -> SeaographyBuilder {
|
||||||
builder.register_entity::<cron::Entity>(
|
|
||||||
<cron::RelatedEntity as sea_orm::Iterable>::iter()
|
|
||||||
.map(|rel| seaography::RelationBuilder::get_relation(&rel, builder.context))
|
|
||||||
.collect(),
|
|
||||||
);
|
|
||||||
builder = builder.register_entity_dataloader_one_to_one(cron::Entity, tokio::spawn);
|
|
||||||
builder = builder.register_entity_dataloader_one_to_many(cron::Entity, tokio::spawn);
|
|
||||||
|
|
||||||
builder.register_enumeration::<cron::CronStatus>();
|
builder.register_enumeration::<cron::CronStatus>();
|
||||||
|
|
||||||
let builder_context = builder.context;
|
builder = register_entity_default_writable!(builder, cron, true);
|
||||||
|
|
||||||
{
|
|
||||||
builder
|
|
||||||
.inputs
|
|
||||||
.push(generate_entity_default_insert_input_object::<cron::Entity>(
|
|
||||||
builder_context,
|
|
||||||
));
|
|
||||||
builder
|
|
||||||
.mutations
|
|
||||||
.push(generate_entity_default_create_one_mutation_field::<
|
|
||||||
cron::Entity,
|
|
||||||
_,
|
|
||||||
>(builder_context, true));
|
|
||||||
builder
|
|
||||||
.mutations
|
|
||||||
.push(generate_entity_default_create_batch_mutation_field::<
|
|
||||||
cron::Entity,
|
|
||||||
_,
|
|
||||||
>(builder_context, true));
|
|
||||||
}
|
|
||||||
{
|
|
||||||
builder
|
|
||||||
.inputs
|
|
||||||
.push(generate_entity_default_update_input_object::<cron::Entity>(
|
|
||||||
builder_context,
|
|
||||||
));
|
|
||||||
builder
|
|
||||||
.mutations
|
|
||||||
.push(generate_entity_default_update_mutation_field::<
|
|
||||||
cron::Entity,
|
|
||||||
_,
|
|
||||||
>(builder_context, true));
|
|
||||||
}
|
|
||||||
{
|
|
||||||
builder
|
|
||||||
.mutations
|
|
||||||
.push(generate_entity_default_delete_mutation_field::<
|
|
||||||
cron::Entity,
|
|
||||||
_,
|
|
||||||
>(builder_context, false));
|
|
||||||
}
|
|
||||||
|
|
||||||
builder
|
builder
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
||||||
|
|
||||||
use crate::{graphql::domains::subscribers::restrict_subscriber_for_entity, models::downloaders};
|
use crate::{
|
||||||
|
graphql::{
|
||||||
|
domains::subscribers::restrict_subscriber_for_entity,
|
||||||
|
infra::custom::register_entity_default_writable,
|
||||||
|
},
|
||||||
|
models::downloaders,
|
||||||
|
};
|
||||||
|
|
||||||
pub fn register_downloaders_to_schema_context(context: &mut BuilderContext) {
|
pub fn register_downloaders_to_schema_context(context: &mut BuilderContext) {
|
||||||
restrict_subscriber_for_entity::<downloaders::Entity>(
|
restrict_subscriber_for_entity::<downloaders::Entity>(
|
||||||
@ -11,7 +17,7 @@ pub fn register_downloaders_to_schema_context(context: &mut BuilderContext) {
|
|||||||
|
|
||||||
pub fn register_downloaders_to_schema_builder(mut builder: SeaographyBuilder) -> SeaographyBuilder {
|
pub fn register_downloaders_to_schema_builder(mut builder: SeaographyBuilder) -> SeaographyBuilder {
|
||||||
builder.register_enumeration::<downloaders::DownloaderCategory>();
|
builder.register_enumeration::<downloaders::DownloaderCategory>();
|
||||||
seaography::register_entity!(builder, downloaders);
|
builder = register_entity_default_writable!(builder, downloaders, false);
|
||||||
|
|
||||||
builder
|
builder
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
||||||
|
|
||||||
use crate::{graphql::domains::subscribers::restrict_subscriber_for_entity, models::downloads};
|
use crate::{
|
||||||
|
graphql::{
|
||||||
|
domains::subscribers::restrict_subscriber_for_entity,
|
||||||
|
infra::custom::register_entity_default_writable,
|
||||||
|
},
|
||||||
|
models::downloads,
|
||||||
|
};
|
||||||
|
|
||||||
pub fn register_downloads_to_schema_context(context: &mut BuilderContext) {
|
pub fn register_downloads_to_schema_context(context: &mut BuilderContext) {
|
||||||
restrict_subscriber_for_entity::<downloads::Entity>(context, &downloads::Column::SubscriberId);
|
restrict_subscriber_for_entity::<downloads::Entity>(context, &downloads::Column::SubscriberId);
|
||||||
@ -9,7 +15,7 @@ pub fn register_downloads_to_schema_context(context: &mut BuilderContext) {
|
|||||||
pub fn register_downloads_to_schema_builder(mut builder: SeaographyBuilder) -> SeaographyBuilder {
|
pub fn register_downloads_to_schema_builder(mut builder: SeaographyBuilder) -> SeaographyBuilder {
|
||||||
builder.register_enumeration::<downloads::DownloadStatus>();
|
builder.register_enumeration::<downloads::DownloadStatus>();
|
||||||
builder.register_enumeration::<downloads::DownloadMime>();
|
builder.register_enumeration::<downloads::DownloadMime>();
|
||||||
seaography::register_entity!(builder, downloads);
|
builder = register_entity_default_writable!(builder, downloads, false);
|
||||||
|
|
||||||
builder
|
builder
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
||||||
|
|
||||||
use crate::{graphql::domains::subscribers::restrict_subscriber_for_entity, models::episodes};
|
use crate::{
|
||||||
|
graphql::{
|
||||||
|
domains::subscribers::restrict_subscriber_for_entity,
|
||||||
|
infra::custom::register_entity_default_writable,
|
||||||
|
},
|
||||||
|
models::episodes,
|
||||||
|
};
|
||||||
|
|
||||||
pub fn register_episodes_to_schema_context(context: &mut BuilderContext) {
|
pub fn register_episodes_to_schema_context(context: &mut BuilderContext) {
|
||||||
restrict_subscriber_for_entity::<episodes::Entity>(context, &episodes::Column::SubscriberId);
|
restrict_subscriber_for_entity::<episodes::Entity>(context, &episodes::Column::SubscriberId);
|
||||||
@ -8,7 +14,7 @@ pub fn register_episodes_to_schema_context(context: &mut BuilderContext) {
|
|||||||
|
|
||||||
pub fn register_episodes_to_schema_builder(mut builder: SeaographyBuilder) -> SeaographyBuilder {
|
pub fn register_episodes_to_schema_builder(mut builder: SeaographyBuilder) -> SeaographyBuilder {
|
||||||
builder.register_enumeration::<episodes::EpisodeType>();
|
builder.register_enumeration::<episodes::EpisodeType>();
|
||||||
seaography::register_entity!(builder, episodes);
|
builder = register_entity_default_writable!(builder, episodes, false);
|
||||||
|
|
||||||
builder
|
builder
|
||||||
}
|
}
|
||||||
|
@ -7,9 +7,12 @@ use seaography::{Builder as SeaographyBuilder, BuilderContext, SeaResult};
|
|||||||
use crate::{
|
use crate::{
|
||||||
graphql::{
|
graphql::{
|
||||||
domains::subscribers::restrict_subscriber_for_entity,
|
domains::subscribers::restrict_subscriber_for_entity,
|
||||||
infra::name::{
|
infra::{
|
||||||
get_entity_and_column_name, get_entity_create_batch_mutation_field_name,
|
custom::register_entity_default_writable,
|
||||||
get_entity_create_one_mutation_field_name,
|
name::{
|
||||||
|
get_entity_and_column_name, get_entity_create_batch_mutation_field_name,
|
||||||
|
get_entity_create_one_mutation_field_name,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
models::feeds,
|
models::feeds,
|
||||||
@ -45,7 +48,8 @@ pub fn register_feeds_to_schema_context(context: &mut BuilderContext) {
|
|||||||
pub fn register_feeds_to_schema_builder(mut builder: SeaographyBuilder) -> SeaographyBuilder {
|
pub fn register_feeds_to_schema_builder(mut builder: SeaographyBuilder) -> SeaographyBuilder {
|
||||||
builder.register_enumeration::<feeds::FeedType>();
|
builder.register_enumeration::<feeds::FeedType>();
|
||||||
builder.register_enumeration::<feeds::FeedSource>();
|
builder.register_enumeration::<feeds::FeedSource>();
|
||||||
seaography::register_entity!(builder, feeds);
|
|
||||||
|
builder = register_entity_default_writable!(builder, feeds, false);
|
||||||
|
|
||||||
builder
|
builder
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,7 @@ use sea_orm::{
|
|||||||
ColumnTrait, ConnectionTrait, EntityTrait, Iterable, QueryFilter, QuerySelect, QueryTrait,
|
ColumnTrait, ConnectionTrait, EntityTrait, Iterable, QueryFilter, QuerySelect, QueryTrait,
|
||||||
prelude::Expr, sea_query::Query,
|
prelude::Expr, sea_query::Query,
|
||||||
};
|
};
|
||||||
use seaography::{
|
use seaography::{Builder as SeaographyBuilder, BuilderContext, GuardAction};
|
||||||
Builder as SeaographyBuilder, BuilderContext, GuardAction, get_filter_conditions,
|
|
||||||
};
|
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
auth::AuthUserInfo,
|
auth::AuthUserInfo,
|
||||||
@ -18,8 +16,9 @@ use crate::{
|
|||||||
infra::{
|
infra::{
|
||||||
custom::{
|
custom::{
|
||||||
generate_entity_create_one_mutation_field,
|
generate_entity_create_one_mutation_field,
|
||||||
generate_entity_default_insert_input_object,
|
generate_entity_default_basic_entity_object,
|
||||||
generate_entity_filtered_mutation_field,
|
generate_entity_default_insert_input_object, generate_entity_delete_mutation_field,
|
||||||
|
generate_entity_filtered_mutation_field, register_entity_default_readonly,
|
||||||
},
|
},
|
||||||
json::{
|
json::{
|
||||||
convert_jsonb_output_case_for_entity, restrict_jsonb_filter_input_for_entity,
|
convert_jsonb_output_case_for_entity, restrict_jsonb_filter_input_for_entity,
|
||||||
@ -31,7 +30,7 @@ use crate::{
|
|||||||
get_entity_create_batch_mutation_field_name,
|
get_entity_create_batch_mutation_field_name,
|
||||||
get_entity_create_one_mutation_data_field_name,
|
get_entity_create_one_mutation_data_field_name,
|
||||||
get_entity_create_one_mutation_field_name, get_entity_custom_mutation_field_name,
|
get_entity_create_one_mutation_field_name, get_entity_custom_mutation_field_name,
|
||||||
get_entity_delete_mutation_field_name, get_entity_update_mutation_field_name,
|
get_entity_update_mutation_field_name,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -186,79 +185,66 @@ pub fn register_subscriber_tasks_to_schema_context(context: &mut BuilderContext)
|
|||||||
pub fn register_subscriber_tasks_to_schema_builder(
|
pub fn register_subscriber_tasks_to_schema_builder(
|
||||||
mut builder: SeaographyBuilder,
|
mut builder: SeaographyBuilder,
|
||||||
) -> SeaographyBuilder {
|
) -> SeaographyBuilder {
|
||||||
builder.register_entity::<subscriber_tasks::Entity>(
|
|
||||||
<subscriber_tasks::RelatedEntity as sea_orm::Iterable>::iter()
|
|
||||||
.map(|rel| seaography::RelationBuilder::get_relation(&rel, builder.context))
|
|
||||||
.collect(),
|
|
||||||
);
|
|
||||||
builder = builder.register_entity_dataloader_one_to_one(subscriber_tasks::Entity, tokio::spawn);
|
|
||||||
builder =
|
|
||||||
builder.register_entity_dataloader_one_to_many(subscriber_tasks::Entity, tokio::spawn);
|
|
||||||
builder.register_enumeration::<subscriber_tasks::SubscriberTaskType>();
|
builder.register_enumeration::<subscriber_tasks::SubscriberTaskType>();
|
||||||
builder.register_enumeration::<subscriber_tasks::SubscriberTaskStatus>();
|
builder.register_enumeration::<subscriber_tasks::SubscriberTaskStatus>();
|
||||||
|
|
||||||
let context = builder.context;
|
builder = register_entity_default_readonly!(builder, subscriber_tasks);
|
||||||
|
|
||||||
|
let builder_context = builder.context;
|
||||||
{
|
{
|
||||||
let delete_mutation =
|
builder
|
||||||
generate_entity_filtered_mutation_field::<subscriber_tasks::Entity, _, _>(
|
.outputs
|
||||||
context,
|
.push(generate_entity_default_basic_entity_object::<
|
||||||
get_entity_delete_mutation_field_name::<subscriber_tasks::Entity>(context),
|
subscriber_tasks::Entity,
|
||||||
TypeRef::named_nn(TypeRef::INT),
|
>(builder_context));
|
||||||
Arc::new(|resolver_ctx, app_ctx, filters| {
|
}
|
||||||
let filters_condition = get_filter_conditions::<subscriber_tasks::Entity>(
|
{
|
||||||
resolver_ctx,
|
let delete_mutation = generate_entity_delete_mutation_field::<subscriber_tasks::Entity>(
|
||||||
context,
|
builder_context,
|
||||||
filters,
|
Arc::new(|_resolver_ctx, app_ctx, filters| {
|
||||||
);
|
Box::pin(async move {
|
||||||
Box::pin(async move {
|
let db = app_ctx.db();
|
||||||
let db = app_ctx.db();
|
|
||||||
|
|
||||||
let select_subquery = subscriber_tasks::Entity::find()
|
let select_subquery = subscriber_tasks::Entity::find()
|
||||||
.select_only()
|
.select_only()
|
||||||
.column(subscriber_tasks::Column::Id)
|
.column(subscriber_tasks::Column::Id)
|
||||||
.filter(filters_condition);
|
.filter(filters);
|
||||||
|
|
||||||
let delete_query = Query::delete()
|
let delete_query = Query::delete()
|
||||||
.from_table((ApalisSchema::Schema, ApalisJobs::Table))
|
.from_table((ApalisSchema::Schema, ApalisJobs::Table))
|
||||||
.and_where(
|
.and_where(
|
||||||
Expr::col(ApalisJobs::Id).in_subquery(select_subquery.into_query()),
|
Expr::col(ApalisJobs::Id).in_subquery(select_subquery.into_query()),
|
||||||
)
|
)
|
||||||
.to_owned();
|
.to_owned();
|
||||||
|
|
||||||
let db_backend = db.deref().get_database_backend();
|
let db_backend = db.deref().get_database_backend();
|
||||||
let delete_statement = db_backend.build(&delete_query);
|
let delete_statement = db_backend.build(&delete_query);
|
||||||
|
|
||||||
let result = db.execute(delete_statement).await?;
|
let result = db.execute(delete_statement).await?;
|
||||||
|
|
||||||
Ok::<_, RecorderError>(Some(FieldValue::value(
|
Ok::<_, RecorderError>(result.rows_affected())
|
||||||
result.rows_affected() as i32
|
})
|
||||||
)))
|
}),
|
||||||
})
|
);
|
||||||
}),
|
|
||||||
);
|
|
||||||
builder.mutations.push(delete_mutation);
|
builder.mutations.push(delete_mutation);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
let entity_retry_one_mutation_name =
|
let entity_retry_one_mutation_name = get_entity_custom_mutation_field_name::<
|
||||||
get_entity_custom_mutation_field_name::<subscriber_tasks::Entity>(context, "RetryOne");
|
subscriber_tasks::Entity,
|
||||||
|
>(builder_context, "RetryOne");
|
||||||
let retry_one_mutation =
|
let retry_one_mutation =
|
||||||
generate_entity_filtered_mutation_field::<subscriber_tasks::Entity, _, _>(
|
generate_entity_filtered_mutation_field::<subscriber_tasks::Entity, _, _>(
|
||||||
context,
|
builder_context,
|
||||||
entity_retry_one_mutation_name,
|
entity_retry_one_mutation_name,
|
||||||
TypeRef::named_nn(get_entity_basic_type_name::<subscriber_tasks::Entity>(
|
TypeRef::named_nn(get_entity_basic_type_name::<subscriber_tasks::Entity>(
|
||||||
context,
|
builder_context,
|
||||||
)),
|
)),
|
||||||
Arc::new(|resolver_ctx, app_ctx, filters| {
|
Arc::new(|_resolver_ctx, app_ctx, filters| {
|
||||||
let filters_condition = get_filter_conditions::<subscriber_tasks::Entity>(
|
|
||||||
resolver_ctx,
|
|
||||||
context,
|
|
||||||
filters,
|
|
||||||
);
|
|
||||||
Box::pin(async move {
|
Box::pin(async move {
|
||||||
let db = app_ctx.db();
|
let db = app_ctx.db();
|
||||||
|
|
||||||
let job_id = subscriber_tasks::Entity::find()
|
let job_id = subscriber_tasks::Entity::find()
|
||||||
.filter(filters_condition)
|
.filter(filters)
|
||||||
.select_only()
|
.select_only()
|
||||||
.column(subscriber_tasks::Column::Id)
|
.column(subscriber_tasks::Column::Id)
|
||||||
.into_tuple::<String>()
|
.into_tuple::<String>()
|
||||||
@ -290,14 +276,14 @@ pub fn register_subscriber_tasks_to_schema_builder(
|
|||||||
.inputs
|
.inputs
|
||||||
.push(generate_entity_default_insert_input_object::<
|
.push(generate_entity_default_insert_input_object::<
|
||||||
subscriber_tasks::Entity,
|
subscriber_tasks::Entity,
|
||||||
>(context));
|
>(builder_context));
|
||||||
let create_one_mutation =
|
let create_one_mutation =
|
||||||
generate_entity_create_one_mutation_field::<subscriber_tasks::Entity, TypeRef>(
|
generate_entity_create_one_mutation_field::<subscriber_tasks::Entity, TypeRef>(
|
||||||
context,
|
builder_context,
|
||||||
None,
|
None,
|
||||||
Arc::new(|_resolver_ctx, app_ctx, input_object| {
|
Arc::new(|_resolver_ctx, app_ctx, input_object| {
|
||||||
let job_column_name = get_column_name::<subscriber_tasks::Entity>(
|
let job_column_name = get_column_name::<subscriber_tasks::Entity>(
|
||||||
context,
|
builder_context,
|
||||||
&subscriber_tasks::Column::Job,
|
&subscriber_tasks::Column::Job,
|
||||||
);
|
);
|
||||||
let task = input_object
|
let task = input_object
|
||||||
|
@ -12,13 +12,16 @@ use seaography::{
|
|||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
auth::{AuthError, AuthUserInfo},
|
auth::{AuthError, AuthUserInfo},
|
||||||
graphql::infra::name::{
|
graphql::infra::{
|
||||||
get_column_name, get_entity_and_column_name,
|
custom::register_entity_default_readonly,
|
||||||
get_entity_create_batch_mutation_data_field_name,
|
name::{
|
||||||
get_entity_create_batch_mutation_field_name,
|
get_column_name, get_entity_and_column_name,
|
||||||
get_entity_create_one_mutation_data_field_name, get_entity_create_one_mutation_field_name,
|
get_entity_create_batch_mutation_data_field_name,
|
||||||
get_entity_name, get_entity_update_mutation_data_field_name,
|
get_entity_create_batch_mutation_field_name,
|
||||||
get_entity_update_mutation_field_name,
|
get_entity_create_one_mutation_data_field_name,
|
||||||
|
get_entity_create_one_mutation_field_name, get_entity_name,
|
||||||
|
get_entity_update_mutation_data_field_name, get_entity_update_mutation_field_name,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
models::subscribers,
|
models::subscribers,
|
||||||
};
|
};
|
||||||
@ -325,15 +328,7 @@ pub fn register_subscribers_to_schema_builder(mut builder: SeaographyBuilder) ->
|
|||||||
.register(filter_types_map_helper.generate_filter_input(&SUBSCRIBER_ID_FILTER_INFO));
|
.register(filter_types_map_helper.generate_filter_input(&SUBSCRIBER_ID_FILTER_INFO));
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
builder = register_entity_default_readonly!(builder, subscribers);
|
||||||
builder.register_entity::<subscribers::Entity>(
|
|
||||||
<subscribers::RelatedEntity as sea_orm::Iterable>::iter()
|
|
||||||
.map(|rel| seaography::RelationBuilder::get_relation(&rel, builder.context))
|
|
||||||
.collect(),
|
|
||||||
);
|
|
||||||
builder = builder.register_entity_dataloader_one_to_one(subscribers::Entity, tokio::spawn);
|
|
||||||
builder = builder.register_entity_dataloader_one_to_many(subscribers::Entity, tokio::spawn);
|
|
||||||
}
|
|
||||||
|
|
||||||
builder
|
builder
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
graphql::domains::subscribers::restrict_subscriber_for_entity, models::subscription_bangumi,
|
graphql::{
|
||||||
|
domains::subscribers::restrict_subscriber_for_entity,
|
||||||
|
infra::custom::register_entity_default_writable,
|
||||||
|
},
|
||||||
|
models::subscription_bangumi,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub fn register_subscription_bangumi_to_schema_context(context: &mut BuilderContext) {
|
pub fn register_subscription_bangumi_to_schema_context(context: &mut BuilderContext) {
|
||||||
@ -14,7 +18,7 @@ pub fn register_subscription_bangumi_to_schema_context(context: &mut BuilderCont
|
|||||||
pub fn register_subscription_bangumi_to_schema_builder(
|
pub fn register_subscription_bangumi_to_schema_builder(
|
||||||
mut builder: SeaographyBuilder,
|
mut builder: SeaographyBuilder,
|
||||||
) -> SeaographyBuilder {
|
) -> SeaographyBuilder {
|
||||||
seaography::register_entity!(builder, subscription_bangumi);
|
builder = register_entity_default_writable!(builder, subscription_bangumi, false);
|
||||||
|
|
||||||
builder
|
builder
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
graphql::domains::subscribers::restrict_subscriber_for_entity, models::subscription_episode,
|
graphql::{
|
||||||
|
domains::subscribers::restrict_subscriber_for_entity,
|
||||||
|
infra::custom::register_entity_default_writable,
|
||||||
|
},
|
||||||
|
models::subscription_episode,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub fn register_subscription_episode_to_schema_context(context: &mut BuilderContext) {
|
pub fn register_subscription_episode_to_schema_context(context: &mut BuilderContext) {
|
||||||
@ -14,7 +18,7 @@ pub fn register_subscription_episode_to_schema_context(context: &mut BuilderCont
|
|||||||
pub fn register_subscription_episode_to_schema_builder(
|
pub fn register_subscription_episode_to_schema_builder(
|
||||||
mut builder: SeaographyBuilder,
|
mut builder: SeaographyBuilder,
|
||||||
) -> SeaographyBuilder {
|
) -> SeaographyBuilder {
|
||||||
seaography::register_entity!(builder, subscription_episode);
|
builder = register_entity_default_writable!(builder, subscription_episode, false);
|
||||||
|
|
||||||
builder
|
builder
|
||||||
}
|
}
|
||||||
|
@ -2,14 +2,14 @@ use std::sync::Arc;
|
|||||||
|
|
||||||
use async_graphql::dynamic::{FieldValue, TypeRef};
|
use async_graphql::dynamic::{FieldValue, TypeRef};
|
||||||
use sea_orm::{ColumnTrait, EntityTrait, QueryFilter};
|
use sea_orm::{ColumnTrait, EntityTrait, QueryFilter};
|
||||||
use seaography::{Builder as SeaographyBuilder, BuilderContext, get_filter_conditions};
|
use seaography::{Builder as SeaographyBuilder, BuilderContext};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
errors::RecorderError,
|
errors::RecorderError,
|
||||||
graphql::{
|
graphql::{
|
||||||
domains::subscribers::restrict_subscriber_for_entity,
|
domains::subscribers::restrict_subscriber_for_entity,
|
||||||
infra::{
|
infra::{
|
||||||
custom::generate_entity_filtered_mutation_field,
|
custom::{generate_entity_filtered_mutation_field, register_entity_default_writable},
|
||||||
name::{get_entity_basic_type_name, get_entity_custom_mutation_field_name},
|
name::{get_entity_basic_type_name, get_entity_custom_mutation_field_name},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -31,7 +31,7 @@ pub fn register_subscriptions_to_schema_builder(
|
|||||||
mut builder: SeaographyBuilder,
|
mut builder: SeaographyBuilder,
|
||||||
) -> SeaographyBuilder {
|
) -> SeaographyBuilder {
|
||||||
builder.register_enumeration::<subscriptions::SubscriptionCategory>();
|
builder.register_enumeration::<subscriptions::SubscriptionCategory>();
|
||||||
seaography::register_entity!(builder, subscriptions);
|
builder = register_entity_default_writable!(builder, subscriptions, false);
|
||||||
|
|
||||||
let context = builder.context;
|
let context = builder.context;
|
||||||
|
|
||||||
@ -40,55 +40,49 @@ pub fn register_subscriptions_to_schema_builder(
|
|||||||
subscriptions::Entity,
|
subscriptions::Entity,
|
||||||
>(context, "SyncOneFeedsIncremental");
|
>(context, "SyncOneFeedsIncremental");
|
||||||
|
|
||||||
let sync_one_feeds_incremental_mutation = generate_entity_filtered_mutation_field::<
|
let sync_one_feeds_incremental_mutation =
|
||||||
subscriptions::Entity,
|
generate_entity_filtered_mutation_field::<subscriptions::Entity, _, _>(
|
||||||
_,
|
builder.context,
|
||||||
_,
|
sync_one_feeds_incremental_mutation_name,
|
||||||
>(
|
TypeRef::named_nn(get_entity_basic_type_name::<subscriber_tasks::Entity>(
|
||||||
builder.context,
|
context,
|
||||||
sync_one_feeds_incremental_mutation_name,
|
)),
|
||||||
TypeRef::named_nn(get_entity_basic_type_name::<subscriber_tasks::Entity>(
|
Arc::new(|_resolver_ctx, app_ctx, filters| {
|
||||||
context,
|
Box::pin(async move {
|
||||||
)),
|
let db = app_ctx.db();
|
||||||
Arc::new(|resolver_ctx, app_ctx, filters| {
|
|
||||||
let filters_condition =
|
|
||||||
get_filter_conditions::<subscriptions::Entity>(resolver_ctx, context, filters);
|
|
||||||
|
|
||||||
Box::pin(async move {
|
let subscription_model = subscriptions::Entity::find()
|
||||||
let db = app_ctx.db();
|
.filter(filters)
|
||||||
|
.one(db)
|
||||||
|
.await?
|
||||||
|
.ok_or_else(|| {
|
||||||
|
RecorderError::from_entity_not_found::<subscriptions::Entity>()
|
||||||
|
})?;
|
||||||
|
|
||||||
let subscription_model = subscriptions::Entity::find()
|
let task_service = app_ctx.task();
|
||||||
.filter(filters_condition)
|
|
||||||
.one(db)
|
|
||||||
.await?
|
|
||||||
.ok_or_else(|| {
|
|
||||||
RecorderError::from_entity_not_found::<subscriptions::Entity>()
|
|
||||||
})?;
|
|
||||||
|
|
||||||
let task_service = app_ctx.task();
|
let task_id = task_service
|
||||||
|
.add_subscriber_task(
|
||||||
|
SyncOneSubscriptionFeedsIncrementalTask::builder()
|
||||||
|
.subscriber_id(subscription_model.subscriber_id)
|
||||||
|
.subscription_id(subscription_model.id)
|
||||||
|
.build()
|
||||||
|
.into(),
|
||||||
|
)
|
||||||
|
.await?;
|
||||||
|
|
||||||
let task_id = task_service
|
let task_model = subscriber_tasks::Entity::find()
|
||||||
.add_subscriber_task(
|
.filter(subscriber_tasks::Column::Id.eq(task_id.to_string()))
|
||||||
SyncOneSubscriptionFeedsIncrementalTask::builder()
|
.one(db)
|
||||||
.subscriber_id(subscription_model.subscriber_id)
|
.await?
|
||||||
.subscription_id(subscription_model.id)
|
.ok_or_else(|| {
|
||||||
.build()
|
RecorderError::from_entity_not_found::<subscriber_tasks::Entity>()
|
||||||
.into(),
|
})?;
|
||||||
)
|
|
||||||
.await?;
|
|
||||||
|
|
||||||
let task_model = subscriber_tasks::Entity::find()
|
Ok(Some(FieldValue::owned_any(task_model)))
|
||||||
.filter(subscriber_tasks::Column::Id.eq(task_id.to_string()))
|
})
|
||||||
.one(db)
|
}),
|
||||||
.await?
|
);
|
||||||
.ok_or_else(|| {
|
|
||||||
RecorderError::from_entity_not_found::<subscriber_tasks::Entity>()
|
|
||||||
})?;
|
|
||||||
|
|
||||||
Ok(Some(FieldValue::owned_any(task_model)))
|
|
||||||
})
|
|
||||||
}),
|
|
||||||
);
|
|
||||||
|
|
||||||
builder.mutations.push(sync_one_feeds_incremental_mutation);
|
builder.mutations.push(sync_one_feeds_incremental_mutation);
|
||||||
}
|
}
|
||||||
@ -96,55 +90,49 @@ pub fn register_subscriptions_to_schema_builder(
|
|||||||
let sync_one_feeds_full_mutation_name = get_entity_custom_mutation_field_name::<
|
let sync_one_feeds_full_mutation_name = get_entity_custom_mutation_field_name::<
|
||||||
subscriptions::Entity,
|
subscriptions::Entity,
|
||||||
>(builder.context, "SyncOneFeedsFull");
|
>(builder.context, "SyncOneFeedsFull");
|
||||||
let sync_one_feeds_full_mutation = generate_entity_filtered_mutation_field::<
|
let sync_one_feeds_full_mutation =
|
||||||
subscriptions::Entity,
|
generate_entity_filtered_mutation_field::<subscriptions::Entity, _, _>(
|
||||||
_,
|
builder.context,
|
||||||
_,
|
sync_one_feeds_full_mutation_name,
|
||||||
>(
|
TypeRef::named_nn(get_entity_basic_type_name::<subscriber_tasks::Entity>(
|
||||||
builder.context,
|
context,
|
||||||
sync_one_feeds_full_mutation_name,
|
)),
|
||||||
TypeRef::named_nn(get_entity_basic_type_name::<subscriber_tasks::Entity>(
|
Arc::new(|_resolver_ctx, app_ctx, filters| {
|
||||||
context,
|
Box::pin(async move {
|
||||||
)),
|
let db = app_ctx.db();
|
||||||
Arc::new(|resolver_ctx, app_ctx, filters| {
|
|
||||||
let filters_condition =
|
|
||||||
get_filter_conditions::<subscriptions::Entity>(resolver_ctx, context, filters);
|
|
||||||
|
|
||||||
Box::pin(async move {
|
let subscription_model = subscriptions::Entity::find()
|
||||||
let db = app_ctx.db();
|
.filter(filters)
|
||||||
|
.one(db)
|
||||||
|
.await?
|
||||||
|
.ok_or_else(|| {
|
||||||
|
RecorderError::from_entity_not_found::<subscriptions::Entity>()
|
||||||
|
})?;
|
||||||
|
|
||||||
let subscription_model = subscriptions::Entity::find()
|
let task_service = app_ctx.task();
|
||||||
.filter(filters_condition)
|
|
||||||
.one(db)
|
|
||||||
.await?
|
|
||||||
.ok_or_else(|| {
|
|
||||||
RecorderError::from_entity_not_found::<subscriptions::Entity>()
|
|
||||||
})?;
|
|
||||||
|
|
||||||
let task_service = app_ctx.task();
|
let task_id = task_service
|
||||||
|
.add_subscriber_task(
|
||||||
|
SyncOneSubscriptionFeedsFullTask::builder()
|
||||||
|
.subscriber_id(subscription_model.subscriber_id)
|
||||||
|
.subscription_id(subscription_model.id)
|
||||||
|
.build()
|
||||||
|
.into(),
|
||||||
|
)
|
||||||
|
.await?;
|
||||||
|
|
||||||
let task_id = task_service
|
let task_model = subscriber_tasks::Entity::find()
|
||||||
.add_subscriber_task(
|
.filter(subscriber_tasks::Column::Id.eq(task_id.to_string()))
|
||||||
SyncOneSubscriptionFeedsFullTask::builder()
|
.one(db)
|
||||||
.subscriber_id(subscription_model.subscriber_id)
|
.await?
|
||||||
.subscription_id(subscription_model.id)
|
.ok_or_else(|| {
|
||||||
.build()
|
RecorderError::from_entity_not_found::<subscriber_tasks::Entity>()
|
||||||
.into(),
|
})?;
|
||||||
)
|
|
||||||
.await?;
|
|
||||||
|
|
||||||
let task_model = subscriber_tasks::Entity::find()
|
Ok(Some(FieldValue::owned_any(task_model)))
|
||||||
.filter(subscriber_tasks::Column::Id.eq(task_id.to_string()))
|
})
|
||||||
.one(db)
|
}),
|
||||||
.await?
|
);
|
||||||
.ok_or_else(|| {
|
|
||||||
RecorderError::from_entity_not_found::<subscriber_tasks::Entity>()
|
|
||||||
})?;
|
|
||||||
|
|
||||||
Ok(Some(FieldValue::owned_any(task_model)))
|
|
||||||
})
|
|
||||||
}),
|
|
||||||
);
|
|
||||||
|
|
||||||
builder.mutations.push(sync_one_feeds_full_mutation);
|
builder.mutations.push(sync_one_feeds_full_mutation);
|
||||||
}
|
}
|
||||||
@ -154,55 +142,49 @@ pub fn register_subscriptions_to_schema_builder(
|
|||||||
subscriptions::Entity,
|
subscriptions::Entity,
|
||||||
>(context, "SyncOneSources");
|
>(context, "SyncOneSources");
|
||||||
|
|
||||||
let sync_one_sources_mutation = generate_entity_filtered_mutation_field::<
|
let sync_one_sources_mutation =
|
||||||
subscriptions::Entity,
|
generate_entity_filtered_mutation_field::<subscriptions::Entity, _, _>(
|
||||||
_,
|
builder.context,
|
||||||
_,
|
sync_one_sources_mutation_name,
|
||||||
>(
|
TypeRef::named_nn(get_entity_basic_type_name::<subscriber_tasks::Entity>(
|
||||||
builder.context,
|
context,
|
||||||
sync_one_sources_mutation_name,
|
)),
|
||||||
TypeRef::named_nn(get_entity_basic_type_name::<subscriber_tasks::Entity>(
|
Arc::new(|_resolver_ctx, app_ctx, filters| {
|
||||||
context,
|
Box::pin(async move {
|
||||||
)),
|
let db = app_ctx.db();
|
||||||
Arc::new(|resolver_ctx, app_ctx, filters| {
|
|
||||||
let filters_condition =
|
|
||||||
get_filter_conditions::<subscriptions::Entity>(resolver_ctx, context, filters);
|
|
||||||
|
|
||||||
Box::pin(async move {
|
let subscription_model = subscriptions::Entity::find()
|
||||||
let db = app_ctx.db();
|
.filter(filters)
|
||||||
|
.one(db)
|
||||||
|
.await?
|
||||||
|
.ok_or_else(|| {
|
||||||
|
RecorderError::from_entity_not_found::<subscriptions::Entity>()
|
||||||
|
})?;
|
||||||
|
|
||||||
let subscription_model = subscriptions::Entity::find()
|
let task_service = app_ctx.task();
|
||||||
.filter(filters_condition)
|
|
||||||
.one(db)
|
|
||||||
.await?
|
|
||||||
.ok_or_else(|| {
|
|
||||||
RecorderError::from_entity_not_found::<subscriptions::Entity>()
|
|
||||||
})?;
|
|
||||||
|
|
||||||
let task_service = app_ctx.task();
|
let task_id = task_service
|
||||||
|
.add_subscriber_task(
|
||||||
|
SyncOneSubscriptionSourcesTask::builder()
|
||||||
|
.subscriber_id(subscription_model.subscriber_id)
|
||||||
|
.subscription_id(subscription_model.id)
|
||||||
|
.build()
|
||||||
|
.into(),
|
||||||
|
)
|
||||||
|
.await?;
|
||||||
|
|
||||||
let task_id = task_service
|
let task_model = subscriber_tasks::Entity::find()
|
||||||
.add_subscriber_task(
|
.filter(subscriber_tasks::Column::Id.eq(task_id.to_string()))
|
||||||
SyncOneSubscriptionSourcesTask::builder()
|
.one(db)
|
||||||
.subscriber_id(subscription_model.subscriber_id)
|
.await?
|
||||||
.subscription_id(subscription_model.id)
|
.ok_or_else(|| {
|
||||||
.build()
|
RecorderError::from_entity_not_found::<subscriber_tasks::Entity>()
|
||||||
.into(),
|
})?;
|
||||||
)
|
|
||||||
.await?;
|
|
||||||
|
|
||||||
let task_model = subscriber_tasks::Entity::find()
|
Ok(Some(FieldValue::owned_any(task_model)))
|
||||||
.filter(subscriber_tasks::Column::Id.eq(task_id.to_string()))
|
})
|
||||||
.one(db)
|
}),
|
||||||
.await?
|
);
|
||||||
.ok_or_else(|| {
|
|
||||||
RecorderError::from_entity_not_found::<subscriber_tasks::Entity>()
|
|
||||||
})?;
|
|
||||||
|
|
||||||
Ok(Some(FieldValue::owned_any(task_model)))
|
|
||||||
})
|
|
||||||
}),
|
|
||||||
);
|
|
||||||
|
|
||||||
builder.mutations.push(sync_one_sources_mutation);
|
builder.mutations.push(sync_one_sources_mutation);
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,15 @@
|
|||||||
use std::{pin::Pin, sync::Arc};
|
use std::{iter::FusedIterator, pin::Pin, sync::Arc};
|
||||||
|
|
||||||
use async_graphql::dynamic::{
|
use async_graphql::dynamic::{
|
||||||
Field, FieldFuture, FieldValue, InputObject, InputValue, Object, ObjectAccessor,
|
Field, FieldFuture, FieldValue, InputObject, InputValue, Object, ObjectAccessor,
|
||||||
ResolverContext, TypeRef, ValueAccessor,
|
ResolverContext, TypeRef,
|
||||||
};
|
};
|
||||||
use sea_orm::{
|
use sea_orm::{
|
||||||
ActiveModelTrait, Condition, EntityTrait, IntoActiveModel, QueryFilter, TransactionTrait,
|
ActiveModelTrait, Condition, EntityTrait, IntoActiveModel, QueryFilter, TransactionTrait,
|
||||||
};
|
};
|
||||||
use seaography::{
|
use seaography::{
|
||||||
BuilderContext, GuardAction, SeaographyError, get_filter_conditions, prepare_active_model,
|
Builder as SeaographyBuilder, BuilderContext, GuardAction, RelationBuilder, SeaographyError,
|
||||||
|
get_filter_conditions, prepare_active_model,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
@ -31,7 +32,7 @@ pub type FilterMutationFn = Arc<
|
|||||||
dyn for<'a> Fn(
|
dyn for<'a> Fn(
|
||||||
&ResolverContext<'a>,
|
&ResolverContext<'a>,
|
||||||
Arc<dyn AppContextTrait>,
|
Arc<dyn AppContextTrait>,
|
||||||
Option<ValueAccessor<'_>>,
|
Condition,
|
||||||
) -> Pin<
|
) -> Pin<
|
||||||
Box<dyn Future<Output = RecorderResult<Option<FieldValue<'a>>>> + Send + 'a>,
|
Box<dyn Future<Output = RecorderResult<Option<FieldValue<'a>>>> + Send + 'a>,
|
||||||
> + Send
|
> + Send
|
||||||
@ -156,6 +157,8 @@ where
|
|||||||
|
|
||||||
let filters = ctx.args.get(get_entity_renormalized_filter_field_name());
|
let filters = ctx.args.get(get_entity_renormalized_filter_field_name());
|
||||||
|
|
||||||
|
let filters = get_filter_conditions::<E>(&ctx, builder_context, filters);
|
||||||
|
|
||||||
let result = mutation_fn(&ctx, app_ctx.clone(), filters)
|
let result = mutation_fn(&ctx, app_ctx.clone(), filters)
|
||||||
.await
|
.await
|
||||||
.map_err(async_graphql::Error::new_with_source)?;
|
.map_err(async_graphql::Error::new_with_source)?;
|
||||||
@ -791,3 +794,100 @@ where
|
|||||||
generate_entity_default_delete_mutation_fn::<E, A>(builder_context, active_model_hooks),
|
generate_entity_default_delete_mutation_fn::<E, A>(builder_context, active_model_hooks),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn register_entity_default_mutations<E, A>(
|
||||||
|
mut builder: SeaographyBuilder,
|
||||||
|
active_model_hooks: bool,
|
||||||
|
) -> SeaographyBuilder
|
||||||
|
where
|
||||||
|
E: EntityTrait,
|
||||||
|
<E as EntityTrait>::Model: Sync + IntoActiveModel<A>,
|
||||||
|
A: ActiveModelTrait<Entity = E> + sea_orm::ActiveModelBehavior + std::marker::Send + 'static,
|
||||||
|
{
|
||||||
|
builder
|
||||||
|
.outputs
|
||||||
|
.push(generate_entity_default_basic_entity_object::<E>(
|
||||||
|
builder.context,
|
||||||
|
));
|
||||||
|
|
||||||
|
builder.inputs.extend([
|
||||||
|
generate_entity_default_insert_input_object::<E>(builder.context),
|
||||||
|
generate_entity_default_update_input_object::<E>(builder.context),
|
||||||
|
]);
|
||||||
|
|
||||||
|
builder.mutations.extend([
|
||||||
|
generate_entity_default_create_one_mutation_field::<E, A>(
|
||||||
|
builder.context,
|
||||||
|
active_model_hooks,
|
||||||
|
),
|
||||||
|
generate_entity_default_create_batch_mutation_field::<E, A>(
|
||||||
|
builder.context,
|
||||||
|
active_model_hooks,
|
||||||
|
),
|
||||||
|
generate_entity_default_update_mutation_field::<E, A>(builder.context, active_model_hooks),
|
||||||
|
generate_entity_default_delete_mutation_field::<E, A>(builder.context, active_model_hooks),
|
||||||
|
]);
|
||||||
|
|
||||||
|
builder
|
||||||
|
}
|
||||||
|
|
||||||
|
pub(crate) fn register_entity_default_readonly_impl<T, RE, I>(
|
||||||
|
mut builder: SeaographyBuilder,
|
||||||
|
entity: T,
|
||||||
|
) -> SeaographyBuilder
|
||||||
|
where
|
||||||
|
T: EntityTrait,
|
||||||
|
<T as EntityTrait>::Model: Sync,
|
||||||
|
RE: sea_orm::Iterable<Iterator = I> + RelationBuilder,
|
||||||
|
I: Iterator<Item = RE> + Clone + DoubleEndedIterator + ExactSizeIterator + FusedIterator,
|
||||||
|
{
|
||||||
|
builder.register_entity::<T>(
|
||||||
|
<RE as sea_orm::Iterable>::iter()
|
||||||
|
.map(|rel| RelationBuilder::get_relation(&rel, builder.context))
|
||||||
|
.collect(),
|
||||||
|
);
|
||||||
|
builder = builder.register_entity_dataloader_one_to_one(entity, tokio::spawn);
|
||||||
|
builder = builder.register_entity_dataloader_one_to_many(entity, tokio::spawn);
|
||||||
|
builder
|
||||||
|
}
|
||||||
|
|
||||||
|
pub(crate) fn register_entity_default_writable_impl<T, RE, A, I>(
|
||||||
|
mut builder: SeaographyBuilder,
|
||||||
|
entity: T,
|
||||||
|
active_model_hooks: bool,
|
||||||
|
) -> SeaographyBuilder
|
||||||
|
where
|
||||||
|
T: EntityTrait,
|
||||||
|
<T as EntityTrait>::Model: Sync + IntoActiveModel<A>,
|
||||||
|
A: ActiveModelTrait<Entity = T> + sea_orm::ActiveModelBehavior + std::marker::Send + 'static,
|
||||||
|
RE: sea_orm::Iterable<Iterator = I> + RelationBuilder,
|
||||||
|
I: Iterator<Item = RE> + Clone + DoubleEndedIterator + ExactSizeIterator + FusedIterator,
|
||||||
|
{
|
||||||
|
builder = register_entity_default_readonly_impl::<T, RE, I>(builder, entity);
|
||||||
|
builder = register_entity_default_mutations::<T, A>(builder, active_model_hooks);
|
||||||
|
builder
|
||||||
|
}
|
||||||
|
|
||||||
|
macro_rules! register_entity_default_readonly {
|
||||||
|
($builder:expr, $module_path:ident) => {
|
||||||
|
$crate::graphql::infra::custom::register_entity_default_readonly_impl::<
|
||||||
|
$module_path::Entity,
|
||||||
|
$module_path::RelatedEntity,
|
||||||
|
_,
|
||||||
|
>($builder, $module_path::Entity)
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
macro_rules! register_entity_default_writable {
|
||||||
|
($builder:expr, $module_path:ident, $active_model_hooks:expr) => {
|
||||||
|
$crate::graphql::infra::custom::register_entity_default_writable_impl::<
|
||||||
|
$module_path::Entity,
|
||||||
|
$module_path::RelatedEntity,
|
||||||
|
$module_path::ActiveModel,
|
||||||
|
_,
|
||||||
|
>($builder, $module_path::Entity, $active_model_hooks)
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
pub(crate) use register_entity_default_readonly;
|
||||||
|
pub(crate) use register_entity_default_writable;
|
||||||
|
@ -12,6 +12,7 @@ use crate::{
|
|||||||
credential_3rd::{
|
credential_3rd::{
|
||||||
register_credential3rd_to_schema_builder, register_credential3rd_to_schema_context,
|
register_credential3rd_to_schema_builder, register_credential3rd_to_schema_context,
|
||||||
},
|
},
|
||||||
|
cron::{register_cron_to_schema_builder, register_cron_to_schema_context},
|
||||||
downloaders::{
|
downloaders::{
|
||||||
register_downloaders_to_schema_builder, register_downloaders_to_schema_context,
|
register_downloaders_to_schema_builder, register_downloaders_to_schema_context,
|
||||||
},
|
},
|
||||||
@ -77,6 +78,7 @@ pub fn build_schema(
|
|||||||
register_subscription_bangumi_to_schema_context(&mut context);
|
register_subscription_bangumi_to_schema_context(&mut context);
|
||||||
register_subscription_episode_to_schema_context(&mut context);
|
register_subscription_episode_to_schema_context(&mut context);
|
||||||
register_bangumi_to_schema_context(&mut context);
|
register_bangumi_to_schema_context(&mut context);
|
||||||
|
register_cron_to_schema_context(&mut context);
|
||||||
}
|
}
|
||||||
context
|
context
|
||||||
});
|
});
|
||||||
@ -100,6 +102,7 @@ pub fn build_schema(
|
|||||||
builder = register_credential3rd_to_schema_builder(builder);
|
builder = register_credential3rd_to_schema_builder(builder);
|
||||||
builder = register_subscriber_tasks_to_schema_builder(builder);
|
builder = register_subscriber_tasks_to_schema_builder(builder);
|
||||||
builder = register_bangumi_to_schema_builder(builder);
|
builder = register_bangumi_to_schema_builder(builder);
|
||||||
|
builder = register_cron_to_schema_builder(builder);
|
||||||
}
|
}
|
||||||
|
|
||||||
let schema = builder.schema_builder();
|
let schema = builder.schema_builder();
|
||||||
|
@ -23,6 +23,7 @@ macro_rules! register_subscriber_task_types {
|
|||||||
$(#[$task_enum_meta:meta])*
|
$(#[$task_enum_meta:meta])*
|
||||||
pub enum $task_enum_name:ident {
|
pub enum $task_enum_name:ident {
|
||||||
$(
|
$(
|
||||||
|
$(#[$task_variant_meta:meta])*
|
||||||
$task_variant:ident($task_type:ty)
|
$task_variant:ident($task_type:ty)
|
||||||
),* $(,)?
|
),* $(,)?
|
||||||
}
|
}
|
||||||
@ -44,6 +45,8 @@ macro_rules! register_subscriber_task_types {
|
|||||||
#[serde(tag = "task_type")]
|
#[serde(tag = "task_type")]
|
||||||
pub enum $task_enum_name {
|
pub enum $task_enum_name {
|
||||||
$(
|
$(
|
||||||
|
$(#[$task_variant_meta])*
|
||||||
|
#[serde(rename = $string_value)]
|
||||||
$task_variant($task_type),
|
$task_variant($task_type),
|
||||||
)*
|
)*
|
||||||
}
|
}
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
"@rsbuild/plugin-react": "^1.3.2",
|
"@rsbuild/plugin-react": "^1.3.2",
|
||||||
"@tanstack/react-form": "^1.12.3",
|
"@tanstack/react-form": "^1.12.3",
|
||||||
"@tanstack/react-query": "^5.80.7",
|
"@tanstack/react-query": "^5.80.7",
|
||||||
|
"@tanstack/react-router": "^1.121.2",
|
||||||
"@tanstack/react-table": "^8.21.3",
|
"@tanstack/react-table": "^8.21.3",
|
||||||
"@tanstack/store": "^0.7.1",
|
"@tanstack/store": "^0.7.1",
|
||||||
"arktype": "^2.1.20",
|
"arktype": "^2.1.20",
|
||||||
@ -76,8 +77,7 @@
|
|||||||
"tailwindcss": "^4.1.10",
|
"tailwindcss": "^4.1.10",
|
||||||
"tw-animate-css": "^1.3.4",
|
"tw-animate-css": "^1.3.4",
|
||||||
"type-fest": "^4.41.0",
|
"type-fest": "^4.41.0",
|
||||||
"vaul": "^1.1.2",
|
"vaul": "^1.1.2"
|
||||||
"@tanstack/react-router": "^1.121.2"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@graphql-codegen/cli": "^5.0.7",
|
"@graphql-codegen/cli": "^5.0.7",
|
||||||
@ -86,13 +86,14 @@
|
|||||||
"@graphql-typed-document-node/core": "^3.2.0",
|
"@graphql-typed-document-node/core": "^3.2.0",
|
||||||
"@parcel/watcher": "^2.5.1",
|
"@parcel/watcher": "^2.5.1",
|
||||||
"@rsbuild/core": "^1.3.22",
|
"@rsbuild/core": "^1.3.22",
|
||||||
|
"@rsbuild/plugin-type-check": "^1.2.3",
|
||||||
"@tailwindcss/postcss": "^4.1.10",
|
"@tailwindcss/postcss": "^4.1.10",
|
||||||
|
"@tanstack/router-devtools": "^1.121.5",
|
||||||
|
"@tanstack/router-plugin": "^1.121.4",
|
||||||
"@types/react": "^19.1.8",
|
"@types/react": "^19.1.8",
|
||||||
"@types/react-dom": "^19.1.6",
|
"@types/react-dom": "^19.1.6",
|
||||||
"chalk": "^5.4.1",
|
"chalk": "^5.4.1",
|
||||||
"commander": "^14.0.0",
|
"commander": "^14.0.0",
|
||||||
"postcss": "^8.5.5",
|
"postcss": "^8.5.5"
|
||||||
"@tanstack/router-devtools": "^1.121.5",
|
|
||||||
"@tanstack/router-plugin": "^1.121.4"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,26 @@
|
|||||||
import { defineConfig } from '@rsbuild/core';
|
import { defineConfig } from '@rsbuild/core';
|
||||||
import { pluginReact } from '@rsbuild/plugin-react';
|
import { pluginReact } from '@rsbuild/plugin-react';
|
||||||
|
import { pluginTypeCheck } from '@rsbuild/plugin-type-check';
|
||||||
import { TanStackRouterRspack } from '@tanstack/router-plugin/rspack';
|
import { TanStackRouterRspack } from '@tanstack/router-plugin/rspack';
|
||||||
|
|
||||||
|
const TS_NO_CHECK_REGEX =
|
||||||
|
/[\\/]node_modules[\\/]|[\\/]gql[\\/]|[\\/]components[\\/]ui[\\/]/;
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
html: {
|
html: {
|
||||||
title: 'Konobangu',
|
title: 'Konobangu',
|
||||||
favicon: './public/assets/favicon.ico',
|
favicon: './public/assets/favicon.ico',
|
||||||
},
|
},
|
||||||
plugins: [pluginReact()],
|
plugins: [
|
||||||
|
pluginReact(),
|
||||||
|
pluginTypeCheck({
|
||||||
|
tsCheckerOptions: {
|
||||||
|
issue: {
|
||||||
|
exclude: [({ file = '' }) => TS_NO_CHECK_REGEX.test(file)],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
],
|
||||||
tools: {
|
tools: {
|
||||||
rspack: {
|
rspack: {
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -7,8 +7,8 @@ import { gql } from '@apollo/client';
|
|||||||
import { type } from 'arktype';
|
import { type } from 'arktype';
|
||||||
|
|
||||||
export const GET_CREDENTIAL_3RD = gql`
|
export const GET_CREDENTIAL_3RD = gql`
|
||||||
query GetCredential3rd($filters: Credential3rdFilterInput!, $orderBy: Credential3rdOrderInput, $pagination: PaginationInput) {
|
query GetCredential3rd($filter: Credential3rdFilterInput!, $orderBy: Credential3rdOrderInput, $pagination: PaginationInput) {
|
||||||
credential3rd(filters: $filters, orderBy: $orderBy, pagination: $pagination) {
|
credential3rd(filter: $filter, orderBy: $orderBy, pagination: $pagination) {
|
||||||
nodes {
|
nodes {
|
||||||
id
|
id
|
||||||
cookies
|
cookies
|
||||||
@ -43,8 +43,8 @@ export const INSERT_CREDENTIAL_3RD = gql`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export const UPDATE_CREDENTIAL_3RD = gql`
|
export const UPDATE_CREDENTIAL_3RD = gql`
|
||||||
mutation UpdateCredential3rd($data: Credential3rdUpdateInput!, $filters: Credential3rdFilterInput!) {
|
mutation UpdateCredential3rd($data: Credential3rdUpdateInput!, $filter: Credential3rdFilterInput!) {
|
||||||
credential3rdUpdate(data: $data, filter: $filters) {
|
credential3rdUpdate(data: $data, filter: $filter) {
|
||||||
id
|
id
|
||||||
cookies
|
cookies
|
||||||
username
|
username
|
||||||
@ -58,14 +58,14 @@ export const UPDATE_CREDENTIAL_3RD = gql`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export const DELETE_CREDENTIAL_3RD = gql`
|
export const DELETE_CREDENTIAL_3RD = gql`
|
||||||
mutation DeleteCredential3rd($filters: Credential3rdFilterInput!) {
|
mutation DeleteCredential3rd($filter: Credential3rdFilterInput!) {
|
||||||
credential3rdDelete(filter: $filters)
|
credential3rdDelete(filter: $filter)
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const GET_CREDENTIAL_3RD_DETAIL = gql`
|
export const GET_CREDENTIAL_3RD_DETAIL = gql`
|
||||||
query GetCredential3rdDetail($id: Int!) {
|
query GetCredential3rdDetail($id: Int!) {
|
||||||
credential3rd(filters: { id: { eq: $id } }) {
|
credential3rd(filter: { id: { eq: $id } }) {
|
||||||
nodes {
|
nodes {
|
||||||
id
|
id
|
||||||
cookies
|
cookies
|
||||||
@ -81,8 +81,8 @@ export const GET_CREDENTIAL_3RD_DETAIL = gql`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export const CHECK_CREDENTIAL_3RD_AVAILABLE = gql`
|
export const CHECK_CREDENTIAL_3RD_AVAILABLE = gql`
|
||||||
query CheckCredential3rdAvailable($id: Int!) {
|
mutation CheckCredential3rdAvailable($filter: Credential3rdFilterInput!) {
|
||||||
credential3rdCheckAvailable(filter: { id: $id }) {
|
credential3rdCheckAvailable(filter: $filter) {
|
||||||
available
|
available
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ export const INSERT_FEED = gql`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export const DELETE_FEED = gql`
|
export const DELETE_FEED = gql`
|
||||||
mutation DeleteFeed($filters: FeedsFilterInput!) {
|
mutation DeleteFeed($filter: FeedsFilterInput!) {
|
||||||
feedsDelete(filter: $filters)
|
feedsDelete(filter: $filter)
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
@ -14,10 +14,10 @@ import {
|
|||||||
} from './mikan';
|
} from './mikan';
|
||||||
|
|
||||||
export const GET_SUBSCRIPTIONS = gql`
|
export const GET_SUBSCRIPTIONS = gql`
|
||||||
query GetSubscriptions($filters: SubscriptionsFilterInput!, $orderBy: SubscriptionsOrderInput!, $pagination: PaginationInput!) {
|
query GetSubscriptions($filter: SubscriptionsFilterInput!, $orderBy: SubscriptionsOrderInput!, $pagination: PaginationInput!) {
|
||||||
subscriptions(
|
subscriptions(
|
||||||
pagination: $pagination
|
pagination: $pagination
|
||||||
filters: $filters
|
filter: $filter
|
||||||
orderBy: $orderBy
|
orderBy: $orderBy
|
||||||
) {
|
) {
|
||||||
nodes {
|
nodes {
|
||||||
@ -59,11 +59,11 @@ export type SubscriptionDto =
|
|||||||
export const UPDATE_SUBSCRIPTIONS = gql`
|
export const UPDATE_SUBSCRIPTIONS = gql`
|
||||||
mutation UpdateSubscriptions(
|
mutation UpdateSubscriptions(
|
||||||
$data: SubscriptionsUpdateInput!,
|
$data: SubscriptionsUpdateInput!,
|
||||||
$filters: SubscriptionsFilterInput!,
|
$filter: SubscriptionsFilterInput!,
|
||||||
) {
|
) {
|
||||||
subscriptionsUpdate (
|
subscriptionsUpdate (
|
||||||
data: $data
|
data: $data
|
||||||
filter: $filters
|
filter: $filter
|
||||||
) {
|
) {
|
||||||
id
|
id
|
||||||
createdAt
|
createdAt
|
||||||
@ -77,14 +77,14 @@ export const UPDATE_SUBSCRIPTIONS = gql`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export const DELETE_SUBSCRIPTIONS = gql`
|
export const DELETE_SUBSCRIPTIONS = gql`
|
||||||
mutation DeleteSubscriptions($filters: SubscriptionsFilterInput) {
|
mutation DeleteSubscriptions($filter: SubscriptionsFilterInput) {
|
||||||
subscriptionsDelete(filter: $filters)
|
subscriptionsDelete(filter: $filter)
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const GET_SUBSCRIPTION_DETAIL = gql`
|
export const GET_SUBSCRIPTION_DETAIL = gql`
|
||||||
query GetSubscriptionDetail ($id: Int!) {
|
query GetSubscriptionDetail ($id: Int!) {
|
||||||
subscriptions(filters: { id: {
|
subscriptions(filter: { id: {
|
||||||
eq: $id
|
eq: $id
|
||||||
} }) {
|
} }) {
|
||||||
nodes {
|
nodes {
|
||||||
|
@ -7,10 +7,10 @@ import { type } from 'arktype';
|
|||||||
import { SubscriptionSchema } from './subscriptions';
|
import { SubscriptionSchema } from './subscriptions';
|
||||||
|
|
||||||
export const GET_TASKS = gql`
|
export const GET_TASKS = gql`
|
||||||
query GetTasks($filters: SubscriberTasksFilterInput!, $orderBy: SubscriberTasksOrderInput!, $pagination: PaginationInput!) {
|
query GetTasks($filter: SubscriberTasksFilterInput!, $orderBy: SubscriberTasksOrderInput!, $pagination: PaginationInput!) {
|
||||||
subscriberTasks(
|
subscriberTasks(
|
||||||
pagination: $pagination
|
pagination: $pagination
|
||||||
filters: $filters
|
filter: $filter
|
||||||
orderBy: $orderBy
|
orderBy: $orderBy
|
||||||
) {
|
) {
|
||||||
nodes {
|
nodes {
|
||||||
@ -36,14 +36,14 @@ export const GET_TASKS = gql`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export const DELETE_TASKS = gql`
|
export const DELETE_TASKS = gql`
|
||||||
mutation DeleteTasks($filters: SubscriberTasksFilterInput!) {
|
mutation DeleteTasks($filter: SubscriberTasksFilterInput!) {
|
||||||
subscriberTasksDelete(filter: $filters)
|
subscriberTasksDelete(filter: $filter)
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const RETRY_TASKS = gql`
|
export const RETRY_TASKS = gql`
|
||||||
mutation RetryTasks($filters: SubscriberTasksFilterInput!) {
|
mutation RetryTasks($filter: SubscriberTasksFilterInput!) {
|
||||||
subscriberTasksRetryOne(filter: $filters) {
|
subscriberTasksRetryOne(filter: $filter) {
|
||||||
id,
|
id,
|
||||||
job,
|
job,
|
||||||
taskType,
|
taskType,
|
||||||
|
@ -14,46 +14,46 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
|
|||||||
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
|
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
|
||||||
*/
|
*/
|
||||||
type Documents = {
|
type Documents = {
|
||||||
"\n query GetCredential3rd($filters: Credential3rdFilterInput!, $orderBy: Credential3rdOrderInput, $pagination: PaginationInput) {\n credential3rd(filters: $filters, orderBy: $orderBy, pagination: $pagination) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": typeof types.GetCredential3rdDocument,
|
"\n query GetCredential3rd($filter: Credential3rdFilterInput!, $orderBy: Credential3rdOrderInput, $pagination: PaginationInput) {\n credential3rd(filter: $filter, orderBy: $orderBy, pagination: $pagination) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": typeof types.GetCredential3rdDocument,
|
||||||
"\n mutation InsertCredential3rd($data: Credential3rdInsertInput!) {\n credential3rdCreateOne(data: $data) {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n": typeof types.InsertCredential3rdDocument,
|
"\n mutation InsertCredential3rd($data: Credential3rdInsertInput!) {\n credential3rdCreateOne(data: $data) {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n": typeof types.InsertCredential3rdDocument,
|
||||||
"\n mutation UpdateCredential3rd($data: Credential3rdUpdateInput!, $filters: Credential3rdFilterInput!) {\n credential3rdUpdate(data: $data, filter: $filters) {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n": typeof types.UpdateCredential3rdDocument,
|
"\n mutation UpdateCredential3rd($data: Credential3rdUpdateInput!, $filter: Credential3rdFilterInput!) {\n credential3rdUpdate(data: $data, filter: $filter) {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n": typeof types.UpdateCredential3rdDocument,
|
||||||
"\n mutation DeleteCredential3rd($filters: Credential3rdFilterInput!) {\n credential3rdDelete(filter: $filters)\n }\n": typeof types.DeleteCredential3rdDocument,
|
"\n mutation DeleteCredential3rd($filter: Credential3rdFilterInput!) {\n credential3rdDelete(filter: $filter)\n }\n": typeof types.DeleteCredential3rdDocument,
|
||||||
"\n query GetCredential3rdDetail($id: Int!) {\n credential3rd(filters: { id: { eq: $id } }) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n }\n": typeof types.GetCredential3rdDetailDocument,
|
"\n query GetCredential3rdDetail($id: Int!) {\n credential3rd(filter: { id: { eq: $id } }) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n }\n": typeof types.GetCredential3rdDetailDocument,
|
||||||
"\n query CheckCredential3rdAvailable($id: Int!) {\n credential3rdCheckAvailable(filter: { id: $id }) {\n available\n }\n }\n": typeof types.CheckCredential3rdAvailableDocument,
|
"\n mutation CheckCredential3rdAvailable($filter: Credential3rdFilterInput!) {\n credential3rdCheckAvailable(filter: $filter) {\n available\n }\n }\n": typeof types.CheckCredential3rdAvailableDocument,
|
||||||
"\n mutation InsertFeed($data: FeedsInsertInput!) {\n feedsCreateOne(data: $data) {\n id\n createdAt\n updatedAt\n feedType\n token\n }\n }\n": typeof types.InsertFeedDocument,
|
"\n mutation InsertFeed($data: FeedsInsertInput!) {\n feedsCreateOne(data: $data) {\n id\n createdAt\n updatedAt\n feedType\n token\n }\n }\n": typeof types.InsertFeedDocument,
|
||||||
"\n mutation DeleteFeed($filters: FeedsFilterInput!) {\n feedsDelete(filter: $filters)\n }\n": typeof types.DeleteFeedDocument,
|
"\n mutation DeleteFeed($filter: FeedsFilterInput!) {\n feedsDelete(filter: $filter)\n }\n": typeof types.DeleteFeedDocument,
|
||||||
"\n query GetSubscriptions($filters: SubscriptionsFilterInput!, $orderBy: SubscriptionsOrderInput!, $pagination: PaginationInput!) {\n subscriptions(\n pagination: $pagination\n filters: $filters\n orderBy: $orderBy\n ) {\n nodes {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n credentialId\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": typeof types.GetSubscriptionsDocument,
|
"\n query GetSubscriptions($filter: SubscriptionsFilterInput!, $orderBy: SubscriptionsOrderInput!, $pagination: PaginationInput!) {\n subscriptions(\n pagination: $pagination\n filter: $filter\n orderBy: $orderBy\n ) {\n nodes {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n credentialId\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": typeof types.GetSubscriptionsDocument,
|
||||||
"\n mutation InsertSubscription($data: SubscriptionsInsertInput!) {\n subscriptionsCreateOne(data: $data) {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n credentialId\n }\n }\n": typeof types.InsertSubscriptionDocument,
|
"\n mutation InsertSubscription($data: SubscriptionsInsertInput!) {\n subscriptionsCreateOne(data: $data) {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n credentialId\n }\n }\n": typeof types.InsertSubscriptionDocument,
|
||||||
"\n mutation UpdateSubscriptions(\n $data: SubscriptionsUpdateInput!,\n $filters: SubscriptionsFilterInput!,\n ) {\n subscriptionsUpdate (\n data: $data\n filter: $filters\n ) {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n }\n}\n": typeof types.UpdateSubscriptionsDocument,
|
"\n mutation UpdateSubscriptions(\n $data: SubscriptionsUpdateInput!,\n $filter: SubscriptionsFilterInput!,\n ) {\n subscriptionsUpdate (\n data: $data\n filter: $filter\n ) {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n }\n}\n": typeof types.UpdateSubscriptionsDocument,
|
||||||
"\n mutation DeleteSubscriptions($filters: SubscriptionsFilterInput) {\n subscriptionsDelete(filter: $filters)\n }\n": typeof types.DeleteSubscriptionsDocument,
|
"\n mutation DeleteSubscriptions($filter: SubscriptionsFilterInput) {\n subscriptionsDelete(filter: $filter)\n }\n": typeof types.DeleteSubscriptionsDocument,
|
||||||
"\nquery GetSubscriptionDetail ($id: Int!) {\n subscriptions(filters: { id: {\n eq: $id\n } }) {\n nodes {\n id\n displayName\n createdAt\n updatedAt\n category\n sourceUrl\n enabled\n feed {\n nodes {\n id\n createdAt\n updatedAt\n token\n feedType\n feedSource\n }\n }\n subscriberTask {\n nodes {\n id\n taskType\n status\n }\n }\n credential3rd {\n id\n username\n }\n bangumi {\n nodes {\n createdAt\n updatedAt\n id\n mikanBangumiId\n displayName\n season\n seasonRaw\n fansub\n mikanFansubId\n rssLink\n posterLink\n homepage\n }\n }\n }\n }\n}\n": typeof types.GetSubscriptionDetailDocument,
|
"\nquery GetSubscriptionDetail ($id: Int!) {\n subscriptions(filter: { id: {\n eq: $id\n } }) {\n nodes {\n id\n displayName\n createdAt\n updatedAt\n category\n sourceUrl\n enabled\n feed {\n nodes {\n id\n createdAt\n updatedAt\n token\n feedType\n feedSource\n }\n }\n subscriberTask {\n nodes {\n id\n taskType\n status\n }\n }\n credential3rd {\n id\n username\n }\n bangumi {\n nodes {\n createdAt\n updatedAt\n id\n mikanBangumiId\n displayName\n season\n seasonRaw\n fansub\n mikanFansubId\n rssLink\n posterLink\n homepage\n }\n }\n }\n }\n}\n": typeof types.GetSubscriptionDetailDocument,
|
||||||
"\n mutation SyncSubscriptionFeedsIncremental($filter: SubscriptionsFilterInput!) {\n subscriptionsSyncOneFeedsIncremental(filter: $filter) {\n id\n }\n }\n": typeof types.SyncSubscriptionFeedsIncrementalDocument,
|
"\n mutation SyncSubscriptionFeedsIncremental($filter: SubscriptionsFilterInput!) {\n subscriptionsSyncOneFeedsIncremental(filter: $filter) {\n id\n }\n }\n": typeof types.SyncSubscriptionFeedsIncrementalDocument,
|
||||||
"\n mutation SyncSubscriptionFeedsFull($filter: SubscriptionsFilterInput!) {\n subscriptionsSyncOneFeedsFull(filter: $filter) {\n id\n }\n }\n": typeof types.SyncSubscriptionFeedsFullDocument,
|
"\n mutation SyncSubscriptionFeedsFull($filter: SubscriptionsFilterInput!) {\n subscriptionsSyncOneFeedsFull(filter: $filter) {\n id\n }\n }\n": typeof types.SyncSubscriptionFeedsFullDocument,
|
||||||
"\n mutation SyncSubscriptionSources($filter: SubscriptionsFilterInput!) {\n subscriptionsSyncOneSources(filter: $filter) {\n id\n }\n }\n": typeof types.SyncSubscriptionSourcesDocument,
|
"\n mutation SyncSubscriptionSources($filter: SubscriptionsFilterInput!) {\n subscriptionsSyncOneSources(filter: $filter) {\n id\n }\n }\n": typeof types.SyncSubscriptionSourcesDocument,
|
||||||
"\n query GetTasks($filters: SubscriberTasksFilterInput!, $orderBy: SubscriberTasksOrderInput!, $pagination: PaginationInput!) {\n subscriberTasks(\n pagination: $pagination\n filters: $filters\n orderBy: $orderBy\n ) {\n nodes {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": typeof types.GetTasksDocument,
|
"\n query GetTasks($filter: SubscriberTasksFilterInput!, $orderBy: SubscriberTasksOrderInput!, $pagination: PaginationInput!) {\n subscriberTasks(\n pagination: $pagination\n filter: $filter\n orderBy: $orderBy\n ) {\n nodes {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": typeof types.GetTasksDocument,
|
||||||
"\n mutation DeleteTasks($filters: SubscriberTasksFilterInput!) {\n subscriberTasksDelete(filter: $filters)\n }\n": typeof types.DeleteTasksDocument,
|
"\n mutation DeleteTasks($filter: SubscriberTasksFilterInput!) {\n subscriberTasksDelete(filter: $filter)\n }\n": typeof types.DeleteTasksDocument,
|
||||||
"\n mutation RetryTasks($filters: SubscriberTasksFilterInput!) {\n subscriberTasksRetryOne(filter: $filters) {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n }\n": typeof types.RetryTasksDocument,
|
"\n mutation RetryTasks($filter: SubscriberTasksFilterInput!) {\n subscriberTasksRetryOne(filter: $filter) {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n }\n": typeof types.RetryTasksDocument,
|
||||||
};
|
};
|
||||||
const documents: Documents = {
|
const documents: Documents = {
|
||||||
"\n query GetCredential3rd($filters: Credential3rdFilterInput!, $orderBy: Credential3rdOrderInput, $pagination: PaginationInput) {\n credential3rd(filters: $filters, orderBy: $orderBy, pagination: $pagination) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": types.GetCredential3rdDocument,
|
"\n query GetCredential3rd($filter: Credential3rdFilterInput!, $orderBy: Credential3rdOrderInput, $pagination: PaginationInput) {\n credential3rd(filter: $filter, orderBy: $orderBy, pagination: $pagination) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": types.GetCredential3rdDocument,
|
||||||
"\n mutation InsertCredential3rd($data: Credential3rdInsertInput!) {\n credential3rdCreateOne(data: $data) {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n": types.InsertCredential3rdDocument,
|
"\n mutation InsertCredential3rd($data: Credential3rdInsertInput!) {\n credential3rdCreateOne(data: $data) {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n": types.InsertCredential3rdDocument,
|
||||||
"\n mutation UpdateCredential3rd($data: Credential3rdUpdateInput!, $filters: Credential3rdFilterInput!) {\n credential3rdUpdate(data: $data, filter: $filters) {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n": types.UpdateCredential3rdDocument,
|
"\n mutation UpdateCredential3rd($data: Credential3rdUpdateInput!, $filter: Credential3rdFilterInput!) {\n credential3rdUpdate(data: $data, filter: $filter) {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n": types.UpdateCredential3rdDocument,
|
||||||
"\n mutation DeleteCredential3rd($filters: Credential3rdFilterInput!) {\n credential3rdDelete(filter: $filters)\n }\n": types.DeleteCredential3rdDocument,
|
"\n mutation DeleteCredential3rd($filter: Credential3rdFilterInput!) {\n credential3rdDelete(filter: $filter)\n }\n": types.DeleteCredential3rdDocument,
|
||||||
"\n query GetCredential3rdDetail($id: Int!) {\n credential3rd(filters: { id: { eq: $id } }) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n }\n": types.GetCredential3rdDetailDocument,
|
"\n query GetCredential3rdDetail($id: Int!) {\n credential3rd(filter: { id: { eq: $id } }) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n }\n": types.GetCredential3rdDetailDocument,
|
||||||
"\n query CheckCredential3rdAvailable($id: Int!) {\n credential3rdCheckAvailable(filter: { id: $id }) {\n available\n }\n }\n": types.CheckCredential3rdAvailableDocument,
|
"\n mutation CheckCredential3rdAvailable($filter: Credential3rdFilterInput!) {\n credential3rdCheckAvailable(filter: $filter) {\n available\n }\n }\n": types.CheckCredential3rdAvailableDocument,
|
||||||
"\n mutation InsertFeed($data: FeedsInsertInput!) {\n feedsCreateOne(data: $data) {\n id\n createdAt\n updatedAt\n feedType\n token\n }\n }\n": types.InsertFeedDocument,
|
"\n mutation InsertFeed($data: FeedsInsertInput!) {\n feedsCreateOne(data: $data) {\n id\n createdAt\n updatedAt\n feedType\n token\n }\n }\n": types.InsertFeedDocument,
|
||||||
"\n mutation DeleteFeed($filters: FeedsFilterInput!) {\n feedsDelete(filter: $filters)\n }\n": types.DeleteFeedDocument,
|
"\n mutation DeleteFeed($filter: FeedsFilterInput!) {\n feedsDelete(filter: $filter)\n }\n": types.DeleteFeedDocument,
|
||||||
"\n query GetSubscriptions($filters: SubscriptionsFilterInput!, $orderBy: SubscriptionsOrderInput!, $pagination: PaginationInput!) {\n subscriptions(\n pagination: $pagination\n filters: $filters\n orderBy: $orderBy\n ) {\n nodes {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n credentialId\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": types.GetSubscriptionsDocument,
|
"\n query GetSubscriptions($filter: SubscriptionsFilterInput!, $orderBy: SubscriptionsOrderInput!, $pagination: PaginationInput!) {\n subscriptions(\n pagination: $pagination\n filter: $filter\n orderBy: $orderBy\n ) {\n nodes {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n credentialId\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": types.GetSubscriptionsDocument,
|
||||||
"\n mutation InsertSubscription($data: SubscriptionsInsertInput!) {\n subscriptionsCreateOne(data: $data) {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n credentialId\n }\n }\n": types.InsertSubscriptionDocument,
|
"\n mutation InsertSubscription($data: SubscriptionsInsertInput!) {\n subscriptionsCreateOne(data: $data) {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n credentialId\n }\n }\n": types.InsertSubscriptionDocument,
|
||||||
"\n mutation UpdateSubscriptions(\n $data: SubscriptionsUpdateInput!,\n $filters: SubscriptionsFilterInput!,\n ) {\n subscriptionsUpdate (\n data: $data\n filter: $filters\n ) {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n }\n}\n": types.UpdateSubscriptionsDocument,
|
"\n mutation UpdateSubscriptions(\n $data: SubscriptionsUpdateInput!,\n $filter: SubscriptionsFilterInput!,\n ) {\n subscriptionsUpdate (\n data: $data\n filter: $filter\n ) {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n }\n}\n": types.UpdateSubscriptionsDocument,
|
||||||
"\n mutation DeleteSubscriptions($filters: SubscriptionsFilterInput) {\n subscriptionsDelete(filter: $filters)\n }\n": types.DeleteSubscriptionsDocument,
|
"\n mutation DeleteSubscriptions($filter: SubscriptionsFilterInput) {\n subscriptionsDelete(filter: $filter)\n }\n": types.DeleteSubscriptionsDocument,
|
||||||
"\nquery GetSubscriptionDetail ($id: Int!) {\n subscriptions(filters: { id: {\n eq: $id\n } }) {\n nodes {\n id\n displayName\n createdAt\n updatedAt\n category\n sourceUrl\n enabled\n feed {\n nodes {\n id\n createdAt\n updatedAt\n token\n feedType\n feedSource\n }\n }\n subscriberTask {\n nodes {\n id\n taskType\n status\n }\n }\n credential3rd {\n id\n username\n }\n bangumi {\n nodes {\n createdAt\n updatedAt\n id\n mikanBangumiId\n displayName\n season\n seasonRaw\n fansub\n mikanFansubId\n rssLink\n posterLink\n homepage\n }\n }\n }\n }\n}\n": types.GetSubscriptionDetailDocument,
|
"\nquery GetSubscriptionDetail ($id: Int!) {\n subscriptions(filter: { id: {\n eq: $id\n } }) {\n nodes {\n id\n displayName\n createdAt\n updatedAt\n category\n sourceUrl\n enabled\n feed {\n nodes {\n id\n createdAt\n updatedAt\n token\n feedType\n feedSource\n }\n }\n subscriberTask {\n nodes {\n id\n taskType\n status\n }\n }\n credential3rd {\n id\n username\n }\n bangumi {\n nodes {\n createdAt\n updatedAt\n id\n mikanBangumiId\n displayName\n season\n seasonRaw\n fansub\n mikanFansubId\n rssLink\n posterLink\n homepage\n }\n }\n }\n }\n}\n": types.GetSubscriptionDetailDocument,
|
||||||
"\n mutation SyncSubscriptionFeedsIncremental($filter: SubscriptionsFilterInput!) {\n subscriptionsSyncOneFeedsIncremental(filter: $filter) {\n id\n }\n }\n": types.SyncSubscriptionFeedsIncrementalDocument,
|
"\n mutation SyncSubscriptionFeedsIncremental($filter: SubscriptionsFilterInput!) {\n subscriptionsSyncOneFeedsIncremental(filter: $filter) {\n id\n }\n }\n": types.SyncSubscriptionFeedsIncrementalDocument,
|
||||||
"\n mutation SyncSubscriptionFeedsFull($filter: SubscriptionsFilterInput!) {\n subscriptionsSyncOneFeedsFull(filter: $filter) {\n id\n }\n }\n": types.SyncSubscriptionFeedsFullDocument,
|
"\n mutation SyncSubscriptionFeedsFull($filter: SubscriptionsFilterInput!) {\n subscriptionsSyncOneFeedsFull(filter: $filter) {\n id\n }\n }\n": types.SyncSubscriptionFeedsFullDocument,
|
||||||
"\n mutation SyncSubscriptionSources($filter: SubscriptionsFilterInput!) {\n subscriptionsSyncOneSources(filter: $filter) {\n id\n }\n }\n": types.SyncSubscriptionSourcesDocument,
|
"\n mutation SyncSubscriptionSources($filter: SubscriptionsFilterInput!) {\n subscriptionsSyncOneSources(filter: $filter) {\n id\n }\n }\n": types.SyncSubscriptionSourcesDocument,
|
||||||
"\n query GetTasks($filters: SubscriberTasksFilterInput!, $orderBy: SubscriberTasksOrderInput!, $pagination: PaginationInput!) {\n subscriberTasks(\n pagination: $pagination\n filters: $filters\n orderBy: $orderBy\n ) {\n nodes {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": types.GetTasksDocument,
|
"\n query GetTasks($filter: SubscriberTasksFilterInput!, $orderBy: SubscriberTasksOrderInput!, $pagination: PaginationInput!) {\n subscriberTasks(\n pagination: $pagination\n filter: $filter\n orderBy: $orderBy\n ) {\n nodes {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": types.GetTasksDocument,
|
||||||
"\n mutation DeleteTasks($filters: SubscriberTasksFilterInput!) {\n subscriberTasksDelete(filter: $filters)\n }\n": types.DeleteTasksDocument,
|
"\n mutation DeleteTasks($filter: SubscriberTasksFilterInput!) {\n subscriberTasksDelete(filter: $filter)\n }\n": types.DeleteTasksDocument,
|
||||||
"\n mutation RetryTasks($filters: SubscriberTasksFilterInput!) {\n subscriberTasksRetryOne(filter: $filters) {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n }\n": types.RetryTasksDocument,
|
"\n mutation RetryTasks($filter: SubscriberTasksFilterInput!) {\n subscriberTasksRetryOne(filter: $filter) {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n }\n": types.RetryTasksDocument,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -73,7 +73,7 @@ export function gql(source: string): unknown;
|
|||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\n query GetCredential3rd($filters: Credential3rdFilterInput!, $orderBy: Credential3rdOrderInput, $pagination: PaginationInput) {\n credential3rd(filters: $filters, orderBy: $orderBy, pagination: $pagination) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"): (typeof documents)["\n query GetCredential3rd($filters: Credential3rdFilterInput!, $orderBy: Credential3rdOrderInput, $pagination: PaginationInput) {\n credential3rd(filters: $filters, orderBy: $orderBy, pagination: $pagination) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"];
|
export function gql(source: "\n query GetCredential3rd($filter: Credential3rdFilterInput!, $orderBy: Credential3rdOrderInput, $pagination: PaginationInput) {\n credential3rd(filter: $filter, orderBy: $orderBy, pagination: $pagination) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"): (typeof documents)["\n query GetCredential3rd($filter: Credential3rdFilterInput!, $orderBy: Credential3rdOrderInput, $pagination: PaginationInput) {\n credential3rd(filter: $filter, orderBy: $orderBy, pagination: $pagination) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"];
|
||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
@ -81,19 +81,19 @@ export function gql(source: "\n mutation InsertCredential3rd($data: Credential3
|
|||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\n mutation UpdateCredential3rd($data: Credential3rdUpdateInput!, $filters: Credential3rdFilterInput!) {\n credential3rdUpdate(data: $data, filter: $filters) {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n"): (typeof documents)["\n mutation UpdateCredential3rd($data: Credential3rdUpdateInput!, $filters: Credential3rdFilterInput!) {\n credential3rdUpdate(data: $data, filter: $filters) {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n"];
|
export function gql(source: "\n mutation UpdateCredential3rd($data: Credential3rdUpdateInput!, $filter: Credential3rdFilterInput!) {\n credential3rdUpdate(data: $data, filter: $filter) {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n"): (typeof documents)["\n mutation UpdateCredential3rd($data: Credential3rdUpdateInput!, $filter: Credential3rdFilterInput!) {\n credential3rdUpdate(data: $data, filter: $filter) {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n"];
|
||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\n mutation DeleteCredential3rd($filters: Credential3rdFilterInput!) {\n credential3rdDelete(filter: $filters)\n }\n"): (typeof documents)["\n mutation DeleteCredential3rd($filters: Credential3rdFilterInput!) {\n credential3rdDelete(filter: $filters)\n }\n"];
|
export function gql(source: "\n mutation DeleteCredential3rd($filter: Credential3rdFilterInput!) {\n credential3rdDelete(filter: $filter)\n }\n"): (typeof documents)["\n mutation DeleteCredential3rd($filter: Credential3rdFilterInput!) {\n credential3rdDelete(filter: $filter)\n }\n"];
|
||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\n query GetCredential3rdDetail($id: Int!) {\n credential3rd(filters: { id: { eq: $id } }) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n }\n"): (typeof documents)["\n query GetCredential3rdDetail($id: Int!) {\n credential3rd(filters: { id: { eq: $id } }) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n }\n"];
|
export function gql(source: "\n query GetCredential3rdDetail($id: Int!) {\n credential3rd(filter: { id: { eq: $id } }) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n }\n"): (typeof documents)["\n query GetCredential3rdDetail($id: Int!) {\n credential3rd(filter: { id: { eq: $id } }) {\n nodes {\n id\n cookies\n username\n password\n userAgent\n createdAt\n updatedAt\n credentialType\n }\n }\n }\n"];
|
||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\n query CheckCredential3rdAvailable($id: Int!) {\n credential3rdCheckAvailable(filter: { id: $id }) {\n available\n }\n }\n"): (typeof documents)["\n query CheckCredential3rdAvailable($id: Int!) {\n credential3rdCheckAvailable(filter: { id: $id }) {\n available\n }\n }\n"];
|
export function gql(source: "\n mutation CheckCredential3rdAvailable($filter: Credential3rdFilterInput!) {\n credential3rdCheckAvailable(filter: $filter) {\n available\n }\n }\n"): (typeof documents)["\n mutation CheckCredential3rdAvailable($filter: Credential3rdFilterInput!) {\n credential3rdCheckAvailable(filter: $filter) {\n available\n }\n }\n"];
|
||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
@ -101,11 +101,11 @@ export function gql(source: "\n mutation InsertFeed($data: FeedsInsertInput!)
|
|||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\n mutation DeleteFeed($filters: FeedsFilterInput!) {\n feedsDelete(filter: $filters)\n }\n"): (typeof documents)["\n mutation DeleteFeed($filters: FeedsFilterInput!) {\n feedsDelete(filter: $filters)\n }\n"];
|
export function gql(source: "\n mutation DeleteFeed($filter: FeedsFilterInput!) {\n feedsDelete(filter: $filter)\n }\n"): (typeof documents)["\n mutation DeleteFeed($filter: FeedsFilterInput!) {\n feedsDelete(filter: $filter)\n }\n"];
|
||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\n query GetSubscriptions($filters: SubscriptionsFilterInput!, $orderBy: SubscriptionsOrderInput!, $pagination: PaginationInput!) {\n subscriptions(\n pagination: $pagination\n filters: $filters\n orderBy: $orderBy\n ) {\n nodes {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n credentialId\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"): (typeof documents)["\n query GetSubscriptions($filters: SubscriptionsFilterInput!, $orderBy: SubscriptionsOrderInput!, $pagination: PaginationInput!) {\n subscriptions(\n pagination: $pagination\n filters: $filters\n orderBy: $orderBy\n ) {\n nodes {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n credentialId\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"];
|
export function gql(source: "\n query GetSubscriptions($filter: SubscriptionsFilterInput!, $orderBy: SubscriptionsOrderInput!, $pagination: PaginationInput!) {\n subscriptions(\n pagination: $pagination\n filter: $filter\n orderBy: $orderBy\n ) {\n nodes {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n credentialId\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"): (typeof documents)["\n query GetSubscriptions($filter: SubscriptionsFilterInput!, $orderBy: SubscriptionsOrderInput!, $pagination: PaginationInput!) {\n subscriptions(\n pagination: $pagination\n filter: $filter\n orderBy: $orderBy\n ) {\n nodes {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n credentialId\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"];
|
||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
@ -113,15 +113,15 @@ export function gql(source: "\n mutation InsertSubscription($data: Subscripti
|
|||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\n mutation UpdateSubscriptions(\n $data: SubscriptionsUpdateInput!,\n $filters: SubscriptionsFilterInput!,\n ) {\n subscriptionsUpdate (\n data: $data\n filter: $filters\n ) {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n }\n}\n"): (typeof documents)["\n mutation UpdateSubscriptions(\n $data: SubscriptionsUpdateInput!,\n $filters: SubscriptionsFilterInput!,\n ) {\n subscriptionsUpdate (\n data: $data\n filter: $filters\n ) {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n }\n}\n"];
|
export function gql(source: "\n mutation UpdateSubscriptions(\n $data: SubscriptionsUpdateInput!,\n $filter: SubscriptionsFilterInput!,\n ) {\n subscriptionsUpdate (\n data: $data\n filter: $filter\n ) {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n }\n}\n"): (typeof documents)["\n mutation UpdateSubscriptions(\n $data: SubscriptionsUpdateInput!,\n $filter: SubscriptionsFilterInput!,\n ) {\n subscriptionsUpdate (\n data: $data\n filter: $filter\n ) {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n }\n}\n"];
|
||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\n mutation DeleteSubscriptions($filters: SubscriptionsFilterInput) {\n subscriptionsDelete(filter: $filters)\n }\n"): (typeof documents)["\n mutation DeleteSubscriptions($filters: SubscriptionsFilterInput) {\n subscriptionsDelete(filter: $filters)\n }\n"];
|
export function gql(source: "\n mutation DeleteSubscriptions($filter: SubscriptionsFilterInput) {\n subscriptionsDelete(filter: $filter)\n }\n"): (typeof documents)["\n mutation DeleteSubscriptions($filter: SubscriptionsFilterInput) {\n subscriptionsDelete(filter: $filter)\n }\n"];
|
||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\nquery GetSubscriptionDetail ($id: Int!) {\n subscriptions(filters: { id: {\n eq: $id\n } }) {\n nodes {\n id\n displayName\n createdAt\n updatedAt\n category\n sourceUrl\n enabled\n feed {\n nodes {\n id\n createdAt\n updatedAt\n token\n feedType\n feedSource\n }\n }\n subscriberTask {\n nodes {\n id\n taskType\n status\n }\n }\n credential3rd {\n id\n username\n }\n bangumi {\n nodes {\n createdAt\n updatedAt\n id\n mikanBangumiId\n displayName\n season\n seasonRaw\n fansub\n mikanFansubId\n rssLink\n posterLink\n homepage\n }\n }\n }\n }\n}\n"): (typeof documents)["\nquery GetSubscriptionDetail ($id: Int!) {\n subscriptions(filters: { id: {\n eq: $id\n } }) {\n nodes {\n id\n displayName\n createdAt\n updatedAt\n category\n sourceUrl\n enabled\n feed {\n nodes {\n id\n createdAt\n updatedAt\n token\n feedType\n feedSource\n }\n }\n subscriberTask {\n nodes {\n id\n taskType\n status\n }\n }\n credential3rd {\n id\n username\n }\n bangumi {\n nodes {\n createdAt\n updatedAt\n id\n mikanBangumiId\n displayName\n season\n seasonRaw\n fansub\n mikanFansubId\n rssLink\n posterLink\n homepage\n }\n }\n }\n }\n}\n"];
|
export function gql(source: "\nquery GetSubscriptionDetail ($id: Int!) {\n subscriptions(filter: { id: {\n eq: $id\n } }) {\n nodes {\n id\n displayName\n createdAt\n updatedAt\n category\n sourceUrl\n enabled\n feed {\n nodes {\n id\n createdAt\n updatedAt\n token\n feedType\n feedSource\n }\n }\n subscriberTask {\n nodes {\n id\n taskType\n status\n }\n }\n credential3rd {\n id\n username\n }\n bangumi {\n nodes {\n createdAt\n updatedAt\n id\n mikanBangumiId\n displayName\n season\n seasonRaw\n fansub\n mikanFansubId\n rssLink\n posterLink\n homepage\n }\n }\n }\n }\n}\n"): (typeof documents)["\nquery GetSubscriptionDetail ($id: Int!) {\n subscriptions(filter: { id: {\n eq: $id\n } }) {\n nodes {\n id\n displayName\n createdAt\n updatedAt\n category\n sourceUrl\n enabled\n feed {\n nodes {\n id\n createdAt\n updatedAt\n token\n feedType\n feedSource\n }\n }\n subscriberTask {\n nodes {\n id\n taskType\n status\n }\n }\n credential3rd {\n id\n username\n }\n bangumi {\n nodes {\n createdAt\n updatedAt\n id\n mikanBangumiId\n displayName\n season\n seasonRaw\n fansub\n mikanFansubId\n rssLink\n posterLink\n homepage\n }\n }\n }\n }\n}\n"];
|
||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
@ -137,15 +137,15 @@ export function gql(source: "\n mutation SyncSubscriptionSources($filter: Subsc
|
|||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\n query GetTasks($filters: SubscriberTasksFilterInput!, $orderBy: SubscriberTasksOrderInput!, $pagination: PaginationInput!) {\n subscriberTasks(\n pagination: $pagination\n filters: $filters\n orderBy: $orderBy\n ) {\n nodes {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"): (typeof documents)["\n query GetTasks($filters: SubscriberTasksFilterInput!, $orderBy: SubscriberTasksOrderInput!, $pagination: PaginationInput!) {\n subscriberTasks(\n pagination: $pagination\n filters: $filters\n orderBy: $orderBy\n ) {\n nodes {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"];
|
export function gql(source: "\n query GetTasks($filter: SubscriberTasksFilterInput!, $orderBy: SubscriberTasksOrderInput!, $pagination: PaginationInput!) {\n subscriberTasks(\n pagination: $pagination\n filter: $filter\n orderBy: $orderBy\n ) {\n nodes {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"): (typeof documents)["\n query GetTasks($filter: SubscriberTasksFilterInput!, $orderBy: SubscriberTasksOrderInput!, $pagination: PaginationInput!) {\n subscriberTasks(\n pagination: $pagination\n filter: $filter\n orderBy: $orderBy\n ) {\n nodes {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"];
|
||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\n mutation DeleteTasks($filters: SubscriberTasksFilterInput!) {\n subscriberTasksDelete(filter: $filters)\n }\n"): (typeof documents)["\n mutation DeleteTasks($filters: SubscriberTasksFilterInput!) {\n subscriberTasksDelete(filter: $filters)\n }\n"];
|
export function gql(source: "\n mutation DeleteTasks($filter: SubscriberTasksFilterInput!) {\n subscriberTasksDelete(filter: $filter)\n }\n"): (typeof documents)["\n mutation DeleteTasks($filter: SubscriberTasksFilterInput!) {\n subscriberTasksDelete(filter: $filter)\n }\n"];
|
||||||
/**
|
/**
|
||||||
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
||||||
*/
|
*/
|
||||||
export function gql(source: "\n mutation RetryTasks($filters: SubscriberTasksFilterInput!) {\n subscriberTasksRetryOne(filter: $filters) {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n }\n"): (typeof documents)["\n mutation RetryTasks($filters: SubscriberTasksFilterInput!) {\n subscriberTasksRetryOne(filter: $filters) {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n }\n"];
|
export function gql(source: "\n mutation RetryTasks($filter: SubscriberTasksFilterInput!) {\n subscriberTasksRetryOne(filter: $filter) {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n }\n"): (typeof documents)["\n mutation RetryTasks($filter: SubscriberTasksFilterInput!) {\n subscriberTasksRetryOne(filter: $filter) {\n id,\n job,\n taskType,\n status,\n attempts,\n maxAttempts,\n runAt,\n lastError,\n lockAt,\n lockBy,\n doneAt,\n priority\n }\n }\n"];
|
||||||
|
|
||||||
export function gql(source: string) {
|
export function gql(source: string) {
|
||||||
return (documents as any)[source] ?? {};
|
return (documents as any)[source] ?? {};
|
||||||
|
@ -46,21 +46,21 @@ export type Bangumi = {
|
|||||||
|
|
||||||
|
|
||||||
export type BangumiEpisodeArgs = {
|
export type BangumiEpisodeArgs = {
|
||||||
filters?: InputMaybe<EpisodesFilterInput>;
|
filter?: InputMaybe<EpisodesFilterInput>;
|
||||||
orderBy?: InputMaybe<EpisodesOrderInput>;
|
orderBy?: InputMaybe<EpisodesOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type BangumiSubscriptionArgs = {
|
export type BangumiSubscriptionArgs = {
|
||||||
filters?: InputMaybe<SubscriptionsFilterInput>;
|
filter?: InputMaybe<SubscriptionsFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriptionsOrderInput>;
|
orderBy?: InputMaybe<SubscriptionsOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type BangumiSubscriptionBangumiArgs = {
|
export type BangumiSubscriptionBangumiArgs = {
|
||||||
filters?: InputMaybe<SubscriptionBangumiFilterInput>;
|
filter?: InputMaybe<SubscriptionBangumiFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriptionBangumiOrderInput>;
|
orderBy?: InputMaybe<SubscriptionBangumiOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
@ -228,7 +228,7 @@ export type Credential3rd = {
|
|||||||
|
|
||||||
|
|
||||||
export type Credential3rdSubscriptionArgs = {
|
export type Credential3rdSubscriptionArgs = {
|
||||||
filters?: InputMaybe<SubscriptionsFilterInput>;
|
filter?: InputMaybe<SubscriptionsFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriptionsOrderInput>;
|
orderBy?: InputMaybe<SubscriptionsOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
@ -252,11 +252,6 @@ export type Credential3rdCheckAvailableInfo = {
|
|||||||
available: Scalars['Boolean']['output'];
|
available: Scalars['Boolean']['output'];
|
||||||
};
|
};
|
||||||
|
|
||||||
/** The input of the credential3rdCheckAvailable query */
|
|
||||||
export type Credential3rdCheckAvailableInput = {
|
|
||||||
id: Scalars['Int']['input'];
|
|
||||||
};
|
|
||||||
|
|
||||||
export type Credential3rdConnection = {
|
export type Credential3rdConnection = {
|
||||||
__typename?: 'Credential3rdConnection';
|
__typename?: 'Credential3rdConnection';
|
||||||
edges: Array<Credential3rdEdge>;
|
edges: Array<Credential3rdEdge>;
|
||||||
@ -338,6 +333,148 @@ export type Credential3rdUpdateInput = {
|
|||||||
username?: InputMaybe<Scalars['String']['input']>;
|
username?: InputMaybe<Scalars['String']['input']>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type Cron = {
|
||||||
|
__typename?: 'Cron';
|
||||||
|
attempts: Scalars['Int']['output'];
|
||||||
|
createdAt: Scalars['String']['output'];
|
||||||
|
cronExpr: Scalars['String']['output'];
|
||||||
|
enabled: Scalars['Boolean']['output'];
|
||||||
|
id: Scalars['Int']['output'];
|
||||||
|
lastError?: Maybe<Scalars['String']['output']>;
|
||||||
|
lastRun?: Maybe<Scalars['String']['output']>;
|
||||||
|
lockedAt?: Maybe<Scalars['String']['output']>;
|
||||||
|
lockedBy?: Maybe<Scalars['String']['output']>;
|
||||||
|
maxAttempts: Scalars['Int']['output'];
|
||||||
|
nextRun?: Maybe<Scalars['String']['output']>;
|
||||||
|
priority: Scalars['Int']['output'];
|
||||||
|
status: CronStatusEnum;
|
||||||
|
subscriber?: Maybe<Subscribers>;
|
||||||
|
subscriberId?: Maybe<Scalars['Int']['output']>;
|
||||||
|
subscriberTask?: Maybe<Scalars['Json']['output']>;
|
||||||
|
subscription?: Maybe<Subscriptions>;
|
||||||
|
subscriptionId?: Maybe<Scalars['Int']['output']>;
|
||||||
|
timeoutMs: Scalars['Int']['output'];
|
||||||
|
updatedAt: Scalars['String']['output'];
|
||||||
|
};
|
||||||
|
|
||||||
|
export type CronBasic = {
|
||||||
|
__typename?: 'CronBasic';
|
||||||
|
attempts: Scalars['Int']['output'];
|
||||||
|
createdAt: Scalars['String']['output'];
|
||||||
|
cronExpr: Scalars['String']['output'];
|
||||||
|
enabled: Scalars['Boolean']['output'];
|
||||||
|
id: Scalars['Int']['output'];
|
||||||
|
lastError?: Maybe<Scalars['String']['output']>;
|
||||||
|
lastRun?: Maybe<Scalars['String']['output']>;
|
||||||
|
lockedAt?: Maybe<Scalars['String']['output']>;
|
||||||
|
lockedBy?: Maybe<Scalars['String']['output']>;
|
||||||
|
maxAttempts: Scalars['Int']['output'];
|
||||||
|
nextRun?: Maybe<Scalars['String']['output']>;
|
||||||
|
priority: Scalars['Int']['output'];
|
||||||
|
status: CronStatusEnum;
|
||||||
|
subscriberId?: Maybe<Scalars['Int']['output']>;
|
||||||
|
subscriberTask?: Maybe<Scalars['Json']['output']>;
|
||||||
|
subscriptionId?: Maybe<Scalars['Int']['output']>;
|
||||||
|
timeoutMs: Scalars['Int']['output'];
|
||||||
|
updatedAt: Scalars['String']['output'];
|
||||||
|
};
|
||||||
|
|
||||||
|
export type CronConnection = {
|
||||||
|
__typename?: 'CronConnection';
|
||||||
|
edges: Array<CronEdge>;
|
||||||
|
nodes: Array<Cron>;
|
||||||
|
pageInfo: PageInfo;
|
||||||
|
paginationInfo?: Maybe<PaginationInfo>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type CronEdge = {
|
||||||
|
__typename?: 'CronEdge';
|
||||||
|
cursor: Scalars['String']['output'];
|
||||||
|
node: Cron;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type CronFilterInput = {
|
||||||
|
and?: InputMaybe<Array<CronFilterInput>>;
|
||||||
|
attempts?: InputMaybe<IntegerFilterInput>;
|
||||||
|
createdAt?: InputMaybe<TextFilterInput>;
|
||||||
|
cronExpr?: InputMaybe<StringFilterInput>;
|
||||||
|
enabled?: InputMaybe<BooleanFilterInput>;
|
||||||
|
id?: InputMaybe<IntegerFilterInput>;
|
||||||
|
lastError?: InputMaybe<StringFilterInput>;
|
||||||
|
lastRun?: InputMaybe<TextFilterInput>;
|
||||||
|
lockedAt?: InputMaybe<TextFilterInput>;
|
||||||
|
lockedBy?: InputMaybe<StringFilterInput>;
|
||||||
|
maxAttempts?: InputMaybe<IntegerFilterInput>;
|
||||||
|
nextRun?: InputMaybe<TextFilterInput>;
|
||||||
|
or?: InputMaybe<Array<CronFilterInput>>;
|
||||||
|
priority?: InputMaybe<IntegerFilterInput>;
|
||||||
|
status?: InputMaybe<CronStatusEnumFilterInput>;
|
||||||
|
subscriberId?: InputMaybe<SubscriberIdFilterInput>;
|
||||||
|
subscriberTask?: InputMaybe<Scalars['JsonbFilterInput']['input']>;
|
||||||
|
subscriptionId?: InputMaybe<IntegerFilterInput>;
|
||||||
|
timeoutMs?: InputMaybe<IntegerFilterInput>;
|
||||||
|
updatedAt?: InputMaybe<TextFilterInput>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type CronInsertInput = {
|
||||||
|
cronExpr: Scalars['String']['input'];
|
||||||
|
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
||||||
|
id?: InputMaybe<Scalars['Int']['input']>;
|
||||||
|
maxAttempts?: InputMaybe<Scalars['Int']['input']>;
|
||||||
|
subscriberTask?: InputMaybe<Scalars['Json']['input']>;
|
||||||
|
timeoutMs?: InputMaybe<Scalars['Int']['input']>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type CronOrderInput = {
|
||||||
|
attempts?: InputMaybe<OrderByEnum>;
|
||||||
|
createdAt?: InputMaybe<OrderByEnum>;
|
||||||
|
cronExpr?: InputMaybe<OrderByEnum>;
|
||||||
|
enabled?: InputMaybe<OrderByEnum>;
|
||||||
|
id?: InputMaybe<OrderByEnum>;
|
||||||
|
lastError?: InputMaybe<OrderByEnum>;
|
||||||
|
lastRun?: InputMaybe<OrderByEnum>;
|
||||||
|
lockedAt?: InputMaybe<OrderByEnum>;
|
||||||
|
lockedBy?: InputMaybe<OrderByEnum>;
|
||||||
|
maxAttempts?: InputMaybe<OrderByEnum>;
|
||||||
|
nextRun?: InputMaybe<OrderByEnum>;
|
||||||
|
priority?: InputMaybe<OrderByEnum>;
|
||||||
|
status?: InputMaybe<OrderByEnum>;
|
||||||
|
subscriberId?: InputMaybe<OrderByEnum>;
|
||||||
|
subscriberTask?: InputMaybe<OrderByEnum>;
|
||||||
|
subscriptionId?: InputMaybe<OrderByEnum>;
|
||||||
|
timeoutMs?: InputMaybe<OrderByEnum>;
|
||||||
|
updatedAt?: InputMaybe<OrderByEnum>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export const CronStatusEnum = {
|
||||||
|
Completed: 'completed',
|
||||||
|
Failed: 'failed',
|
||||||
|
Pending: 'pending',
|
||||||
|
Running: 'running'
|
||||||
|
} as const;
|
||||||
|
|
||||||
|
export type CronStatusEnum = typeof CronStatusEnum[keyof typeof CronStatusEnum];
|
||||||
|
export type CronStatusEnumFilterInput = {
|
||||||
|
eq?: InputMaybe<CronStatusEnum>;
|
||||||
|
gt?: InputMaybe<CronStatusEnum>;
|
||||||
|
gte?: InputMaybe<CronStatusEnum>;
|
||||||
|
is_in?: InputMaybe<Array<CronStatusEnum>>;
|
||||||
|
is_not_in?: InputMaybe<Array<CronStatusEnum>>;
|
||||||
|
is_not_null?: InputMaybe<CronStatusEnum>;
|
||||||
|
is_null?: InputMaybe<CronStatusEnum>;
|
||||||
|
lt?: InputMaybe<CronStatusEnum>;
|
||||||
|
lte?: InputMaybe<CronStatusEnum>;
|
||||||
|
ne?: InputMaybe<CronStatusEnum>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type CronUpdateInput = {
|
||||||
|
cronExpr?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
||||||
|
maxAttempts?: InputMaybe<Scalars['Int']['input']>;
|
||||||
|
priority?: InputMaybe<Scalars['Int']['input']>;
|
||||||
|
timeoutMs?: InputMaybe<Scalars['Int']['input']>;
|
||||||
|
};
|
||||||
|
|
||||||
export type CursorInput = {
|
export type CursorInput = {
|
||||||
cursor?: InputMaybe<Scalars['String']['input']>;
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
||||||
limit: Scalars['Int']['input'];
|
limit: Scalars['Int']['input'];
|
||||||
@ -421,7 +558,7 @@ export type Downloaders = {
|
|||||||
|
|
||||||
|
|
||||||
export type DownloadersDownloadArgs = {
|
export type DownloadersDownloadArgs = {
|
||||||
filters?: InputMaybe<DownloadsFilterInput>;
|
filter?: InputMaybe<DownloadsFilterInput>;
|
||||||
orderBy?: InputMaybe<DownloadsOrderInput>;
|
orderBy?: InputMaybe<DownloadsOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
@ -682,21 +819,21 @@ export type Episodes = {
|
|||||||
|
|
||||||
|
|
||||||
export type EpisodesDownloadArgs = {
|
export type EpisodesDownloadArgs = {
|
||||||
filters?: InputMaybe<SubscriptionsFilterInput>;
|
filter?: InputMaybe<SubscriptionsFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriptionsOrderInput>;
|
orderBy?: InputMaybe<SubscriptionsOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type EpisodesSubscriptionArgs = {
|
export type EpisodesSubscriptionArgs = {
|
||||||
filters?: InputMaybe<DownloadsFilterInput>;
|
filter?: InputMaybe<DownloadsFilterInput>;
|
||||||
orderBy?: InputMaybe<DownloadsOrderInput>;
|
orderBy?: InputMaybe<DownloadsOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type EpisodesSubscriptionEpisodeArgs = {
|
export type EpisodesSubscriptionEpisodeArgs = {
|
||||||
filters?: InputMaybe<SubscriptionEpisodeFilterInput>;
|
filter?: InputMaybe<SubscriptionEpisodeFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriptionEpisodeOrderInput>;
|
orderBy?: InputMaybe<SubscriptionEpisodeOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
@ -990,10 +1127,15 @@ export type Mutation = {
|
|||||||
bangumiCreateOne: BangumiBasic;
|
bangumiCreateOne: BangumiBasic;
|
||||||
bangumiDelete: Scalars['Int']['output'];
|
bangumiDelete: Scalars['Int']['output'];
|
||||||
bangumiUpdate: Array<BangumiBasic>;
|
bangumiUpdate: Array<BangumiBasic>;
|
||||||
|
credential3rdCheckAvailable: Credential3rdCheckAvailableInfo;
|
||||||
credential3rdCreateBatch: Array<Credential3rdBasic>;
|
credential3rdCreateBatch: Array<Credential3rdBasic>;
|
||||||
credential3rdCreateOne: Credential3rdBasic;
|
credential3rdCreateOne: Credential3rdBasic;
|
||||||
credential3rdDelete: Scalars['Int']['output'];
|
credential3rdDelete: Scalars['Int']['output'];
|
||||||
credential3rdUpdate: Array<Credential3rdBasic>;
|
credential3rdUpdate: Array<Credential3rdBasic>;
|
||||||
|
cronCreateBatch: Array<CronBasic>;
|
||||||
|
cronCreateOne: CronBasic;
|
||||||
|
cronDelete: Scalars['Int']['output'];
|
||||||
|
cronUpdate: Array<CronBasic>;
|
||||||
downloadersCreateBatch: Array<DownloadersBasic>;
|
downloadersCreateBatch: Array<DownloadersBasic>;
|
||||||
downloadersCreateOne: DownloadersBasic;
|
downloadersCreateOne: DownloadersBasic;
|
||||||
downloadersDelete: Scalars['Int']['output'];
|
downloadersDelete: Scalars['Int']['output'];
|
||||||
@ -1010,8 +1152,9 @@ export type Mutation = {
|
|||||||
feedsCreateOne: FeedsBasic;
|
feedsCreateOne: FeedsBasic;
|
||||||
feedsDelete: Scalars['Int']['output'];
|
feedsDelete: Scalars['Int']['output'];
|
||||||
feedsUpdate: Array<FeedsBasic>;
|
feedsUpdate: Array<FeedsBasic>;
|
||||||
|
subscriberTasksCreateOne: SubscriberTasksBasic;
|
||||||
subscriberTasksDelete: Scalars['Int']['output'];
|
subscriberTasksDelete: Scalars['Int']['output'];
|
||||||
subscriberTasksRetryOne: SubscriberTasks;
|
subscriberTasksRetryOne: SubscriberTasksBasic;
|
||||||
subscriptionBangumiCreateBatch: Array<SubscriptionBangumiBasic>;
|
subscriptionBangumiCreateBatch: Array<SubscriptionBangumiBasic>;
|
||||||
subscriptionBangumiCreateOne: SubscriptionBangumiBasic;
|
subscriptionBangumiCreateOne: SubscriptionBangumiBasic;
|
||||||
subscriptionBangumiDelete: Scalars['Int']['output'];
|
subscriptionBangumiDelete: Scalars['Int']['output'];
|
||||||
@ -1023,9 +1166,9 @@ export type Mutation = {
|
|||||||
subscriptionsCreateBatch: Array<SubscriptionsBasic>;
|
subscriptionsCreateBatch: Array<SubscriptionsBasic>;
|
||||||
subscriptionsCreateOne: SubscriptionsBasic;
|
subscriptionsCreateOne: SubscriptionsBasic;
|
||||||
subscriptionsDelete: Scalars['Int']['output'];
|
subscriptionsDelete: Scalars['Int']['output'];
|
||||||
subscriptionsSyncOneFeedsFull: SubscriberTasks;
|
subscriptionsSyncOneFeedsFull: SubscriberTasksBasic;
|
||||||
subscriptionsSyncOneFeedsIncremental: SubscriberTasks;
|
subscriptionsSyncOneFeedsIncremental: SubscriberTasksBasic;
|
||||||
subscriptionsSyncOneSources: SubscriberTasks;
|
subscriptionsSyncOneSources: SubscriberTasksBasic;
|
||||||
subscriptionsUpdate: Array<SubscriptionsBasic>;
|
subscriptionsUpdate: Array<SubscriptionsBasic>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1051,6 +1194,11 @@ export type MutationBangumiUpdateArgs = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type MutationCredential3rdCheckAvailableArgs = {
|
||||||
|
filter?: InputMaybe<Credential3rdFilterInput>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
export type MutationCredential3rdCreateBatchArgs = {
|
export type MutationCredential3rdCreateBatchArgs = {
|
||||||
data: Array<Credential3rdInsertInput>;
|
data: Array<Credential3rdInsertInput>;
|
||||||
};
|
};
|
||||||
@ -1072,6 +1220,27 @@ export type MutationCredential3rdUpdateArgs = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type MutationCronCreateBatchArgs = {
|
||||||
|
data: Array<CronInsertInput>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type MutationCronCreateOneArgs = {
|
||||||
|
data: CronInsertInput;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type MutationCronDeleteArgs = {
|
||||||
|
filter?: InputMaybe<CronFilterInput>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type MutationCronUpdateArgs = {
|
||||||
|
data: CronUpdateInput;
|
||||||
|
filter?: InputMaybe<CronFilterInput>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
export type MutationDownloadersCreateBatchArgs = {
|
export type MutationDownloadersCreateBatchArgs = {
|
||||||
data: Array<DownloadersInsertInput>;
|
data: Array<DownloadersInsertInput>;
|
||||||
};
|
};
|
||||||
@ -1156,6 +1325,11 @@ export type MutationFeedsUpdateArgs = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type MutationSubscriberTasksCreateOneArgs = {
|
||||||
|
data: SubscriberTasksInsertInput;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
export type MutationSubscriberTasksDeleteArgs = {
|
export type MutationSubscriberTasksDeleteArgs = {
|
||||||
filter?: InputMaybe<SubscriberTasksFilterInput>;
|
filter?: InputMaybe<SubscriberTasksFilterInput>;
|
||||||
};
|
};
|
||||||
@ -1286,7 +1460,7 @@ export type Query = {
|
|||||||
_sea_orm_entity_metadata?: Maybe<Scalars['String']['output']>;
|
_sea_orm_entity_metadata?: Maybe<Scalars['String']['output']>;
|
||||||
bangumi: BangumiConnection;
|
bangumi: BangumiConnection;
|
||||||
credential3rd: Credential3rdConnection;
|
credential3rd: Credential3rdConnection;
|
||||||
credential3rdCheckAvailable: Credential3rdCheckAvailableInfo;
|
cron: CronConnection;
|
||||||
downloaders: DownloadersConnection;
|
downloaders: DownloadersConnection;
|
||||||
downloads: DownloadsConnection;
|
downloads: DownloadsConnection;
|
||||||
episodes: EpisodesConnection;
|
episodes: EpisodesConnection;
|
||||||
@ -1305,82 +1479,84 @@ export type Query_Sea_Orm_Entity_MetadataArgs = {
|
|||||||
|
|
||||||
|
|
||||||
export type QueryBangumiArgs = {
|
export type QueryBangumiArgs = {
|
||||||
filters?: InputMaybe<BangumiFilterInput>;
|
filter?: InputMaybe<BangumiFilterInput>;
|
||||||
orderBy?: InputMaybe<BangumiOrderInput>;
|
orderBy?: InputMaybe<BangumiOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type QueryCredential3rdArgs = {
|
export type QueryCredential3rdArgs = {
|
||||||
filters?: InputMaybe<Credential3rdFilterInput>;
|
filter?: InputMaybe<Credential3rdFilterInput>;
|
||||||
orderBy?: InputMaybe<Credential3rdOrderInput>;
|
orderBy?: InputMaybe<Credential3rdOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type QueryCredential3rdCheckAvailableArgs = {
|
export type QueryCronArgs = {
|
||||||
filter: Credential3rdCheckAvailableInput;
|
filter?: InputMaybe<CronFilterInput>;
|
||||||
|
orderBy?: InputMaybe<CronOrderInput>;
|
||||||
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type QueryDownloadersArgs = {
|
export type QueryDownloadersArgs = {
|
||||||
filters?: InputMaybe<DownloadersFilterInput>;
|
filter?: InputMaybe<DownloadersFilterInput>;
|
||||||
orderBy?: InputMaybe<DownloadersOrderInput>;
|
orderBy?: InputMaybe<DownloadersOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type QueryDownloadsArgs = {
|
export type QueryDownloadsArgs = {
|
||||||
filters?: InputMaybe<DownloadsFilterInput>;
|
filter?: InputMaybe<DownloadsFilterInput>;
|
||||||
orderBy?: InputMaybe<DownloadsOrderInput>;
|
orderBy?: InputMaybe<DownloadsOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type QueryEpisodesArgs = {
|
export type QueryEpisodesArgs = {
|
||||||
filters?: InputMaybe<EpisodesFilterInput>;
|
filter?: InputMaybe<EpisodesFilterInput>;
|
||||||
orderBy?: InputMaybe<EpisodesOrderInput>;
|
orderBy?: InputMaybe<EpisodesOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type QueryFeedsArgs = {
|
export type QueryFeedsArgs = {
|
||||||
filters?: InputMaybe<FeedsFilterInput>;
|
filter?: InputMaybe<FeedsFilterInput>;
|
||||||
orderBy?: InputMaybe<FeedsOrderInput>;
|
orderBy?: InputMaybe<FeedsOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type QuerySubscriberTasksArgs = {
|
export type QuerySubscriberTasksArgs = {
|
||||||
filters?: InputMaybe<SubscriberTasksFilterInput>;
|
filter?: InputMaybe<SubscriberTasksFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriberTasksOrderInput>;
|
orderBy?: InputMaybe<SubscriberTasksOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type QuerySubscribersArgs = {
|
export type QuerySubscribersArgs = {
|
||||||
filters?: InputMaybe<SubscribersFilterInput>;
|
filter?: InputMaybe<SubscribersFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscribersOrderInput>;
|
orderBy?: InputMaybe<SubscribersOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type QuerySubscriptionBangumiArgs = {
|
export type QuerySubscriptionBangumiArgs = {
|
||||||
filters?: InputMaybe<SubscriptionBangumiFilterInput>;
|
filter?: InputMaybe<SubscriptionBangumiFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriptionBangumiOrderInput>;
|
orderBy?: InputMaybe<SubscriptionBangumiOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type QuerySubscriptionEpisodeArgs = {
|
export type QuerySubscriptionEpisodeArgs = {
|
||||||
filters?: InputMaybe<SubscriptionEpisodeFilterInput>;
|
filter?: InputMaybe<SubscriptionEpisodeFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriptionEpisodeOrderInput>;
|
orderBy?: InputMaybe<SubscriptionEpisodeOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type QuerySubscriptionsArgs = {
|
export type QuerySubscriptionsArgs = {
|
||||||
filters?: InputMaybe<SubscriptionsFilterInput>;
|
filter?: InputMaybe<SubscriptionsFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriptionsOrderInput>;
|
orderBy?: InputMaybe<SubscriptionsOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
@ -1446,6 +1622,24 @@ export type SubscriberTasks = {
|
|||||||
taskType: SubscriberTaskTypeEnum;
|
taskType: SubscriberTaskTypeEnum;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type SubscriberTasksBasic = {
|
||||||
|
__typename?: 'SubscriberTasksBasic';
|
||||||
|
attempts: Scalars['Int']['output'];
|
||||||
|
doneAt?: Maybe<Scalars['String']['output']>;
|
||||||
|
id: Scalars['String']['output'];
|
||||||
|
job: Scalars['Json']['output'];
|
||||||
|
lastError?: Maybe<Scalars['String']['output']>;
|
||||||
|
lockAt?: Maybe<Scalars['String']['output']>;
|
||||||
|
lockBy?: Maybe<Scalars['String']['output']>;
|
||||||
|
maxAttempts: Scalars['Int']['output'];
|
||||||
|
priority: Scalars['Int']['output'];
|
||||||
|
runAt: Scalars['String']['output'];
|
||||||
|
status: SubscriberTaskStatusEnum;
|
||||||
|
subscriberId: Scalars['Int']['output'];
|
||||||
|
subscriptionId?: Maybe<Scalars['Int']['output']>;
|
||||||
|
taskType: SubscriberTaskTypeEnum;
|
||||||
|
};
|
||||||
|
|
||||||
export type SubscriberTasksConnection = {
|
export type SubscriberTasksConnection = {
|
||||||
__typename?: 'SubscriberTasksConnection';
|
__typename?: 'SubscriberTasksConnection';
|
||||||
edges: Array<SubscriberTasksEdge>;
|
edges: Array<SubscriberTasksEdge>;
|
||||||
@ -1479,6 +1673,14 @@ export type SubscriberTasksFilterInput = {
|
|||||||
taskType?: InputMaybe<StringFilterInput>;
|
taskType?: InputMaybe<StringFilterInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type SubscriberTasksInsertInput = {
|
||||||
|
id?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
job: Scalars['Json']['input'];
|
||||||
|
maxAttempts: Scalars['Int']['input'];
|
||||||
|
priority: Scalars['Int']['input'];
|
||||||
|
subscriberId?: InputMaybe<Scalars['Int']['input']>;
|
||||||
|
};
|
||||||
|
|
||||||
export type SubscriberTasksOrderInput = {
|
export type SubscriberTasksOrderInput = {
|
||||||
attempts?: InputMaybe<OrderByEnum>;
|
attempts?: InputMaybe<OrderByEnum>;
|
||||||
doneAt?: InputMaybe<OrderByEnum>;
|
doneAt?: InputMaybe<OrderByEnum>;
|
||||||
@ -1514,49 +1716,49 @@ export type Subscribers = {
|
|||||||
|
|
||||||
|
|
||||||
export type SubscribersBangumiArgs = {
|
export type SubscribersBangumiArgs = {
|
||||||
filters?: InputMaybe<BangumiFilterInput>;
|
filter?: InputMaybe<BangumiFilterInput>;
|
||||||
orderBy?: InputMaybe<BangumiOrderInput>;
|
orderBy?: InputMaybe<BangumiOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type SubscribersCredential3rdArgs = {
|
export type SubscribersCredential3rdArgs = {
|
||||||
filters?: InputMaybe<Credential3rdFilterInput>;
|
filter?: InputMaybe<Credential3rdFilterInput>;
|
||||||
orderBy?: InputMaybe<Credential3rdOrderInput>;
|
orderBy?: InputMaybe<Credential3rdOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type SubscribersDownloaderArgs = {
|
export type SubscribersDownloaderArgs = {
|
||||||
filters?: InputMaybe<DownloadersFilterInput>;
|
filter?: InputMaybe<DownloadersFilterInput>;
|
||||||
orderBy?: InputMaybe<DownloadersOrderInput>;
|
orderBy?: InputMaybe<DownloadersOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type SubscribersEpisodeArgs = {
|
export type SubscribersEpisodeArgs = {
|
||||||
filters?: InputMaybe<EpisodesFilterInput>;
|
filter?: InputMaybe<EpisodesFilterInput>;
|
||||||
orderBy?: InputMaybe<EpisodesOrderInput>;
|
orderBy?: InputMaybe<EpisodesOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type SubscribersFeedArgs = {
|
export type SubscribersFeedArgs = {
|
||||||
filters?: InputMaybe<FeedsFilterInput>;
|
filter?: InputMaybe<FeedsFilterInput>;
|
||||||
orderBy?: InputMaybe<FeedsOrderInput>;
|
orderBy?: InputMaybe<FeedsOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type SubscribersSubscriberTaskArgs = {
|
export type SubscribersSubscriberTaskArgs = {
|
||||||
filters?: InputMaybe<SubscriberTasksFilterInput>;
|
filter?: InputMaybe<SubscriberTasksFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriberTasksOrderInput>;
|
orderBy?: InputMaybe<SubscriberTasksOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type SubscribersSubscriptionArgs = {
|
export type SubscribersSubscriptionArgs = {
|
||||||
filters?: InputMaybe<SubscriptionsFilterInput>;
|
filter?: InputMaybe<SubscriptionsFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriptionsOrderInput>;
|
orderBy?: InputMaybe<SubscriptionsOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
@ -1652,7 +1854,6 @@ export type SubscriptionBangumiUpdateInput = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const SubscriptionCategoryEnum = {
|
export const SubscriptionCategoryEnum = {
|
||||||
Manual: 'manual',
|
|
||||||
MikanBangumi: 'mikan_bangumi',
|
MikanBangumi: 'mikan_bangumi',
|
||||||
MikanSeason: 'mikan_season',
|
MikanSeason: 'mikan_season',
|
||||||
MikanSubscriber: 'mikan_subscriber'
|
MikanSubscriber: 'mikan_subscriber'
|
||||||
@ -1757,42 +1958,42 @@ export type Subscriptions = {
|
|||||||
|
|
||||||
|
|
||||||
export type SubscriptionsBangumiArgs = {
|
export type SubscriptionsBangumiArgs = {
|
||||||
filters?: InputMaybe<BangumiFilterInput>;
|
filter?: InputMaybe<BangumiFilterInput>;
|
||||||
orderBy?: InputMaybe<BangumiOrderInput>;
|
orderBy?: InputMaybe<BangumiOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type SubscriptionsEpisodeArgs = {
|
export type SubscriptionsEpisodeArgs = {
|
||||||
filters?: InputMaybe<EpisodesFilterInput>;
|
filter?: InputMaybe<EpisodesFilterInput>;
|
||||||
orderBy?: InputMaybe<EpisodesOrderInput>;
|
orderBy?: InputMaybe<EpisodesOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type SubscriptionsFeedArgs = {
|
export type SubscriptionsFeedArgs = {
|
||||||
filters?: InputMaybe<FeedsFilterInput>;
|
filter?: InputMaybe<FeedsFilterInput>;
|
||||||
orderBy?: InputMaybe<FeedsOrderInput>;
|
orderBy?: InputMaybe<FeedsOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type SubscriptionsSubscriberTaskArgs = {
|
export type SubscriptionsSubscriberTaskArgs = {
|
||||||
filters?: InputMaybe<SubscriberTasksFilterInput>;
|
filter?: InputMaybe<SubscriberTasksFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriberTasksOrderInput>;
|
orderBy?: InputMaybe<SubscriberTasksOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type SubscriptionsSubscriptionBangumiArgs = {
|
export type SubscriptionsSubscriptionBangumiArgs = {
|
||||||
filters?: InputMaybe<SubscriptionBangumiFilterInput>;
|
filter?: InputMaybe<SubscriptionBangumiFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriptionBangumiOrderInput>;
|
orderBy?: InputMaybe<SubscriptionBangumiOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export type SubscriptionsSubscriptionEpisodeArgs = {
|
export type SubscriptionsSubscriptionEpisodeArgs = {
|
||||||
filters?: InputMaybe<SubscriptionEpisodeFilterInput>;
|
filter?: InputMaybe<SubscriptionEpisodeFilterInput>;
|
||||||
orderBy?: InputMaybe<SubscriptionEpisodeOrderInput>;
|
orderBy?: InputMaybe<SubscriptionEpisodeOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
};
|
};
|
||||||
@ -1889,7 +2090,7 @@ export type TextFilterInput = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type GetCredential3rdQueryVariables = Exact<{
|
export type GetCredential3rdQueryVariables = Exact<{
|
||||||
filters: Credential3rdFilterInput;
|
filter: Credential3rdFilterInput;
|
||||||
orderBy?: InputMaybe<Credential3rdOrderInput>;
|
orderBy?: InputMaybe<Credential3rdOrderInput>;
|
||||||
pagination?: InputMaybe<PaginationInput>;
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
}>;
|
}>;
|
||||||
@ -1906,14 +2107,14 @@ export type InsertCredential3rdMutation = { __typename?: 'Mutation', credential3
|
|||||||
|
|
||||||
export type UpdateCredential3rdMutationVariables = Exact<{
|
export type UpdateCredential3rdMutationVariables = Exact<{
|
||||||
data: Credential3rdUpdateInput;
|
data: Credential3rdUpdateInput;
|
||||||
filters: Credential3rdFilterInput;
|
filter: Credential3rdFilterInput;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type UpdateCredential3rdMutation = { __typename?: 'Mutation', credential3rdUpdate: Array<{ __typename?: 'Credential3rdBasic', id: number, cookies?: string | null, username?: string | null, password?: string | null, userAgent?: string | null, createdAt: string, updatedAt: string, credentialType: Credential3rdTypeEnum }> };
|
export type UpdateCredential3rdMutation = { __typename?: 'Mutation', credential3rdUpdate: Array<{ __typename?: 'Credential3rdBasic', id: number, cookies?: string | null, username?: string | null, password?: string | null, userAgent?: string | null, createdAt: string, updatedAt: string, credentialType: Credential3rdTypeEnum }> };
|
||||||
|
|
||||||
export type DeleteCredential3rdMutationVariables = Exact<{
|
export type DeleteCredential3rdMutationVariables = Exact<{
|
||||||
filters: Credential3rdFilterInput;
|
filter: Credential3rdFilterInput;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
@ -1926,12 +2127,12 @@ export type GetCredential3rdDetailQueryVariables = Exact<{
|
|||||||
|
|
||||||
export type GetCredential3rdDetailQuery = { __typename?: 'Query', credential3rd: { __typename?: 'Credential3rdConnection', nodes: Array<{ __typename?: 'Credential3rd', id: number, cookies?: string | null, username?: string | null, password?: string | null, userAgent?: string | null, createdAt: string, updatedAt: string, credentialType: Credential3rdTypeEnum }> } };
|
export type GetCredential3rdDetailQuery = { __typename?: 'Query', credential3rd: { __typename?: 'Credential3rdConnection', nodes: Array<{ __typename?: 'Credential3rd', id: number, cookies?: string | null, username?: string | null, password?: string | null, userAgent?: string | null, createdAt: string, updatedAt: string, credentialType: Credential3rdTypeEnum }> } };
|
||||||
|
|
||||||
export type CheckCredential3rdAvailableQueryVariables = Exact<{
|
export type CheckCredential3rdAvailableMutationVariables = Exact<{
|
||||||
id: Scalars['Int']['input'];
|
filter: Credential3rdFilterInput;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type CheckCredential3rdAvailableQuery = { __typename?: 'Query', credential3rdCheckAvailable: { __typename?: 'Credential3rdCheckAvailableInfo', available: boolean } };
|
export type CheckCredential3rdAvailableMutation = { __typename?: 'Mutation', credential3rdCheckAvailable: { __typename?: 'Credential3rdCheckAvailableInfo', available: boolean } };
|
||||||
|
|
||||||
export type InsertFeedMutationVariables = Exact<{
|
export type InsertFeedMutationVariables = Exact<{
|
||||||
data: FeedsInsertInput;
|
data: FeedsInsertInput;
|
||||||
@ -1941,14 +2142,14 @@ export type InsertFeedMutationVariables = Exact<{
|
|||||||
export type InsertFeedMutation = { __typename?: 'Mutation', feedsCreateOne: { __typename?: 'FeedsBasic', id: number, createdAt: string, updatedAt: string, feedType: FeedTypeEnum, token: string } };
|
export type InsertFeedMutation = { __typename?: 'Mutation', feedsCreateOne: { __typename?: 'FeedsBasic', id: number, createdAt: string, updatedAt: string, feedType: FeedTypeEnum, token: string } };
|
||||||
|
|
||||||
export type DeleteFeedMutationVariables = Exact<{
|
export type DeleteFeedMutationVariables = Exact<{
|
||||||
filters: FeedsFilterInput;
|
filter: FeedsFilterInput;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type DeleteFeedMutation = { __typename?: 'Mutation', feedsDelete: number };
|
export type DeleteFeedMutation = { __typename?: 'Mutation', feedsDelete: number };
|
||||||
|
|
||||||
export type GetSubscriptionsQueryVariables = Exact<{
|
export type GetSubscriptionsQueryVariables = Exact<{
|
||||||
filters: SubscriptionsFilterInput;
|
filter: SubscriptionsFilterInput;
|
||||||
orderBy: SubscriptionsOrderInput;
|
orderBy: SubscriptionsOrderInput;
|
||||||
pagination: PaginationInput;
|
pagination: PaginationInput;
|
||||||
}>;
|
}>;
|
||||||
@ -1965,14 +2166,14 @@ export type InsertSubscriptionMutation = { __typename?: 'Mutation', subscription
|
|||||||
|
|
||||||
export type UpdateSubscriptionsMutationVariables = Exact<{
|
export type UpdateSubscriptionsMutationVariables = Exact<{
|
||||||
data: SubscriptionsUpdateInput;
|
data: SubscriptionsUpdateInput;
|
||||||
filters: SubscriptionsFilterInput;
|
filter: SubscriptionsFilterInput;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type UpdateSubscriptionsMutation = { __typename?: 'Mutation', subscriptionsUpdate: Array<{ __typename?: 'SubscriptionsBasic', id: number, createdAt: string, updatedAt: string, displayName: string, category: SubscriptionCategoryEnum, sourceUrl: string, enabled: boolean }> };
|
export type UpdateSubscriptionsMutation = { __typename?: 'Mutation', subscriptionsUpdate: Array<{ __typename?: 'SubscriptionsBasic', id: number, createdAt: string, updatedAt: string, displayName: string, category: SubscriptionCategoryEnum, sourceUrl: string, enabled: boolean }> };
|
||||||
|
|
||||||
export type DeleteSubscriptionsMutationVariables = Exact<{
|
export type DeleteSubscriptionsMutationVariables = Exact<{
|
||||||
filters?: InputMaybe<SubscriptionsFilterInput>;
|
filter?: InputMaybe<SubscriptionsFilterInput>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
@ -1990,24 +2191,24 @@ export type SyncSubscriptionFeedsIncrementalMutationVariables = Exact<{
|
|||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type SyncSubscriptionFeedsIncrementalMutation = { __typename?: 'Mutation', subscriptionsSyncOneFeedsIncremental: { __typename?: 'SubscriberTasks', id: string } };
|
export type SyncSubscriptionFeedsIncrementalMutation = { __typename?: 'Mutation', subscriptionsSyncOneFeedsIncremental: { __typename?: 'SubscriberTasksBasic', id: string } };
|
||||||
|
|
||||||
export type SyncSubscriptionFeedsFullMutationVariables = Exact<{
|
export type SyncSubscriptionFeedsFullMutationVariables = Exact<{
|
||||||
filter: SubscriptionsFilterInput;
|
filter: SubscriptionsFilterInput;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type SyncSubscriptionFeedsFullMutation = { __typename?: 'Mutation', subscriptionsSyncOneFeedsFull: { __typename?: 'SubscriberTasks', id: string } };
|
export type SyncSubscriptionFeedsFullMutation = { __typename?: 'Mutation', subscriptionsSyncOneFeedsFull: { __typename?: 'SubscriberTasksBasic', id: string } };
|
||||||
|
|
||||||
export type SyncSubscriptionSourcesMutationVariables = Exact<{
|
export type SyncSubscriptionSourcesMutationVariables = Exact<{
|
||||||
filter: SubscriptionsFilterInput;
|
filter: SubscriptionsFilterInput;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type SyncSubscriptionSourcesMutation = { __typename?: 'Mutation', subscriptionsSyncOneSources: { __typename?: 'SubscriberTasks', id: string } };
|
export type SyncSubscriptionSourcesMutation = { __typename?: 'Mutation', subscriptionsSyncOneSources: { __typename?: 'SubscriberTasksBasic', id: string } };
|
||||||
|
|
||||||
export type GetTasksQueryVariables = Exact<{
|
export type GetTasksQueryVariables = Exact<{
|
||||||
filters: SubscriberTasksFilterInput;
|
filter: SubscriberTasksFilterInput;
|
||||||
orderBy: SubscriberTasksOrderInput;
|
orderBy: SubscriberTasksOrderInput;
|
||||||
pagination: PaginationInput;
|
pagination: PaginationInput;
|
||||||
}>;
|
}>;
|
||||||
@ -2016,36 +2217,36 @@ export type GetTasksQueryVariables = Exact<{
|
|||||||
export type GetTasksQuery = { __typename?: 'Query', subscriberTasks: { __typename?: 'SubscriberTasksConnection', nodes: Array<{ __typename?: 'SubscriberTasks', id: string, job: any, taskType: SubscriberTaskTypeEnum, status: SubscriberTaskStatusEnum, attempts: number, maxAttempts: number, runAt: string, lastError?: string | null, lockAt?: string | null, lockBy?: string | null, doneAt?: string | null, priority: number }>, paginationInfo?: { __typename?: 'PaginationInfo', total: number, pages: number } | null } };
|
export type GetTasksQuery = { __typename?: 'Query', subscriberTasks: { __typename?: 'SubscriberTasksConnection', nodes: Array<{ __typename?: 'SubscriberTasks', id: string, job: any, taskType: SubscriberTaskTypeEnum, status: SubscriberTaskStatusEnum, attempts: number, maxAttempts: number, runAt: string, lastError?: string | null, lockAt?: string | null, lockBy?: string | null, doneAt?: string | null, priority: number }>, paginationInfo?: { __typename?: 'PaginationInfo', total: number, pages: number } | null } };
|
||||||
|
|
||||||
export type DeleteTasksMutationVariables = Exact<{
|
export type DeleteTasksMutationVariables = Exact<{
|
||||||
filters: SubscriberTasksFilterInput;
|
filter: SubscriberTasksFilterInput;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type DeleteTasksMutation = { __typename?: 'Mutation', subscriberTasksDelete: number };
|
export type DeleteTasksMutation = { __typename?: 'Mutation', subscriberTasksDelete: number };
|
||||||
|
|
||||||
export type RetryTasksMutationVariables = Exact<{
|
export type RetryTasksMutationVariables = Exact<{
|
||||||
filters: SubscriberTasksFilterInput;
|
filter: SubscriberTasksFilterInput;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type RetryTasksMutation = { __typename?: 'Mutation', subscriberTasksRetryOne: { __typename?: 'SubscriberTasks', id: string, job: any, taskType: SubscriberTaskTypeEnum, status: SubscriberTaskStatusEnum, attempts: number, maxAttempts: number, runAt: string, lastError?: string | null, lockAt?: string | null, lockBy?: string | null, doneAt?: string | null, priority: number } };
|
export type RetryTasksMutation = { __typename?: 'Mutation', subscriberTasksRetryOne: { __typename?: 'SubscriberTasksBasic', id: string, job: any, taskType: SubscriberTaskTypeEnum, status: SubscriberTaskStatusEnum, attempts: number, maxAttempts: number, runAt: string, lastError?: string | null, lockAt?: string | null, lockBy?: string | null, doneAt?: string | null, priority: number } };
|
||||||
|
|
||||||
|
|
||||||
export const GetCredential3rdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCredential3rd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdFilterInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdOrderInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rd"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cookies"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"password"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"credentialType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paginationInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"pages"}}]}}]}}]}}]} as unknown as DocumentNode<GetCredential3rdQuery, GetCredential3rdQueryVariables>;
|
export const GetCredential3rdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCredential3rd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdFilterInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdOrderInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rd"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cookies"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"password"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"credentialType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paginationInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"pages"}}]}}]}}]}}]} as unknown as DocumentNode<GetCredential3rdQuery, GetCredential3rdQueryVariables>;
|
||||||
export const InsertCredential3rdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertCredential3rd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdInsertInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rdCreateOne"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cookies"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"password"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"credentialType"}}]}}]}}]} as unknown as DocumentNode<InsertCredential3rdMutation, InsertCredential3rdMutationVariables>;
|
export const InsertCredential3rdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertCredential3rd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdInsertInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rdCreateOne"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cookies"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"password"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"credentialType"}}]}}]}}]} as unknown as DocumentNode<InsertCredential3rdMutation, InsertCredential3rdMutationVariables>;
|
||||||
export const UpdateCredential3rdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateCredential3rd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdUpdateInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rdUpdate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cookies"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"password"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"credentialType"}}]}}]}}]} as unknown as DocumentNode<UpdateCredential3rdMutation, UpdateCredential3rdMutationVariables>;
|
export const UpdateCredential3rdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateCredential3rd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdUpdateInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rdUpdate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cookies"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"password"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"credentialType"}}]}}]}}]} as unknown as DocumentNode<UpdateCredential3rdMutation, UpdateCredential3rdMutationVariables>;
|
||||||
export const DeleteCredential3rdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCredential3rd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rdDelete"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}]}]}}]} as unknown as DocumentNode<DeleteCredential3rdMutation, DeleteCredential3rdMutationVariables>;
|
export const DeleteCredential3rdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCredential3rd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rdDelete"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}]}]}}]} as unknown as DocumentNode<DeleteCredential3rdMutation, DeleteCredential3rdMutationVariables>;
|
||||||
export const GetCredential3rdDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCredential3rdDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rd"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cookies"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"password"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"credentialType"}}]}}]}}]}}]} as unknown as DocumentNode<GetCredential3rdDetailQuery, GetCredential3rdDetailQueryVariables>;
|
export const GetCredential3rdDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCredential3rdDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rd"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cookies"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"password"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"credentialType"}}]}}]}}]}}]} as unknown as DocumentNode<GetCredential3rdDetailQuery, GetCredential3rdDetailQueryVariables>;
|
||||||
export const CheckCredential3rdAvailableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CheckCredential3rdAvailable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rdCheckAvailable"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"available"}}]}}]}}]} as unknown as DocumentNode<CheckCredential3rdAvailableQuery, CheckCredential3rdAvailableQueryVariables>;
|
export const CheckCredential3rdAvailableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CheckCredential3rdAvailable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rdCheckAvailable"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"available"}}]}}]}}]} as unknown as DocumentNode<CheckCredential3rdAvailableMutation, CheckCredential3rdAvailableMutationVariables>;
|
||||||
export const InsertFeedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertFeed"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"FeedsInsertInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"feedsCreateOne"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"feedType"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}}]} as unknown as DocumentNode<InsertFeedMutation, InsertFeedMutationVariables>;
|
export const InsertFeedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertFeed"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"FeedsInsertInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"feedsCreateOne"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"feedType"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}}]} as unknown as DocumentNode<InsertFeedMutation, InsertFeedMutationVariables>;
|
||||||
export const DeleteFeedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteFeed"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"FeedsFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"feedsDelete"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}]}]}}]} as unknown as DocumentNode<DeleteFeedMutation, DeleteFeedMutationVariables>;
|
export const DeleteFeedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteFeed"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"FeedsFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"feedsDelete"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}]}]}}]} as unknown as DocumentNode<DeleteFeedMutation, DeleteFeedMutationVariables>;
|
||||||
export const GetSubscriptionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetSubscriptions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsOrderInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"credentialId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paginationInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"pages"}}]}}]}}]}}]} as unknown as DocumentNode<GetSubscriptionsQuery, GetSubscriptionsQueryVariables>;
|
export const GetSubscriptionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetSubscriptions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsOrderInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"credentialId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paginationInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"pages"}}]}}]}}]}}]} as unknown as DocumentNode<GetSubscriptionsQuery, GetSubscriptionsQueryVariables>;
|
||||||
export const InsertSubscriptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsInsertInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsCreateOne"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"credentialId"}}]}}]}}]} as unknown as DocumentNode<InsertSubscriptionMutation, InsertSubscriptionMutationVariables>;
|
export const InsertSubscriptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsInsertInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsCreateOne"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"credentialId"}}]}}]}}]} as unknown as DocumentNode<InsertSubscriptionMutation, InsertSubscriptionMutationVariables>;
|
||||||
export const UpdateSubscriptionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateSubscriptions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsUpdateInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsUpdate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}}]}}]}}]} as unknown as DocumentNode<UpdateSubscriptionsMutation, UpdateSubscriptionsMutationVariables>;
|
export const UpdateSubscriptionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateSubscriptions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsUpdateInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsUpdate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}}]}}]}}]} as unknown as DocumentNode<UpdateSubscriptionsMutation, UpdateSubscriptionsMutationVariables>;
|
||||||
export const DeleteSubscriptionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteSubscriptions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsDelete"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}]}]}}]} as unknown as DocumentNode<DeleteSubscriptionsMutation, DeleteSubscriptionsMutationVariables>;
|
export const DeleteSubscriptionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteSubscriptions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsDelete"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}]}]}}]} as unknown as DocumentNode<DeleteSubscriptionsMutation, DeleteSubscriptionsMutationVariables>;
|
||||||
export const GetSubscriptionDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetSubscriptionDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"feed"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"feedType"}},{"kind":"Field","name":{"kind":"Name","value":"feedSource"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"subscriberTask"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"taskType"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"credential3rd"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}},{"kind":"Field","name":{"kind":"Name","value":"bangumi"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"mikanBangumiId"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"season"}},{"kind":"Field","name":{"kind":"Name","value":"seasonRaw"}},{"kind":"Field","name":{"kind":"Name","value":"fansub"}},{"kind":"Field","name":{"kind":"Name","value":"mikanFansubId"}},{"kind":"Field","name":{"kind":"Name","value":"rssLink"}},{"kind":"Field","name":{"kind":"Name","value":"posterLink"}},{"kind":"Field","name":{"kind":"Name","value":"homepage"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<GetSubscriptionDetailQuery, GetSubscriptionDetailQueryVariables>;
|
export const GetSubscriptionDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetSubscriptionDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"feed"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"feedType"}},{"kind":"Field","name":{"kind":"Name","value":"feedSource"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"subscriberTask"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"taskType"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"credential3rd"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}},{"kind":"Field","name":{"kind":"Name","value":"bangumi"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"mikanBangumiId"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"season"}},{"kind":"Field","name":{"kind":"Name","value":"seasonRaw"}},{"kind":"Field","name":{"kind":"Name","value":"fansub"}},{"kind":"Field","name":{"kind":"Name","value":"mikanFansubId"}},{"kind":"Field","name":{"kind":"Name","value":"rssLink"}},{"kind":"Field","name":{"kind":"Name","value":"posterLink"}},{"kind":"Field","name":{"kind":"Name","value":"homepage"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<GetSubscriptionDetailQuery, GetSubscriptionDetailQueryVariables>;
|
||||||
export const SyncSubscriptionFeedsIncrementalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SyncSubscriptionFeedsIncremental"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsSyncOneFeedsIncremental"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<SyncSubscriptionFeedsIncrementalMutation, SyncSubscriptionFeedsIncrementalMutationVariables>;
|
export const SyncSubscriptionFeedsIncrementalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SyncSubscriptionFeedsIncremental"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsSyncOneFeedsIncremental"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<SyncSubscriptionFeedsIncrementalMutation, SyncSubscriptionFeedsIncrementalMutationVariables>;
|
||||||
export const SyncSubscriptionFeedsFullDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SyncSubscriptionFeedsFull"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsSyncOneFeedsFull"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<SyncSubscriptionFeedsFullMutation, SyncSubscriptionFeedsFullMutationVariables>;
|
export const SyncSubscriptionFeedsFullDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SyncSubscriptionFeedsFull"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsSyncOneFeedsFull"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<SyncSubscriptionFeedsFullMutation, SyncSubscriptionFeedsFullMutationVariables>;
|
||||||
export const SyncSubscriptionSourcesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SyncSubscriptionSources"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsSyncOneSources"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<SyncSubscriptionSourcesMutation, SyncSubscriptionSourcesMutationVariables>;
|
export const SyncSubscriptionSourcesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SyncSubscriptionSources"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsSyncOneSources"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<SyncSubscriptionSourcesMutation, SyncSubscriptionSourcesMutationVariables>;
|
||||||
export const GetTasksDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTasks"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriberTasksFilterInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriberTasksOrderInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriberTasks"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"job"}},{"kind":"Field","name":{"kind":"Name","value":"taskType"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}},{"kind":"Field","name":{"kind":"Name","value":"maxAttempts"}},{"kind":"Field","name":{"kind":"Name","value":"runAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastError"}},{"kind":"Field","name":{"kind":"Name","value":"lockAt"}},{"kind":"Field","name":{"kind":"Name","value":"lockBy"}},{"kind":"Field","name":{"kind":"Name","value":"doneAt"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paginationInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"pages"}}]}}]}}]}}]} as unknown as DocumentNode<GetTasksQuery, GetTasksQueryVariables>;
|
export const GetTasksDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTasks"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriberTasksFilterInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriberTasksOrderInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriberTasks"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"job"}},{"kind":"Field","name":{"kind":"Name","value":"taskType"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}},{"kind":"Field","name":{"kind":"Name","value":"maxAttempts"}},{"kind":"Field","name":{"kind":"Name","value":"runAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastError"}},{"kind":"Field","name":{"kind":"Name","value":"lockAt"}},{"kind":"Field","name":{"kind":"Name","value":"lockBy"}},{"kind":"Field","name":{"kind":"Name","value":"doneAt"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paginationInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"pages"}}]}}]}}]}}]} as unknown as DocumentNode<GetTasksQuery, GetTasksQueryVariables>;
|
||||||
export const DeleteTasksDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteTasks"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriberTasksFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriberTasksDelete"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}]}]}}]} as unknown as DocumentNode<DeleteTasksMutation, DeleteTasksMutationVariables>;
|
export const DeleteTasksDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteTasks"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriberTasksFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriberTasksDelete"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}]}]}}]} as unknown as DocumentNode<DeleteTasksMutation, DeleteTasksMutationVariables>;
|
||||||
export const RetryTasksDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RetryTasks"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriberTasksFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriberTasksRetryOne"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"job"}},{"kind":"Field","name":{"kind":"Name","value":"taskType"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}},{"kind":"Field","name":{"kind":"Name","value":"maxAttempts"}},{"kind":"Field","name":{"kind":"Name","value":"runAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastError"}},{"kind":"Field","name":{"kind":"Name","value":"lockAt"}},{"kind":"Field","name":{"kind":"Name","value":"lockBy"}},{"kind":"Field","name":{"kind":"Name","value":"doneAt"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}}]}}]}}]} as unknown as DocumentNode<RetryTasksMutation, RetryTasksMutationVariables>;
|
export const RetryTasksDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RetryTasks"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriberTasksFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriberTasksRetryOne"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"job"}},{"kind":"Field","name":{"kind":"Name","value":"taskType"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}},{"kind":"Field","name":{"kind":"Name","value":"maxAttempts"}},{"kind":"Field","name":{"kind":"Name","value":"runAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastError"}},{"kind":"Field","name":{"kind":"Name","value":"lockAt"}},{"kind":"Field","name":{"kind":"Name","value":"lockBy"}},{"kind":"Field","name":{"kind":"Name","value":"doneAt"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}}]}}]}}]} as unknown as DocumentNode<RetryTasksMutation, RetryTasksMutationVariables>;
|
@ -1,14 +1,6 @@
|
|||||||
import type { ProLinkProps } from '@/components/ui/pro-link';
|
import type { ProLinkProps } from '@/components/ui/pro-link';
|
||||||
import { type } from 'arktype';
|
import { type } from 'arktype';
|
||||||
import {
|
import type { LucideIcon } from 'lucide-react';
|
||||||
BookOpen,
|
|
||||||
Folders,
|
|
||||||
KeyRound,
|
|
||||||
type LucideIcon,
|
|
||||||
Settings2,
|
|
||||||
SquareTerminal,
|
|
||||||
Telescope,
|
|
||||||
} from 'lucide-react';
|
|
||||||
|
|
||||||
export interface NavMainItem {
|
export interface NavMainItem {
|
||||||
link?: ProLinkProps;
|
link?: ProLinkProps;
|
||||||
|
@ -6,14 +6,14 @@ import {
|
|||||||
DialogTitle,
|
DialogTitle,
|
||||||
} from '@/components/ui/dialog';
|
} from '@/components/ui/dialog';
|
||||||
import { CHECK_CREDENTIAL_3RD_AVAILABLE } from '@/domains/recorder/schema/credential3rd';
|
import { CHECK_CREDENTIAL_3RD_AVAILABLE } from '@/domains/recorder/schema/credential3rd';
|
||||||
import {
|
import { apolloErrorToMessage } from '@/infra/errors/apollo';
|
||||||
apolloErrorToMessage,
|
import type {
|
||||||
getApolloQueryError,
|
CheckCredential3rdAvailableMutation,
|
||||||
} from '@/infra/errors/apollo';
|
CheckCredential3rdAvailableMutationVariables,
|
||||||
import type { CheckCredential3rdAvailableQuery } from '@/infra/graphql/gql/graphql';
|
} from '@/infra/graphql/gql/graphql';
|
||||||
import { useLazyQuery } from '@apollo/client';
|
import { useMutation } from '@apollo/client';
|
||||||
import { CheckIcon, Loader2, XIcon } from 'lucide-react';
|
import { CheckIcon, Loader2, XIcon } from 'lucide-react';
|
||||||
import { memo, useCallback } from 'react';
|
import { memo } from 'react';
|
||||||
import { toast } from 'sonner';
|
import { toast } from 'sonner';
|
||||||
|
|
||||||
export interface Credential3rdCheckAvailableViewProps {
|
export interface Credential3rdCheckAvailableViewProps {
|
||||||
@ -22,30 +22,23 @@ export interface Credential3rdCheckAvailableViewProps {
|
|||||||
|
|
||||||
export const Credential3rdCheckAvailableView = memo(
|
export const Credential3rdCheckAvailableView = memo(
|
||||||
({ id }: Credential3rdCheckAvailableViewProps) => {
|
({ id }: Credential3rdCheckAvailableViewProps) => {
|
||||||
const [checkAvailable, { data, error, loading }] =
|
const [checkAvailable, { data, error, loading }] = useMutation<
|
||||||
useLazyQuery<CheckCredential3rdAvailableQuery>(
|
CheckCredential3rdAvailableMutation,
|
||||||
CHECK_CREDENTIAL_3RD_AVAILABLE,
|
CheckCredential3rdAvailableMutationVariables
|
||||||
{
|
>(CHECK_CREDENTIAL_3RD_AVAILABLE, {
|
||||||
variables: { id },
|
onCompleted: (data) => {
|
||||||
|
if (data.credential3rdCheckAvailable.available) {
|
||||||
|
toast.success('Credential is available');
|
||||||
|
} else {
|
||||||
|
toast.error('Credential is not available');
|
||||||
}
|
}
|
||||||
);
|
},
|
||||||
|
onError: (error) => {
|
||||||
const handleCheckAvailable = useCallback(async () => {
|
|
||||||
const checkResult = await checkAvailable();
|
|
||||||
const error = getApolloQueryError(checkResult);
|
|
||||||
console.error('error', error);
|
|
||||||
if (error) {
|
|
||||||
toast.error('Failed to check available', {
|
toast.error('Failed to check available', {
|
||||||
description: apolloErrorToMessage(error),
|
description: apolloErrorToMessage(error),
|
||||||
});
|
});
|
||||||
return;
|
},
|
||||||
}
|
});
|
||||||
if (checkResult.data?.credential3rdCheckAvailable.available) {
|
|
||||||
toast.success('Credential is available');
|
|
||||||
} else {
|
|
||||||
toast.error('Credential is not available');
|
|
||||||
}
|
|
||||||
}, [checkAvailable]);
|
|
||||||
|
|
||||||
const available = data?.credential3rdCheckAvailable?.available;
|
const available = data?.credential3rdCheckAvailable?.available;
|
||||||
|
|
||||||
@ -54,7 +47,11 @@ export const Credential3rdCheckAvailableView = memo(
|
|||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
size="lg"
|
size="lg"
|
||||||
onClick={handleCheckAvailable}
|
onClick={() =>
|
||||||
|
checkAvailable({
|
||||||
|
variables: { filter: { id: { eq: id } } },
|
||||||
|
})
|
||||||
|
}
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
>
|
>
|
||||||
<span> Check Available </span>
|
<span> Check Available </span>
|
||||||
|
@ -109,7 +109,7 @@ function FormView({
|
|||||||
updateCredential({
|
updateCredential({
|
||||||
variables: {
|
variables: {
|
||||||
data: value,
|
data: value,
|
||||||
filters: {
|
filter: {
|
||||||
id: {
|
id: {
|
||||||
eq: credential.id,
|
eq: credential.id,
|
||||||
},
|
},
|
||||||
|
@ -76,7 +76,7 @@ function CredentialManageRouteComponent() {
|
|||||||
GET_CREDENTIAL_3RD,
|
GET_CREDENTIAL_3RD,
|
||||||
{
|
{
|
||||||
variables: {
|
variables: {
|
||||||
filters: {},
|
filter: {},
|
||||||
orderBy: {
|
orderBy: {
|
||||||
createdAt: 'DESC',
|
createdAt: 'DESC',
|
||||||
},
|
},
|
||||||
@ -116,7 +116,7 @@ function CredentialManageRouteComponent() {
|
|||||||
(row: Row<Credential3rdQueryDto>) => async () => {
|
(row: Row<Credential3rdQueryDto>) => async () => {
|
||||||
await deleteCredential({
|
await deleteCredential({
|
||||||
variables: {
|
variables: {
|
||||||
filters: {
|
filter: {
|
||||||
id: { eq: row.original.id },
|
id: { eq: row.original.id },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -29,7 +29,7 @@ export function Credential3rdSelectContent({
|
|||||||
GetCredential3rdQueryVariables
|
GetCredential3rdQueryVariables
|
||||||
>(GET_CREDENTIAL_3RD, {
|
>(GET_CREDENTIAL_3RD, {
|
||||||
variables: {
|
variables: {
|
||||||
filters: {
|
filter: {
|
||||||
credentialType: {
|
credentialType: {
|
||||||
eq: credentialType,
|
eq: credentialType,
|
||||||
},
|
},
|
||||||
|
@ -390,7 +390,7 @@ function SubscriptionDetailRouteComponent() {
|
|||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
deleteFeed({
|
deleteFeed({
|
||||||
variables: {
|
variables: {
|
||||||
filters: {
|
filter: {
|
||||||
id: {
|
id: {
|
||||||
eq: feed.id,
|
eq: feed.id,
|
||||||
},
|
},
|
||||||
|
@ -137,7 +137,7 @@ function FormView({
|
|||||||
await updateSubscription({
|
await updateSubscription({
|
||||||
variables: {
|
variables: {
|
||||||
data: input,
|
data: input,
|
||||||
filters: {
|
filter: {
|
||||||
id: {
|
id: {
|
||||||
eq: subscription.id,
|
eq: subscription.id,
|
||||||
},
|
},
|
||||||
|
@ -78,7 +78,7 @@ function SubscriptionManageRouteComponent() {
|
|||||||
limit: pagination.pageSize,
|
limit: pagination.pageSize,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
filters: {},
|
filter: {},
|
||||||
orderBy: {
|
orderBy: {
|
||||||
updatedAt: 'DESC',
|
updatedAt: 'DESC',
|
||||||
},
|
},
|
||||||
@ -143,7 +143,7 @@ function SubscriptionManageRouteComponent() {
|
|||||||
data: {
|
data: {
|
||||||
enabled,
|
enabled,
|
||||||
},
|
},
|
||||||
filters: {
|
filter: {
|
||||||
id: {
|
id: {
|
||||||
eq: row.original.id,
|
eq: row.original.id,
|
||||||
},
|
},
|
||||||
@ -227,7 +227,7 @@ function SubscriptionManageRouteComponent() {
|
|||||||
}}
|
}}
|
||||||
onDelete={() =>
|
onDelete={() =>
|
||||||
deleteSubscription({
|
deleteSubscription({
|
||||||
variables: { filters: { id: { eq: row.original.id } } },
|
variables: { filter: { id: { eq: row.original.id } } },
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
@ -64,7 +64,7 @@ function TaskDetailRouteComponent() {
|
|||||||
GetTasksQueryVariables
|
GetTasksQueryVariables
|
||||||
>(GET_TASKS, {
|
>(GET_TASKS, {
|
||||||
variables: {
|
variables: {
|
||||||
filters: {
|
filter: {
|
||||||
id: {
|
id: {
|
||||||
eq: id,
|
eq: id,
|
||||||
},
|
},
|
||||||
@ -159,7 +159,7 @@ function TaskDetailRouteComponent() {
|
|||||||
size="sm"
|
size="sm"
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
retryTasks({
|
retryTasks({
|
||||||
variables: { filters: { id: { eq: task.id } } },
|
variables: { filter: { id: { eq: task.id } } },
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
@ -74,7 +74,7 @@ function TaskManageRouteComponent() {
|
|||||||
limit: pagination.pageSize,
|
limit: pagination.pageSize,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
filters: {},
|
filter: {},
|
||||||
orderBy: {
|
orderBy: {
|
||||||
runAt: 'DESC',
|
runAt: 'DESC',
|
||||||
},
|
},
|
||||||
@ -225,7 +225,7 @@ function TaskManageRouteComponent() {
|
|||||||
onDelete={() =>
|
onDelete={() =>
|
||||||
deleteTasks({
|
deleteTasks({
|
||||||
variables: {
|
variables: {
|
||||||
filters: {
|
filter: {
|
||||||
id: {
|
id: {
|
||||||
eq: task.id,
|
eq: task.id,
|
||||||
},
|
},
|
||||||
@ -241,7 +241,7 @@ function TaskManageRouteComponent() {
|
|||||||
onSelect={() =>
|
onSelect={() =>
|
||||||
retryTasks({
|
retryTasks({
|
||||||
variables: {
|
variables: {
|
||||||
filters: {
|
filter: {
|
||||||
id: {
|
id: {
|
||||||
eq: task.id,
|
eq: task.id,
|
||||||
},
|
},
|
||||||
|
@ -5,5 +5,5 @@ export const Route = createFileRoute('/about')({
|
|||||||
});
|
});
|
||||||
|
|
||||||
function About() {
|
function About() {
|
||||||
return <div class="p-2">Hello from About!</div>;
|
return <div className="p-2">Hello from About!</div>;
|
||||||
}
|
}
|
||||||
|
122
pnpm-lock.yaml
generated
122
pnpm-lock.yaml
generated
@ -289,6 +289,9 @@ importers:
|
|||||||
'@rsbuild/core':
|
'@rsbuild/core':
|
||||||
specifier: ^1.3.22
|
specifier: ^1.3.22
|
||||||
version: 1.3.22
|
version: 1.3.22
|
||||||
|
'@rsbuild/plugin-type-check':
|
||||||
|
specifier: ^1.2.3
|
||||||
|
version: 1.2.3(@rsbuild/core@1.3.22)(@rspack/core@1.3.12(@swc/helpers@0.5.17))(typescript@5.8.3)
|
||||||
'@tailwindcss/postcss':
|
'@tailwindcss/postcss':
|
||||||
specifier: ^4.1.10
|
specifier: ^4.1.10
|
||||||
version: 4.1.10
|
version: 4.1.10
|
||||||
@ -1473,6 +1476,24 @@ packages:
|
|||||||
'@jridgewell/trace-mapping@0.3.25':
|
'@jridgewell/trace-mapping@0.3.25':
|
||||||
resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==}
|
resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==}
|
||||||
|
|
||||||
|
'@jsonjoy.com/base64@1.1.2':
|
||||||
|
resolution: {integrity: sha512-q6XAnWQDIMA3+FTiOYajoYqySkO+JSat0ytXGSuRdq9uXE7o92gzuQwQM14xaCRlBLGq3v5miDGC4vkVTn54xA==}
|
||||||
|
engines: {node: '>=10.0'}
|
||||||
|
peerDependencies:
|
||||||
|
tslib: '2'
|
||||||
|
|
||||||
|
'@jsonjoy.com/json-pack@1.2.0':
|
||||||
|
resolution: {integrity: sha512-io1zEbbYcElht3tdlqEOFxZ0dMTYrHz9iMf0gqn1pPjZFTCgM5R4R5IMA20Chb2UPYYsxjzs8CgZ7Nb5n2K2rA==}
|
||||||
|
engines: {node: '>=10.0'}
|
||||||
|
peerDependencies:
|
||||||
|
tslib: '2'
|
||||||
|
|
||||||
|
'@jsonjoy.com/util@1.6.0':
|
||||||
|
resolution: {integrity: sha512-sw/RMbehRhN68WRtcKCpQOPfnH6lLP4GJfqzi3iYej8tnzpZUDr6UkZYJjcjjC0FWEJOJbyM3PTIwxucUmDG2A==}
|
||||||
|
engines: {node: '>=10.0'}
|
||||||
|
peerDependencies:
|
||||||
|
tslib: '2'
|
||||||
|
|
||||||
'@kurkle/color@0.3.4':
|
'@kurkle/color@0.3.4':
|
||||||
resolution: {integrity: sha512-M5UknZPHRu3DEDWoipU6sE8PdkZ6Z/S+v4dD+Ke8IaNlpdSQah50lz1KtcFBa2vsdOnwbbnxJwVM4wty6udA5w==}
|
resolution: {integrity: sha512-M5UknZPHRu3DEDWoipU6sE8PdkZ6Z/S+v4dD+Ke8IaNlpdSQah50lz1KtcFBa2vsdOnwbbnxJwVM4wty6udA5w==}
|
||||||
|
|
||||||
@ -2623,6 +2644,14 @@ packages:
|
|||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@rsbuild/core': 1.x
|
'@rsbuild/core': 1.x
|
||||||
|
|
||||||
|
'@rsbuild/plugin-type-check@1.2.3':
|
||||||
|
resolution: {integrity: sha512-1yILSPgQFQCtY82f7CSbicIS/BqquoHgnDdAgPeYF3/k/RIwSAnclh0R2wXn+2EBormpFK82wz/TXuXl+k+evw==}
|
||||||
|
peerDependencies:
|
||||||
|
'@rsbuild/core': 1.x
|
||||||
|
peerDependenciesMeta:
|
||||||
|
'@rsbuild/core':
|
||||||
|
optional: true
|
||||||
|
|
||||||
'@rspack/binding-darwin-arm64@1.3.12':
|
'@rspack/binding-darwin-arm64@1.3.12':
|
||||||
resolution: {integrity: sha512-8hKjVTBeWPqkMzFPNWIh72oU9O3vFy3e88wRjMPImDCXBiEYrKqGTTLd/J0SO+efdL3SBD1rX1IvdJpxCv6Yrw==}
|
resolution: {integrity: sha512-8hKjVTBeWPqkMzFPNWIh72oU9O3vFy3e88wRjMPImDCXBiEYrKqGTTLd/J0SO+efdL3SBD1rX1IvdJpxCv6Yrw==}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
@ -4451,6 +4480,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==}
|
resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==}
|
||||||
engines: {node: '>= 14'}
|
engines: {node: '>= 14'}
|
||||||
|
|
||||||
|
hyperdyperid@1.2.0:
|
||||||
|
resolution: {integrity: sha512-Y93lCzHYgGWdrJ66yIktxiaGULYc6oGiABxhcO5AufBeOyoIdZF7bIfLaOrbM0iGIOXQQgxxRrFEnb+Y6w1n4A==}
|
||||||
|
engines: {node: '>=10.18'}
|
||||||
|
|
||||||
iconv-lite@0.4.24:
|
iconv-lite@0.4.24:
|
||||||
resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
|
resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
@ -4965,6 +4998,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==}
|
resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==}
|
||||||
engines: {node: '>= 0.6'}
|
engines: {node: '>= 0.6'}
|
||||||
|
|
||||||
|
memfs@4.17.2:
|
||||||
|
resolution: {integrity: sha512-NgYhCOWgovOXSzvYgUW0LQ7Qy72rWQMGGFJDoWg4G30RHd3z77VbYdtJ4fembJXBy8pMIUA31XNAupobOQlwdg==}
|
||||||
|
engines: {node: '>= 4.0.0'}
|
||||||
|
|
||||||
memorystream@0.3.1:
|
memorystream@0.3.1:
|
||||||
resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==}
|
resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==}
|
||||||
engines: {node: '>= 0.10.0'}
|
engines: {node: '>= 0.10.0'}
|
||||||
@ -5566,6 +5603,9 @@ packages:
|
|||||||
react: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
|
react: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
|
||||||
react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
|
react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
|
||||||
|
|
||||||
|
reduce-configs@1.1.0:
|
||||||
|
resolution: {integrity: sha512-DQxy6liNadHfrLahZR7lMdc227NYVaQZhY5FMsxLEjX8X0SCuH+ESHSLCoz2yDZFq1/CLMDOAHdsEHwOEXKtvg==}
|
||||||
|
|
||||||
reflect.getprototypeof@1.0.10:
|
reflect.getprototypeof@1.0.10:
|
||||||
resolution: {integrity: sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==}
|
resolution: {integrity: sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
@ -6108,6 +6148,12 @@ packages:
|
|||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
|
thingies@1.21.0:
|
||||||
|
resolution: {integrity: sha512-hsqsJsFMsV+aD4s3CWKk85ep/3I9XzYV/IXaSouJMYIoDlgyi11cBhsqYe9/geRfB0YIikBQg6raRaM+nIMP9g==}
|
||||||
|
engines: {node: '>=10.18'}
|
||||||
|
peerDependencies:
|
||||||
|
tslib: ^2
|
||||||
|
|
||||||
through@2.3.8:
|
through@2.3.8:
|
||||||
resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==}
|
resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==}
|
||||||
|
|
||||||
@ -6179,6 +6225,22 @@ packages:
|
|||||||
resolution: {integrity: sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==}
|
resolution: {integrity: sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
|
|
||||||
|
tree-dump@1.0.3:
|
||||||
|
resolution: {integrity: sha512-il+Cv80yVHFBwokQSfd4bldvr1Md951DpgAGfmhydt04L+YzHgubm2tQ7zueWDcGENKHq0ZvGFR/hjvNXilHEg==}
|
||||||
|
engines: {node: '>=10.0'}
|
||||||
|
peerDependencies:
|
||||||
|
tslib: '2'
|
||||||
|
|
||||||
|
ts-checker-rspack-plugin@1.1.4:
|
||||||
|
resolution: {integrity: sha512-lDpKuAubxUlsonUE1LpZS5fw7tfjutNb0lwjAo0k8OcxpWv/q18ytaD6eZXdjrFdTEFNIHtKp9dNkUKGky8SgA==}
|
||||||
|
engines: {node: '>=16.0.0'}
|
||||||
|
peerDependencies:
|
||||||
|
'@rspack/core': ^1.0.0
|
||||||
|
typescript: '>=3.8.0'
|
||||||
|
peerDependenciesMeta:
|
||||||
|
'@rspack/core':
|
||||||
|
optional: true
|
||||||
|
|
||||||
ts-invariant@0.10.3:
|
ts-invariant@0.10.3:
|
||||||
resolution: {integrity: sha512-uivwYcQaxAucv1CzRp2n/QdYPo4ILf9VXgH19zEIjFx2EJufV16P0JtJVpYHy89DItG6Kwj2oIUjrcK5au+4tQ==}
|
resolution: {integrity: sha512-uivwYcQaxAucv1CzRp2n/QdYPo4ILf9VXgH19zEIjFx2EJufV16P0JtJVpYHy89DItG6Kwj2oIUjrcK5au+4tQ==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
@ -7970,6 +8032,22 @@ snapshots:
|
|||||||
'@jridgewell/resolve-uri': 3.1.2
|
'@jridgewell/resolve-uri': 3.1.2
|
||||||
'@jridgewell/sourcemap-codec': 1.5.0
|
'@jridgewell/sourcemap-codec': 1.5.0
|
||||||
|
|
||||||
|
'@jsonjoy.com/base64@1.1.2(tslib@2.8.1)':
|
||||||
|
dependencies:
|
||||||
|
tslib: 2.8.1
|
||||||
|
|
||||||
|
'@jsonjoy.com/json-pack@1.2.0(tslib@2.8.1)':
|
||||||
|
dependencies:
|
||||||
|
'@jsonjoy.com/base64': 1.1.2(tslib@2.8.1)
|
||||||
|
'@jsonjoy.com/util': 1.6.0(tslib@2.8.1)
|
||||||
|
hyperdyperid: 1.2.0
|
||||||
|
thingies: 1.21.0(tslib@2.8.1)
|
||||||
|
tslib: 2.8.1
|
||||||
|
|
||||||
|
'@jsonjoy.com/util@1.6.0(tslib@2.8.1)':
|
||||||
|
dependencies:
|
||||||
|
tslib: 2.8.1
|
||||||
|
|
||||||
'@kurkle/color@0.3.4': {}
|
'@kurkle/color@0.3.4': {}
|
||||||
|
|
||||||
'@lezer/common@1.2.3': {}
|
'@lezer/common@1.2.3': {}
|
||||||
@ -9092,6 +9170,18 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- webpack-hot-middleware
|
- webpack-hot-middleware
|
||||||
|
|
||||||
|
'@rsbuild/plugin-type-check@1.2.3(@rsbuild/core@1.3.22)(@rspack/core@1.3.12(@swc/helpers@0.5.17))(typescript@5.8.3)':
|
||||||
|
dependencies:
|
||||||
|
deepmerge: 4.3.1
|
||||||
|
json5: 2.2.3
|
||||||
|
reduce-configs: 1.1.0
|
||||||
|
ts-checker-rspack-plugin: 1.1.4(@rspack/core@1.3.12(@swc/helpers@0.5.17))(typescript@5.8.3)
|
||||||
|
optionalDependencies:
|
||||||
|
'@rsbuild/core': 1.3.22
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- '@rspack/core'
|
||||||
|
- typescript
|
||||||
|
|
||||||
'@rspack/binding-darwin-arm64@1.3.12':
|
'@rspack/binding-darwin-arm64@1.3.12':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
@ -11229,6 +11319,8 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
|
hyperdyperid@1.2.0: {}
|
||||||
|
|
||||||
iconv-lite@0.4.24:
|
iconv-lite@0.4.24:
|
||||||
dependencies:
|
dependencies:
|
||||||
safer-buffer: 2.1.2
|
safer-buffer: 2.1.2
|
||||||
@ -11724,6 +11816,13 @@ snapshots:
|
|||||||
|
|
||||||
media-typer@0.3.0: {}
|
media-typer@0.3.0: {}
|
||||||
|
|
||||||
|
memfs@4.17.2:
|
||||||
|
dependencies:
|
||||||
|
'@jsonjoy.com/json-pack': 1.2.0(tslib@2.8.1)
|
||||||
|
'@jsonjoy.com/util': 1.6.0(tslib@2.8.1)
|
||||||
|
tree-dump: 1.0.3(tslib@2.8.1)
|
||||||
|
tslib: 2.8.1
|
||||||
|
|
||||||
memorystream@0.3.1: {}
|
memorystream@0.3.1: {}
|
||||||
|
|
||||||
merge-descriptors@1.0.3: {}
|
merge-descriptors@1.0.3: {}
|
||||||
@ -12332,6 +12431,8 @@ snapshots:
|
|||||||
tiny-invariant: 1.3.3
|
tiny-invariant: 1.3.3
|
||||||
victory-vendor: 36.9.2
|
victory-vendor: 36.9.2
|
||||||
|
|
||||||
|
reduce-configs@1.1.0: {}
|
||||||
|
|
||||||
reflect.getprototypeof@1.0.10:
|
reflect.getprototypeof@1.0.10:
|
||||||
dependencies:
|
dependencies:
|
||||||
call-bind: 1.0.8
|
call-bind: 1.0.8
|
||||||
@ -12978,6 +13079,10 @@ snapshots:
|
|||||||
source-map-support: 0.5.21
|
source-map-support: 0.5.21
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
thingies@1.21.0(tslib@2.8.1):
|
||||||
|
dependencies:
|
||||||
|
tslib: 2.8.1
|
||||||
|
|
||||||
through@2.3.8: {}
|
through@2.3.8: {}
|
||||||
|
|
||||||
timeout-signal@2.0.0: {}
|
timeout-signal@2.0.0: {}
|
||||||
@ -13037,6 +13142,23 @@ snapshots:
|
|||||||
punycode: 2.3.1
|
punycode: 2.3.1
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
tree-dump@1.0.3(tslib@2.8.1):
|
||||||
|
dependencies:
|
||||||
|
tslib: 2.8.1
|
||||||
|
|
||||||
|
ts-checker-rspack-plugin@1.1.4(@rspack/core@1.3.12(@swc/helpers@0.5.17))(typescript@5.8.3):
|
||||||
|
dependencies:
|
||||||
|
'@babel/code-frame': 7.27.1
|
||||||
|
'@rspack/lite-tapable': 1.0.1
|
||||||
|
chokidar: 3.6.0
|
||||||
|
is-glob: 4.0.3
|
||||||
|
memfs: 4.17.2
|
||||||
|
minimatch: 9.0.5
|
||||||
|
picocolors: 1.1.1
|
||||||
|
typescript: 5.8.3
|
||||||
|
optionalDependencies:
|
||||||
|
'@rspack/core': 1.3.12(@swc/helpers@0.5.17)
|
||||||
|
|
||||||
ts-invariant@0.10.3:
|
ts-invariant@0.10.3:
|
||||||
dependencies:
|
dependencies:
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"declarationMap": true,
|
"declarationMap": true,
|
||||||
|
"verbatimModuleSyntax": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user