fix: fix credential3rd graphql
This commit is contained in:
parent
0fcbc6bbe9
commit
66413f92e3
@ -2,5 +2,5 @@
|
|||||||
recorder-playground = "run -p recorder --example playground -- --environment development"
|
recorder-playground = "run -p recorder --example playground -- --environment development"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
#rustflags = ["-Zthreads=8", "-Zshare-generics=y"]
|
rustflags = ["-Zthreads=8", "-Zshare-generics=y"]
|
||||||
rustflags = ["-Zthreads=8"]
|
#rustflags = ["-Zthreads=8"]
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
use async_graphql::Error as AsyncGraphQLError;
|
||||||
|
use seaography::SeaographyError;
|
||||||
|
|
||||||
#[derive(Debug, snafu::Snafu)]
|
#[derive(Debug, snafu::Snafu)]
|
||||||
pub enum CryptoError {
|
pub enum CryptoError {
|
||||||
#[snafu(transparent)]
|
#[snafu(transparent)]
|
||||||
@ -9,3 +12,9 @@ pub enum CryptoError {
|
|||||||
#[snafu(transparent)]
|
#[snafu(transparent)]
|
||||||
SerdeJsonError { source: serde_json::Error },
|
SerdeJsonError { source: serde_json::Error },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl From<CryptoError> for SeaographyError {
|
||||||
|
fn from(error: CryptoError) -> Self {
|
||||||
|
SeaographyError::AsyncGraphQLError(AsyncGraphQLError::new(error.to_string()))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
use std::{collections::BTreeMap, sync::Arc};
|
use std::{collections::BTreeMap, sync::Arc};
|
||||||
|
|
||||||
use async_graphql::dynamic::ResolverContext;
|
use async_graphql::dynamic::{ResolverContext, ValueAccessor};
|
||||||
use sea_orm::{ColumnTrait, Condition, EntityTrait, Value};
|
use sea_orm::{ColumnTrait, Condition, EntityTrait, Value as SeaValue};
|
||||||
use seaography::{BuilderContext, FnFilterConditionsTransformer, FnMutationInputObjectTransformer};
|
use seaography::{
|
||||||
|
BuilderContext, FnFilterConditionsTransformer, FnMutationInputObjectTransformer, SeaResult,
|
||||||
|
};
|
||||||
|
|
||||||
use super::util::{get_column_key, get_entity_key};
|
use super::util::{get_column_key, get_entity_key};
|
||||||
use crate::auth::AuthUserInfo;
|
use crate::{app::AppContextTrait, auth::AuthUserInfo, models::credential_3rd};
|
||||||
|
|
||||||
pub fn filter_condition_transformer<T>(
|
pub fn build_filter_condition_transformer<T>(
|
||||||
_context: &BuilderContext,
|
_context: &BuilderContext,
|
||||||
column: &T::Column,
|
column: &T::Column,
|
||||||
) -> FnFilterConditionsTransformer
|
) -> FnFilterConditionsTransformer
|
||||||
@ -29,7 +31,7 @@ where
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn mutation_input_object_transformer<T>(
|
pub fn build_mutation_input_object_transformer<T>(
|
||||||
context: &BuilderContext,
|
context: &BuilderContext,
|
||||||
column: &T::Column,
|
column: &T::Column,
|
||||||
) -> FnMutationInputObjectTransformer
|
) -> FnMutationInputObjectTransformer
|
||||||
@ -55,8 +57,8 @@ where
|
|||||||
));
|
));
|
||||||
Box::new(
|
Box::new(
|
||||||
move |context: &ResolverContext,
|
move |context: &ResolverContext,
|
||||||
mut input: BTreeMap<String, Value>|
|
mut input: BTreeMap<String, SeaValue>|
|
||||||
-> BTreeMap<String, Value> {
|
-> BTreeMap<String, SeaValue> {
|
||||||
let field_name = context.field().name();
|
let field_name = context.field().name();
|
||||||
if field_name == entity_create_one_mutation_field_name.as_str()
|
if field_name == entity_create_one_mutation_field_name.as_str()
|
||||||
|| field_name == entity_create_batch_mutation_field_name.as_str()
|
|| field_name == entity_create_batch_mutation_field_name.as_str()
|
||||||
@ -68,7 +70,7 @@ where
|
|||||||
if value.is_none() {
|
if value.is_none() {
|
||||||
input.insert(
|
input.insert(
|
||||||
column_name.as_str().to_string(),
|
column_name.as_str().to_string(),
|
||||||
Value::Int(Some(subscriber_id)),
|
SeaValue::Int(Some(subscriber_id)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
input
|
input
|
||||||
@ -81,3 +83,91 @@ where
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn add_crypto_column_input_conversion<T>(
|
||||||
|
context: &mut BuilderContext,
|
||||||
|
ctx: Arc<dyn AppContextTrait>,
|
||||||
|
column: &T::Column,
|
||||||
|
) where
|
||||||
|
T: EntityTrait,
|
||||||
|
<T as EntityTrait>::Model: Sync,
|
||||||
|
{
|
||||||
|
let entity_key = get_entity_key::<T>(context);
|
||||||
|
let column_name = get_column_key::<T>(context, column);
|
||||||
|
let entity_name = context.entity_object.type_name.as_ref()(&entity_key);
|
||||||
|
let column_name = context.entity_object.column_name.as_ref()(&entity_key, &column_name);
|
||||||
|
|
||||||
|
context.types.input_conversions.insert(
|
||||||
|
format!("{entity_name}.{column_name}"),
|
||||||
|
Box::new(move |value: &ValueAccessor| -> SeaResult<sea_orm::Value> {
|
||||||
|
let source = value.string()?;
|
||||||
|
let encrypted = ctx.crypto().encrypt_string(source.into())?;
|
||||||
|
Ok(encrypted.into())
|
||||||
|
}),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
fn add_crypto_column_output_conversion<T>(
|
||||||
|
context: &mut BuilderContext,
|
||||||
|
ctx: Arc<dyn AppContextTrait>,
|
||||||
|
column: &T::Column,
|
||||||
|
) where
|
||||||
|
T: EntityTrait,
|
||||||
|
<T as EntityTrait>::Model: Sync,
|
||||||
|
{
|
||||||
|
let entity_key = get_entity_key::<T>(context);
|
||||||
|
let column_name = get_column_key::<T>(context, column);
|
||||||
|
let entity_name = context.entity_object.type_name.as_ref()(&entity_key);
|
||||||
|
let column_name = context.entity_object.column_name.as_ref()(&entity_key, &column_name);
|
||||||
|
|
||||||
|
context.types.output_conversions.insert(
|
||||||
|
format!("{entity_name}.{column_name}"),
|
||||||
|
Box::new(
|
||||||
|
move |value: &sea_orm::Value| -> SeaResult<async_graphql::Value> {
|
||||||
|
if let SeaValue::String(s) = value {
|
||||||
|
if let Some(s) = s {
|
||||||
|
let decrypted = ctx.crypto().decrypt_string(s)?;
|
||||||
|
Ok(async_graphql::Value::String(decrypted))
|
||||||
|
} else {
|
||||||
|
Ok(async_graphql::Value::Null)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
Err(async_graphql::Error::new("crypto column must be string column").into())
|
||||||
|
}
|
||||||
|
},
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn crypto_transformer(context: &mut BuilderContext, ctx: Arc<dyn AppContextTrait>) {
|
||||||
|
add_crypto_column_input_conversion::<credential_3rd::Entity>(
|
||||||
|
context,
|
||||||
|
ctx.clone(),
|
||||||
|
&credential_3rd::Column::Cookies,
|
||||||
|
);
|
||||||
|
add_crypto_column_input_conversion::<credential_3rd::Entity>(
|
||||||
|
context,
|
||||||
|
ctx.clone(),
|
||||||
|
&credential_3rd::Column::Username,
|
||||||
|
);
|
||||||
|
add_crypto_column_output_conversion::<credential_3rd::Entity>(
|
||||||
|
context,
|
||||||
|
ctx.clone(),
|
||||||
|
&credential_3rd::Column::Password,
|
||||||
|
);
|
||||||
|
add_crypto_column_output_conversion::<credential_3rd::Entity>(
|
||||||
|
context,
|
||||||
|
ctx.clone(),
|
||||||
|
&credential_3rd::Column::Cookies,
|
||||||
|
);
|
||||||
|
add_crypto_column_output_conversion::<credential_3rd::Entity>(
|
||||||
|
context,
|
||||||
|
ctx.clone(),
|
||||||
|
&credential_3rd::Column::Username,
|
||||||
|
);
|
||||||
|
add_crypto_column_output_conversion::<credential_3rd::Entity>(
|
||||||
|
context,
|
||||||
|
ctx,
|
||||||
|
&credential_3rd::Column::Password,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
pub mod config;
|
pub mod config;
|
||||||
pub mod infra;
|
pub mod infra;
|
||||||
pub mod schema_root;
|
mod schema;
|
||||||
pub mod service;
|
pub mod service;
|
||||||
pub mod views;
|
pub mod views;
|
||||||
|
|
||||||
pub use config::GraphQLConfig;
|
pub use config::GraphQLConfig;
|
||||||
pub use schema_root::schema;
|
pub use schema::build_schema;
|
||||||
pub use service::GraphQLService;
|
pub use service::GraphQLService;
|
||||||
|
@ -10,7 +10,9 @@ use crate::graphql::{
|
|||||||
register_jsonb_input_filter_to_dynamic_schema, subscriber_id_condition_function,
|
register_jsonb_input_filter_to_dynamic_schema, subscriber_id_condition_function,
|
||||||
},
|
},
|
||||||
guard::{guard_entity_with_subscriber_id, guard_field_with_subscriber_id},
|
guard::{guard_entity_with_subscriber_id, guard_field_with_subscriber_id},
|
||||||
transformer::{filter_condition_transformer, mutation_input_object_transformer},
|
transformer::{
|
||||||
|
build_filter_condition_transformer, build_mutation_input_object_transformer,
|
||||||
|
},
|
||||||
util::{get_entity_column_key, get_entity_key},
|
util::{get_entity_column_key, get_entity_key},
|
||||||
},
|
},
|
||||||
views::register_subscriptions_to_schema,
|
views::register_subscriptions_to_schema,
|
||||||
@ -69,14 +71,14 @@ where
|
|||||||
);
|
);
|
||||||
context.transformers.filter_conditions_transformers.insert(
|
context.transformers.filter_conditions_transformers.insert(
|
||||||
entity_key.clone(),
|
entity_key.clone(),
|
||||||
filter_condition_transformer::<T>(context, column),
|
build_filter_condition_transformer::<T>(context, column),
|
||||||
);
|
);
|
||||||
context
|
context
|
||||||
.transformers
|
.transformers
|
||||||
.mutation_input_object_transformers
|
.mutation_input_object_transformers
|
||||||
.insert(
|
.insert(
|
||||||
entity_key,
|
entity_key,
|
||||||
mutation_input_object_transformer::<T>(context, column),
|
build_mutation_input_object_transformer::<T>(context, column),
|
||||||
);
|
);
|
||||||
context
|
context
|
||||||
.entity_input
|
.entity_input
|
||||||
@ -85,7 +87,7 @@ where
|
|||||||
context.entity_input.update_skips.push(entity_column_key);
|
context.entity_input.update_skips.push(entity_column_key);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn schema(
|
pub fn build_schema(
|
||||||
database: DatabaseConnection,
|
database: DatabaseConnection,
|
||||||
depth: Option<usize>,
|
depth: Option<usize>,
|
||||||
complexity: Option<usize>,
|
complexity: Option<usize>,
|
||||||
@ -138,6 +140,10 @@ pub fn schema(
|
|||||||
&mut context,
|
&mut context,
|
||||||
&subscriber_tasks::Column::SubscriberId,
|
&subscriber_tasks::Column::SubscriberId,
|
||||||
);
|
);
|
||||||
|
restrict_subscriber_for_entity::<credential_3rd::Entity>(
|
||||||
|
&mut context,
|
||||||
|
&credential_3rd::Column::SubscriberId,
|
||||||
|
);
|
||||||
restrict_jsonb_filter_input_for_entity::<subscriber_tasks::Entity>(
|
restrict_jsonb_filter_input_for_entity::<subscriber_tasks::Entity>(
|
||||||
&mut context,
|
&mut context,
|
||||||
&subscriber_tasks::Column::Job,
|
&subscriber_tasks::Column::Job,
|
||||||
@ -185,6 +191,7 @@ pub fn schema(
|
|||||||
subscription_episode,
|
subscription_episode,
|
||||||
subscriptions,
|
subscriptions,
|
||||||
subscriber_tasks,
|
subscriber_tasks,
|
||||||
|
credential_3rd
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -193,6 +200,7 @@ pub fn schema(
|
|||||||
builder.register_enumeration::<subscriptions::SubscriptionCategory>();
|
builder.register_enumeration::<subscriptions::SubscriptionCategory>();
|
||||||
builder.register_enumeration::<downloaders::DownloaderCategory>();
|
builder.register_enumeration::<downloaders::DownloaderCategory>();
|
||||||
builder.register_enumeration::<downloads::DownloadMime>();
|
builder.register_enumeration::<downloads::DownloadMime>();
|
||||||
|
builder.register_enumeration::<credential_3rd::Credential3rdType>();
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
@ -1,7 +1,7 @@
|
|||||||
use async_graphql::dynamic::Schema;
|
use async_graphql::dynamic::Schema;
|
||||||
use sea_orm::DatabaseConnection;
|
use sea_orm::DatabaseConnection;
|
||||||
|
|
||||||
use super::{config::GraphQLConfig, schema_root};
|
use super::{build_schema, config::GraphQLConfig};
|
||||||
use crate::errors::RecorderResult;
|
use crate::errors::RecorderResult;
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
@ -14,7 +14,7 @@ impl GraphQLService {
|
|||||||
config: GraphQLConfig,
|
config: GraphQLConfig,
|
||||||
db: DatabaseConnection,
|
db: DatabaseConnection,
|
||||||
) -> RecorderResult<Self> {
|
) -> RecorderResult<Self> {
|
||||||
let schema = schema_root::schema(
|
let schema = build_schema(
|
||||||
db,
|
db,
|
||||||
config.depth_limit.and_then(|l| l.into()),
|
config.depth_limit.and_then(|l| l.into()),
|
||||||
config.complexity_limit.and_then(|l| l.into()),
|
config.complexity_limit.and_then(|l| l.into()),
|
||||||
|
@ -66,6 +66,14 @@ impl Related<super::subscriptions::Entity> for Entity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelatedEntity)]
|
||||||
|
pub enum RelatedEntity {
|
||||||
|
#[sea_orm(entity = "super::subscribers::Entity")]
|
||||||
|
Subscriber,
|
||||||
|
#[sea_orm(entity = "super::subscriptions::Entity")]
|
||||||
|
Subscription,
|
||||||
|
}
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
impl ActiveModelBehavior for ActiveModel {}
|
impl ActiveModelBehavior for ActiveModel {}
|
||||||
|
|
||||||
|
@ -39,6 +39,8 @@ pub enum Relation {
|
|||||||
Episode,
|
Episode,
|
||||||
#[sea_orm(has_many = "super::auth::Entity")]
|
#[sea_orm(has_many = "super::auth::Entity")]
|
||||||
Auth,
|
Auth,
|
||||||
|
#[sea_orm(has_many = "super::credential_3rd::Entity")]
|
||||||
|
Credential3rd,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Related<super::subscriptions::Entity> for Entity {
|
impl Related<super::subscriptions::Entity> for Entity {
|
||||||
@ -71,6 +73,12 @@ impl Related<super::auth::Entity> for Entity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Related<super::credential_3rd::Entity> for Entity {
|
||||||
|
fn to() -> RelationDef {
|
||||||
|
Relation::Credential3rd.def()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelatedEntity)]
|
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelatedEntity)]
|
||||||
pub enum RelatedEntity {
|
pub enum RelatedEntity {
|
||||||
#[sea_orm(entity = "super::subscriptions::Entity")]
|
#[sea_orm(entity = "super::subscriptions::Entity")]
|
||||||
@ -81,6 +89,8 @@ pub enum RelatedEntity {
|
|||||||
Bangumi,
|
Bangumi,
|
||||||
#[sea_orm(entity = "super::episodes::Entity")]
|
#[sea_orm(entity = "super::episodes::Entity")]
|
||||||
Episode,
|
Episode,
|
||||||
|
#[sea_orm(entity = "super::credential_3rd::Entity")]
|
||||||
|
Credential3rd,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Deserialize, Serialize)]
|
#[derive(Debug, Deserialize, Serialize)]
|
||||||
@ -103,7 +113,7 @@ impl Model {
|
|||||||
let subscriber = Entity::find_by_id(id)
|
let subscriber = Entity::find_by_id(id)
|
||||||
.one(db)
|
.one(db)
|
||||||
.await?
|
.await?
|
||||||
.ok_or_else(|| RecorderError::from_db_record_not_found("subscriptions::find_by_id"))?;
|
.ok_or_else(|| RecorderError::from_db_record_not_found("subscribers::find_by_id"))?;
|
||||||
Ok(subscriber)
|
Ok(subscriber)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -141,6 +141,8 @@ pub enum RelatedEntity {
|
|||||||
SubscriptionEpisode,
|
SubscriptionEpisode,
|
||||||
#[sea_orm(entity = "super::subscription_bangumi::Entity")]
|
#[sea_orm(entity = "super::subscription_bangumi::Entity")]
|
||||||
SubscriptionBangumi,
|
SubscriptionBangumi,
|
||||||
|
#[sea_orm(entity = "super::credential_3rd::Entity")]
|
||||||
|
Credential3rd,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
|
54
apps/webui/src/domains/recorder/graphql/credential3rd.ts
Normal file
54
apps/webui/src/domains/recorder/graphql/credential3rd.ts
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
import { gql } from '@apollo/client';
|
||||||
|
|
||||||
|
export const GET_CREDENTIAL_3RD = gql`
|
||||||
|
query GetCredential3rd($filters: Credential3rdFilterInput!, $orderBy: Credential3rdOrderInput, $pagination: PaginationInput) {
|
||||||
|
credential3rd(filters: $filters, orderBy: $orderBy, pagination: $pagination) {
|
||||||
|
nodes {
|
||||||
|
id
|
||||||
|
cookies
|
||||||
|
username
|
||||||
|
password
|
||||||
|
userAgent
|
||||||
|
createdAt
|
||||||
|
updatedAt
|
||||||
|
credentialType
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
export const INSERT_CREDENTIAL_3RD = gql`
|
||||||
|
mutation InsertCredential3rd($data: Credential3rdInsertInput!) {
|
||||||
|
credential3rdCreateOne(data: $data) {
|
||||||
|
id
|
||||||
|
cookies
|
||||||
|
username
|
||||||
|
password
|
||||||
|
userAgent
|
||||||
|
createdAt
|
||||||
|
updatedAt
|
||||||
|
credentialType
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
export const UPDATE_CREDENTIAL_3RD = gql`
|
||||||
|
mutation UpdateCredential3rd($data: Credential3rdUpdateInput!, $filters: Credential3rdFilterInput!) {
|
||||||
|
credential3rdUpdate(data: $data, filter: $filters) {
|
||||||
|
id
|
||||||
|
cookies
|
||||||
|
username
|
||||||
|
password
|
||||||
|
userAgent
|
||||||
|
createdAt
|
||||||
|
updatedAt
|
||||||
|
credentialType
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
export const DELETE_CREDENTIAL_3RD = gql`
|
||||||
|
mutation DeleteCredential3rd($filters: Credential3rdFilterInput!) {
|
||||||
|
credential3rdDelete(filter: $filters)
|
||||||
|
}
|
||||||
|
`;
|
@ -1,20 +1,9 @@
|
|||||||
import { gql } from '@apollo/client';
|
import { gql } from '@apollo/client';
|
||||||
|
|
||||||
import type {
|
|
||||||
GetSubscriptionDetailQuery,
|
|
||||||
GetSubscriptionsQuery,
|
|
||||||
} from '@/infra/graphql/gql/graphql';
|
|
||||||
|
|
||||||
export const GET_SUBSCRIPTIONS = gql`
|
export const GET_SUBSCRIPTIONS = gql`
|
||||||
query GetSubscriptions(
|
query GetSubscriptions($filters: SubscriptionsFilterInput!, $orderBy: SubscriptionsOrderInput!, $pagination: PaginationInput!) {
|
||||||
$page: PageInput!,
|
|
||||||
$filters: SubscriptionsFilterInput!,
|
|
||||||
$orderBy: SubscriptionsOrderInput!
|
|
||||||
) {
|
|
||||||
subscriptions(
|
subscriptions(
|
||||||
pagination: {
|
pagination: $pagination
|
||||||
page: $page
|
|
||||||
}
|
|
||||||
filters: $filters
|
filters: $filters
|
||||||
orderBy: $orderBy
|
orderBy: $orderBy
|
||||||
) {
|
) {
|
||||||
@ -35,9 +24,6 @@ export const GET_SUBSCRIPTIONS = gql`
|
|||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export type SubscriptionDto =
|
|
||||||
GetSubscriptionsQuery['subscriptions']['nodes'][number];
|
|
||||||
|
|
||||||
export const UPDATE_SUBSCRIPTIONS = gql`
|
export const UPDATE_SUBSCRIPTIONS = gql`
|
||||||
mutation UpdateSubscriptions(
|
mutation UpdateSubscriptions(
|
||||||
$data: SubscriptionsUpdateInput!,
|
$data: SubscriptionsUpdateInput!,
|
||||||
@ -99,9 +85,3 @@ query GetSubscriptionDetail ($id: Int!) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export type SubscriptionDetailDto =
|
|
||||||
GetSubscriptionDetailQuery['subscriptions']['nodes'][number];
|
|
||||||
|
|
||||||
export type SubscriptionDetailBangumiDto =
|
|
||||||
SubscriptionDetailDto['bangumi']['nodes'][number];
|
|
@ -14,14 +14,22 @@ 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 GetSubscriptions(\n $page: PageInput!,\n $filters: SubscriptionsFilterInput!,\n $orderBy: SubscriptionsOrderInput!\n) {\n subscriptions(\n pagination: {\n page: $page\n }\n filters: $filters\n orderBy: $orderBy\n ) {\n nodes {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": typeof types.GetSubscriptionsDocument,
|
"\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 }\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 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 DeleteCredential3rd($filters: Credential3rdFilterInput!) {\n credential3rdDelete(filter: $filters)\n }\n": typeof types.DeleteCredential3rdDocument,
|
||||||
|
"\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 }\n paginationInfo {\n total\n pages\n }\n }\n }\n": typeof types.GetSubscriptionsDocument,
|
||||||
"\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 $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 DeleteSubscriptions($filters: SubscriptionsFilterInput) {\n subscriptionsDelete(filter: $filters)\n }\n": typeof types.DeleteSubscriptionsDocument,
|
"\n mutation DeleteSubscriptions($filters: SubscriptionsFilterInput) {\n subscriptionsDelete(filter: $filters)\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 bangumi {\n nodes {\n createdAt\n updatedAt\n id\n mikanBangumiId\n displayName\n rawName\n season\n seasonRaw\n fansub\n mikanFansubId\n rssLink\n posterLink\n savePath\n homepage\n }\n }\n }\n }\n}\n": typeof types.GetSubscriptionDetailDocument,
|
"\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 bangumi {\n nodes {\n createdAt\n updatedAt\n id\n mikanBangumiId\n displayName\n rawName\n season\n seasonRaw\n fansub\n mikanFansubId\n rssLink\n posterLink\n savePath\n homepage\n }\n }\n }\n }\n}\n": typeof types.GetSubscriptionDetailDocument,
|
||||||
"\n mutation CreateSubscription($input: SubscriptionsInsertInput!) {\n subscriptionsCreateOne(data: $input) {\n id\n displayName\n sourceUrl\n enabled\n category\n }\n }\n": typeof types.CreateSubscriptionDocument,
|
"\n mutation CreateSubscription($input: SubscriptionsInsertInput!) {\n subscriptionsCreateOne(data: $input) {\n id\n displayName\n sourceUrl\n enabled\n category\n }\n }\n": typeof types.CreateSubscriptionDocument,
|
||||||
};
|
};
|
||||||
const documents: Documents = {
|
const documents: Documents = {
|
||||||
"\n query GetSubscriptions(\n $page: PageInput!,\n $filters: SubscriptionsFilterInput!,\n $orderBy: SubscriptionsOrderInput!\n) {\n subscriptions(\n pagination: {\n page: $page\n }\n filters: $filters\n orderBy: $orderBy\n ) {\n nodes {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n": types.GetSubscriptionsDocument,
|
"\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 }\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 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 DeleteCredential3rd($filters: Credential3rdFilterInput!) {\n credential3rdDelete(filter: $filters)\n }\n": types.DeleteCredential3rdDocument,
|
||||||
|
"\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 }\n paginationInfo {\n total\n pages\n }\n }\n }\n": types.GetSubscriptionsDocument,
|
||||||
"\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 $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 DeleteSubscriptions($filters: SubscriptionsFilterInput) {\n subscriptionsDelete(filter: $filters)\n }\n": types.DeleteSubscriptionsDocument,
|
"\n mutation DeleteSubscriptions($filters: SubscriptionsFilterInput) {\n subscriptionsDelete(filter: $filters)\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 bangumi {\n nodes {\n createdAt\n updatedAt\n id\n mikanBangumiId\n displayName\n rawName\n season\n seasonRaw\n fansub\n mikanFansubId\n rssLink\n posterLink\n savePath\n homepage\n }\n }\n }\n }\n}\n": types.GetSubscriptionDetailDocument,
|
"\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 bangumi {\n nodes {\n createdAt\n updatedAt\n id\n mikanBangumiId\n displayName\n rawName\n season\n seasonRaw\n fansub\n mikanFansubId\n rssLink\n posterLink\n savePath\n homepage\n }\n }\n }\n }\n}\n": types.GetSubscriptionDetailDocument,
|
||||||
@ -45,7 +53,23 @@ 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 GetSubscriptions(\n $page: PageInput!,\n $filters: SubscriptionsFilterInput!,\n $orderBy: SubscriptionsOrderInput!\n) {\n subscriptions(\n pagination: {\n page: $page\n }\n filters: $filters\n orderBy: $orderBy\n ) {\n nodes {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"): (typeof documents)["\n query GetSubscriptions(\n $page: PageInput!,\n $filters: SubscriptionsFilterInput!,\n $orderBy: SubscriptionsOrderInput!\n) {\n subscriptions(\n pagination: {\n page: $page\n }\n filters: $filters\n orderBy: $orderBy\n ) {\n nodes {\n id\n createdAt\n updatedAt\n displayName\n category\n sourceUrl\n enabled\n }\n paginationInfo {\n total\n pages\n }\n }\n }\n"];
|
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 }\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 }\n }\n"];
|
||||||
|
/**
|
||||||
|
* 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 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 documents)["\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"];
|
||||||
|
/**
|
||||||
|
* 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"];
|
||||||
|
/**
|
||||||
|
* 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"];
|
||||||
|
/**
|
||||||
|
* 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 }\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 }\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.
|
||||||
*/
|
*/
|
||||||
|
@ -181,6 +181,120 @@ export type BooleanFilterInput = {
|
|||||||
ne?: InputMaybe<Scalars['Boolean']['input']>;
|
ne?: InputMaybe<Scalars['Boolean']['input']>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type Credential3rd = {
|
||||||
|
__typename?: 'Credential3rd';
|
||||||
|
cookies?: Maybe<Scalars['String']['output']>;
|
||||||
|
createdAt: Scalars['String']['output'];
|
||||||
|
credentialType: Credential3rdTypeEnum;
|
||||||
|
id: Scalars['Int']['output'];
|
||||||
|
password?: Maybe<Scalars['String']['output']>;
|
||||||
|
subscriber?: Maybe<Subscribers>;
|
||||||
|
subscriberId: Scalars['Int']['output'];
|
||||||
|
subscription: SubscriptionsConnection;
|
||||||
|
updatedAt: Scalars['String']['output'];
|
||||||
|
userAgent?: Maybe<Scalars['String']['output']>;
|
||||||
|
username?: Maybe<Scalars['String']['output']>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type Credential3rdSubscriptionArgs = {
|
||||||
|
filters?: InputMaybe<SubscriptionsFilterInput>;
|
||||||
|
orderBy?: InputMaybe<SubscriptionsOrderInput>;
|
||||||
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type Credential3rdBasic = {
|
||||||
|
__typename?: 'Credential3rdBasic';
|
||||||
|
cookies?: Maybe<Scalars['String']['output']>;
|
||||||
|
createdAt: Scalars['String']['output'];
|
||||||
|
credentialType: Credential3rdTypeEnum;
|
||||||
|
id: Scalars['Int']['output'];
|
||||||
|
password?: Maybe<Scalars['String']['output']>;
|
||||||
|
subscriberId: Scalars['Int']['output'];
|
||||||
|
updatedAt: Scalars['String']['output'];
|
||||||
|
userAgent?: Maybe<Scalars['String']['output']>;
|
||||||
|
username?: Maybe<Scalars['String']['output']>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type Credential3rdConnection = {
|
||||||
|
__typename?: 'Credential3rdConnection';
|
||||||
|
edges: Array<Credential3rdEdge>;
|
||||||
|
nodes: Array<Credential3rd>;
|
||||||
|
pageInfo: PageInfo;
|
||||||
|
paginationInfo?: Maybe<PaginationInfo>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type Credential3rdEdge = {
|
||||||
|
__typename?: 'Credential3rdEdge';
|
||||||
|
cursor: Scalars['String']['output'];
|
||||||
|
node: Credential3rd;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type Credential3rdFilterInput = {
|
||||||
|
and?: InputMaybe<Array<Credential3rdFilterInput>>;
|
||||||
|
cookies?: InputMaybe<StringFilterInput>;
|
||||||
|
createdAt?: InputMaybe<TextFilterInput>;
|
||||||
|
credentialType?: InputMaybe<Credential3rdTypeEnumFilterInput>;
|
||||||
|
id?: InputMaybe<IntegerFilterInput>;
|
||||||
|
or?: InputMaybe<Array<Credential3rdFilterInput>>;
|
||||||
|
password?: InputMaybe<StringFilterInput>;
|
||||||
|
subscriberId?: InputMaybe<SubscriberIdFilterInput>;
|
||||||
|
updatedAt?: InputMaybe<TextFilterInput>;
|
||||||
|
userAgent?: InputMaybe<StringFilterInput>;
|
||||||
|
username?: InputMaybe<StringFilterInput>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type Credential3rdInsertInput = {
|
||||||
|
cookies?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
createdAt?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
credentialType: Credential3rdTypeEnum;
|
||||||
|
id?: InputMaybe<Scalars['Int']['input']>;
|
||||||
|
password?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
updatedAt?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
userAgent?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
username?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type Credential3rdOrderInput = {
|
||||||
|
cookies?: InputMaybe<OrderByEnum>;
|
||||||
|
createdAt?: InputMaybe<OrderByEnum>;
|
||||||
|
credentialType?: InputMaybe<OrderByEnum>;
|
||||||
|
id?: InputMaybe<OrderByEnum>;
|
||||||
|
password?: InputMaybe<OrderByEnum>;
|
||||||
|
subscriberId?: InputMaybe<OrderByEnum>;
|
||||||
|
updatedAt?: InputMaybe<OrderByEnum>;
|
||||||
|
userAgent?: InputMaybe<OrderByEnum>;
|
||||||
|
username?: InputMaybe<OrderByEnum>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export enum Credential3rdTypeEnum {
|
||||||
|
Mikan = 'mikan'
|
||||||
|
}
|
||||||
|
|
||||||
|
export type Credential3rdTypeEnumFilterInput = {
|
||||||
|
eq?: InputMaybe<Credential3rdTypeEnum>;
|
||||||
|
gt?: InputMaybe<Credential3rdTypeEnum>;
|
||||||
|
gte?: InputMaybe<Credential3rdTypeEnum>;
|
||||||
|
is_in?: InputMaybe<Array<Credential3rdTypeEnum>>;
|
||||||
|
is_not_in?: InputMaybe<Array<Credential3rdTypeEnum>>;
|
||||||
|
is_not_null?: InputMaybe<Credential3rdTypeEnum>;
|
||||||
|
is_null?: InputMaybe<Credential3rdTypeEnum>;
|
||||||
|
lt?: InputMaybe<Credential3rdTypeEnum>;
|
||||||
|
lte?: InputMaybe<Credential3rdTypeEnum>;
|
||||||
|
ne?: InputMaybe<Credential3rdTypeEnum>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type Credential3rdUpdateInput = {
|
||||||
|
cookies?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
createdAt?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
credentialType?: InputMaybe<Credential3rdTypeEnum>;
|
||||||
|
id?: InputMaybe<Scalars['Int']['input']>;
|
||||||
|
password?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
updatedAt?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
userAgent?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
username?: InputMaybe<Scalars['String']['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'];
|
||||||
@ -659,6 +773,10 @@ export type Mutation = {
|
|||||||
bangumiCreateOne: BangumiBasic;
|
bangumiCreateOne: BangumiBasic;
|
||||||
bangumiDelete: Scalars['Int']['output'];
|
bangumiDelete: Scalars['Int']['output'];
|
||||||
bangumiUpdate: Array<BangumiBasic>;
|
bangumiUpdate: Array<BangumiBasic>;
|
||||||
|
credential3rdCreateBatch: Array<Credential3rdBasic>;
|
||||||
|
credential3rdCreateOne: Credential3rdBasic;
|
||||||
|
credential3rdDelete: Scalars['Int']['output'];
|
||||||
|
credential3rdUpdate: Array<Credential3rdBasic>;
|
||||||
downloadersCreateBatch: Array<DownloadersBasic>;
|
downloadersCreateBatch: Array<DownloadersBasic>;
|
||||||
downloadersCreateOne: DownloadersBasic;
|
downloadersCreateOne: DownloadersBasic;
|
||||||
downloadersDelete: Scalars['Int']['output'];
|
downloadersDelete: Scalars['Int']['output'];
|
||||||
@ -712,6 +830,27 @@ export type MutationBangumiUpdateArgs = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type MutationCredential3rdCreateBatchArgs = {
|
||||||
|
data: Array<Credential3rdInsertInput>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type MutationCredential3rdCreateOneArgs = {
|
||||||
|
data: Credential3rdInsertInput;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type MutationCredential3rdDeleteArgs = {
|
||||||
|
filter?: InputMaybe<Credential3rdFilterInput>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type MutationCredential3rdUpdateArgs = {
|
||||||
|
data: Credential3rdUpdateInput;
|
||||||
|
filter?: InputMaybe<Credential3rdFilterInput>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
export type MutationDownloadersCreateBatchArgs = {
|
export type MutationDownloadersCreateBatchArgs = {
|
||||||
data: Array<DownloadersInsertInput>;
|
data: Array<DownloadersInsertInput>;
|
||||||
};
|
};
|
||||||
@ -904,6 +1043,7 @@ export type Query = {
|
|||||||
__typename?: 'Query';
|
__typename?: 'Query';
|
||||||
_sea_orm_entity_metadata?: Maybe<Scalars['String']['output']>;
|
_sea_orm_entity_metadata?: Maybe<Scalars['String']['output']>;
|
||||||
bangumi: BangumiConnection;
|
bangumi: BangumiConnection;
|
||||||
|
credential3rd: Credential3rdConnection;
|
||||||
downloaders: DownloadersConnection;
|
downloaders: DownloadersConnection;
|
||||||
downloads: DownloadsConnection;
|
downloads: DownloadsConnection;
|
||||||
episodes: EpisodesConnection;
|
episodes: EpisodesConnection;
|
||||||
@ -929,6 +1069,13 @@ export type QueryBangumiArgs = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type QueryCredential3rdArgs = {
|
||||||
|
filters?: InputMaybe<Credential3rdFilterInput>;
|
||||||
|
orderBy?: InputMaybe<Credential3rdOrderInput>;
|
||||||
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
export type QueryDownloadersArgs = {
|
export type QueryDownloadersArgs = {
|
||||||
filters?: InputMaybe<DownloadersFilterInput>;
|
filters?: InputMaybe<DownloadersFilterInput>;
|
||||||
orderBy?: InputMaybe<DownloadersOrderInput>;
|
orderBy?: InputMaybe<DownloadersOrderInput>;
|
||||||
@ -1125,6 +1272,7 @@ export type Subscribers = {
|
|||||||
__typename?: 'Subscribers';
|
__typename?: 'Subscribers';
|
||||||
bangumi: BangumiConnection;
|
bangumi: BangumiConnection;
|
||||||
createdAt: Scalars['String']['output'];
|
createdAt: Scalars['String']['output'];
|
||||||
|
credential3rd: Credential3rdConnection;
|
||||||
displayName: Scalars['String']['output'];
|
displayName: Scalars['String']['output'];
|
||||||
downloader: DownloadersConnection;
|
downloader: DownloadersConnection;
|
||||||
episode: EpisodesConnection;
|
episode: EpisodesConnection;
|
||||||
@ -1141,6 +1289,13 @@ export type SubscribersBangumiArgs = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type SubscribersCredential3rdArgs = {
|
||||||
|
filters?: InputMaybe<Credential3rdFilterInput>;
|
||||||
|
orderBy?: InputMaybe<Credential3rdOrderInput>;
|
||||||
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
export type SubscribersDownloaderArgs = {
|
export type SubscribersDownloaderArgs = {
|
||||||
filters?: InputMaybe<DownloadersFilterInput>;
|
filters?: InputMaybe<DownloadersFilterInput>;
|
||||||
orderBy?: InputMaybe<DownloadersOrderInput>;
|
orderBy?: InputMaybe<DownloadersOrderInput>;
|
||||||
@ -1336,6 +1491,7 @@ export type Subscriptions = {
|
|||||||
bangumi: BangumiConnection;
|
bangumi: BangumiConnection;
|
||||||
category: SubscriptionCategoryEnum;
|
category: SubscriptionCategoryEnum;
|
||||||
createdAt: Scalars['String']['output'];
|
createdAt: Scalars['String']['output'];
|
||||||
|
credential3rd?: Maybe<Credential3rd>;
|
||||||
credentialId?: Maybe<Scalars['Int']['output']>;
|
credentialId?: Maybe<Scalars['Int']['output']>;
|
||||||
displayName: Scalars['String']['output'];
|
displayName: Scalars['String']['output'];
|
||||||
enabled: Scalars['Boolean']['output'];
|
enabled: Scalars['Boolean']['output'];
|
||||||
@ -1478,10 +1634,41 @@ export type TextFilterInput = {
|
|||||||
not_between?: InputMaybe<Array<Scalars['String']['input']>>;
|
not_between?: InputMaybe<Array<Scalars['String']['input']>>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type GetCredential3rdQueryVariables = Exact<{
|
||||||
|
filters: Credential3rdFilterInput;
|
||||||
|
orderBy?: InputMaybe<Credential3rdOrderInput>;
|
||||||
|
pagination?: InputMaybe<PaginationInput>;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
|
||||||
|
export type GetCredential3rdQuery = { __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 InsertCredential3rdMutationVariables = Exact<{
|
||||||
|
data: Credential3rdInsertInput;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
|
||||||
|
export type InsertCredential3rdMutation = { __typename?: 'Mutation', credential3rdCreateOne: { __typename?: 'Credential3rdBasic', id: number, cookies?: string | null, username?: string | null, password?: string | null, userAgent?: string | null, createdAt: string, updatedAt: string, credentialType: Credential3rdTypeEnum } };
|
||||||
|
|
||||||
|
export type UpdateCredential3rdMutationVariables = Exact<{
|
||||||
|
data: Credential3rdUpdateInput;
|
||||||
|
filters: 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 DeleteCredential3rdMutationVariables = Exact<{
|
||||||
|
filters: Credential3rdFilterInput;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
|
||||||
|
export type DeleteCredential3rdMutation = { __typename?: 'Mutation', credential3rdDelete: number };
|
||||||
|
|
||||||
export type GetSubscriptionsQueryVariables = Exact<{
|
export type GetSubscriptionsQueryVariables = Exact<{
|
||||||
page: PageInput;
|
|
||||||
filters: SubscriptionsFilterInput;
|
filters: SubscriptionsFilterInput;
|
||||||
orderBy: SubscriptionsOrderInput;
|
orderBy: SubscriptionsOrderInput;
|
||||||
|
pagination: PaginationInput;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
@ -1517,7 +1704,11 @@ export type CreateSubscriptionMutationVariables = Exact<{
|
|||||||
export type CreateSubscriptionMutation = { __typename?: 'Mutation', subscriptionsCreateOne: { __typename?: 'SubscriptionsBasic', id: number, displayName: string, sourceUrl: string, enabled: boolean, category: SubscriptionCategoryEnum } };
|
export type CreateSubscriptionMutation = { __typename?: 'Mutation', subscriptionsCreateOne: { __typename?: 'SubscriptionsBasic', id: number, displayName: string, sourceUrl: string, enabled: boolean, category: SubscriptionCategoryEnum } };
|
||||||
|
|
||||||
|
|
||||||
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":"page"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PageInput"}}}},{"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"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}}]}},{"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":"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 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"}}]}}]}}]}}]} 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 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 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 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":"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 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":"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 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":"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 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":"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":"rawName"}},{"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":"savePath"}},{"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":"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":"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":"rawName"}},{"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":"savePath"}},{"kind":"Field","name":{"kind":"Name","value":"homepage"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<GetSubscriptionDetailQuery, GetSubscriptionDetailQueryVariables>;
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
BookOpen,
|
BookOpen,
|
||||||
Folders,
|
Folders,
|
||||||
|
KeyRound,
|
||||||
Settings2,
|
Settings2,
|
||||||
SquareTerminal,
|
SquareTerminal,
|
||||||
Telescope,
|
Telescope,
|
||||||
@ -49,6 +50,27 @@ export const AppNavMainData = [
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: 'Credential',
|
||||||
|
link: {
|
||||||
|
to: '/credential3rd',
|
||||||
|
},
|
||||||
|
icon: KeyRound,
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: 'Manage',
|
||||||
|
link: {
|
||||||
|
to: '/credential3rd/manage',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Create',
|
||||||
|
link: {
|
||||||
|
to: '/credential3rd/create',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: 'Playground',
|
title: 'Playground',
|
||||||
icon: SquareTerminal,
|
icon: SquareTerminal,
|
||||||
|
@ -10,27 +10,30 @@
|
|||||||
|
|
||||||
// Import Routes
|
// Import Routes
|
||||||
|
|
||||||
import { Route as R404Import } from './routes/404.tsx';
|
import { Route as rootRoute } from './routes/__root'
|
||||||
import { Route as rootRoute } from './routes/__root.tsx';
|
import { Route as AboutImport } from './routes/about'
|
||||||
import { Route as AppExploreExploreImport } from './routes/_app/_explore/explore.tsx';
|
import { Route as R404Import } from './routes/404'
|
||||||
import { Route as AppExploreFeedImport } from './routes/_app/_explore/feed.tsx';
|
import { Route as AppRouteImport } from './routes/_app/route'
|
||||||
import { Route as AppBangumiManageImport } from './routes/_app/bangumi/manage.tsx';
|
import { Route as IndexImport } from './routes/index'
|
||||||
import { Route as AppBangumiRouteImport } from './routes/_app/bangumi/route.tsx';
|
import { Route as AuthSignUpImport } from './routes/auth/sign-up'
|
||||||
import { Route as AppPlaygroundGraphqlApiImport } from './routes/_app/playground/graphql-api.tsx';
|
import { Route as AuthSignInImport } from './routes/auth/sign-in'
|
||||||
import { Route as AppPlaygroundRouteImport } from './routes/_app/playground/route.tsx';
|
import { Route as AppSubscriptionsRouteImport } from './routes/_app/subscriptions/route'
|
||||||
import { Route as AppRouteImport } from './routes/_app/route.tsx';
|
import { Route as AppSettingsRouteImport } from './routes/_app/settings/route'
|
||||||
import { Route as AppSettingsDownloaderImport } from './routes/_app/settings/downloader.tsx';
|
import { Route as AppPlaygroundRouteImport } from './routes/_app/playground/route'
|
||||||
import { Route as AppSettingsRouteImport } from './routes/_app/settings/route.tsx';
|
import { Route as AppCredential3rdRouteImport } from './routes/_app/credential3rd/route'
|
||||||
import { Route as AppSubscriptionsCreateImport } from './routes/_app/subscriptions/create.tsx';
|
import { Route as AppBangumiRouteImport } from './routes/_app/bangumi/route'
|
||||||
import { Route as AppSubscriptionsDetailSubscriptionIdImport } from './routes/_app/subscriptions/detail.$subscriptionId.tsx';
|
import { Route as AuthOidcCallbackImport } from './routes/auth/oidc/callback'
|
||||||
import { Route as AppSubscriptionsEditSubscriptionIdImport } from './routes/_app/subscriptions/edit.$subscriptionId.tsx';
|
import { Route as AppSubscriptionsManageImport } from './routes/_app/subscriptions/manage'
|
||||||
import { Route as AppSubscriptionsManageImport } from './routes/_app/subscriptions/manage.tsx';
|
import { Route as AppSubscriptionsCreateImport } from './routes/_app/subscriptions/create'
|
||||||
import { Route as AppSubscriptionsRouteImport } from './routes/_app/subscriptions/route.tsx';
|
import { Route as AppSettingsDownloaderImport } from './routes/_app/settings/downloader'
|
||||||
import { Route as AboutImport } from './routes/about.tsx';
|
import { Route as AppPlaygroundGraphqlApiImport } from './routes/_app/playground/graphql-api'
|
||||||
import { Route as AuthOidcCallbackImport } from './routes/auth/oidc/callback.tsx';
|
import { Route as AppCredential3rdManageImport } from './routes/_app/credential3rd/manage'
|
||||||
import { Route as AuthSignInImport } from './routes/auth/sign-in.tsx';
|
import { Route as AppCredential3rdCreateImport } from './routes/_app/credential3rd/create'
|
||||||
import { Route as AuthSignUpImport } from './routes/auth/sign-up.tsx';
|
import { Route as AppBangumiManageImport } from './routes/_app/bangumi/manage'
|
||||||
import { Route as IndexImport } from './routes/index.tsx';
|
import { Route as AppExploreFeedImport } from './routes/_app/_explore/feed'
|
||||||
|
import { Route as AppExploreExploreImport } from './routes/_app/_explore/explore'
|
||||||
|
import { Route as AppSubscriptionsEditSubscriptionIdImport } from './routes/_app/subscriptions/edit.$subscriptionId'
|
||||||
|
import { Route as AppSubscriptionsDetailSubscriptionIdImport } from './routes/_app/subscriptions/detail.$subscriptionId'
|
||||||
|
|
||||||
// Create/Update Routes
|
// Create/Update Routes
|
||||||
|
|
||||||
@ -38,313 +41,367 @@ const AboutRoute = AboutImport.update({
|
|||||||
id: '/about',
|
id: '/about',
|
||||||
path: '/about',
|
path: '/about',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const R404Route = R404Import.update({
|
const R404Route = R404Import.update({
|
||||||
id: '/404',
|
id: '/404',
|
||||||
path: '/404',
|
path: '/404',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AppRouteRoute = AppRouteImport.update({
|
const AppRouteRoute = AppRouteImport.update({
|
||||||
id: '/_app',
|
id: '/_app',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const IndexRoute = IndexImport.update({
|
const IndexRoute = IndexImport.update({
|
||||||
id: '/',
|
id: '/',
|
||||||
path: '/',
|
path: '/',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AuthSignUpRoute = AuthSignUpImport.update({
|
const AuthSignUpRoute = AuthSignUpImport.update({
|
||||||
id: '/auth/sign-up',
|
id: '/auth/sign-up',
|
||||||
path: '/auth/sign-up',
|
path: '/auth/sign-up',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AuthSignInRoute = AuthSignInImport.update({
|
const AuthSignInRoute = AuthSignInImport.update({
|
||||||
id: '/auth/sign-in',
|
id: '/auth/sign-in',
|
||||||
path: '/auth/sign-in',
|
path: '/auth/sign-in',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AppSubscriptionsRouteRoute = AppSubscriptionsRouteImport.update({
|
const AppSubscriptionsRouteRoute = AppSubscriptionsRouteImport.update({
|
||||||
id: '/subscriptions',
|
id: '/subscriptions',
|
||||||
path: '/subscriptions',
|
path: '/subscriptions',
|
||||||
getParentRoute: () => AppRouteRoute,
|
getParentRoute: () => AppRouteRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AppSettingsRouteRoute = AppSettingsRouteImport.update({
|
const AppSettingsRouteRoute = AppSettingsRouteImport.update({
|
||||||
id: '/settings',
|
id: '/settings',
|
||||||
path: '/settings',
|
path: '/settings',
|
||||||
getParentRoute: () => AppRouteRoute,
|
getParentRoute: () => AppRouteRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AppPlaygroundRouteRoute = AppPlaygroundRouteImport.update({
|
const AppPlaygroundRouteRoute = AppPlaygroundRouteImport.update({
|
||||||
id: '/playground',
|
id: '/playground',
|
||||||
path: '/playground',
|
path: '/playground',
|
||||||
getParentRoute: () => AppRouteRoute,
|
getParentRoute: () => AppRouteRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
|
const AppCredential3rdRouteRoute = AppCredential3rdRouteImport.update({
|
||||||
|
id: '/credential3rd',
|
||||||
|
path: '/credential3rd',
|
||||||
|
getParentRoute: () => AppRouteRoute,
|
||||||
|
} as any)
|
||||||
|
|
||||||
const AppBangumiRouteRoute = AppBangumiRouteImport.update({
|
const AppBangumiRouteRoute = AppBangumiRouteImport.update({
|
||||||
id: '/bangumi',
|
id: '/bangumi',
|
||||||
path: '/bangumi',
|
path: '/bangumi',
|
||||||
getParentRoute: () => AppRouteRoute,
|
getParentRoute: () => AppRouteRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AuthOidcCallbackRoute = AuthOidcCallbackImport.update({
|
const AuthOidcCallbackRoute = AuthOidcCallbackImport.update({
|
||||||
id: '/auth/oidc/callback',
|
id: '/auth/oidc/callback',
|
||||||
path: '/auth/oidc/callback',
|
path: '/auth/oidc/callback',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AppSubscriptionsManageRoute = AppSubscriptionsManageImport.update({
|
const AppSubscriptionsManageRoute = AppSubscriptionsManageImport.update({
|
||||||
id: '/manage',
|
id: '/manage',
|
||||||
path: '/manage',
|
path: '/manage',
|
||||||
getParentRoute: () => AppSubscriptionsRouteRoute,
|
getParentRoute: () => AppSubscriptionsRouteRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AppSubscriptionsCreateRoute = AppSubscriptionsCreateImport.update({
|
const AppSubscriptionsCreateRoute = AppSubscriptionsCreateImport.update({
|
||||||
id: '/create',
|
id: '/create',
|
||||||
path: '/create',
|
path: '/create',
|
||||||
getParentRoute: () => AppSubscriptionsRouteRoute,
|
getParentRoute: () => AppSubscriptionsRouteRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AppSettingsDownloaderRoute = AppSettingsDownloaderImport.update({
|
const AppSettingsDownloaderRoute = AppSettingsDownloaderImport.update({
|
||||||
id: '/downloader',
|
id: '/downloader',
|
||||||
path: '/downloader',
|
path: '/downloader',
|
||||||
getParentRoute: () => AppSettingsRouteRoute,
|
getParentRoute: () => AppSettingsRouteRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AppPlaygroundGraphqlApiRoute = AppPlaygroundGraphqlApiImport.update({
|
const AppPlaygroundGraphqlApiRoute = AppPlaygroundGraphqlApiImport.update({
|
||||||
id: '/graphql-api',
|
id: '/graphql-api',
|
||||||
path: '/graphql-api',
|
path: '/graphql-api',
|
||||||
getParentRoute: () => AppPlaygroundRouteRoute,
|
getParentRoute: () => AppPlaygroundRouteRoute,
|
||||||
} as any).lazy(() =>
|
} as any).lazy(() =>
|
||||||
import('./routes/_app/playground/graphql-api.lazy.tsx').then((d) => d.Route)
|
import('./routes/_app/playground/graphql-api.lazy').then((d) => d.Route),
|
||||||
);
|
)
|
||||||
|
|
||||||
|
const AppCredential3rdManageRoute = AppCredential3rdManageImport.update({
|
||||||
|
id: '/manage',
|
||||||
|
path: '/manage',
|
||||||
|
getParentRoute: () => AppCredential3rdRouteRoute,
|
||||||
|
} as any)
|
||||||
|
|
||||||
|
const AppCredential3rdCreateRoute = AppCredential3rdCreateImport.update({
|
||||||
|
id: '/create',
|
||||||
|
path: '/create',
|
||||||
|
getParentRoute: () => AppCredential3rdRouteRoute,
|
||||||
|
} as any)
|
||||||
|
|
||||||
const AppBangumiManageRoute = AppBangumiManageImport.update({
|
const AppBangumiManageRoute = AppBangumiManageImport.update({
|
||||||
id: '/manage',
|
id: '/manage',
|
||||||
path: '/manage',
|
path: '/manage',
|
||||||
getParentRoute: () => AppBangumiRouteRoute,
|
getParentRoute: () => AppBangumiRouteRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AppExploreFeedRoute = AppExploreFeedImport.update({
|
const AppExploreFeedRoute = AppExploreFeedImport.update({
|
||||||
id: '/_explore/feed',
|
id: '/_explore/feed',
|
||||||
path: '/feed',
|
path: '/feed',
|
||||||
getParentRoute: () => AppRouteRoute,
|
getParentRoute: () => AppRouteRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AppExploreExploreRoute = AppExploreExploreImport.update({
|
const AppExploreExploreRoute = AppExploreExploreImport.update({
|
||||||
id: '/_explore/explore',
|
id: '/_explore/explore',
|
||||||
path: '/explore',
|
path: '/explore',
|
||||||
getParentRoute: () => AppRouteRoute,
|
getParentRoute: () => AppRouteRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AppSubscriptionsEditSubscriptionIdRoute =
|
const AppSubscriptionsEditSubscriptionIdRoute =
|
||||||
AppSubscriptionsEditSubscriptionIdImport.update({
|
AppSubscriptionsEditSubscriptionIdImport.update({
|
||||||
id: '/edit/$subscriptionId',
|
id: '/edit/$subscriptionId',
|
||||||
path: '/edit/$subscriptionId',
|
path: '/edit/$subscriptionId',
|
||||||
getParentRoute: () => AppSubscriptionsRouteRoute,
|
getParentRoute: () => AppSubscriptionsRouteRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
const AppSubscriptionsDetailSubscriptionIdRoute =
|
const AppSubscriptionsDetailSubscriptionIdRoute =
|
||||||
AppSubscriptionsDetailSubscriptionIdImport.update({
|
AppSubscriptionsDetailSubscriptionIdImport.update({
|
||||||
id: '/detail/$subscriptionId',
|
id: '/detail/$subscriptionId',
|
||||||
path: '/detail/$subscriptionId',
|
path: '/detail/$subscriptionId',
|
||||||
getParentRoute: () => AppSubscriptionsRouteRoute,
|
getParentRoute: () => AppSubscriptionsRouteRoute,
|
||||||
} as any);
|
} as any)
|
||||||
|
|
||||||
// Populate the FileRoutesByPath interface
|
// Populate the FileRoutesByPath interface
|
||||||
|
|
||||||
declare module '@tanstack/react-router' {
|
declare module '@tanstack/react-router' {
|
||||||
interface FileRoutesByPath {
|
interface FileRoutesByPath {
|
||||||
'/': {
|
'/': {
|
||||||
id: '/';
|
id: '/'
|
||||||
path: '/';
|
path: '/'
|
||||||
fullPath: '/';
|
fullPath: '/'
|
||||||
preLoaderRoute: typeof IndexImport;
|
preLoaderRoute: typeof IndexImport
|
||||||
parentRoute: typeof rootRoute;
|
parentRoute: typeof rootRoute
|
||||||
};
|
}
|
||||||
'/_app': {
|
'/_app': {
|
||||||
id: '/_app';
|
id: '/_app'
|
||||||
path: '';
|
path: ''
|
||||||
fullPath: '';
|
fullPath: ''
|
||||||
preLoaderRoute: typeof AppRouteImport;
|
preLoaderRoute: typeof AppRouteImport
|
||||||
parentRoute: typeof rootRoute;
|
parentRoute: typeof rootRoute
|
||||||
};
|
}
|
||||||
'/404': {
|
'/404': {
|
||||||
id: '/404';
|
id: '/404'
|
||||||
path: '/404';
|
path: '/404'
|
||||||
fullPath: '/404';
|
fullPath: '/404'
|
||||||
preLoaderRoute: typeof R404Import;
|
preLoaderRoute: typeof R404Import
|
||||||
parentRoute: typeof rootRoute;
|
parentRoute: typeof rootRoute
|
||||||
};
|
}
|
||||||
'/about': {
|
'/about': {
|
||||||
id: '/about';
|
id: '/about'
|
||||||
path: '/about';
|
path: '/about'
|
||||||
fullPath: '/about';
|
fullPath: '/about'
|
||||||
preLoaderRoute: typeof AboutImport;
|
preLoaderRoute: typeof AboutImport
|
||||||
parentRoute: typeof rootRoute;
|
parentRoute: typeof rootRoute
|
||||||
};
|
}
|
||||||
'/_app/bangumi': {
|
'/_app/bangumi': {
|
||||||
id: '/_app/bangumi';
|
id: '/_app/bangumi'
|
||||||
path: '/bangumi';
|
path: '/bangumi'
|
||||||
fullPath: '/bangumi';
|
fullPath: '/bangumi'
|
||||||
preLoaderRoute: typeof AppBangumiRouteImport;
|
preLoaderRoute: typeof AppBangumiRouteImport
|
||||||
parentRoute: typeof AppRouteImport;
|
parentRoute: typeof AppRouteImport
|
||||||
};
|
}
|
||||||
|
'/_app/credential3rd': {
|
||||||
|
id: '/_app/credential3rd'
|
||||||
|
path: '/credential3rd'
|
||||||
|
fullPath: '/credential3rd'
|
||||||
|
preLoaderRoute: typeof AppCredential3rdRouteImport
|
||||||
|
parentRoute: typeof AppRouteImport
|
||||||
|
}
|
||||||
'/_app/playground': {
|
'/_app/playground': {
|
||||||
id: '/_app/playground';
|
id: '/_app/playground'
|
||||||
path: '/playground';
|
path: '/playground'
|
||||||
fullPath: '/playground';
|
fullPath: '/playground'
|
||||||
preLoaderRoute: typeof AppPlaygroundRouteImport;
|
preLoaderRoute: typeof AppPlaygroundRouteImport
|
||||||
parentRoute: typeof AppRouteImport;
|
parentRoute: typeof AppRouteImport
|
||||||
};
|
}
|
||||||
'/_app/settings': {
|
'/_app/settings': {
|
||||||
id: '/_app/settings';
|
id: '/_app/settings'
|
||||||
path: '/settings';
|
path: '/settings'
|
||||||
fullPath: '/settings';
|
fullPath: '/settings'
|
||||||
preLoaderRoute: typeof AppSettingsRouteImport;
|
preLoaderRoute: typeof AppSettingsRouteImport
|
||||||
parentRoute: typeof AppRouteImport;
|
parentRoute: typeof AppRouteImport
|
||||||
};
|
}
|
||||||
'/_app/subscriptions': {
|
'/_app/subscriptions': {
|
||||||
id: '/_app/subscriptions';
|
id: '/_app/subscriptions'
|
||||||
path: '/subscriptions';
|
path: '/subscriptions'
|
||||||
fullPath: '/subscriptions';
|
fullPath: '/subscriptions'
|
||||||
preLoaderRoute: typeof AppSubscriptionsRouteImport;
|
preLoaderRoute: typeof AppSubscriptionsRouteImport
|
||||||
parentRoute: typeof AppRouteImport;
|
parentRoute: typeof AppRouteImport
|
||||||
};
|
}
|
||||||
'/auth/sign-in': {
|
'/auth/sign-in': {
|
||||||
id: '/auth/sign-in';
|
id: '/auth/sign-in'
|
||||||
path: '/auth/sign-in';
|
path: '/auth/sign-in'
|
||||||
fullPath: '/auth/sign-in';
|
fullPath: '/auth/sign-in'
|
||||||
preLoaderRoute: typeof AuthSignInImport;
|
preLoaderRoute: typeof AuthSignInImport
|
||||||
parentRoute: typeof rootRoute;
|
parentRoute: typeof rootRoute
|
||||||
};
|
}
|
||||||
'/auth/sign-up': {
|
'/auth/sign-up': {
|
||||||
id: '/auth/sign-up';
|
id: '/auth/sign-up'
|
||||||
path: '/auth/sign-up';
|
path: '/auth/sign-up'
|
||||||
fullPath: '/auth/sign-up';
|
fullPath: '/auth/sign-up'
|
||||||
preLoaderRoute: typeof AuthSignUpImport;
|
preLoaderRoute: typeof AuthSignUpImport
|
||||||
parentRoute: typeof rootRoute;
|
parentRoute: typeof rootRoute
|
||||||
};
|
}
|
||||||
'/_app/_explore/explore': {
|
'/_app/_explore/explore': {
|
||||||
id: '/_app/_explore/explore';
|
id: '/_app/_explore/explore'
|
||||||
path: '/explore';
|
path: '/explore'
|
||||||
fullPath: '/explore';
|
fullPath: '/explore'
|
||||||
preLoaderRoute: typeof AppExploreExploreImport;
|
preLoaderRoute: typeof AppExploreExploreImport
|
||||||
parentRoute: typeof AppRouteImport;
|
parentRoute: typeof AppRouteImport
|
||||||
};
|
}
|
||||||
'/_app/_explore/feed': {
|
'/_app/_explore/feed': {
|
||||||
id: '/_app/_explore/feed';
|
id: '/_app/_explore/feed'
|
||||||
path: '/feed';
|
path: '/feed'
|
||||||
fullPath: '/feed';
|
fullPath: '/feed'
|
||||||
preLoaderRoute: typeof AppExploreFeedImport;
|
preLoaderRoute: typeof AppExploreFeedImport
|
||||||
parentRoute: typeof AppRouteImport;
|
parentRoute: typeof AppRouteImport
|
||||||
};
|
}
|
||||||
'/_app/bangumi/manage': {
|
'/_app/bangumi/manage': {
|
||||||
id: '/_app/bangumi/manage';
|
id: '/_app/bangumi/manage'
|
||||||
path: '/manage';
|
path: '/manage'
|
||||||
fullPath: '/bangumi/manage';
|
fullPath: '/bangumi/manage'
|
||||||
preLoaderRoute: typeof AppBangumiManageImport;
|
preLoaderRoute: typeof AppBangumiManageImport
|
||||||
parentRoute: typeof AppBangumiRouteImport;
|
parentRoute: typeof AppBangumiRouteImport
|
||||||
};
|
}
|
||||||
|
'/_app/credential3rd/create': {
|
||||||
|
id: '/_app/credential3rd/create'
|
||||||
|
path: '/create'
|
||||||
|
fullPath: '/credential3rd/create'
|
||||||
|
preLoaderRoute: typeof AppCredential3rdCreateImport
|
||||||
|
parentRoute: typeof AppCredential3rdRouteImport
|
||||||
|
}
|
||||||
|
'/_app/credential3rd/manage': {
|
||||||
|
id: '/_app/credential3rd/manage'
|
||||||
|
path: '/manage'
|
||||||
|
fullPath: '/credential3rd/manage'
|
||||||
|
preLoaderRoute: typeof AppCredential3rdManageImport
|
||||||
|
parentRoute: typeof AppCredential3rdRouteImport
|
||||||
|
}
|
||||||
'/_app/playground/graphql-api': {
|
'/_app/playground/graphql-api': {
|
||||||
id: '/_app/playground/graphql-api';
|
id: '/_app/playground/graphql-api'
|
||||||
path: '/graphql-api';
|
path: '/graphql-api'
|
||||||
fullPath: '/playground/graphql-api';
|
fullPath: '/playground/graphql-api'
|
||||||
preLoaderRoute: typeof AppPlaygroundGraphqlApiImport;
|
preLoaderRoute: typeof AppPlaygroundGraphqlApiImport
|
||||||
parentRoute: typeof AppPlaygroundRouteImport;
|
parentRoute: typeof AppPlaygroundRouteImport
|
||||||
};
|
}
|
||||||
'/_app/settings/downloader': {
|
'/_app/settings/downloader': {
|
||||||
id: '/_app/settings/downloader';
|
id: '/_app/settings/downloader'
|
||||||
path: '/downloader';
|
path: '/downloader'
|
||||||
fullPath: '/settings/downloader';
|
fullPath: '/settings/downloader'
|
||||||
preLoaderRoute: typeof AppSettingsDownloaderImport;
|
preLoaderRoute: typeof AppSettingsDownloaderImport
|
||||||
parentRoute: typeof AppSettingsRouteImport;
|
parentRoute: typeof AppSettingsRouteImport
|
||||||
};
|
}
|
||||||
'/_app/subscriptions/create': {
|
'/_app/subscriptions/create': {
|
||||||
id: '/_app/subscriptions/create';
|
id: '/_app/subscriptions/create'
|
||||||
path: '/create';
|
path: '/create'
|
||||||
fullPath: '/subscriptions/create';
|
fullPath: '/subscriptions/create'
|
||||||
preLoaderRoute: typeof AppSubscriptionsCreateImport;
|
preLoaderRoute: typeof AppSubscriptionsCreateImport
|
||||||
parentRoute: typeof AppSubscriptionsRouteImport;
|
parentRoute: typeof AppSubscriptionsRouteImport
|
||||||
};
|
}
|
||||||
'/_app/subscriptions/manage': {
|
'/_app/subscriptions/manage': {
|
||||||
id: '/_app/subscriptions/manage';
|
id: '/_app/subscriptions/manage'
|
||||||
path: '/manage';
|
path: '/manage'
|
||||||
fullPath: '/subscriptions/manage';
|
fullPath: '/subscriptions/manage'
|
||||||
preLoaderRoute: typeof AppSubscriptionsManageImport;
|
preLoaderRoute: typeof AppSubscriptionsManageImport
|
||||||
parentRoute: typeof AppSubscriptionsRouteImport;
|
parentRoute: typeof AppSubscriptionsRouteImport
|
||||||
};
|
}
|
||||||
'/auth/oidc/callback': {
|
'/auth/oidc/callback': {
|
||||||
id: '/auth/oidc/callback';
|
id: '/auth/oidc/callback'
|
||||||
path: '/auth/oidc/callback';
|
path: '/auth/oidc/callback'
|
||||||
fullPath: '/auth/oidc/callback';
|
fullPath: '/auth/oidc/callback'
|
||||||
preLoaderRoute: typeof AuthOidcCallbackImport;
|
preLoaderRoute: typeof AuthOidcCallbackImport
|
||||||
parentRoute: typeof rootRoute;
|
parentRoute: typeof rootRoute
|
||||||
};
|
}
|
||||||
'/_app/subscriptions/detail/$subscriptionId': {
|
'/_app/subscriptions/detail/$subscriptionId': {
|
||||||
id: '/_app/subscriptions/detail/$subscriptionId';
|
id: '/_app/subscriptions/detail/$subscriptionId'
|
||||||
path: '/detail/$subscriptionId';
|
path: '/detail/$subscriptionId'
|
||||||
fullPath: '/subscriptions/detail/$subscriptionId';
|
fullPath: '/subscriptions/detail/$subscriptionId'
|
||||||
preLoaderRoute: typeof AppSubscriptionsDetailSubscriptionIdImport;
|
preLoaderRoute: typeof AppSubscriptionsDetailSubscriptionIdImport
|
||||||
parentRoute: typeof AppSubscriptionsRouteImport;
|
parentRoute: typeof AppSubscriptionsRouteImport
|
||||||
};
|
}
|
||||||
'/_app/subscriptions/edit/$subscriptionId': {
|
'/_app/subscriptions/edit/$subscriptionId': {
|
||||||
id: '/_app/subscriptions/edit/$subscriptionId';
|
id: '/_app/subscriptions/edit/$subscriptionId'
|
||||||
path: '/edit/$subscriptionId';
|
path: '/edit/$subscriptionId'
|
||||||
fullPath: '/subscriptions/edit/$subscriptionId';
|
fullPath: '/subscriptions/edit/$subscriptionId'
|
||||||
preLoaderRoute: typeof AppSubscriptionsEditSubscriptionIdImport;
|
preLoaderRoute: typeof AppSubscriptionsEditSubscriptionIdImport
|
||||||
parentRoute: typeof AppSubscriptionsRouteImport;
|
parentRoute: typeof AppSubscriptionsRouteImport
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create and export the route tree
|
// Create and export the route tree
|
||||||
|
|
||||||
interface AppBangumiRouteRouteChildren {
|
interface AppBangumiRouteRouteChildren {
|
||||||
AppBangumiManageRoute: typeof AppBangumiManageRoute;
|
AppBangumiManageRoute: typeof AppBangumiManageRoute
|
||||||
}
|
}
|
||||||
|
|
||||||
const AppBangumiRouteRouteChildren: AppBangumiRouteRouteChildren = {
|
const AppBangumiRouteRouteChildren: AppBangumiRouteRouteChildren = {
|
||||||
AppBangumiManageRoute: AppBangumiManageRoute,
|
AppBangumiManageRoute: AppBangumiManageRoute,
|
||||||
};
|
}
|
||||||
|
|
||||||
const AppBangumiRouteRouteWithChildren = AppBangumiRouteRoute._addFileChildren(
|
const AppBangumiRouteRouteWithChildren = AppBangumiRouteRoute._addFileChildren(
|
||||||
AppBangumiRouteRouteChildren
|
AppBangumiRouteRouteChildren,
|
||||||
);
|
)
|
||||||
|
|
||||||
|
interface AppCredential3rdRouteRouteChildren {
|
||||||
|
AppCredential3rdCreateRoute: typeof AppCredential3rdCreateRoute
|
||||||
|
AppCredential3rdManageRoute: typeof AppCredential3rdManageRoute
|
||||||
|
}
|
||||||
|
|
||||||
|
const AppCredential3rdRouteRouteChildren: AppCredential3rdRouteRouteChildren = {
|
||||||
|
AppCredential3rdCreateRoute: AppCredential3rdCreateRoute,
|
||||||
|
AppCredential3rdManageRoute: AppCredential3rdManageRoute,
|
||||||
|
}
|
||||||
|
|
||||||
|
const AppCredential3rdRouteRouteWithChildren =
|
||||||
|
AppCredential3rdRouteRoute._addFileChildren(
|
||||||
|
AppCredential3rdRouteRouteChildren,
|
||||||
|
)
|
||||||
|
|
||||||
interface AppPlaygroundRouteRouteChildren {
|
interface AppPlaygroundRouteRouteChildren {
|
||||||
AppPlaygroundGraphqlApiRoute: typeof AppPlaygroundGraphqlApiRoute;
|
AppPlaygroundGraphqlApiRoute: typeof AppPlaygroundGraphqlApiRoute
|
||||||
}
|
}
|
||||||
|
|
||||||
const AppPlaygroundRouteRouteChildren: AppPlaygroundRouteRouteChildren = {
|
const AppPlaygroundRouteRouteChildren: AppPlaygroundRouteRouteChildren = {
|
||||||
AppPlaygroundGraphqlApiRoute: AppPlaygroundGraphqlApiRoute,
|
AppPlaygroundGraphqlApiRoute: AppPlaygroundGraphqlApiRoute,
|
||||||
};
|
}
|
||||||
|
|
||||||
const AppPlaygroundRouteRouteWithChildren =
|
const AppPlaygroundRouteRouteWithChildren =
|
||||||
AppPlaygroundRouteRoute._addFileChildren(AppPlaygroundRouteRouteChildren);
|
AppPlaygroundRouteRoute._addFileChildren(AppPlaygroundRouteRouteChildren)
|
||||||
|
|
||||||
interface AppSettingsRouteRouteChildren {
|
interface AppSettingsRouteRouteChildren {
|
||||||
AppSettingsDownloaderRoute: typeof AppSettingsDownloaderRoute;
|
AppSettingsDownloaderRoute: typeof AppSettingsDownloaderRoute
|
||||||
}
|
}
|
||||||
|
|
||||||
const AppSettingsRouteRouteChildren: AppSettingsRouteRouteChildren = {
|
const AppSettingsRouteRouteChildren: AppSettingsRouteRouteChildren = {
|
||||||
AppSettingsDownloaderRoute: AppSettingsDownloaderRoute,
|
AppSettingsDownloaderRoute: AppSettingsDownloaderRoute,
|
||||||
};
|
}
|
||||||
|
|
||||||
const AppSettingsRouteRouteWithChildren =
|
const AppSettingsRouteRouteWithChildren =
|
||||||
AppSettingsRouteRoute._addFileChildren(AppSettingsRouteRouteChildren);
|
AppSettingsRouteRoute._addFileChildren(AppSettingsRouteRouteChildren)
|
||||||
|
|
||||||
interface AppSubscriptionsRouteRouteChildren {
|
interface AppSubscriptionsRouteRouteChildren {
|
||||||
AppSubscriptionsCreateRoute: typeof AppSubscriptionsCreateRoute;
|
AppSubscriptionsCreateRoute: typeof AppSubscriptionsCreateRoute
|
||||||
AppSubscriptionsManageRoute: typeof AppSubscriptionsManageRoute;
|
AppSubscriptionsManageRoute: typeof AppSubscriptionsManageRoute
|
||||||
AppSubscriptionsDetailSubscriptionIdRoute: typeof AppSubscriptionsDetailSubscriptionIdRoute;
|
AppSubscriptionsDetailSubscriptionIdRoute: typeof AppSubscriptionsDetailSubscriptionIdRoute
|
||||||
AppSubscriptionsEditSubscriptionIdRoute: typeof AppSubscriptionsEditSubscriptionIdRoute;
|
AppSubscriptionsEditSubscriptionIdRoute: typeof AppSubscriptionsEditSubscriptionIdRoute
|
||||||
}
|
}
|
||||||
|
|
||||||
const AppSubscriptionsRouteRouteChildren: AppSubscriptionsRouteRouteChildren = {
|
const AppSubscriptionsRouteRouteChildren: AppSubscriptionsRouteRouteChildren = {
|
||||||
@ -354,113 +411,125 @@ const AppSubscriptionsRouteRouteChildren: AppSubscriptionsRouteRouteChildren = {
|
|||||||
AppSubscriptionsDetailSubscriptionIdRoute,
|
AppSubscriptionsDetailSubscriptionIdRoute,
|
||||||
AppSubscriptionsEditSubscriptionIdRoute:
|
AppSubscriptionsEditSubscriptionIdRoute:
|
||||||
AppSubscriptionsEditSubscriptionIdRoute,
|
AppSubscriptionsEditSubscriptionIdRoute,
|
||||||
};
|
}
|
||||||
|
|
||||||
const AppSubscriptionsRouteRouteWithChildren =
|
const AppSubscriptionsRouteRouteWithChildren =
|
||||||
AppSubscriptionsRouteRoute._addFileChildren(
|
AppSubscriptionsRouteRoute._addFileChildren(
|
||||||
AppSubscriptionsRouteRouteChildren
|
AppSubscriptionsRouteRouteChildren,
|
||||||
);
|
)
|
||||||
|
|
||||||
interface AppRouteRouteChildren {
|
interface AppRouteRouteChildren {
|
||||||
AppBangumiRouteRoute: typeof AppBangumiRouteRouteWithChildren;
|
AppBangumiRouteRoute: typeof AppBangumiRouteRouteWithChildren
|
||||||
AppPlaygroundRouteRoute: typeof AppPlaygroundRouteRouteWithChildren;
|
AppCredential3rdRouteRoute: typeof AppCredential3rdRouteRouteWithChildren
|
||||||
AppSettingsRouteRoute: typeof AppSettingsRouteRouteWithChildren;
|
AppPlaygroundRouteRoute: typeof AppPlaygroundRouteRouteWithChildren
|
||||||
AppSubscriptionsRouteRoute: typeof AppSubscriptionsRouteRouteWithChildren;
|
AppSettingsRouteRoute: typeof AppSettingsRouteRouteWithChildren
|
||||||
AppExploreExploreRoute: typeof AppExploreExploreRoute;
|
AppSubscriptionsRouteRoute: typeof AppSubscriptionsRouteRouteWithChildren
|
||||||
AppExploreFeedRoute: typeof AppExploreFeedRoute;
|
AppExploreExploreRoute: typeof AppExploreExploreRoute
|
||||||
|
AppExploreFeedRoute: typeof AppExploreFeedRoute
|
||||||
}
|
}
|
||||||
|
|
||||||
const AppRouteRouteChildren: AppRouteRouteChildren = {
|
const AppRouteRouteChildren: AppRouteRouteChildren = {
|
||||||
AppBangumiRouteRoute: AppBangumiRouteRouteWithChildren,
|
AppBangumiRouteRoute: AppBangumiRouteRouteWithChildren,
|
||||||
|
AppCredential3rdRouteRoute: AppCredential3rdRouteRouteWithChildren,
|
||||||
AppPlaygroundRouteRoute: AppPlaygroundRouteRouteWithChildren,
|
AppPlaygroundRouteRoute: AppPlaygroundRouteRouteWithChildren,
|
||||||
AppSettingsRouteRoute: AppSettingsRouteRouteWithChildren,
|
AppSettingsRouteRoute: AppSettingsRouteRouteWithChildren,
|
||||||
AppSubscriptionsRouteRoute: AppSubscriptionsRouteRouteWithChildren,
|
AppSubscriptionsRouteRoute: AppSubscriptionsRouteRouteWithChildren,
|
||||||
AppExploreExploreRoute: AppExploreExploreRoute,
|
AppExploreExploreRoute: AppExploreExploreRoute,
|
||||||
AppExploreFeedRoute: AppExploreFeedRoute,
|
AppExploreFeedRoute: AppExploreFeedRoute,
|
||||||
};
|
}
|
||||||
|
|
||||||
const AppRouteRouteWithChildren = AppRouteRoute._addFileChildren(
|
const AppRouteRouteWithChildren = AppRouteRoute._addFileChildren(
|
||||||
AppRouteRouteChildren
|
AppRouteRouteChildren,
|
||||||
);
|
)
|
||||||
|
|
||||||
export interface FileRoutesByFullPath {
|
export interface FileRoutesByFullPath {
|
||||||
'/': typeof IndexRoute;
|
'/': typeof IndexRoute
|
||||||
'': typeof AppRouteRouteWithChildren;
|
'': typeof AppRouteRouteWithChildren
|
||||||
'/404': typeof R404Route;
|
'/404': typeof R404Route
|
||||||
'/about': typeof AboutRoute;
|
'/about': typeof AboutRoute
|
||||||
'/bangumi': typeof AppBangumiRouteRouteWithChildren;
|
'/bangumi': typeof AppBangumiRouteRouteWithChildren
|
||||||
'/playground': typeof AppPlaygroundRouteRouteWithChildren;
|
'/credential3rd': typeof AppCredential3rdRouteRouteWithChildren
|
||||||
'/settings': typeof AppSettingsRouteRouteWithChildren;
|
'/playground': typeof AppPlaygroundRouteRouteWithChildren
|
||||||
'/subscriptions': typeof AppSubscriptionsRouteRouteWithChildren;
|
'/settings': typeof AppSettingsRouteRouteWithChildren
|
||||||
'/auth/sign-in': typeof AuthSignInRoute;
|
'/subscriptions': typeof AppSubscriptionsRouteRouteWithChildren
|
||||||
'/auth/sign-up': typeof AuthSignUpRoute;
|
'/auth/sign-in': typeof AuthSignInRoute
|
||||||
'/explore': typeof AppExploreExploreRoute;
|
'/auth/sign-up': typeof AuthSignUpRoute
|
||||||
'/feed': typeof AppExploreFeedRoute;
|
'/explore': typeof AppExploreExploreRoute
|
||||||
'/bangumi/manage': typeof AppBangumiManageRoute;
|
'/feed': typeof AppExploreFeedRoute
|
||||||
'/playground/graphql-api': typeof AppPlaygroundGraphqlApiRoute;
|
'/bangumi/manage': typeof AppBangumiManageRoute
|
||||||
'/settings/downloader': typeof AppSettingsDownloaderRoute;
|
'/credential3rd/create': typeof AppCredential3rdCreateRoute
|
||||||
'/subscriptions/create': typeof AppSubscriptionsCreateRoute;
|
'/credential3rd/manage': typeof AppCredential3rdManageRoute
|
||||||
'/subscriptions/manage': typeof AppSubscriptionsManageRoute;
|
'/playground/graphql-api': typeof AppPlaygroundGraphqlApiRoute
|
||||||
'/auth/oidc/callback': typeof AuthOidcCallbackRoute;
|
'/settings/downloader': typeof AppSettingsDownloaderRoute
|
||||||
'/subscriptions/detail/$subscriptionId': typeof AppSubscriptionsDetailSubscriptionIdRoute;
|
'/subscriptions/create': typeof AppSubscriptionsCreateRoute
|
||||||
'/subscriptions/edit/$subscriptionId': typeof AppSubscriptionsEditSubscriptionIdRoute;
|
'/subscriptions/manage': typeof AppSubscriptionsManageRoute
|
||||||
|
'/auth/oidc/callback': typeof AuthOidcCallbackRoute
|
||||||
|
'/subscriptions/detail/$subscriptionId': typeof AppSubscriptionsDetailSubscriptionIdRoute
|
||||||
|
'/subscriptions/edit/$subscriptionId': typeof AppSubscriptionsEditSubscriptionIdRoute
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FileRoutesByTo {
|
export interface FileRoutesByTo {
|
||||||
'/': typeof IndexRoute;
|
'/': typeof IndexRoute
|
||||||
'': typeof AppRouteRouteWithChildren;
|
'': typeof AppRouteRouteWithChildren
|
||||||
'/404': typeof R404Route;
|
'/404': typeof R404Route
|
||||||
'/about': typeof AboutRoute;
|
'/about': typeof AboutRoute
|
||||||
'/bangumi': typeof AppBangumiRouteRouteWithChildren;
|
'/bangumi': typeof AppBangumiRouteRouteWithChildren
|
||||||
'/playground': typeof AppPlaygroundRouteRouteWithChildren;
|
'/credential3rd': typeof AppCredential3rdRouteRouteWithChildren
|
||||||
'/settings': typeof AppSettingsRouteRouteWithChildren;
|
'/playground': typeof AppPlaygroundRouteRouteWithChildren
|
||||||
'/subscriptions': typeof AppSubscriptionsRouteRouteWithChildren;
|
'/settings': typeof AppSettingsRouteRouteWithChildren
|
||||||
'/auth/sign-in': typeof AuthSignInRoute;
|
'/subscriptions': typeof AppSubscriptionsRouteRouteWithChildren
|
||||||
'/auth/sign-up': typeof AuthSignUpRoute;
|
'/auth/sign-in': typeof AuthSignInRoute
|
||||||
'/explore': typeof AppExploreExploreRoute;
|
'/auth/sign-up': typeof AuthSignUpRoute
|
||||||
'/feed': typeof AppExploreFeedRoute;
|
'/explore': typeof AppExploreExploreRoute
|
||||||
'/bangumi/manage': typeof AppBangumiManageRoute;
|
'/feed': typeof AppExploreFeedRoute
|
||||||
'/playground/graphql-api': typeof AppPlaygroundGraphqlApiRoute;
|
'/bangumi/manage': typeof AppBangumiManageRoute
|
||||||
'/settings/downloader': typeof AppSettingsDownloaderRoute;
|
'/credential3rd/create': typeof AppCredential3rdCreateRoute
|
||||||
'/subscriptions/create': typeof AppSubscriptionsCreateRoute;
|
'/credential3rd/manage': typeof AppCredential3rdManageRoute
|
||||||
'/subscriptions/manage': typeof AppSubscriptionsManageRoute;
|
'/playground/graphql-api': typeof AppPlaygroundGraphqlApiRoute
|
||||||
'/auth/oidc/callback': typeof AuthOidcCallbackRoute;
|
'/settings/downloader': typeof AppSettingsDownloaderRoute
|
||||||
'/subscriptions/detail/$subscriptionId': typeof AppSubscriptionsDetailSubscriptionIdRoute;
|
'/subscriptions/create': typeof AppSubscriptionsCreateRoute
|
||||||
'/subscriptions/edit/$subscriptionId': typeof AppSubscriptionsEditSubscriptionIdRoute;
|
'/subscriptions/manage': typeof AppSubscriptionsManageRoute
|
||||||
|
'/auth/oidc/callback': typeof AuthOidcCallbackRoute
|
||||||
|
'/subscriptions/detail/$subscriptionId': typeof AppSubscriptionsDetailSubscriptionIdRoute
|
||||||
|
'/subscriptions/edit/$subscriptionId': typeof AppSubscriptionsEditSubscriptionIdRoute
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FileRoutesById {
|
export interface FileRoutesById {
|
||||||
__root__: typeof rootRoute;
|
__root__: typeof rootRoute
|
||||||
'/': typeof IndexRoute;
|
'/': typeof IndexRoute
|
||||||
'/_app': typeof AppRouteRouteWithChildren;
|
'/_app': typeof AppRouteRouteWithChildren
|
||||||
'/404': typeof R404Route;
|
'/404': typeof R404Route
|
||||||
'/about': typeof AboutRoute;
|
'/about': typeof AboutRoute
|
||||||
'/_app/bangumi': typeof AppBangumiRouteRouteWithChildren;
|
'/_app/bangumi': typeof AppBangumiRouteRouteWithChildren
|
||||||
'/_app/playground': typeof AppPlaygroundRouteRouteWithChildren;
|
'/_app/credential3rd': typeof AppCredential3rdRouteRouteWithChildren
|
||||||
'/_app/settings': typeof AppSettingsRouteRouteWithChildren;
|
'/_app/playground': typeof AppPlaygroundRouteRouteWithChildren
|
||||||
'/_app/subscriptions': typeof AppSubscriptionsRouteRouteWithChildren;
|
'/_app/settings': typeof AppSettingsRouteRouteWithChildren
|
||||||
'/auth/sign-in': typeof AuthSignInRoute;
|
'/_app/subscriptions': typeof AppSubscriptionsRouteRouteWithChildren
|
||||||
'/auth/sign-up': typeof AuthSignUpRoute;
|
'/auth/sign-in': typeof AuthSignInRoute
|
||||||
'/_app/_explore/explore': typeof AppExploreExploreRoute;
|
'/auth/sign-up': typeof AuthSignUpRoute
|
||||||
'/_app/_explore/feed': typeof AppExploreFeedRoute;
|
'/_app/_explore/explore': typeof AppExploreExploreRoute
|
||||||
'/_app/bangumi/manage': typeof AppBangumiManageRoute;
|
'/_app/_explore/feed': typeof AppExploreFeedRoute
|
||||||
'/_app/playground/graphql-api': typeof AppPlaygroundGraphqlApiRoute;
|
'/_app/bangumi/manage': typeof AppBangumiManageRoute
|
||||||
'/_app/settings/downloader': typeof AppSettingsDownloaderRoute;
|
'/_app/credential3rd/create': typeof AppCredential3rdCreateRoute
|
||||||
'/_app/subscriptions/create': typeof AppSubscriptionsCreateRoute;
|
'/_app/credential3rd/manage': typeof AppCredential3rdManageRoute
|
||||||
'/_app/subscriptions/manage': typeof AppSubscriptionsManageRoute;
|
'/_app/playground/graphql-api': typeof AppPlaygroundGraphqlApiRoute
|
||||||
'/auth/oidc/callback': typeof AuthOidcCallbackRoute;
|
'/_app/settings/downloader': typeof AppSettingsDownloaderRoute
|
||||||
'/_app/subscriptions/detail/$subscriptionId': typeof AppSubscriptionsDetailSubscriptionIdRoute;
|
'/_app/subscriptions/create': typeof AppSubscriptionsCreateRoute
|
||||||
'/_app/subscriptions/edit/$subscriptionId': typeof AppSubscriptionsEditSubscriptionIdRoute;
|
'/_app/subscriptions/manage': typeof AppSubscriptionsManageRoute
|
||||||
|
'/auth/oidc/callback': typeof AuthOidcCallbackRoute
|
||||||
|
'/_app/subscriptions/detail/$subscriptionId': typeof AppSubscriptionsDetailSubscriptionIdRoute
|
||||||
|
'/_app/subscriptions/edit/$subscriptionId': typeof AppSubscriptionsEditSubscriptionIdRoute
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FileRouteTypes {
|
export interface FileRouteTypes {
|
||||||
fileRoutesByFullPath: FileRoutesByFullPath;
|
fileRoutesByFullPath: FileRoutesByFullPath
|
||||||
fullPaths:
|
fullPaths:
|
||||||
| '/'
|
| '/'
|
||||||
| ''
|
| ''
|
||||||
| '/404'
|
| '/404'
|
||||||
| '/about'
|
| '/about'
|
||||||
| '/bangumi'
|
| '/bangumi'
|
||||||
|
| '/credential3rd'
|
||||||
| '/playground'
|
| '/playground'
|
||||||
| '/settings'
|
| '/settings'
|
||||||
| '/subscriptions'
|
| '/subscriptions'
|
||||||
@ -469,20 +538,23 @@ export interface FileRouteTypes {
|
|||||||
| '/explore'
|
| '/explore'
|
||||||
| '/feed'
|
| '/feed'
|
||||||
| '/bangumi/manage'
|
| '/bangumi/manage'
|
||||||
|
| '/credential3rd/create'
|
||||||
|
| '/credential3rd/manage'
|
||||||
| '/playground/graphql-api'
|
| '/playground/graphql-api'
|
||||||
| '/settings/downloader'
|
| '/settings/downloader'
|
||||||
| '/subscriptions/create'
|
| '/subscriptions/create'
|
||||||
| '/subscriptions/manage'
|
| '/subscriptions/manage'
|
||||||
| '/auth/oidc/callback'
|
| '/auth/oidc/callback'
|
||||||
| '/subscriptions/detail/$subscriptionId'
|
| '/subscriptions/detail/$subscriptionId'
|
||||||
| '/subscriptions/edit/$subscriptionId';
|
| '/subscriptions/edit/$subscriptionId'
|
||||||
fileRoutesByTo: FileRoutesByTo;
|
fileRoutesByTo: FileRoutesByTo
|
||||||
to:
|
to:
|
||||||
| '/'
|
| '/'
|
||||||
| ''
|
| ''
|
||||||
| '/404'
|
| '/404'
|
||||||
| '/about'
|
| '/about'
|
||||||
| '/bangumi'
|
| '/bangumi'
|
||||||
|
| '/credential3rd'
|
||||||
| '/playground'
|
| '/playground'
|
||||||
| '/settings'
|
| '/settings'
|
||||||
| '/subscriptions'
|
| '/subscriptions'
|
||||||
@ -491,13 +563,15 @@ export interface FileRouteTypes {
|
|||||||
| '/explore'
|
| '/explore'
|
||||||
| '/feed'
|
| '/feed'
|
||||||
| '/bangumi/manage'
|
| '/bangumi/manage'
|
||||||
|
| '/credential3rd/create'
|
||||||
|
| '/credential3rd/manage'
|
||||||
| '/playground/graphql-api'
|
| '/playground/graphql-api'
|
||||||
| '/settings/downloader'
|
| '/settings/downloader'
|
||||||
| '/subscriptions/create'
|
| '/subscriptions/create'
|
||||||
| '/subscriptions/manage'
|
| '/subscriptions/manage'
|
||||||
| '/auth/oidc/callback'
|
| '/auth/oidc/callback'
|
||||||
| '/subscriptions/detail/$subscriptionId'
|
| '/subscriptions/detail/$subscriptionId'
|
||||||
| '/subscriptions/edit/$subscriptionId';
|
| '/subscriptions/edit/$subscriptionId'
|
||||||
id:
|
id:
|
||||||
| '__root__'
|
| '__root__'
|
||||||
| '/'
|
| '/'
|
||||||
@ -505,6 +579,7 @@ export interface FileRouteTypes {
|
|||||||
| '/404'
|
| '/404'
|
||||||
| '/about'
|
| '/about'
|
||||||
| '/_app/bangumi'
|
| '/_app/bangumi'
|
||||||
|
| '/_app/credential3rd'
|
||||||
| '/_app/playground'
|
| '/_app/playground'
|
||||||
| '/_app/settings'
|
| '/_app/settings'
|
||||||
| '/_app/subscriptions'
|
| '/_app/subscriptions'
|
||||||
@ -513,24 +588,26 @@ export interface FileRouteTypes {
|
|||||||
| '/_app/_explore/explore'
|
| '/_app/_explore/explore'
|
||||||
| '/_app/_explore/feed'
|
| '/_app/_explore/feed'
|
||||||
| '/_app/bangumi/manage'
|
| '/_app/bangumi/manage'
|
||||||
|
| '/_app/credential3rd/create'
|
||||||
|
| '/_app/credential3rd/manage'
|
||||||
| '/_app/playground/graphql-api'
|
| '/_app/playground/graphql-api'
|
||||||
| '/_app/settings/downloader'
|
| '/_app/settings/downloader'
|
||||||
| '/_app/subscriptions/create'
|
| '/_app/subscriptions/create'
|
||||||
| '/_app/subscriptions/manage'
|
| '/_app/subscriptions/manage'
|
||||||
| '/auth/oidc/callback'
|
| '/auth/oidc/callback'
|
||||||
| '/_app/subscriptions/detail/$subscriptionId'
|
| '/_app/subscriptions/detail/$subscriptionId'
|
||||||
| '/_app/subscriptions/edit/$subscriptionId';
|
| '/_app/subscriptions/edit/$subscriptionId'
|
||||||
fileRoutesById: FileRoutesById;
|
fileRoutesById: FileRoutesById
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface RootRouteChildren {
|
export interface RootRouteChildren {
|
||||||
IndexRoute: typeof IndexRoute;
|
IndexRoute: typeof IndexRoute
|
||||||
AppRouteRoute: typeof AppRouteRouteWithChildren;
|
AppRouteRoute: typeof AppRouteRouteWithChildren
|
||||||
R404Route: typeof R404Route;
|
R404Route: typeof R404Route
|
||||||
AboutRoute: typeof AboutRoute;
|
AboutRoute: typeof AboutRoute
|
||||||
AuthSignInRoute: typeof AuthSignInRoute;
|
AuthSignInRoute: typeof AuthSignInRoute
|
||||||
AuthSignUpRoute: typeof AuthSignUpRoute;
|
AuthSignUpRoute: typeof AuthSignUpRoute
|
||||||
AuthOidcCallbackRoute: typeof AuthOidcCallbackRoute;
|
AuthOidcCallbackRoute: typeof AuthOidcCallbackRoute
|
||||||
}
|
}
|
||||||
|
|
||||||
const rootRouteChildren: RootRouteChildren = {
|
const rootRouteChildren: RootRouteChildren = {
|
||||||
@ -541,11 +618,11 @@ const rootRouteChildren: RootRouteChildren = {
|
|||||||
AuthSignInRoute: AuthSignInRoute,
|
AuthSignInRoute: AuthSignInRoute,
|
||||||
AuthSignUpRoute: AuthSignUpRoute,
|
AuthSignUpRoute: AuthSignUpRoute,
|
||||||
AuthOidcCallbackRoute: AuthOidcCallbackRoute,
|
AuthOidcCallbackRoute: AuthOidcCallbackRoute,
|
||||||
};
|
}
|
||||||
|
|
||||||
export const routeTree = rootRoute
|
export const routeTree = rootRoute
|
||||||
._addFileChildren(rootRouteChildren)
|
._addFileChildren(rootRouteChildren)
|
||||||
._addFileTypes<FileRouteTypes>();
|
._addFileTypes<FileRouteTypes>()
|
||||||
|
|
||||||
/* ROUTE_MANIFEST_START
|
/* ROUTE_MANIFEST_START
|
||||||
{
|
{
|
||||||
@ -569,6 +646,7 @@ export const routeTree = rootRoute
|
|||||||
"filePath": "_app/route.tsx",
|
"filePath": "_app/route.tsx",
|
||||||
"children": [
|
"children": [
|
||||||
"/_app/bangumi",
|
"/_app/bangumi",
|
||||||
|
"/_app/credential3rd",
|
||||||
"/_app/playground",
|
"/_app/playground",
|
||||||
"/_app/settings",
|
"/_app/settings",
|
||||||
"/_app/subscriptions",
|
"/_app/subscriptions",
|
||||||
@ -589,6 +667,14 @@ export const routeTree = rootRoute
|
|||||||
"/_app/bangumi/manage"
|
"/_app/bangumi/manage"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"/_app/credential3rd": {
|
||||||
|
"filePath": "_app/credential3rd/route.tsx",
|
||||||
|
"parent": "/_app",
|
||||||
|
"children": [
|
||||||
|
"/_app/credential3rd/create",
|
||||||
|
"/_app/credential3rd/manage"
|
||||||
|
]
|
||||||
|
},
|
||||||
"/_app/playground": {
|
"/_app/playground": {
|
||||||
"filePath": "_app/playground/route.tsx",
|
"filePath": "_app/playground/route.tsx",
|
||||||
"parent": "/_app",
|
"parent": "/_app",
|
||||||
@ -631,6 +717,14 @@ export const routeTree = rootRoute
|
|||||||
"filePath": "_app/bangumi/manage.tsx",
|
"filePath": "_app/bangumi/manage.tsx",
|
||||||
"parent": "/_app/bangumi"
|
"parent": "/_app/bangumi"
|
||||||
},
|
},
|
||||||
|
"/_app/credential3rd/create": {
|
||||||
|
"filePath": "_app/credential3rd/create.tsx",
|
||||||
|
"parent": "/_app/credential3rd"
|
||||||
|
},
|
||||||
|
"/_app/credential3rd/manage": {
|
||||||
|
"filePath": "_app/credential3rd/manage.tsx",
|
||||||
|
"parent": "/_app/credential3rd"
|
||||||
|
},
|
||||||
"/_app/playground/graphql-api": {
|
"/_app/playground/graphql-api": {
|
||||||
"filePath": "_app/playground/graphql-api.tsx",
|
"filePath": "_app/playground/graphql-api.tsx",
|
||||||
"parent": "/_app/playground"
|
"parent": "/_app/playground"
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
import { createFileRoute } from '@tanstack/react-router';
|
||||||
|
|
||||||
|
export const Route = createFileRoute('/_app/credential3rd/create')({
|
||||||
|
component: CredentialCreateRouteComponent,
|
||||||
|
});
|
||||||
|
|
||||||
|
function CredentialCreateRouteComponent() {
|
||||||
|
return <div>Hello "/_app/credential/create"!</div>;
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
import { createFileRoute } from '@tanstack/react-router';
|
||||||
|
|
||||||
|
export const Route = createFileRoute('/_app/credential3rd/manage')({
|
||||||
|
component: CredentialManageRouteComponent,
|
||||||
|
});
|
||||||
|
|
||||||
|
function CredentialManageRouteComponent() {
|
||||||
|
return <div>Hello "/_app/credential/manage"!</div>;
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
import { buildVirtualBranchRouteOptions } from '@/infra/routes/utils';
|
||||||
|
import { createFileRoute } from '@tanstack/react-router';
|
||||||
|
|
||||||
|
export const Route = createFileRoute('/_app/credential3rd')(
|
||||||
|
buildVirtualBranchRouteOptions({
|
||||||
|
title: 'Credential',
|
||||||
|
})
|
||||||
|
);
|
@ -1,7 +1,7 @@
|
|||||||
import type { GetSubscriptionDetailQuery } from '@/infra/graphql/gql/graphql';
|
import type { GetSubscriptionDetailQuery } from '@/infra/graphql/gql/graphql';
|
||||||
import { useQuery } from '@apollo/client';
|
import { useQuery } from '@apollo/client';
|
||||||
import { createFileRoute } from '@tanstack/react-router';
|
import { createFileRoute } from '@tanstack/react-router';
|
||||||
import { GET_SUBSCRIPTION_DETAIL } from './-defs.ts';
|
import { GET_SUBSCRIPTION_DETAIL } from '../../../../domains/recorder/graphql/subscriptions.js';
|
||||||
|
|
||||||
export const Route = createFileRoute(
|
export const Route = createFileRoute(
|
||||||
'/_app/subscriptions/detail/$subscriptionId'
|
'/_app/subscriptions/detail/$subscriptionId'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { DataTablePagination } from '@/components/ui/data-table-pagination';
|
import { DataTablePagination } from '@/components/ui/data-table-pagination';
|
||||||
import { DataTableViewOptions } from '@/components/ui/data-table-view-options';
|
import { DataTableViewOptions } from '@/components/ui/data-table-view-options';
|
||||||
import { QueryErrorView } from '@/components/ui/query-error-view.tsx';
|
import { QueryErrorView } from '@/components/ui/query-error-view';
|
||||||
import { Skeleton } from '@/components/ui/skeleton.tsx';
|
import { Skeleton } from '@/components/ui/skeleton';
|
||||||
import { Switch } from '@/components/ui/switch';
|
import { Switch } from '@/components/ui/switch';
|
||||||
import {
|
import {
|
||||||
Table,
|
Table,
|
||||||
@ -16,8 +16,8 @@ import type {
|
|||||||
SubscriptionsUpdateInput,
|
SubscriptionsUpdateInput,
|
||||||
} from '@/infra/graphql/gql/graphql';
|
} from '@/infra/graphql/gql/graphql';
|
||||||
import type { RouteStateDataOption } from '@/infra/routes/traits';
|
import type { RouteStateDataOption } from '@/infra/routes/traits';
|
||||||
import { useDebouncedSkeleton } from '@/presentation/hooks/use-debounded-skeleton.ts';
|
import { useDebouncedSkeleton } from '@/presentation/hooks/use-debounded-skeleton';
|
||||||
import { useEvent } from '@/presentation/hooks/use-event.ts';
|
import { useEvent } from '@/presentation/hooks/use-event';
|
||||||
import { useMutation, useQuery } from '@apollo/client';
|
import { useMutation, useQuery } from '@apollo/client';
|
||||||
import { createFileRoute } from '@tanstack/react-router';
|
import { createFileRoute } from '@tanstack/react-router';
|
||||||
import { useNavigate } from '@tanstack/react-router';
|
import { useNavigate } from '@tanstack/react-router';
|
||||||
@ -34,13 +34,13 @@ import {
|
|||||||
} from '@tanstack/react-table';
|
} from '@tanstack/react-table';
|
||||||
import { useMemo, useState } from 'react';
|
import { useMemo, useState } from 'react';
|
||||||
import { toast } from 'sonner';
|
import { toast } from 'sonner';
|
||||||
import { DataTableRowActions } from '../../../../components/ui/data-table-row-actions.tsx';
|
import { DataTableRowActions } from '../../../../components/ui/data-table-row-actions';
|
||||||
import {
|
import {
|
||||||
DELETE_SUBSCRIPTIONS,
|
DELETE_SUBSCRIPTIONS,
|
||||||
GET_SUBSCRIPTIONS,
|
GET_SUBSCRIPTIONS,
|
||||||
type SubscriptionDto,
|
type SubscriptionDto,
|
||||||
UPDATE_SUBSCRIPTIONS,
|
UPDATE_SUBSCRIPTIONS,
|
||||||
} from './-defs.ts';
|
} from '../../../../domains/recorder/graphql/subscriptions.js';
|
||||||
|
|
||||||
export const Route = createFileRoute('/_app/subscriptions/manage')({
|
export const Route = createFileRoute('/_app/subscriptions/manage')({
|
||||||
component: SubscriptionManageRouteComponent,
|
component: SubscriptionManageRouteComponent,
|
||||||
|
@ -1,689 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
|
|
||||||
// @ts-nocheck
|
|
||||||
|
|
||||||
// noinspection JSUnusedGlobalSymbols
|
|
||||||
|
|
||||||
// This file was automatically generated by TanStack Router.
|
|
||||||
// You should NOT make any changes in this file as it will be overwritten.
|
|
||||||
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
||||||
|
|
||||||
// Import Routes
|
|
||||||
|
|
||||||
import { Route as rootRoute } from './__root'
|
|
||||||
import { Route as AboutImport } from './about'
|
|
||||||
import { Route as R404Import } from './404'
|
|
||||||
import { Route as AppRouteImport } from './_app/route'
|
|
||||||
import { Route as IndexImport } from './index'
|
|
||||||
import { Route as RouteTreeGenImport } from './routeTree.gen'
|
|
||||||
import { Route as AuthSignUpImport } from './auth/sign-up'
|
|
||||||
import { Route as AuthSignInImport } from './auth/sign-in'
|
|
||||||
import { Route as AppSubscriptionsRouteImport } from './_app/subscriptions/route'
|
|
||||||
import { Route as AppSettingsRouteImport } from './_app/settings/route'
|
|
||||||
import { Route as AppPlaygroundRouteImport } from './_app/playground/route'
|
|
||||||
import { Route as AppBangumiRouteImport } from './_app/bangumi/route'
|
|
||||||
import { Route as AuthOidcCallbackImport } from './auth/oidc/callback'
|
|
||||||
import { Route as AppSubscriptionsManageImport } from './_app/subscriptions/manage'
|
|
||||||
import { Route as AppSubscriptionsCreateImport } from './_app/subscriptions/create'
|
|
||||||
import { Route as AppSettingsDownloaderImport } from './_app/settings/downloader'
|
|
||||||
import { Route as AppPlaygroundGraphqlApiImport } from './_app/playground/graphql-api'
|
|
||||||
import { Route as AppBangumiManageImport } from './_app/bangumi/manage'
|
|
||||||
import { Route as AppExploreFeedImport } from './_app/_explore/feed'
|
|
||||||
import { Route as AppExploreExploreImport } from './_app/_explore/explore'
|
|
||||||
import { Route as AppSubscriptionsEditSubscriptionIdImport } from './_app/subscriptions/edit.$subscriptionId'
|
|
||||||
import { Route as AppSubscriptionsDetailSubscriptionIdImport } from './_app/subscriptions/detail.$subscriptionId'
|
|
||||||
|
|
||||||
// Create/Update Routes
|
|
||||||
|
|
||||||
const AboutRoute = AboutImport.update({
|
|
||||||
id: '/about',
|
|
||||||
path: '/about',
|
|
||||||
getParentRoute: () => rootRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const R404Route = R404Import.update({
|
|
||||||
id: '/404',
|
|
||||||
path: '/404',
|
|
||||||
getParentRoute: () => rootRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppRouteRoute = AppRouteImport.update({
|
|
||||||
id: '/_app',
|
|
||||||
getParentRoute: () => rootRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const IndexRoute = IndexImport.update({
|
|
||||||
id: '/',
|
|
||||||
path: '/',
|
|
||||||
getParentRoute: () => rootRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const RouteTreeGenRoute = RouteTreeGenImport.update({
|
|
||||||
id: '/routeTree/gen',
|
|
||||||
path: '/routeTree/gen',
|
|
||||||
getParentRoute: () => rootRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AuthSignUpRoute = AuthSignUpImport.update({
|
|
||||||
id: '/auth/sign-up',
|
|
||||||
path: '/auth/sign-up',
|
|
||||||
getParentRoute: () => rootRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AuthSignInRoute = AuthSignInImport.update({
|
|
||||||
id: '/auth/sign-in',
|
|
||||||
path: '/auth/sign-in',
|
|
||||||
getParentRoute: () => rootRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppSubscriptionsRouteRoute = AppSubscriptionsRouteImport.update({
|
|
||||||
id: '/subscriptions',
|
|
||||||
path: '/subscriptions',
|
|
||||||
getParentRoute: () => AppRouteRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppSettingsRouteRoute = AppSettingsRouteImport.update({
|
|
||||||
id: '/settings',
|
|
||||||
path: '/settings',
|
|
||||||
getParentRoute: () => AppRouteRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppPlaygroundRouteRoute = AppPlaygroundRouteImport.update({
|
|
||||||
id: '/playground',
|
|
||||||
path: '/playground',
|
|
||||||
getParentRoute: () => AppRouteRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppBangumiRouteRoute = AppBangumiRouteImport.update({
|
|
||||||
id: '/bangumi',
|
|
||||||
path: '/bangumi',
|
|
||||||
getParentRoute: () => AppRouteRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AuthOidcCallbackRoute = AuthOidcCallbackImport.update({
|
|
||||||
id: '/auth/oidc/callback',
|
|
||||||
path: '/auth/oidc/callback',
|
|
||||||
getParentRoute: () => rootRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppSubscriptionsManageRoute = AppSubscriptionsManageImport.update({
|
|
||||||
id: '/manage',
|
|
||||||
path: '/manage',
|
|
||||||
getParentRoute: () => AppSubscriptionsRouteRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppSubscriptionsCreateRoute = AppSubscriptionsCreateImport.update({
|
|
||||||
id: '/create',
|
|
||||||
path: '/create',
|
|
||||||
getParentRoute: () => AppSubscriptionsRouteRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppSettingsDownloaderRoute = AppSettingsDownloaderImport.update({
|
|
||||||
id: '/downloader',
|
|
||||||
path: '/downloader',
|
|
||||||
getParentRoute: () => AppSettingsRouteRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppPlaygroundGraphqlApiRoute = AppPlaygroundGraphqlApiImport.update({
|
|
||||||
id: '/graphql-api',
|
|
||||||
path: '/graphql-api',
|
|
||||||
getParentRoute: () => AppPlaygroundRouteRoute,
|
|
||||||
} as any).lazy(() =>
|
|
||||||
import('./_app/playground/graphql-api.lazy').then((d) => d.Route),
|
|
||||||
)
|
|
||||||
|
|
||||||
const AppBangumiManageRoute = AppBangumiManageImport.update({
|
|
||||||
id: '/manage',
|
|
||||||
path: '/manage',
|
|
||||||
getParentRoute: () => AppBangumiRouteRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppExploreFeedRoute = AppExploreFeedImport.update({
|
|
||||||
id: '/_explore/feed',
|
|
||||||
path: '/feed',
|
|
||||||
getParentRoute: () => AppRouteRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppExploreExploreRoute = AppExploreExploreImport.update({
|
|
||||||
id: '/_explore/explore',
|
|
||||||
path: '/explore',
|
|
||||||
getParentRoute: () => AppRouteRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppSubscriptionsEditSubscriptionIdRoute =
|
|
||||||
AppSubscriptionsEditSubscriptionIdImport.update({
|
|
||||||
id: '/edit/$subscriptionId',
|
|
||||||
path: '/edit/$subscriptionId',
|
|
||||||
getParentRoute: () => AppSubscriptionsRouteRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AppSubscriptionsDetailSubscriptionIdRoute =
|
|
||||||
AppSubscriptionsDetailSubscriptionIdImport.update({
|
|
||||||
id: '/detail/$subscriptionId',
|
|
||||||
path: '/detail/$subscriptionId',
|
|
||||||
getParentRoute: () => AppSubscriptionsRouteRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
// Populate the FileRoutesByPath interface
|
|
||||||
|
|
||||||
declare module '@tanstack/react-router' {
|
|
||||||
interface FileRoutesByPath {
|
|
||||||
'/': {
|
|
||||||
id: '/'
|
|
||||||
path: '/'
|
|
||||||
fullPath: '/'
|
|
||||||
preLoaderRoute: typeof IndexImport
|
|
||||||
parentRoute: typeof rootRoute
|
|
||||||
}
|
|
||||||
'/_app': {
|
|
||||||
id: '/_app'
|
|
||||||
path: ''
|
|
||||||
fullPath: ''
|
|
||||||
preLoaderRoute: typeof AppRouteImport
|
|
||||||
parentRoute: typeof rootRoute
|
|
||||||
}
|
|
||||||
'/404': {
|
|
||||||
id: '/404'
|
|
||||||
path: '/404'
|
|
||||||
fullPath: '/404'
|
|
||||||
preLoaderRoute: typeof R404Import
|
|
||||||
parentRoute: typeof rootRoute
|
|
||||||
}
|
|
||||||
'/about': {
|
|
||||||
id: '/about'
|
|
||||||
path: '/about'
|
|
||||||
fullPath: '/about'
|
|
||||||
preLoaderRoute: typeof AboutImport
|
|
||||||
parentRoute: typeof rootRoute
|
|
||||||
}
|
|
||||||
'/_app/bangumi': {
|
|
||||||
id: '/_app/bangumi'
|
|
||||||
path: '/bangumi'
|
|
||||||
fullPath: '/bangumi'
|
|
||||||
preLoaderRoute: typeof AppBangumiRouteImport
|
|
||||||
parentRoute: typeof AppRouteImport
|
|
||||||
}
|
|
||||||
'/_app/playground': {
|
|
||||||
id: '/_app/playground'
|
|
||||||
path: '/playground'
|
|
||||||
fullPath: '/playground'
|
|
||||||
preLoaderRoute: typeof AppPlaygroundRouteImport
|
|
||||||
parentRoute: typeof AppRouteImport
|
|
||||||
}
|
|
||||||
'/_app/settings': {
|
|
||||||
id: '/_app/settings'
|
|
||||||
path: '/settings'
|
|
||||||
fullPath: '/settings'
|
|
||||||
preLoaderRoute: typeof AppSettingsRouteImport
|
|
||||||
parentRoute: typeof AppRouteImport
|
|
||||||
}
|
|
||||||
'/_app/subscriptions': {
|
|
||||||
id: '/_app/subscriptions'
|
|
||||||
path: '/subscriptions'
|
|
||||||
fullPath: '/subscriptions'
|
|
||||||
preLoaderRoute: typeof AppSubscriptionsRouteImport
|
|
||||||
parentRoute: typeof AppRouteImport
|
|
||||||
}
|
|
||||||
'/auth/sign-in': {
|
|
||||||
id: '/auth/sign-in'
|
|
||||||
path: '/auth/sign-in'
|
|
||||||
fullPath: '/auth/sign-in'
|
|
||||||
preLoaderRoute: typeof AuthSignInImport
|
|
||||||
parentRoute: typeof rootRoute
|
|
||||||
}
|
|
||||||
'/auth/sign-up': {
|
|
||||||
id: '/auth/sign-up'
|
|
||||||
path: '/auth/sign-up'
|
|
||||||
fullPath: '/auth/sign-up'
|
|
||||||
preLoaderRoute: typeof AuthSignUpImport
|
|
||||||
parentRoute: typeof rootRoute
|
|
||||||
}
|
|
||||||
'/routeTree/gen': {
|
|
||||||
id: '/routeTree/gen'
|
|
||||||
path: '/routeTree/gen'
|
|
||||||
fullPath: '/routeTree/gen'
|
|
||||||
preLoaderRoute: typeof RouteTreeGenImport
|
|
||||||
parentRoute: typeof rootRoute
|
|
||||||
}
|
|
||||||
'/_app/_explore/explore': {
|
|
||||||
id: '/_app/_explore/explore'
|
|
||||||
path: '/explore'
|
|
||||||
fullPath: '/explore'
|
|
||||||
preLoaderRoute: typeof AppExploreExploreImport
|
|
||||||
parentRoute: typeof AppRouteImport
|
|
||||||
}
|
|
||||||
'/_app/_explore/feed': {
|
|
||||||
id: '/_app/_explore/feed'
|
|
||||||
path: '/feed'
|
|
||||||
fullPath: '/feed'
|
|
||||||
preLoaderRoute: typeof AppExploreFeedImport
|
|
||||||
parentRoute: typeof AppRouteImport
|
|
||||||
}
|
|
||||||
'/_app/bangumi/manage': {
|
|
||||||
id: '/_app/bangumi/manage'
|
|
||||||
path: '/manage'
|
|
||||||
fullPath: '/bangumi/manage'
|
|
||||||
preLoaderRoute: typeof AppBangumiManageImport
|
|
||||||
parentRoute: typeof AppBangumiRouteImport
|
|
||||||
}
|
|
||||||
'/_app/playground/graphql-api': {
|
|
||||||
id: '/_app/playground/graphql-api'
|
|
||||||
path: '/graphql-api'
|
|
||||||
fullPath: '/playground/graphql-api'
|
|
||||||
preLoaderRoute: typeof AppPlaygroundGraphqlApiImport
|
|
||||||
parentRoute: typeof AppPlaygroundRouteImport
|
|
||||||
}
|
|
||||||
'/_app/settings/downloader': {
|
|
||||||
id: '/_app/settings/downloader'
|
|
||||||
path: '/downloader'
|
|
||||||
fullPath: '/settings/downloader'
|
|
||||||
preLoaderRoute: typeof AppSettingsDownloaderImport
|
|
||||||
parentRoute: typeof AppSettingsRouteImport
|
|
||||||
}
|
|
||||||
'/_app/subscriptions/create': {
|
|
||||||
id: '/_app/subscriptions/create'
|
|
||||||
path: '/create'
|
|
||||||
fullPath: '/subscriptions/create'
|
|
||||||
preLoaderRoute: typeof AppSubscriptionsCreateImport
|
|
||||||
parentRoute: typeof AppSubscriptionsRouteImport
|
|
||||||
}
|
|
||||||
'/_app/subscriptions/manage': {
|
|
||||||
id: '/_app/subscriptions/manage'
|
|
||||||
path: '/manage'
|
|
||||||
fullPath: '/subscriptions/manage'
|
|
||||||
preLoaderRoute: typeof AppSubscriptionsManageImport
|
|
||||||
parentRoute: typeof AppSubscriptionsRouteImport
|
|
||||||
}
|
|
||||||
'/auth/oidc/callback': {
|
|
||||||
id: '/auth/oidc/callback'
|
|
||||||
path: '/auth/oidc/callback'
|
|
||||||
fullPath: '/auth/oidc/callback'
|
|
||||||
preLoaderRoute: typeof AuthOidcCallbackImport
|
|
||||||
parentRoute: typeof rootRoute
|
|
||||||
}
|
|
||||||
'/_app/subscriptions/detail/$subscriptionId': {
|
|
||||||
id: '/_app/subscriptions/detail/$subscriptionId'
|
|
||||||
path: '/detail/$subscriptionId'
|
|
||||||
fullPath: '/subscriptions/detail/$subscriptionId'
|
|
||||||
preLoaderRoute: typeof AppSubscriptionsDetailSubscriptionIdImport
|
|
||||||
parentRoute: typeof AppSubscriptionsRouteImport
|
|
||||||
}
|
|
||||||
'/_app/subscriptions/edit/$subscriptionId': {
|
|
||||||
id: '/_app/subscriptions/edit/$subscriptionId'
|
|
||||||
path: '/edit/$subscriptionId'
|
|
||||||
fullPath: '/subscriptions/edit/$subscriptionId'
|
|
||||||
preLoaderRoute: typeof AppSubscriptionsEditSubscriptionIdImport
|
|
||||||
parentRoute: typeof AppSubscriptionsRouteImport
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Create and export the route tree
|
|
||||||
|
|
||||||
interface AppBangumiRouteRouteChildren {
|
|
||||||
AppBangumiManageRoute: typeof AppBangumiManageRoute
|
|
||||||
}
|
|
||||||
|
|
||||||
const AppBangumiRouteRouteChildren: AppBangumiRouteRouteChildren = {
|
|
||||||
AppBangumiManageRoute: AppBangumiManageRoute,
|
|
||||||
}
|
|
||||||
|
|
||||||
const AppBangumiRouteRouteWithChildren = AppBangumiRouteRoute._addFileChildren(
|
|
||||||
AppBangumiRouteRouteChildren,
|
|
||||||
)
|
|
||||||
|
|
||||||
interface AppPlaygroundRouteRouteChildren {
|
|
||||||
AppPlaygroundGraphqlApiRoute: typeof AppPlaygroundGraphqlApiRoute
|
|
||||||
}
|
|
||||||
|
|
||||||
const AppPlaygroundRouteRouteChildren: AppPlaygroundRouteRouteChildren = {
|
|
||||||
AppPlaygroundGraphqlApiRoute: AppPlaygroundGraphqlApiRoute,
|
|
||||||
}
|
|
||||||
|
|
||||||
const AppPlaygroundRouteRouteWithChildren =
|
|
||||||
AppPlaygroundRouteRoute._addFileChildren(AppPlaygroundRouteRouteChildren)
|
|
||||||
|
|
||||||
interface AppSettingsRouteRouteChildren {
|
|
||||||
AppSettingsDownloaderRoute: typeof AppSettingsDownloaderRoute
|
|
||||||
}
|
|
||||||
|
|
||||||
const AppSettingsRouteRouteChildren: AppSettingsRouteRouteChildren = {
|
|
||||||
AppSettingsDownloaderRoute: AppSettingsDownloaderRoute,
|
|
||||||
}
|
|
||||||
|
|
||||||
const AppSettingsRouteRouteWithChildren =
|
|
||||||
AppSettingsRouteRoute._addFileChildren(AppSettingsRouteRouteChildren)
|
|
||||||
|
|
||||||
interface AppSubscriptionsRouteRouteChildren {
|
|
||||||
AppSubscriptionsCreateRoute: typeof AppSubscriptionsCreateRoute
|
|
||||||
AppSubscriptionsManageRoute: typeof AppSubscriptionsManageRoute
|
|
||||||
AppSubscriptionsDetailSubscriptionIdRoute: typeof AppSubscriptionsDetailSubscriptionIdRoute
|
|
||||||
AppSubscriptionsEditSubscriptionIdRoute: typeof AppSubscriptionsEditSubscriptionIdRoute
|
|
||||||
}
|
|
||||||
|
|
||||||
const AppSubscriptionsRouteRouteChildren: AppSubscriptionsRouteRouteChildren = {
|
|
||||||
AppSubscriptionsCreateRoute: AppSubscriptionsCreateRoute,
|
|
||||||
AppSubscriptionsManageRoute: AppSubscriptionsManageRoute,
|
|
||||||
AppSubscriptionsDetailSubscriptionIdRoute:
|
|
||||||
AppSubscriptionsDetailSubscriptionIdRoute,
|
|
||||||
AppSubscriptionsEditSubscriptionIdRoute:
|
|
||||||
AppSubscriptionsEditSubscriptionIdRoute,
|
|
||||||
}
|
|
||||||
|
|
||||||
const AppSubscriptionsRouteRouteWithChildren =
|
|
||||||
AppSubscriptionsRouteRoute._addFileChildren(
|
|
||||||
AppSubscriptionsRouteRouteChildren,
|
|
||||||
)
|
|
||||||
|
|
||||||
interface AppRouteRouteChildren {
|
|
||||||
AppBangumiRouteRoute: typeof AppBangumiRouteRouteWithChildren
|
|
||||||
AppPlaygroundRouteRoute: typeof AppPlaygroundRouteRouteWithChildren
|
|
||||||
AppSettingsRouteRoute: typeof AppSettingsRouteRouteWithChildren
|
|
||||||
AppSubscriptionsRouteRoute: typeof AppSubscriptionsRouteRouteWithChildren
|
|
||||||
AppExploreExploreRoute: typeof AppExploreExploreRoute
|
|
||||||
AppExploreFeedRoute: typeof AppExploreFeedRoute
|
|
||||||
}
|
|
||||||
|
|
||||||
const AppRouteRouteChildren: AppRouteRouteChildren = {
|
|
||||||
AppBangumiRouteRoute: AppBangumiRouteRouteWithChildren,
|
|
||||||
AppPlaygroundRouteRoute: AppPlaygroundRouteRouteWithChildren,
|
|
||||||
AppSettingsRouteRoute: AppSettingsRouteRouteWithChildren,
|
|
||||||
AppSubscriptionsRouteRoute: AppSubscriptionsRouteRouteWithChildren,
|
|
||||||
AppExploreExploreRoute: AppExploreExploreRoute,
|
|
||||||
AppExploreFeedRoute: AppExploreFeedRoute,
|
|
||||||
}
|
|
||||||
|
|
||||||
const AppRouteRouteWithChildren = AppRouteRoute._addFileChildren(
|
|
||||||
AppRouteRouteChildren,
|
|
||||||
)
|
|
||||||
|
|
||||||
export interface FileRoutesByFullPath {
|
|
||||||
'/': typeof IndexRoute
|
|
||||||
'': typeof AppRouteRouteWithChildren
|
|
||||||
'/404': typeof R404Route
|
|
||||||
'/about': typeof AboutRoute
|
|
||||||
'/bangumi': typeof AppBangumiRouteRouteWithChildren
|
|
||||||
'/playground': typeof AppPlaygroundRouteRouteWithChildren
|
|
||||||
'/settings': typeof AppSettingsRouteRouteWithChildren
|
|
||||||
'/subscriptions': typeof AppSubscriptionsRouteRouteWithChildren
|
|
||||||
'/auth/sign-in': typeof AuthSignInRoute
|
|
||||||
'/auth/sign-up': typeof AuthSignUpRoute
|
|
||||||
'/routeTree/gen': typeof RouteTreeGenRoute
|
|
||||||
'/explore': typeof AppExploreExploreRoute
|
|
||||||
'/feed': typeof AppExploreFeedRoute
|
|
||||||
'/bangumi/manage': typeof AppBangumiManageRoute
|
|
||||||
'/playground/graphql-api': typeof AppPlaygroundGraphqlApiRoute
|
|
||||||
'/settings/downloader': typeof AppSettingsDownloaderRoute
|
|
||||||
'/subscriptions/create': typeof AppSubscriptionsCreateRoute
|
|
||||||
'/subscriptions/manage': typeof AppSubscriptionsManageRoute
|
|
||||||
'/auth/oidc/callback': typeof AuthOidcCallbackRoute
|
|
||||||
'/subscriptions/detail/$subscriptionId': typeof AppSubscriptionsDetailSubscriptionIdRoute
|
|
||||||
'/subscriptions/edit/$subscriptionId': typeof AppSubscriptionsEditSubscriptionIdRoute
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface FileRoutesByTo {
|
|
||||||
'/': typeof IndexRoute
|
|
||||||
'': typeof AppRouteRouteWithChildren
|
|
||||||
'/404': typeof R404Route
|
|
||||||
'/about': typeof AboutRoute
|
|
||||||
'/bangumi': typeof AppBangumiRouteRouteWithChildren
|
|
||||||
'/playground': typeof AppPlaygroundRouteRouteWithChildren
|
|
||||||
'/settings': typeof AppSettingsRouteRouteWithChildren
|
|
||||||
'/subscriptions': typeof AppSubscriptionsRouteRouteWithChildren
|
|
||||||
'/auth/sign-in': typeof AuthSignInRoute
|
|
||||||
'/auth/sign-up': typeof AuthSignUpRoute
|
|
||||||
'/routeTree/gen': typeof RouteTreeGenRoute
|
|
||||||
'/explore': typeof AppExploreExploreRoute
|
|
||||||
'/feed': typeof AppExploreFeedRoute
|
|
||||||
'/bangumi/manage': typeof AppBangumiManageRoute
|
|
||||||
'/playground/graphql-api': typeof AppPlaygroundGraphqlApiRoute
|
|
||||||
'/settings/downloader': typeof AppSettingsDownloaderRoute
|
|
||||||
'/subscriptions/create': typeof AppSubscriptionsCreateRoute
|
|
||||||
'/subscriptions/manage': typeof AppSubscriptionsManageRoute
|
|
||||||
'/auth/oidc/callback': typeof AuthOidcCallbackRoute
|
|
||||||
'/subscriptions/detail/$subscriptionId': typeof AppSubscriptionsDetailSubscriptionIdRoute
|
|
||||||
'/subscriptions/edit/$subscriptionId': typeof AppSubscriptionsEditSubscriptionIdRoute
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface FileRoutesById {
|
|
||||||
__root__: typeof rootRoute
|
|
||||||
'/': typeof IndexRoute
|
|
||||||
'/_app': typeof AppRouteRouteWithChildren
|
|
||||||
'/404': typeof R404Route
|
|
||||||
'/about': typeof AboutRoute
|
|
||||||
'/_app/bangumi': typeof AppBangumiRouteRouteWithChildren
|
|
||||||
'/_app/playground': typeof AppPlaygroundRouteRouteWithChildren
|
|
||||||
'/_app/settings': typeof AppSettingsRouteRouteWithChildren
|
|
||||||
'/_app/subscriptions': typeof AppSubscriptionsRouteRouteWithChildren
|
|
||||||
'/auth/sign-in': typeof AuthSignInRoute
|
|
||||||
'/auth/sign-up': typeof AuthSignUpRoute
|
|
||||||
'/routeTree/gen': typeof RouteTreeGenRoute
|
|
||||||
'/_app/_explore/explore': typeof AppExploreExploreRoute
|
|
||||||
'/_app/_explore/feed': typeof AppExploreFeedRoute
|
|
||||||
'/_app/bangumi/manage': typeof AppBangumiManageRoute
|
|
||||||
'/_app/playground/graphql-api': typeof AppPlaygroundGraphqlApiRoute
|
|
||||||
'/_app/settings/downloader': typeof AppSettingsDownloaderRoute
|
|
||||||
'/_app/subscriptions/create': typeof AppSubscriptionsCreateRoute
|
|
||||||
'/_app/subscriptions/manage': typeof AppSubscriptionsManageRoute
|
|
||||||
'/auth/oidc/callback': typeof AuthOidcCallbackRoute
|
|
||||||
'/_app/subscriptions/detail/$subscriptionId': typeof AppSubscriptionsDetailSubscriptionIdRoute
|
|
||||||
'/_app/subscriptions/edit/$subscriptionId': typeof AppSubscriptionsEditSubscriptionIdRoute
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface FileRouteTypes {
|
|
||||||
fileRoutesByFullPath: FileRoutesByFullPath
|
|
||||||
fullPaths:
|
|
||||||
| '/'
|
|
||||||
| ''
|
|
||||||
| '/404'
|
|
||||||
| '/about'
|
|
||||||
| '/bangumi'
|
|
||||||
| '/playground'
|
|
||||||
| '/settings'
|
|
||||||
| '/subscriptions'
|
|
||||||
| '/auth/sign-in'
|
|
||||||
| '/auth/sign-up'
|
|
||||||
| '/routeTree/gen'
|
|
||||||
| '/explore'
|
|
||||||
| '/feed'
|
|
||||||
| '/bangumi/manage'
|
|
||||||
| '/playground/graphql-api'
|
|
||||||
| '/settings/downloader'
|
|
||||||
| '/subscriptions/create'
|
|
||||||
| '/subscriptions/manage'
|
|
||||||
| '/auth/oidc/callback'
|
|
||||||
| '/subscriptions/detail/$subscriptionId'
|
|
||||||
| '/subscriptions/edit/$subscriptionId'
|
|
||||||
fileRoutesByTo: FileRoutesByTo
|
|
||||||
to:
|
|
||||||
| '/'
|
|
||||||
| ''
|
|
||||||
| '/404'
|
|
||||||
| '/about'
|
|
||||||
| '/bangumi'
|
|
||||||
| '/playground'
|
|
||||||
| '/settings'
|
|
||||||
| '/subscriptions'
|
|
||||||
| '/auth/sign-in'
|
|
||||||
| '/auth/sign-up'
|
|
||||||
| '/routeTree/gen'
|
|
||||||
| '/explore'
|
|
||||||
| '/feed'
|
|
||||||
| '/bangumi/manage'
|
|
||||||
| '/playground/graphql-api'
|
|
||||||
| '/settings/downloader'
|
|
||||||
| '/subscriptions/create'
|
|
||||||
| '/subscriptions/manage'
|
|
||||||
| '/auth/oidc/callback'
|
|
||||||
| '/subscriptions/detail/$subscriptionId'
|
|
||||||
| '/subscriptions/edit/$subscriptionId'
|
|
||||||
id:
|
|
||||||
| '__root__'
|
|
||||||
| '/'
|
|
||||||
| '/_app'
|
|
||||||
| '/404'
|
|
||||||
| '/about'
|
|
||||||
| '/_app/bangumi'
|
|
||||||
| '/_app/playground'
|
|
||||||
| '/_app/settings'
|
|
||||||
| '/_app/subscriptions'
|
|
||||||
| '/auth/sign-in'
|
|
||||||
| '/auth/sign-up'
|
|
||||||
| '/routeTree/gen'
|
|
||||||
| '/_app/_explore/explore'
|
|
||||||
| '/_app/_explore/feed'
|
|
||||||
| '/_app/bangumi/manage'
|
|
||||||
| '/_app/playground/graphql-api'
|
|
||||||
| '/_app/settings/downloader'
|
|
||||||
| '/_app/subscriptions/create'
|
|
||||||
| '/_app/subscriptions/manage'
|
|
||||||
| '/auth/oidc/callback'
|
|
||||||
| '/_app/subscriptions/detail/$subscriptionId'
|
|
||||||
| '/_app/subscriptions/edit/$subscriptionId'
|
|
||||||
fileRoutesById: FileRoutesById
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface RootRouteChildren {
|
|
||||||
IndexRoute: typeof IndexRoute
|
|
||||||
AppRouteRoute: typeof AppRouteRouteWithChildren
|
|
||||||
R404Route: typeof R404Route
|
|
||||||
AboutRoute: typeof AboutRoute
|
|
||||||
AuthSignInRoute: typeof AuthSignInRoute
|
|
||||||
AuthSignUpRoute: typeof AuthSignUpRoute
|
|
||||||
RouteTreeGenRoute: typeof RouteTreeGenRoute
|
|
||||||
AuthOidcCallbackRoute: typeof AuthOidcCallbackRoute
|
|
||||||
}
|
|
||||||
|
|
||||||
const rootRouteChildren: RootRouteChildren = {
|
|
||||||
IndexRoute: IndexRoute,
|
|
||||||
AppRouteRoute: AppRouteRouteWithChildren,
|
|
||||||
R404Route: R404Route,
|
|
||||||
AboutRoute: AboutRoute,
|
|
||||||
AuthSignInRoute: AuthSignInRoute,
|
|
||||||
AuthSignUpRoute: AuthSignUpRoute,
|
|
||||||
RouteTreeGenRoute: RouteTreeGenRoute,
|
|
||||||
AuthOidcCallbackRoute: AuthOidcCallbackRoute,
|
|
||||||
}
|
|
||||||
|
|
||||||
export const routeTree = rootRoute
|
|
||||||
._addFileChildren(rootRouteChildren)
|
|
||||||
._addFileTypes<FileRouteTypes>()
|
|
||||||
|
|
||||||
/* ROUTE_MANIFEST_START
|
|
||||||
{
|
|
||||||
"routes": {
|
|
||||||
"__root__": {
|
|
||||||
"filePath": "__root.tsx",
|
|
||||||
"children": [
|
|
||||||
"/",
|
|
||||||
"/_app",
|
|
||||||
"/404",
|
|
||||||
"/about",
|
|
||||||
"/auth/sign-in",
|
|
||||||
"/auth/sign-up",
|
|
||||||
"/routeTree/gen",
|
|
||||||
"/auth/oidc/callback"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/": {
|
|
||||||
"filePath": "index.tsx"
|
|
||||||
},
|
|
||||||
"/_app": {
|
|
||||||
"filePath": "_app/route.tsx",
|
|
||||||
"children": [
|
|
||||||
"/_app/bangumi",
|
|
||||||
"/_app/playground",
|
|
||||||
"/_app/settings",
|
|
||||||
"/_app/subscriptions",
|
|
||||||
"/_app/_explore/explore",
|
|
||||||
"/_app/_explore/feed"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/404": {
|
|
||||||
"filePath": "404.tsx"
|
|
||||||
},
|
|
||||||
"/about": {
|
|
||||||
"filePath": "about.tsx"
|
|
||||||
},
|
|
||||||
"/_app/bangumi": {
|
|
||||||
"filePath": "_app/bangumi/route.tsx",
|
|
||||||
"parent": "/_app",
|
|
||||||
"children": [
|
|
||||||
"/_app/bangumi/manage"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/_app/playground": {
|
|
||||||
"filePath": "_app/playground/route.tsx",
|
|
||||||
"parent": "/_app",
|
|
||||||
"children": [
|
|
||||||
"/_app/playground/graphql-api"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/_app/settings": {
|
|
||||||
"filePath": "_app/settings/route.tsx",
|
|
||||||
"parent": "/_app",
|
|
||||||
"children": [
|
|
||||||
"/_app/settings/downloader"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/_app/subscriptions": {
|
|
||||||
"filePath": "_app/subscriptions/route.tsx",
|
|
||||||
"parent": "/_app",
|
|
||||||
"children": [
|
|
||||||
"/_app/subscriptions/create",
|
|
||||||
"/_app/subscriptions/manage",
|
|
||||||
"/_app/subscriptions/detail/$subscriptionId",
|
|
||||||
"/_app/subscriptions/edit/$subscriptionId"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/auth/sign-in": {
|
|
||||||
"filePath": "auth/sign-in.tsx"
|
|
||||||
},
|
|
||||||
"/auth/sign-up": {
|
|
||||||
"filePath": "auth/sign-up.tsx"
|
|
||||||
},
|
|
||||||
"/routeTree/gen": {
|
|
||||||
"filePath": "routeTree.gen.ts"
|
|
||||||
},
|
|
||||||
"/_app/_explore/explore": {
|
|
||||||
"filePath": "_app/_explore/explore.tsx",
|
|
||||||
"parent": "/_app"
|
|
||||||
},
|
|
||||||
"/_app/_explore/feed": {
|
|
||||||
"filePath": "_app/_explore/feed.tsx",
|
|
||||||
"parent": "/_app"
|
|
||||||
},
|
|
||||||
"/_app/bangumi/manage": {
|
|
||||||
"filePath": "_app/bangumi/manage.tsx",
|
|
||||||
"parent": "/_app/bangumi"
|
|
||||||
},
|
|
||||||
"/_app/playground/graphql-api": {
|
|
||||||
"filePath": "_app/playground/graphql-api.tsx",
|
|
||||||
"parent": "/_app/playground"
|
|
||||||
},
|
|
||||||
"/_app/settings/downloader": {
|
|
||||||
"filePath": "_app/settings/downloader.tsx",
|
|
||||||
"parent": "/_app/settings"
|
|
||||||
},
|
|
||||||
"/_app/subscriptions/create": {
|
|
||||||
"filePath": "_app/subscriptions/create.tsx",
|
|
||||||
"parent": "/_app/subscriptions"
|
|
||||||
},
|
|
||||||
"/_app/subscriptions/manage": {
|
|
||||||
"filePath": "_app/subscriptions/manage.tsx",
|
|
||||||
"parent": "/_app/subscriptions"
|
|
||||||
},
|
|
||||||
"/auth/oidc/callback": {
|
|
||||||
"filePath": "auth/oidc/callback.tsx"
|
|
||||||
},
|
|
||||||
"/_app/subscriptions/detail/$subscriptionId": {
|
|
||||||
"filePath": "_app/subscriptions/detail.$subscriptionId.tsx",
|
|
||||||
"parent": "/_app/subscriptions"
|
|
||||||
},
|
|
||||||
"/_app/subscriptions/edit/$subscriptionId": {
|
|
||||||
"filePath": "_app/subscriptions/edit.$subscriptionId.tsx",
|
|
||||||
"parent": "/_app/subscriptions"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ROUTE_MANIFEST_END */
|
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"routesDirectory": "./src/presentation/routes",
|
"routesDirectory": "./src/presentation/routes",
|
||||||
"generatedRouteTree": "./src/presentation/routes/routeTree.gen.ts"
|
"generatedRouteTree": "./src/presentation/routeTree.gen.ts"
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
"moduleDetection": "force",
|
"moduleDetection": "force",
|
||||||
"moduleResolution": "nodenext",
|
"moduleResolution": "nodenext",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"allowImportingTsExtensions": true,
|
|
||||||
"emitDeclarationOnly": true,
|
"emitDeclarationOnly": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"target": "ES2020",
|
"target": "ES2020",
|
||||||
|
Loading…
Reference in New Issue
Block a user