@literary-universe/sdk 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,6 +38,108 @@ export type AuthorChapterPublishInput = {
38
38
  publishAt?: string | null | undefined;
39
39
  audience?: AuthorPublicationAudience | null | undefined;
40
40
  };
41
+ export type AuthorStoryVisibility = 'PUBLIC' | 'PRIVATE';
42
+ export type AuthorChapterRenameInput = {
43
+ id: string | number;
44
+ /** A translation's language renames that edition; the original otherwise. */
45
+ language?: string | null | undefined;
46
+ title: string;
47
+ };
48
+ export type AuthorChapterRemoveInput = {
49
+ id: string | number;
50
+ };
51
+ export type AuthorChapterReorderInput = {
52
+ storyId: string | number;
53
+ /** Every chapter of the story, each once, in the new reading order. */
54
+ chapterIds: Array<string | number>;
55
+ };
56
+ /** Only the given fields change. */
57
+ export type AuthorUniverseUpdateInput = {
58
+ title?: string | null | undefined;
59
+ /** The address segment: lowercase letters, digits and single hyphens. */
60
+ slug?: string | null | undefined;
61
+ description?: string | null | undefined;
62
+ /** A genre value, as the genre list names it. */
63
+ genre?: string | null | undefined;
64
+ rating?: string | null | undefined;
65
+ license?: string | null | undefined;
66
+ language?: string | null | undefined;
67
+ };
68
+ /** A field by its title; a new title adds a text field. */
69
+ export type AuthorEncyclopediaTextFieldInput = {
70
+ title: string;
71
+ text: string;
72
+ };
73
+ /** A date like 1402-03-01, or HH:MM in a clock field. */
74
+ export type AuthorEncyclopediaTimeFieldInput = {
75
+ title: string;
76
+ value: string;
77
+ };
78
+ /** Only the given values change. Entries are named by their names. */
79
+ export type AuthorEncyclopediaEntryChangesInput = {
80
+ name?: string | null | undefined;
81
+ pronunciation?: string | null | undefined;
82
+ tags?: Array<string> | null | undefined;
83
+ categoryTitle?: string | null | undefined;
84
+ /** null removes the parent. */
85
+ parentName?: string | null | undefined;
86
+ relatedAdd?: Array<string> | null | undefined;
87
+ relatedRemove?: Array<string> | null | undefined;
88
+ summary?: string | null | undefined;
89
+ fields?: Array<AuthorEncyclopediaTextFieldInput> | null | undefined;
90
+ timeFields?: Array<AuthorEncyclopediaTimeFieldInput> | null | undefined;
91
+ };
92
+ export type AuthorEncyclopediaEntryCreateInput = {
93
+ universeId: string | number;
94
+ name: string;
95
+ /** A category available in the universe, by title. */
96
+ categoryTitle: string;
97
+ pronunciation?: string | null | undefined;
98
+ tags?: Array<string> | null | undefined;
99
+ parentName?: string | null | undefined;
100
+ relatedAdd?: Array<string> | null | undefined;
101
+ summary?: string | null | undefined;
102
+ fields?: Array<AuthorEncyclopediaTextFieldInput> | null | undefined;
103
+ timeFields?: Array<AuthorEncyclopediaTimeFieldInput> | null | undefined;
104
+ };
105
+ export type AuthorEncyclopediaFieldTranslationInput = {
106
+ /** The field's title in the original language. */
107
+ title: string;
108
+ translatedTitle?: string | null | undefined;
109
+ text: string;
110
+ };
111
+ export type AuthorEncyclopediaEntryTranslationInput = {
112
+ id: string | number;
113
+ /** A language the universe is translated into. */
114
+ language: string;
115
+ name?: string | null | undefined;
116
+ pronunciation?: string | null | undefined;
117
+ summary?: string | null | undefined;
118
+ fields?: Array<AuthorEncyclopediaFieldTranslationInput> | null | undefined;
119
+ };
120
+ export type AuthorSeriesSaveInput = {
121
+ universeId: string | number;
122
+ /** Leave out to create a series. */
123
+ seriesId?: string | number | null | undefined;
124
+ /** The version read with the series; 0 for a new one. */
125
+ expectedVersion: number;
126
+ title: string;
127
+ /** Stories of the universe, not fan fiction, in reading order. */
128
+ storyIds: Array<string | number>;
129
+ };
130
+ /** Only the given fields change. */
131
+ export type AuthorStoryUpdateInput = {
132
+ title?: string | null | undefined;
133
+ description?: string | null | undefined;
134
+ /** Genre values, as the genre list names them. */
135
+ genres?: Array<string> | null | undefined;
136
+ tags?: Array<string> | null | undefined;
137
+ rating?: string | null | undefined;
138
+ license?: string | null | undefined;
139
+ language?: string | null | undefined;
140
+ /** Another universe needs edit rights on it; null makes the story standalone. */
141
+ universeId?: string | number | null | undefined;
142
+ };
41
143
  export type LuIdentityQueryVariables = Exact<{
42
144
  [key: string]: never;
43
145
  }>;
@@ -352,6 +454,333 @@ export type LuUpdateUniverseTranslationMutation = {
352
454
  revision: number;
353
455
  };
354
456
  };
457
+ export type LuUpdateStoryMutationVariables = Exact<{
458
+ storyId: string | number;
459
+ input: AuthorStoryUpdateInput;
460
+ }>;
461
+ export type LuUpdateStoryMutation = {
462
+ result: {
463
+ id: string;
464
+ title: string;
465
+ slug: string | null;
466
+ language: string;
467
+ universeId: string | null;
468
+ organizationId: string | null;
469
+ createdAt: string | null;
470
+ updatedAt: string | null;
471
+ publishedAt: string | null;
472
+ privateAt: string | null;
473
+ state: AuthorWorkState;
474
+ };
475
+ };
476
+ export type LuSetStoryVisibilityMutationVariables = Exact<{
477
+ storyId: string | number;
478
+ visibility: AuthorStoryVisibility;
479
+ }>;
480
+ export type LuSetStoryVisibilityMutation = {
481
+ result: {
482
+ id: string;
483
+ title: string;
484
+ slug: string | null;
485
+ language: string;
486
+ universeId: string | null;
487
+ organizationId: string | null;
488
+ createdAt: string | null;
489
+ updatedAt: string | null;
490
+ publishedAt: string | null;
491
+ privateAt: string | null;
492
+ state: AuthorWorkState;
493
+ };
494
+ };
495
+ export type LuRenameChapterMutationVariables = Exact<{
496
+ input: AuthorChapterRenameInput;
497
+ }>;
498
+ export type LuRenameChapterMutation = {
499
+ result: {
500
+ id: string;
501
+ storyId: string;
502
+ sequence: number;
503
+ title: string;
504
+ language: string;
505
+ hasDraft: boolean;
506
+ updatedAt: string | null;
507
+ publishedAt: string | null;
508
+ };
509
+ };
510
+ export type LuRemoveChapterMutationVariables = Exact<{
511
+ input: AuthorChapterRemoveInput;
512
+ }>;
513
+ export type LuRemoveChapterMutation = {
514
+ result: {
515
+ id: string;
516
+ storyId: string;
517
+ };
518
+ };
519
+ export type LuReorderChaptersMutationVariables = Exact<{
520
+ input: AuthorChapterReorderInput;
521
+ }>;
522
+ export type LuReorderChaptersMutation = {
523
+ result: {
524
+ storyId: string;
525
+ chapterIds: Array<string>;
526
+ };
527
+ };
528
+ export type LuUpdateUniverseMutationVariables = Exact<{
529
+ universeId: string | number;
530
+ input: AuthorUniverseUpdateInput;
531
+ }>;
532
+ export type LuUpdateUniverseMutation = {
533
+ result: {
534
+ id: string;
535
+ title: string;
536
+ slug: string | null;
537
+ language: string;
538
+ organizationId: string | null;
539
+ createdAt: string | null;
540
+ updatedAt: string | null;
541
+ publishedAt: string | null;
542
+ privateAt: string | null;
543
+ state: AuthorWorkState;
544
+ };
545
+ };
546
+ export type LuEncyclopediaEntriesQueryVariables = Exact<{
547
+ universeId: string | number;
548
+ first?: number | null | undefined;
549
+ after?: string | null | undefined;
550
+ }>;
551
+ export type LuEncyclopediaEntriesQuery = {
552
+ result: {
553
+ nodes: Array<{
554
+ id: string;
555
+ universeId: string;
556
+ name: string;
557
+ categoryId: string;
558
+ categoryTitle: string | null;
559
+ language: string;
560
+ wip: boolean;
561
+ publishedAt: string | null;
562
+ updatedAt: string | null;
563
+ translations: Array<string>;
564
+ }>;
565
+ pageInfo: {
566
+ endCursor: string | null;
567
+ hasNextPage: boolean;
568
+ };
569
+ };
570
+ };
571
+ export type LuEncyclopediaEntryQueryVariables = Exact<{
572
+ id: string | number;
573
+ language?: string | null | undefined;
574
+ }>;
575
+ export type LuEncyclopediaEntryQuery = {
576
+ result: {
577
+ id: string;
578
+ universeId: string;
579
+ name: string;
580
+ categoryId: string;
581
+ categoryTitle: string | null;
582
+ language: string;
583
+ wip: boolean;
584
+ publishedAt: string | null;
585
+ updatedAt: string | null;
586
+ translations: Array<string>;
587
+ pronunciation: string | null;
588
+ tags: Array<string>;
589
+ summary: string | null;
590
+ parent: {
591
+ id: string | null;
592
+ name: string;
593
+ } | null;
594
+ related: Array<{
595
+ id: string | null;
596
+ name: string;
597
+ }>;
598
+ fields: Array<{
599
+ id: string;
600
+ title: string;
601
+ type: string;
602
+ private: boolean;
603
+ text: string | null;
604
+ }>;
605
+ } | null;
606
+ };
607
+ export type LuCreateEncyclopediaEntryMutationVariables = Exact<{
608
+ input: AuthorEncyclopediaEntryCreateInput;
609
+ }>;
610
+ export type LuCreateEncyclopediaEntryMutation = {
611
+ result: {
612
+ id: string;
613
+ universeId: string;
614
+ name: string;
615
+ categoryId: string;
616
+ categoryTitle: string | null;
617
+ language: string;
618
+ wip: boolean;
619
+ publishedAt: string | null;
620
+ updatedAt: string | null;
621
+ translations: Array<string>;
622
+ pronunciation: string | null;
623
+ tags: Array<string>;
624
+ summary: string | null;
625
+ parent: {
626
+ id: string | null;
627
+ name: string;
628
+ } | null;
629
+ related: Array<{
630
+ id: string | null;
631
+ name: string;
632
+ }>;
633
+ fields: Array<{
634
+ id: string;
635
+ title: string;
636
+ type: string;
637
+ private: boolean;
638
+ text: string | null;
639
+ }>;
640
+ };
641
+ };
642
+ export type LuUpdateEncyclopediaEntryMutationVariables = Exact<{
643
+ id: string | number;
644
+ changes: AuthorEncyclopediaEntryChangesInput;
645
+ }>;
646
+ export type LuUpdateEncyclopediaEntryMutation = {
647
+ result: {
648
+ id: string;
649
+ universeId: string;
650
+ name: string;
651
+ categoryId: string;
652
+ categoryTitle: string | null;
653
+ language: string;
654
+ wip: boolean;
655
+ publishedAt: string | null;
656
+ updatedAt: string | null;
657
+ translations: Array<string>;
658
+ pronunciation: string | null;
659
+ tags: Array<string>;
660
+ summary: string | null;
661
+ parent: {
662
+ id: string | null;
663
+ name: string;
664
+ } | null;
665
+ related: Array<{
666
+ id: string | null;
667
+ name: string;
668
+ }>;
669
+ fields: Array<{
670
+ id: string;
671
+ title: string;
672
+ type: string;
673
+ private: boolean;
674
+ text: string | null;
675
+ }>;
676
+ };
677
+ };
678
+ export type LuTranslateEncyclopediaEntryMutationVariables = Exact<{
679
+ input: AuthorEncyclopediaEntryTranslationInput;
680
+ }>;
681
+ export type LuTranslateEncyclopediaEntryMutation = {
682
+ result: {
683
+ id: string;
684
+ universeId: string;
685
+ name: string;
686
+ categoryId: string;
687
+ categoryTitle: string | null;
688
+ language: string;
689
+ wip: boolean;
690
+ publishedAt: string | null;
691
+ updatedAt: string | null;
692
+ translations: Array<string>;
693
+ pronunciation: string | null;
694
+ tags: Array<string>;
695
+ summary: string | null;
696
+ parent: {
697
+ id: string | null;
698
+ name: string;
699
+ } | null;
700
+ related: Array<{
701
+ id: string | null;
702
+ name: string;
703
+ }>;
704
+ fields: Array<{
705
+ id: string;
706
+ title: string;
707
+ type: string;
708
+ private: boolean;
709
+ text: string | null;
710
+ }>;
711
+ };
712
+ };
713
+ export type LuSetEncyclopediaEntryPublicationMutationVariables = Exact<{
714
+ id: string | number;
715
+ published: boolean;
716
+ }>;
717
+ export type LuSetEncyclopediaEntryPublicationMutation = {
718
+ result: {
719
+ id: string;
720
+ universeId: string;
721
+ name: string;
722
+ categoryId: string;
723
+ categoryTitle: string | null;
724
+ language: string;
725
+ wip: boolean;
726
+ publishedAt: string | null;
727
+ updatedAt: string | null;
728
+ translations: Array<string>;
729
+ pronunciation: string | null;
730
+ tags: Array<string>;
731
+ summary: string | null;
732
+ parent: {
733
+ id: string | null;
734
+ name: string;
735
+ } | null;
736
+ related: Array<{
737
+ id: string | null;
738
+ name: string;
739
+ }>;
740
+ fields: Array<{
741
+ id: string;
742
+ title: string;
743
+ type: string;
744
+ private: boolean;
745
+ text: string | null;
746
+ }>;
747
+ };
748
+ };
749
+ export type LuDeleteEncyclopediaEntryMutationVariables = Exact<{
750
+ id: string | number;
751
+ }>;
752
+ export type LuDeleteEncyclopediaEntryMutation = {
753
+ result: {
754
+ id: string;
755
+ universeId: string;
756
+ };
757
+ };
758
+ export type LuSeriesQueryVariables = Exact<{
759
+ universeId: string | number;
760
+ }>;
761
+ export type LuSeriesQuery = {
762
+ result: Array<{
763
+ id: string;
764
+ universeId: string;
765
+ title: string;
766
+ version: number;
767
+ storyIds: Array<string>;
768
+ updatedAt: string | null;
769
+ }>;
770
+ };
771
+ export type LuSaveSeriesMutationVariables = Exact<{
772
+ input: AuthorSeriesSaveInput;
773
+ }>;
774
+ export type LuSaveSeriesMutation = {
775
+ result: {
776
+ id: string;
777
+ universeId: string;
778
+ title: string;
779
+ version: number;
780
+ storyIds: Array<string>;
781
+ updatedAt: string | null;
782
+ };
783
+ };
355
784
  export type LuImagePolicyQueryVariables = Exact<{
356
785
  [key: string]: never;
357
786
  }>;
@@ -373,5 +802,20 @@ export declare const LuCreateChapterDocument: "mutation LuCreateChapter($input:
373
802
  export declare const LuPublishChapterDocument: "mutation LuPublishChapter($input: AuthorChapterPublishInput!) {\n result: authorPublishChapter(input: $input) {\n id\n storyId\n language\n revisionId\n version\n audience\n publishedAt\n chapterPublishedAt\n warnings {\n code\n path\n message\n }\n }\n}";
374
803
  export declare const LuCreateUniverseTranslationDocument: "mutation LuCreateUniverseTranslation($universeId: ID!, $language: Locale!, $input: AuthorUniverseTranslationInput) {\n result: createAuthorUniverseTranslation(\n universeId: $universeId\n language: $language\n input: $input\n ) {\n created\n translation {\n language\n title\n description\n revision\n }\n }\n}";
375
804
  export declare const LuUpdateUniverseTranslationDocument: "mutation LuUpdateUniverseTranslation($universeId: ID!, $language: Locale!, $expectedRevision: Int!, $input: AuthorUniverseTranslationInput!) {\n result: updateAuthorUniverseTranslation(\n universeId: $universeId\n language: $language\n expectedRevision: $expectedRevision\n input: $input\n ) {\n language\n title\n description\n revision\n }\n}";
805
+ export declare const LuUpdateStoryDocument: "mutation LuUpdateStory($storyId: ID!, $input: AuthorStoryUpdateInput!) {\n result: updateAuthorStory(storyId: $storyId, input: $input) {\n id\n title\n slug\n language\n universeId\n organizationId\n createdAt\n updatedAt\n publishedAt\n privateAt\n state\n }\n}";
806
+ export declare const LuSetStoryVisibilityDocument: "mutation LuSetStoryVisibility($storyId: ID!, $visibility: AuthorStoryVisibility!) {\n result: setAuthorStoryVisibility(storyId: $storyId, visibility: $visibility) {\n id\n title\n slug\n language\n universeId\n organizationId\n createdAt\n updatedAt\n publishedAt\n privateAt\n state\n }\n}";
807
+ export declare const LuRenameChapterDocument: "mutation LuRenameChapter($input: AuthorChapterRenameInput!) {\n result: renameAuthorChapter(input: $input) {\n id\n storyId\n sequence\n title\n language\n hasDraft\n updatedAt\n publishedAt\n }\n}";
808
+ export declare const LuRemoveChapterDocument: "mutation LuRemoveChapter($input: AuthorChapterRemoveInput!) {\n result: removeAuthorChapter(input: $input) {\n id\n storyId\n }\n}";
809
+ export declare const LuReorderChaptersDocument: "mutation LuReorderChapters($input: AuthorChapterReorderInput!) {\n result: reorderAuthorChapters(input: $input) {\n storyId\n chapterIds\n }\n}";
810
+ export declare const LuUpdateUniverseDocument: "mutation LuUpdateUniverse($universeId: ID!, $input: AuthorUniverseUpdateInput!) {\n result: updateAuthorUniverse(universeId: $universeId, input: $input) {\n id\n title\n slug\n language\n organizationId\n createdAt\n updatedAt\n publishedAt\n privateAt\n state\n }\n}";
811
+ export declare const LuEncyclopediaEntriesDocument: "query LuEncyclopediaEntries($universeId: ID!, $first: Int, $after: String) {\n result: authorEncyclopediaEntries(\n universeId: $universeId\n first: $first\n after: $after\n ) {\n nodes {\n id\n universeId\n name\n categoryId\n categoryTitle\n language\n wip\n publishedAt\n updatedAt\n translations\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}";
812
+ export declare const LuEncyclopediaEntryDocument: "query LuEncyclopediaEntry($id: ID!, $language: Locale) {\n result: authorEncyclopediaEntry(id: $id, language: $language) {\n id\n universeId\n name\n categoryId\n categoryTitle\n language\n wip\n publishedAt\n updatedAt\n translations\n pronunciation\n tags\n summary\n parent {\n id\n name\n }\n related {\n id\n name\n }\n fields {\n id\n title\n type\n private\n text\n }\n }\n}";
813
+ export declare const LuCreateEncyclopediaEntryDocument: "mutation LuCreateEncyclopediaEntry($input: AuthorEncyclopediaEntryCreateInput!) {\n result: createAuthorEncyclopediaEntry(input: $input) {\n id\n universeId\n name\n categoryId\n categoryTitle\n language\n wip\n publishedAt\n updatedAt\n translations\n pronunciation\n tags\n summary\n parent {\n id\n name\n }\n related {\n id\n name\n }\n fields {\n id\n title\n type\n private\n text\n }\n }\n}";
814
+ export declare const LuUpdateEncyclopediaEntryDocument: "mutation LuUpdateEncyclopediaEntry($id: ID!, $changes: AuthorEncyclopediaEntryChangesInput!) {\n result: updateAuthorEncyclopediaEntry(id: $id, changes: $changes) {\n id\n universeId\n name\n categoryId\n categoryTitle\n language\n wip\n publishedAt\n updatedAt\n translations\n pronunciation\n tags\n summary\n parent {\n id\n name\n }\n related {\n id\n name\n }\n fields {\n id\n title\n type\n private\n text\n }\n }\n}";
815
+ export declare const LuTranslateEncyclopediaEntryDocument: "mutation LuTranslateEncyclopediaEntry($input: AuthorEncyclopediaEntryTranslationInput!) {\n result: translateAuthorEncyclopediaEntry(input: $input) {\n id\n universeId\n name\n categoryId\n categoryTitle\n language\n wip\n publishedAt\n updatedAt\n translations\n pronunciation\n tags\n summary\n parent {\n id\n name\n }\n related {\n id\n name\n }\n fields {\n id\n title\n type\n private\n text\n }\n }\n}";
816
+ export declare const LuSetEncyclopediaEntryPublicationDocument: "mutation LuSetEncyclopediaEntryPublication($id: ID!, $published: Boolean!) {\n result: setAuthorEncyclopediaEntryPublication(id: $id, published: $published) {\n id\n universeId\n name\n categoryId\n categoryTitle\n language\n wip\n publishedAt\n updatedAt\n translations\n pronunciation\n tags\n summary\n parent {\n id\n name\n }\n related {\n id\n name\n }\n fields {\n id\n title\n type\n private\n text\n }\n }\n}";
817
+ export declare const LuDeleteEncyclopediaEntryDocument: "mutation LuDeleteEncyclopediaEntry($id: ID!) {\n result: deleteAuthorEncyclopediaEntry(id: $id) {\n id\n universeId\n }\n}";
818
+ export declare const LuSeriesDocument: "query LuSeries($universeId: ID!) {\n result: authorSeries(universeId: $universeId) {\n id\n universeId\n title\n version\n storyIds\n updatedAt\n }\n}";
819
+ export declare const LuSaveSeriesDocument: "mutation LuSaveSeries($input: AuthorSeriesSaveInput!) {\n result: saveAuthorSeries(input: $input) {\n id\n universeId\n title\n version\n storyIds\n updatedAt\n }\n}";
376
820
  export declare const LuImagePolicyDocument: "query LuImagePolicy {\n result: authorImagePolicy\n}";
377
821
  export {};
@@ -13,4 +13,19 @@ export const LuCreateChapterDocument = "mutation LuCreateChapter($input: AuthorC
13
13
  export const LuPublishChapterDocument = "mutation LuPublishChapter($input: AuthorChapterPublishInput!) {\n result: authorPublishChapter(input: $input) {\n id\n storyId\n language\n revisionId\n version\n audience\n publishedAt\n chapterPublishedAt\n warnings {\n code\n path\n message\n }\n }\n}";
14
14
  export const LuCreateUniverseTranslationDocument = "mutation LuCreateUniverseTranslation($universeId: ID!, $language: Locale!, $input: AuthorUniverseTranslationInput) {\n result: createAuthorUniverseTranslation(\n universeId: $universeId\n language: $language\n input: $input\n ) {\n created\n translation {\n language\n title\n description\n revision\n }\n }\n}";
15
15
  export const LuUpdateUniverseTranslationDocument = "mutation LuUpdateUniverseTranslation($universeId: ID!, $language: Locale!, $expectedRevision: Int!, $input: AuthorUniverseTranslationInput!) {\n result: updateAuthorUniverseTranslation(\n universeId: $universeId\n language: $language\n expectedRevision: $expectedRevision\n input: $input\n ) {\n language\n title\n description\n revision\n }\n}";
16
+ export const LuUpdateStoryDocument = "mutation LuUpdateStory($storyId: ID!, $input: AuthorStoryUpdateInput!) {\n result: updateAuthorStory(storyId: $storyId, input: $input) {\n id\n title\n slug\n language\n universeId\n organizationId\n createdAt\n updatedAt\n publishedAt\n privateAt\n state\n }\n}";
17
+ export const LuSetStoryVisibilityDocument = "mutation LuSetStoryVisibility($storyId: ID!, $visibility: AuthorStoryVisibility!) {\n result: setAuthorStoryVisibility(storyId: $storyId, visibility: $visibility) {\n id\n title\n slug\n language\n universeId\n organizationId\n createdAt\n updatedAt\n publishedAt\n privateAt\n state\n }\n}";
18
+ export const LuRenameChapterDocument = "mutation LuRenameChapter($input: AuthorChapterRenameInput!) {\n result: renameAuthorChapter(input: $input) {\n id\n storyId\n sequence\n title\n language\n hasDraft\n updatedAt\n publishedAt\n }\n}";
19
+ export const LuRemoveChapterDocument = "mutation LuRemoveChapter($input: AuthorChapterRemoveInput!) {\n result: removeAuthorChapter(input: $input) {\n id\n storyId\n }\n}";
20
+ export const LuReorderChaptersDocument = "mutation LuReorderChapters($input: AuthorChapterReorderInput!) {\n result: reorderAuthorChapters(input: $input) {\n storyId\n chapterIds\n }\n}";
21
+ export const LuUpdateUniverseDocument = "mutation LuUpdateUniverse($universeId: ID!, $input: AuthorUniverseUpdateInput!) {\n result: updateAuthorUniverse(universeId: $universeId, input: $input) {\n id\n title\n slug\n language\n organizationId\n createdAt\n updatedAt\n publishedAt\n privateAt\n state\n }\n}";
22
+ export const LuEncyclopediaEntriesDocument = "query LuEncyclopediaEntries($universeId: ID!, $first: Int, $after: String) {\n result: authorEncyclopediaEntries(\n universeId: $universeId\n first: $first\n after: $after\n ) {\n nodes {\n id\n universeId\n name\n categoryId\n categoryTitle\n language\n wip\n publishedAt\n updatedAt\n translations\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}";
23
+ export const LuEncyclopediaEntryDocument = "query LuEncyclopediaEntry($id: ID!, $language: Locale) {\n result: authorEncyclopediaEntry(id: $id, language: $language) {\n id\n universeId\n name\n categoryId\n categoryTitle\n language\n wip\n publishedAt\n updatedAt\n translations\n pronunciation\n tags\n summary\n parent {\n id\n name\n }\n related {\n id\n name\n }\n fields {\n id\n title\n type\n private\n text\n }\n }\n}";
24
+ export const LuCreateEncyclopediaEntryDocument = "mutation LuCreateEncyclopediaEntry($input: AuthorEncyclopediaEntryCreateInput!) {\n result: createAuthorEncyclopediaEntry(input: $input) {\n id\n universeId\n name\n categoryId\n categoryTitle\n language\n wip\n publishedAt\n updatedAt\n translations\n pronunciation\n tags\n summary\n parent {\n id\n name\n }\n related {\n id\n name\n }\n fields {\n id\n title\n type\n private\n text\n }\n }\n}";
25
+ export const LuUpdateEncyclopediaEntryDocument = "mutation LuUpdateEncyclopediaEntry($id: ID!, $changes: AuthorEncyclopediaEntryChangesInput!) {\n result: updateAuthorEncyclopediaEntry(id: $id, changes: $changes) {\n id\n universeId\n name\n categoryId\n categoryTitle\n language\n wip\n publishedAt\n updatedAt\n translations\n pronunciation\n tags\n summary\n parent {\n id\n name\n }\n related {\n id\n name\n }\n fields {\n id\n title\n type\n private\n text\n }\n }\n}";
26
+ export const LuTranslateEncyclopediaEntryDocument = "mutation LuTranslateEncyclopediaEntry($input: AuthorEncyclopediaEntryTranslationInput!) {\n result: translateAuthorEncyclopediaEntry(input: $input) {\n id\n universeId\n name\n categoryId\n categoryTitle\n language\n wip\n publishedAt\n updatedAt\n translations\n pronunciation\n tags\n summary\n parent {\n id\n name\n }\n related {\n id\n name\n }\n fields {\n id\n title\n type\n private\n text\n }\n }\n}";
27
+ export const LuSetEncyclopediaEntryPublicationDocument = "mutation LuSetEncyclopediaEntryPublication($id: ID!, $published: Boolean!) {\n result: setAuthorEncyclopediaEntryPublication(id: $id, published: $published) {\n id\n universeId\n name\n categoryId\n categoryTitle\n language\n wip\n publishedAt\n updatedAt\n translations\n pronunciation\n tags\n summary\n parent {\n id\n name\n }\n related {\n id\n name\n }\n fields {\n id\n title\n type\n private\n text\n }\n }\n}";
28
+ export const LuDeleteEncyclopediaEntryDocument = "mutation LuDeleteEncyclopediaEntry($id: ID!) {\n result: deleteAuthorEncyclopediaEntry(id: $id) {\n id\n universeId\n }\n}";
29
+ export const LuSeriesDocument = "query LuSeries($universeId: ID!) {\n result: authorSeries(universeId: $universeId) {\n id\n universeId\n title\n version\n storyIds\n updatedAt\n }\n}";
30
+ export const LuSaveSeriesDocument = "mutation LuSaveSeries($input: AuthorSeriesSaveInput!) {\n result: saveAuthorSeries(input: $input) {\n id\n universeId\n title\n version\n storyIds\n updatedAt\n }\n}";
16
31
  export const LuImagePolicyDocument = "query LuImagePolicy {\n result: authorImagePolicy\n}";