Mirror of https://github.com/roostorg/coop github.com/roostorg/coop
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix job fragment circular dependency (#372)

* fix job fragment circular dependency

* update generated graphql

* code-gen fix

---------

Co-authored-by: Juan S. Mrad <juansmrad@gmail.com>

authored by

Dom Rettig
Juan S. Mrad
and committed by
GitHub
10699660 dcc9313b

+1617 -1616
+1314 -1314
client/src/graphql/generated.ts
··· 11703 11703 } | null; 11704 11704 }; 11705 11705 11706 - export type GQLJobFieldsFragment = { 11707 - readonly __typename: 'ManualReviewJob'; 11708 - readonly id: string; 11709 - readonly createdAt: Date | string; 11710 - readonly policyIds: ReadonlyArray<string>; 11711 - readonly numTimesReported?: number | null; 11712 - readonly payload: 11713 - | { 11714 - readonly __typename: 'ContentAppealManualReviewJobPayload'; 11715 - readonly userScore?: number | null; 11716 - readonly appealReason?: string | null; 11717 - readonly appealId: string; 11718 - readonly actionsTaken: ReadonlyArray<string>; 11719 - readonly item: { 11720 - readonly __typename: 'ContentItem'; 11721 - readonly id: string; 11722 - readonly submissionId: string; 11723 - readonly submissionTime?: Date | string | null; 11724 - readonly data: JsonObject; 11725 - readonly type: { 11726 - readonly __typename: 'ContentItemType'; 11727 - readonly id: string; 11728 - readonly name: string; 11729 - readonly description?: string | null; 11730 - readonly version: string; 11731 - readonly schemaVariant: GQLItemTypeSchemaVariant; 11732 - readonly hiddenFields: ReadonlyArray<string>; 11733 - readonly schemaFieldRoles: { 11734 - readonly __typename: 'ContentSchemaFieldRoles'; 11735 - readonly displayName?: string | null; 11736 - readonly parentId?: string | null; 11737 - readonly threadId?: string | null; 11738 - readonly createdAt?: string | null; 11739 - readonly creatorId?: string | null; 11740 - readonly isDeleted?: string | null; 11741 - }; 11742 - readonly baseFields: ReadonlyArray<{ 11743 - readonly __typename: 'BaseField'; 11744 - readonly name: string; 11745 - readonly required: boolean; 11746 - readonly type: GQLFieldType; 11747 - readonly container?: { 11748 - readonly __typename: 'Container'; 11749 - readonly containerType: GQLContainerType; 11750 - readonly keyScalarType?: GQLScalarType | null; 11751 - readonly valueScalarType: GQLScalarType; 11752 - } | null; 11753 - }>; 11754 - readonly derivedFields: ReadonlyArray<{ 11755 - readonly __typename: 'DerivedField'; 11756 - readonly type: GQLFieldType; 11757 - readonly name: string; 11758 - readonly container?: { 11759 - readonly __typename: 'Container'; 11760 - readonly containerType: GQLContainerType; 11761 - readonly keyScalarType?: GQLScalarType | null; 11762 - readonly valueScalarType: GQLScalarType; 11763 - } | null; 11764 - readonly spec: { 11765 - readonly __typename: 'DerivedFieldSpec'; 11766 - readonly derivationType: GQLDerivedFieldDerivationType; 11767 - readonly source: 11768 - | { 11769 - readonly __typename: 'DerivedFieldCoopInputSource'; 11770 - readonly coopInput: GQLCoopInput; 11771 - } 11772 - | { 11773 - readonly __typename: 'DerivedFieldFieldSource'; 11774 - readonly name: string; 11775 - readonly contentTypeId: string; 11776 - } 11777 - | { 11778 - readonly __typename: 'DerivedFieldFullItemSource'; 11779 - readonly _?: boolean | null; 11780 - }; 11781 - }; 11782 - }>; 11783 - }; 11784 - }; 11785 - readonly additionalContentItems: ReadonlyArray<{ 11786 - readonly __typename: 'ContentItem'; 11787 - readonly id: string; 11788 - readonly submissionId: string; 11789 - readonly submissionTime?: Date | string | null; 11790 - readonly data: JsonObject; 11791 - readonly type: { 11792 - readonly __typename: 'ContentItemType'; 11793 - readonly id: string; 11794 - readonly name: string; 11795 - readonly description?: string | null; 11796 - readonly version: string; 11797 - readonly schemaVariant: GQLItemTypeSchemaVariant; 11798 - readonly hiddenFields: ReadonlyArray<string>; 11799 - readonly schemaFieldRoles: { 11800 - readonly __typename: 'ContentSchemaFieldRoles'; 11801 - readonly displayName?: string | null; 11802 - readonly parentId?: string | null; 11803 - readonly threadId?: string | null; 11804 - readonly createdAt?: string | null; 11805 - readonly creatorId?: string | null; 11806 - readonly isDeleted?: string | null; 11807 - }; 11808 - readonly baseFields: ReadonlyArray<{ 11809 - readonly __typename: 'BaseField'; 11810 - readonly name: string; 11811 - readonly required: boolean; 11812 - readonly type: GQLFieldType; 11813 - readonly container?: { 11814 - readonly __typename: 'Container'; 11815 - readonly containerType: GQLContainerType; 11816 - readonly keyScalarType?: GQLScalarType | null; 11817 - readonly valueScalarType: GQLScalarType; 11818 - } | null; 11819 - }>; 11820 - readonly derivedFields: ReadonlyArray<{ 11821 - readonly __typename: 'DerivedField'; 11822 - readonly type: GQLFieldType; 11823 - readonly name: string; 11824 - readonly container?: { 11825 - readonly __typename: 'Container'; 11826 - readonly containerType: GQLContainerType; 11827 - readonly keyScalarType?: GQLScalarType | null; 11828 - readonly valueScalarType: GQLScalarType; 11829 - } | null; 11830 - readonly spec: { 11831 - readonly __typename: 'DerivedFieldSpec'; 11832 - readonly derivationType: GQLDerivedFieldDerivationType; 11833 - readonly source: 11834 - | { 11835 - readonly __typename: 'DerivedFieldCoopInputSource'; 11836 - readonly coopInput: GQLCoopInput; 11837 - } 11838 - | { 11839 - readonly __typename: 'DerivedFieldFieldSource'; 11840 - readonly name: string; 11841 - readonly contentTypeId: string; 11842 - } 11843 - | { 11844 - readonly __typename: 'DerivedFieldFullItemSource'; 11845 - readonly _?: boolean | null; 11846 - }; 11847 - }; 11848 - }>; 11849 - }; 11850 - }>; 11851 - readonly appealerIdentifier?: { 11852 - readonly __typename: 'ItemIdentifier'; 11853 - readonly id: string; 11854 - readonly typeId: string; 11855 - } | null; 11856 - readonly enqueueSourceInfo?: { 11857 - readonly __typename: 'AppealEnqueueSourceInfo'; 11858 - readonly kind: GQLJobCreationSourceOptions; 11859 - } | null; 11860 - } 11861 - | { 11862 - readonly __typename: 'ContentManualReviewJobPayload'; 11863 - readonly userScore?: number | null; 11864 - readonly reportHistory: ReadonlyArray<{ 11865 - readonly __typename: 'ReportHistoryEntry'; 11866 - readonly policyId?: string | null; 11867 - readonly reportId: string; 11868 - readonly reason?: string | null; 11869 - readonly reportedAt: Date | string; 11870 - readonly reporterId?: { 11871 - readonly __typename: 'ItemIdentifier'; 11872 - readonly id: string; 11873 - readonly typeId: string; 11874 - } | null; 11875 - }>; 11876 - readonly item: { 11877 - readonly __typename: 'ContentItem'; 11878 - readonly id: string; 11879 - readonly submissionId: string; 11880 - readonly submissionTime?: Date | string | null; 11881 - readonly data: JsonObject; 11882 - readonly type: { 11883 - readonly __typename: 'ContentItemType'; 11884 - readonly id: string; 11885 - readonly name: string; 11886 - readonly description?: string | null; 11887 - readonly version: string; 11888 - readonly schemaVariant: GQLItemTypeSchemaVariant; 11889 - readonly hiddenFields: ReadonlyArray<string>; 11890 - readonly schemaFieldRoles: { 11891 - readonly __typename: 'ContentSchemaFieldRoles'; 11892 - readonly displayName?: string | null; 11893 - readonly parentId?: string | null; 11894 - readonly threadId?: string | null; 11895 - readonly createdAt?: string | null; 11896 - readonly creatorId?: string | null; 11897 - readonly isDeleted?: string | null; 11898 - }; 11899 - readonly baseFields: ReadonlyArray<{ 11900 - readonly __typename: 'BaseField'; 11901 - readonly name: string; 11902 - readonly required: boolean; 11903 - readonly type: GQLFieldType; 11904 - readonly container?: { 11905 - readonly __typename: 'Container'; 11906 - readonly containerType: GQLContainerType; 11907 - readonly keyScalarType?: GQLScalarType | null; 11908 - readonly valueScalarType: GQLScalarType; 11909 - } | null; 11910 - }>; 11911 - readonly derivedFields: ReadonlyArray<{ 11912 - readonly __typename: 'DerivedField'; 11913 - readonly type: GQLFieldType; 11914 - readonly name: string; 11915 - readonly container?: { 11916 - readonly __typename: 'Container'; 11917 - readonly containerType: GQLContainerType; 11918 - readonly keyScalarType?: GQLScalarType | null; 11919 - readonly valueScalarType: GQLScalarType; 11920 - } | null; 11921 - readonly spec: { 11922 - readonly __typename: 'DerivedFieldSpec'; 11923 - readonly derivationType: GQLDerivedFieldDerivationType; 11924 - readonly source: 11925 - | { 11926 - readonly __typename: 'DerivedFieldCoopInputSource'; 11927 - readonly coopInput: GQLCoopInput; 11928 - } 11929 - | { 11930 - readonly __typename: 'DerivedFieldFieldSource'; 11931 - readonly name: string; 11932 - readonly contentTypeId: string; 11933 - } 11934 - | { 11935 - readonly __typename: 'DerivedFieldFullItemSource'; 11936 - readonly _?: boolean | null; 11937 - }; 11938 - }; 11939 - }>; 11940 - }; 11941 - }; 11942 - readonly additionalContentItems: ReadonlyArray<{ 11943 - readonly __typename: 'ContentItem'; 11944 - readonly id: string; 11945 - readonly submissionId: string; 11946 - readonly submissionTime?: Date | string | null; 11947 - readonly data: JsonObject; 11948 - readonly type: { 11949 - readonly __typename: 'ContentItemType'; 11950 - readonly id: string; 11951 - readonly name: string; 11952 - readonly description?: string | null; 11953 - readonly version: string; 11954 - readonly schemaVariant: GQLItemTypeSchemaVariant; 11955 - readonly hiddenFields: ReadonlyArray<string>; 11956 - readonly schemaFieldRoles: { 11957 - readonly __typename: 'ContentSchemaFieldRoles'; 11958 - readonly displayName?: string | null; 11959 - readonly parentId?: string | null; 11960 - readonly threadId?: string | null; 11961 - readonly createdAt?: string | null; 11962 - readonly creatorId?: string | null; 11963 - readonly isDeleted?: string | null; 11964 - }; 11965 - readonly baseFields: ReadonlyArray<{ 11966 - readonly __typename: 'BaseField'; 11967 - readonly name: string; 11968 - readonly required: boolean; 11969 - readonly type: GQLFieldType; 11970 - readonly container?: { 11971 - readonly __typename: 'Container'; 11972 - readonly containerType: GQLContainerType; 11973 - readonly keyScalarType?: GQLScalarType | null; 11974 - readonly valueScalarType: GQLScalarType; 11975 - } | null; 11976 - }>; 11977 - readonly derivedFields: ReadonlyArray<{ 11978 - readonly __typename: 'DerivedField'; 11979 - readonly type: GQLFieldType; 11980 - readonly name: string; 11981 - readonly container?: { 11982 - readonly __typename: 'Container'; 11983 - readonly containerType: GQLContainerType; 11984 - readonly keyScalarType?: GQLScalarType | null; 11985 - readonly valueScalarType: GQLScalarType; 11986 - } | null; 11987 - readonly spec: { 11988 - readonly __typename: 'DerivedFieldSpec'; 11989 - readonly derivationType: GQLDerivedFieldDerivationType; 11990 - readonly source: 11991 - | { 11992 - readonly __typename: 'DerivedFieldCoopInputSource'; 11993 - readonly coopInput: GQLCoopInput; 11994 - } 11995 - | { 11996 - readonly __typename: 'DerivedFieldFieldSource'; 11997 - readonly name: string; 11998 - readonly contentTypeId: string; 11999 - } 12000 - | { 12001 - readonly __typename: 'DerivedFieldFullItemSource'; 12002 - readonly _?: boolean | null; 12003 - }; 12004 - }; 12005 - }>; 12006 - }; 12007 - }>; 12008 - readonly itemThreadContentItems?: ReadonlyArray<{ 12009 - readonly __typename: 'ContentItem'; 12010 - readonly id: string; 12011 - readonly submissionId: string; 12012 - readonly submissionTime?: Date | string | null; 12013 - readonly data: JsonObject; 12014 - readonly type: { 12015 - readonly __typename: 'ContentItemType'; 12016 - readonly id: string; 12017 - readonly name: string; 12018 - readonly description?: string | null; 12019 - readonly version: string; 12020 - readonly schemaVariant: GQLItemTypeSchemaVariant; 12021 - readonly hiddenFields: ReadonlyArray<string>; 12022 - readonly schemaFieldRoles: { 12023 - readonly __typename: 'ContentSchemaFieldRoles'; 12024 - readonly displayName?: string | null; 12025 - readonly parentId?: string | null; 12026 - readonly threadId?: string | null; 12027 - readonly createdAt?: string | null; 12028 - readonly creatorId?: string | null; 12029 - readonly isDeleted?: string | null; 12030 - }; 12031 - readonly baseFields: ReadonlyArray<{ 12032 - readonly __typename: 'BaseField'; 12033 - readonly name: string; 12034 - readonly required: boolean; 12035 - readonly type: GQLFieldType; 12036 - readonly container?: { 12037 - readonly __typename: 'Container'; 12038 - readonly containerType: GQLContainerType; 12039 - readonly keyScalarType?: GQLScalarType | null; 12040 - readonly valueScalarType: GQLScalarType; 12041 - } | null; 12042 - }>; 12043 - readonly derivedFields: ReadonlyArray<{ 12044 - readonly __typename: 'DerivedField'; 12045 - readonly type: GQLFieldType; 12046 - readonly name: string; 12047 - readonly container?: { 12048 - readonly __typename: 'Container'; 12049 - readonly containerType: GQLContainerType; 12050 - readonly keyScalarType?: GQLScalarType | null; 12051 - readonly valueScalarType: GQLScalarType; 12052 - } | null; 12053 - readonly spec: { 12054 - readonly __typename: 'DerivedFieldSpec'; 12055 - readonly derivationType: GQLDerivedFieldDerivationType; 12056 - readonly source: 12057 - | { 12058 - readonly __typename: 'DerivedFieldCoopInputSource'; 12059 - readonly coopInput: GQLCoopInput; 12060 - } 12061 - | { 12062 - readonly __typename: 'DerivedFieldFieldSource'; 12063 - readonly name: string; 12064 - readonly contentTypeId: string; 12065 - } 12066 - | { 12067 - readonly __typename: 'DerivedFieldFullItemSource'; 12068 - readonly _?: boolean | null; 12069 - }; 12070 - }; 12071 - }>; 12072 - }; 12073 - }> | null; 12074 - readonly reportedForReasons: ReadonlyArray<{ 12075 - readonly __typename: 'ReportedForReason'; 12076 - readonly reason?: string | null; 12077 - readonly reporterId?: { 12078 - readonly __typename: 'ItemIdentifier'; 12079 - readonly id: string; 12080 - readonly typeId: string; 12081 - } | null; 12082 - }>; 12083 - readonly enqueueSourceInfo?: 12084 - | { readonly __typename: 'AppealEnqueueSourceInfo' } 12085 - | { 12086 - readonly __typename: 'MrtJobEnqueueSourceInfo'; 12087 - readonly kind: GQLJobCreationSourceOptions; 12088 - } 12089 - | { 12090 - readonly __typename: 'PostActionsEnqueueSourceInfo'; 12091 - readonly kind: GQLJobCreationSourceOptions; 12092 - } 12093 - | { 12094 - readonly __typename: 'ReportEnqueueSourceInfo'; 12095 - readonly kind: GQLJobCreationSourceOptions; 12096 - } 12097 - | { 12098 - readonly __typename: 'RuleExecutionEnqueueSourceInfo'; 12099 - readonly kind: GQLJobCreationSourceOptions; 12100 - readonly rules: ReadonlyArray< 12101 - | { 12102 - readonly __typename: 'ContentRule'; 12103 - readonly id: string; 12104 - readonly name: string; 12105 - } 12106 - | { 12107 - readonly __typename: 'UserRule'; 12108 - readonly id: string; 12109 - readonly name: string; 12110 - } 12111 - >; 12112 - } 12113 - | null; 12114 - } 12115 - | { 12116 - readonly __typename: 'NcmecManualReviewJobPayload'; 12117 - readonly item: { 12118 - readonly __typename: 'UserItem'; 12119 - readonly id: string; 12120 - readonly submissionId: string; 12121 - readonly submissionTime?: Date | string | null; 12122 - readonly data: JsonObject; 12123 - readonly type: { 12124 - readonly __typename: 'UserItemType'; 12125 - readonly id: string; 12126 - readonly name: string; 12127 - readonly description?: string | null; 12128 - readonly version: string; 12129 - readonly schemaVariant: GQLItemTypeSchemaVariant; 12130 - readonly hiddenFields: ReadonlyArray<string>; 12131 - readonly schemaFieldRoles: { 12132 - readonly __typename: 'UserSchemaFieldRoles'; 12133 - readonly displayName?: string | null; 12134 - readonly createdAt?: string | null; 12135 - readonly profileIcon?: string | null; 12136 - readonly backgroundImage?: string | null; 12137 - readonly isDeleted?: string | null; 12138 - }; 12139 - readonly baseFields: ReadonlyArray<{ 12140 - readonly __typename: 'BaseField'; 12141 - readonly name: string; 12142 - readonly required: boolean; 12143 - readonly type: GQLFieldType; 12144 - readonly container?: { 12145 - readonly __typename: 'Container'; 12146 - readonly containerType: GQLContainerType; 12147 - readonly keyScalarType?: GQLScalarType | null; 12148 - readonly valueScalarType: GQLScalarType; 12149 - } | null; 12150 - }>; 12151 - readonly derivedFields: ReadonlyArray<{ 12152 - readonly __typename: 'DerivedField'; 12153 - readonly type: GQLFieldType; 12154 - readonly name: string; 12155 - readonly container?: { 12156 - readonly __typename: 'Container'; 12157 - readonly containerType: GQLContainerType; 12158 - readonly keyScalarType?: GQLScalarType | null; 12159 - readonly valueScalarType: GQLScalarType; 12160 - } | null; 12161 - readonly spec: { 12162 - readonly __typename: 'DerivedFieldSpec'; 12163 - readonly derivationType: GQLDerivedFieldDerivationType; 12164 - readonly source: 12165 - | { 12166 - readonly __typename: 'DerivedFieldCoopInputSource'; 12167 - readonly coopInput: GQLCoopInput; 12168 - } 12169 - | { 12170 - readonly __typename: 'DerivedFieldFieldSource'; 12171 - readonly name: string; 12172 - readonly contentTypeId: string; 12173 - } 12174 - | { 12175 - readonly __typename: 'DerivedFieldFullItemSource'; 12176 - readonly _?: boolean | null; 12177 - }; 12178 - }; 12179 - }>; 12180 - }; 12181 - }; 12182 - readonly allMediaItems: ReadonlyArray<{ 12183 - readonly __typename: 'NcmecContentItem'; 12184 - readonly isConfirmedCSAM: boolean; 12185 - readonly isReported: boolean; 12186 - readonly contentItem: 12187 - | { 12188 - readonly __typename: 'ContentItem'; 12189 - readonly id: string; 12190 - readonly submissionId: string; 12191 - readonly submissionTime?: Date | string | null; 12192 - readonly data: JsonObject; 12193 - readonly type: { 12194 - readonly __typename: 'ContentItemType'; 12195 - readonly id: string; 12196 - readonly name: string; 12197 - readonly description?: string | null; 12198 - readonly version: string; 12199 - readonly schemaVariant: GQLItemTypeSchemaVariant; 12200 - readonly hiddenFields: ReadonlyArray<string>; 12201 - readonly schemaFieldRoles: { 12202 - readonly __typename: 'ContentSchemaFieldRoles'; 12203 - readonly displayName?: string | null; 12204 - readonly parentId?: string | null; 12205 - readonly threadId?: string | null; 12206 - readonly createdAt?: string | null; 12207 - readonly creatorId?: string | null; 12208 - readonly isDeleted?: string | null; 12209 - }; 12210 - readonly baseFields: ReadonlyArray<{ 12211 - readonly __typename: 'BaseField'; 12212 - readonly name: string; 12213 - readonly required: boolean; 12214 - readonly type: GQLFieldType; 12215 - readonly container?: { 12216 - readonly __typename: 'Container'; 12217 - readonly containerType: GQLContainerType; 12218 - readonly keyScalarType?: GQLScalarType | null; 12219 - readonly valueScalarType: GQLScalarType; 12220 - } | null; 12221 - }>; 12222 - readonly derivedFields: ReadonlyArray<{ 12223 - readonly __typename: 'DerivedField'; 12224 - readonly type: GQLFieldType; 12225 - readonly name: string; 12226 - readonly container?: { 12227 - readonly __typename: 'Container'; 12228 - readonly containerType: GQLContainerType; 12229 - readonly keyScalarType?: GQLScalarType | null; 12230 - readonly valueScalarType: GQLScalarType; 12231 - } | null; 12232 - readonly spec: { 12233 - readonly __typename: 'DerivedFieldSpec'; 12234 - readonly derivationType: GQLDerivedFieldDerivationType; 12235 - readonly source: 12236 - | { 12237 - readonly __typename: 'DerivedFieldCoopInputSource'; 12238 - readonly coopInput: GQLCoopInput; 12239 - } 12240 - | { 12241 - readonly __typename: 'DerivedFieldFieldSource'; 12242 - readonly name: string; 12243 - readonly contentTypeId: string; 12244 - } 12245 - | { 12246 - readonly __typename: 'DerivedFieldFullItemSource'; 12247 - readonly _?: boolean | null; 12248 - }; 12249 - }; 12250 - }>; 12251 - }; 12252 - } 12253 - | { 12254 - readonly __typename: 'ThreadItem'; 12255 - readonly id: string; 12256 - readonly submissionId: string; 12257 - readonly submissionTime?: Date | string | null; 12258 - readonly data: JsonObject; 12259 - readonly type: { 12260 - readonly __typename: 'ThreadItemType'; 12261 - readonly id: string; 12262 - readonly name: string; 12263 - readonly description?: string | null; 12264 - readonly version: string; 12265 - readonly schemaVariant: GQLItemTypeSchemaVariant; 12266 - readonly hiddenFields: ReadonlyArray<string>; 12267 - readonly schemaFieldRoles: { 12268 - readonly __typename: 'ThreadSchemaFieldRoles'; 12269 - readonly displayName?: string | null; 12270 - readonly createdAt?: string | null; 12271 - readonly creatorId?: string | null; 12272 - readonly isDeleted?: string | null; 12273 - }; 12274 - readonly baseFields: ReadonlyArray<{ 12275 - readonly __typename: 'BaseField'; 12276 - readonly name: string; 12277 - readonly required: boolean; 12278 - readonly type: GQLFieldType; 12279 - readonly container?: { 12280 - readonly __typename: 'Container'; 12281 - readonly containerType: GQLContainerType; 12282 - readonly keyScalarType?: GQLScalarType | null; 12283 - readonly valueScalarType: GQLScalarType; 12284 - } | null; 12285 - }>; 12286 - readonly derivedFields: ReadonlyArray<{ 12287 - readonly __typename: 'DerivedField'; 12288 - readonly type: GQLFieldType; 12289 - readonly name: string; 12290 - readonly container?: { 12291 - readonly __typename: 'Container'; 12292 - readonly containerType: GQLContainerType; 12293 - readonly keyScalarType?: GQLScalarType | null; 12294 - readonly valueScalarType: GQLScalarType; 12295 - } | null; 12296 - readonly spec: { 12297 - readonly __typename: 'DerivedFieldSpec'; 12298 - readonly derivationType: GQLDerivedFieldDerivationType; 12299 - readonly source: 12300 - | { 12301 - readonly __typename: 'DerivedFieldCoopInputSource'; 12302 - readonly coopInput: GQLCoopInput; 12303 - } 12304 - | { 12305 - readonly __typename: 'DerivedFieldFieldSource'; 12306 - readonly name: string; 12307 - readonly contentTypeId: string; 12308 - } 12309 - | { 12310 - readonly __typename: 'DerivedFieldFullItemSource'; 12311 - readonly _?: boolean | null; 12312 - }; 12313 - }; 12314 - }>; 12315 - }; 12316 - } 12317 - | { 12318 - readonly __typename: 'UserItem'; 12319 - readonly id: string; 12320 - readonly submissionId: string; 12321 - readonly submissionTime?: Date | string | null; 12322 - readonly data: JsonObject; 12323 - readonly type: { 12324 - readonly __typename: 'UserItemType'; 12325 - readonly id: string; 12326 - readonly name: string; 12327 - readonly description?: string | null; 12328 - readonly version: string; 12329 - readonly schemaVariant: GQLItemTypeSchemaVariant; 12330 - readonly hiddenFields: ReadonlyArray<string>; 12331 - readonly schemaFieldRoles: { 12332 - readonly __typename: 'UserSchemaFieldRoles'; 12333 - readonly displayName?: string | null; 12334 - readonly createdAt?: string | null; 12335 - readonly profileIcon?: string | null; 12336 - readonly backgroundImage?: string | null; 12337 - readonly isDeleted?: string | null; 12338 - }; 12339 - readonly baseFields: ReadonlyArray<{ 12340 - readonly __typename: 'BaseField'; 12341 - readonly name: string; 12342 - readonly required: boolean; 12343 - readonly type: GQLFieldType; 12344 - readonly container?: { 12345 - readonly __typename: 'Container'; 12346 - readonly containerType: GQLContainerType; 12347 - readonly keyScalarType?: GQLScalarType | null; 12348 - readonly valueScalarType: GQLScalarType; 12349 - } | null; 12350 - }>; 12351 - readonly derivedFields: ReadonlyArray<{ 12352 - readonly __typename: 'DerivedField'; 12353 - readonly type: GQLFieldType; 12354 - readonly name: string; 12355 - readonly container?: { 12356 - readonly __typename: 'Container'; 12357 - readonly containerType: GQLContainerType; 12358 - readonly keyScalarType?: GQLScalarType | null; 12359 - readonly valueScalarType: GQLScalarType; 12360 - } | null; 12361 - readonly spec: { 12362 - readonly __typename: 'DerivedFieldSpec'; 12363 - readonly derivationType: GQLDerivedFieldDerivationType; 12364 - readonly source: 12365 - | { 12366 - readonly __typename: 'DerivedFieldCoopInputSource'; 12367 - readonly coopInput: GQLCoopInput; 12368 - } 12369 - | { 12370 - readonly __typename: 'DerivedFieldFieldSource'; 12371 - readonly name: string; 12372 - readonly contentTypeId: string; 12373 - } 12374 - | { 12375 - readonly __typename: 'DerivedFieldFullItemSource'; 12376 - readonly _?: boolean | null; 12377 - }; 12378 - }; 12379 - }>; 12380 - }; 12381 - }; 12382 - }>; 12383 - readonly enqueueSourceInfo?: 12384 - | { readonly __typename: 'AppealEnqueueSourceInfo' } 12385 - | { 12386 - readonly __typename: 'MrtJobEnqueueSourceInfo'; 12387 - readonly kind: GQLJobCreationSourceOptions; 12388 - } 12389 - | { 12390 - readonly __typename: 'PostActionsEnqueueSourceInfo'; 12391 - readonly kind: GQLJobCreationSourceOptions; 12392 - } 12393 - | { 12394 - readonly __typename: 'ReportEnqueueSourceInfo'; 12395 - readonly kind: GQLJobCreationSourceOptions; 12396 - } 12397 - | { 12398 - readonly __typename: 'RuleExecutionEnqueueSourceInfo'; 12399 - readonly kind: GQLJobCreationSourceOptions; 12400 - readonly rules: ReadonlyArray< 12401 - | { 12402 - readonly __typename: 'ContentRule'; 12403 - readonly id: string; 12404 - readonly name: string; 12405 - } 12406 - | { 12407 - readonly __typename: 'UserRule'; 12408 - readonly id: string; 12409 - readonly name: string; 12410 - } 12411 - >; 12412 - } 12413 - | null; 12414 - } 12415 - | { 12416 - readonly __typename: 'ThreadAppealManualReviewJobPayload'; 12417 - readonly appealId: string; 12418 - readonly appealReason?: string | null; 12419 - readonly actionsTaken: ReadonlyArray<string>; 12420 - readonly item: { 12421 - readonly __typename: 'ThreadItem'; 12422 - readonly id: string; 12423 - readonly submissionId: string; 12424 - readonly submissionTime?: Date | string | null; 12425 - readonly data: JsonObject; 12426 - readonly type: { 12427 - readonly __typename: 'ThreadItemType'; 12428 - readonly id: string; 12429 - readonly name: string; 12430 - readonly description?: string | null; 12431 - readonly version: string; 12432 - readonly schemaVariant: GQLItemTypeSchemaVariant; 12433 - readonly hiddenFields: ReadonlyArray<string>; 12434 - readonly schemaFieldRoles: { 12435 - readonly __typename: 'ThreadSchemaFieldRoles'; 12436 - readonly displayName?: string | null; 12437 - readonly createdAt?: string | null; 12438 - readonly creatorId?: string | null; 12439 - readonly isDeleted?: string | null; 12440 - }; 12441 - readonly baseFields: ReadonlyArray<{ 12442 - readonly __typename: 'BaseField'; 12443 - readonly name: string; 12444 - readonly required: boolean; 12445 - readonly type: GQLFieldType; 12446 - readonly container?: { 12447 - readonly __typename: 'Container'; 12448 - readonly containerType: GQLContainerType; 12449 - readonly keyScalarType?: GQLScalarType | null; 12450 - readonly valueScalarType: GQLScalarType; 12451 - } | null; 12452 - }>; 12453 - readonly derivedFields: ReadonlyArray<{ 12454 - readonly __typename: 'DerivedField'; 12455 - readonly type: GQLFieldType; 12456 - readonly name: string; 12457 - readonly container?: { 12458 - readonly __typename: 'Container'; 12459 - readonly containerType: GQLContainerType; 12460 - readonly keyScalarType?: GQLScalarType | null; 12461 - readonly valueScalarType: GQLScalarType; 12462 - } | null; 12463 - readonly spec: { 12464 - readonly __typename: 'DerivedFieldSpec'; 12465 - readonly derivationType: GQLDerivedFieldDerivationType; 12466 - readonly source: 12467 - | { 12468 - readonly __typename: 'DerivedFieldCoopInputSource'; 12469 - readonly coopInput: GQLCoopInput; 12470 - } 12471 - | { 12472 - readonly __typename: 'DerivedFieldFieldSource'; 12473 - readonly name: string; 12474 - readonly contentTypeId: string; 12475 - } 12476 - | { 12477 - readonly __typename: 'DerivedFieldFullItemSource'; 12478 - readonly _?: boolean | null; 12479 - }; 12480 - }; 12481 - }>; 12482 - }; 12483 - }; 12484 - readonly appealerIdentifier?: { 12485 - readonly __typename: 'ItemIdentifier'; 12486 - readonly id: string; 12487 - readonly typeId: string; 12488 - } | null; 12489 - readonly enqueueSourceInfo?: { 12490 - readonly __typename: 'AppealEnqueueSourceInfo'; 12491 - readonly kind: GQLJobCreationSourceOptions; 12492 - } | null; 12493 - } 12494 - | { 12495 - readonly __typename: 'ThreadManualReviewJobPayload'; 12496 - readonly reportHistory: ReadonlyArray<{ 12497 - readonly __typename: 'ReportHistoryEntry'; 12498 - readonly reportId: string; 12499 - readonly policyId?: string | null; 12500 - readonly reason?: string | null; 12501 - readonly reportedAt: Date | string; 12502 - readonly reporterId?: { 12503 - readonly __typename: 'ItemIdentifier'; 12504 - readonly id: string; 12505 - readonly typeId: string; 12506 - } | null; 12507 - }>; 12508 - readonly item: { 12509 - readonly __typename: 'ThreadItem'; 12510 - readonly id: string; 12511 - readonly submissionId: string; 12512 - readonly submissionTime?: Date | string | null; 12513 - readonly data: JsonObject; 12514 - readonly type: { 12515 - readonly __typename: 'ThreadItemType'; 12516 - readonly id: string; 12517 - readonly name: string; 12518 - readonly description?: string | null; 12519 - readonly version: string; 12520 - readonly schemaVariant: GQLItemTypeSchemaVariant; 12521 - readonly hiddenFields: ReadonlyArray<string>; 12522 - readonly schemaFieldRoles: { 12523 - readonly __typename: 'ThreadSchemaFieldRoles'; 12524 - readonly displayName?: string | null; 12525 - readonly createdAt?: string | null; 12526 - readonly creatorId?: string | null; 12527 - readonly isDeleted?: string | null; 12528 - }; 12529 - readonly baseFields: ReadonlyArray<{ 12530 - readonly __typename: 'BaseField'; 12531 - readonly name: string; 12532 - readonly required: boolean; 12533 - readonly type: GQLFieldType; 12534 - readonly container?: { 12535 - readonly __typename: 'Container'; 12536 - readonly containerType: GQLContainerType; 12537 - readonly keyScalarType?: GQLScalarType | null; 12538 - readonly valueScalarType: GQLScalarType; 12539 - } | null; 12540 - }>; 12541 - readonly derivedFields: ReadonlyArray<{ 12542 - readonly __typename: 'DerivedField'; 12543 - readonly type: GQLFieldType; 12544 - readonly name: string; 12545 - readonly container?: { 12546 - readonly __typename: 'Container'; 12547 - readonly containerType: GQLContainerType; 12548 - readonly keyScalarType?: GQLScalarType | null; 12549 - readonly valueScalarType: GQLScalarType; 12550 - } | null; 12551 - readonly spec: { 12552 - readonly __typename: 'DerivedFieldSpec'; 12553 - readonly derivationType: GQLDerivedFieldDerivationType; 12554 - readonly source: 12555 - | { 12556 - readonly __typename: 'DerivedFieldCoopInputSource'; 12557 - readonly coopInput: GQLCoopInput; 12558 - } 12559 - | { 12560 - readonly __typename: 'DerivedFieldFieldSource'; 12561 - readonly name: string; 12562 - readonly contentTypeId: string; 12563 - } 12564 - | { 12565 - readonly __typename: 'DerivedFieldFullItemSource'; 12566 - readonly _?: boolean | null; 12567 - }; 12568 - }; 12569 - }>; 12570 - }; 12571 - }; 12572 - readonly reportedForReasons: ReadonlyArray<{ 12573 - readonly __typename: 'ReportedForReason'; 12574 - readonly reason?: string | null; 12575 - readonly reporterId?: { 12576 - readonly __typename: 'ItemIdentifier'; 12577 - readonly id: string; 12578 - readonly typeId: string; 12579 - } | null; 12580 - }>; 12581 - readonly enqueueSourceInfo?: 12582 - | { readonly __typename: 'AppealEnqueueSourceInfo' } 12583 - | { 12584 - readonly __typename: 'MrtJobEnqueueSourceInfo'; 12585 - readonly kind: GQLJobCreationSourceOptions; 12586 - } 12587 - | { 12588 - readonly __typename: 'PostActionsEnqueueSourceInfo'; 12589 - readonly kind: GQLJobCreationSourceOptions; 12590 - } 12591 - | { 12592 - readonly __typename: 'ReportEnqueueSourceInfo'; 12593 - readonly kind: GQLJobCreationSourceOptions; 12594 - } 12595 - | { 12596 - readonly __typename: 'RuleExecutionEnqueueSourceInfo'; 12597 - readonly kind: GQLJobCreationSourceOptions; 12598 - readonly rules: ReadonlyArray< 12599 - | { 12600 - readonly __typename: 'ContentRule'; 12601 - readonly id: string; 12602 - readonly name: string; 12603 - } 12604 - | { 12605 - readonly __typename: 'UserRule'; 12606 - readonly id: string; 12607 - readonly name: string; 12608 - } 12609 - >; 12610 - } 12611 - | null; 12612 - } 12613 - | { 12614 - readonly __typename: 'UserAppealManualReviewJobPayload'; 12615 - readonly userScore?: number | null; 12616 - readonly appealReason?: string | null; 12617 - readonly appealId: string; 12618 - readonly actionsTaken: ReadonlyArray<string>; 12619 - readonly item: { 12620 - readonly __typename: 'UserItem'; 12621 - readonly id: string; 12622 - readonly submissionId: string; 12623 - readonly submissionTime?: Date | string | null; 12624 - readonly data: JsonObject; 12625 - readonly type: { 12626 - readonly __typename: 'UserItemType'; 12627 - readonly id: string; 12628 - readonly name: string; 12629 - readonly description?: string | null; 12630 - readonly version: string; 12631 - readonly schemaVariant: GQLItemTypeSchemaVariant; 12632 - readonly hiddenFields: ReadonlyArray<string>; 12633 - readonly schemaFieldRoles: { 12634 - readonly __typename: 'UserSchemaFieldRoles'; 12635 - readonly displayName?: string | null; 12636 - readonly createdAt?: string | null; 12637 - readonly profileIcon?: string | null; 12638 - readonly backgroundImage?: string | null; 12639 - readonly isDeleted?: string | null; 12640 - }; 12641 - readonly baseFields: ReadonlyArray<{ 12642 - readonly __typename: 'BaseField'; 12643 - readonly name: string; 12644 - readonly required: boolean; 12645 - readonly type: GQLFieldType; 12646 - readonly container?: { 12647 - readonly __typename: 'Container'; 12648 - readonly containerType: GQLContainerType; 12649 - readonly keyScalarType?: GQLScalarType | null; 12650 - readonly valueScalarType: GQLScalarType; 12651 - } | null; 12652 - }>; 12653 - readonly derivedFields: ReadonlyArray<{ 12654 - readonly __typename: 'DerivedField'; 12655 - readonly type: GQLFieldType; 12656 - readonly name: string; 12657 - readonly container?: { 12658 - readonly __typename: 'Container'; 12659 - readonly containerType: GQLContainerType; 12660 - readonly keyScalarType?: GQLScalarType | null; 12661 - readonly valueScalarType: GQLScalarType; 12662 - } | null; 12663 - readonly spec: { 12664 - readonly __typename: 'DerivedFieldSpec'; 12665 - readonly derivationType: GQLDerivedFieldDerivationType; 12666 - readonly source: 12667 - | { 12668 - readonly __typename: 'DerivedFieldCoopInputSource'; 12669 - readonly coopInput: GQLCoopInput; 12670 - } 12671 - | { 12672 - readonly __typename: 'DerivedFieldFieldSource'; 12673 - readonly name: string; 12674 - readonly contentTypeId: string; 12675 - } 12676 - | { 12677 - readonly __typename: 'DerivedFieldFullItemSource'; 12678 - readonly _?: boolean | null; 12679 - }; 12680 - }; 12681 - }>; 12682 - }; 12683 - }; 12684 - readonly additionalContentItems: ReadonlyArray<{ 12685 - readonly __typename: 'ContentItem'; 12686 - readonly id: string; 12687 - readonly submissionId: string; 12688 - readonly submissionTime?: Date | string | null; 12689 - readonly data: JsonObject; 12690 - readonly type: { 12691 - readonly __typename: 'ContentItemType'; 12692 - readonly id: string; 12693 - readonly name: string; 12694 - readonly description?: string | null; 12695 - readonly version: string; 12696 - readonly schemaVariant: GQLItemTypeSchemaVariant; 12697 - readonly hiddenFields: ReadonlyArray<string>; 12698 - readonly schemaFieldRoles: { 12699 - readonly __typename: 'ContentSchemaFieldRoles'; 12700 - readonly displayName?: string | null; 12701 - readonly parentId?: string | null; 12702 - readonly threadId?: string | null; 12703 - readonly createdAt?: string | null; 12704 - readonly creatorId?: string | null; 12705 - readonly isDeleted?: string | null; 12706 - }; 12707 - readonly baseFields: ReadonlyArray<{ 12708 - readonly __typename: 'BaseField'; 12709 - readonly name: string; 12710 - readonly required: boolean; 12711 - readonly type: GQLFieldType; 12712 - readonly container?: { 12713 - readonly __typename: 'Container'; 12714 - readonly containerType: GQLContainerType; 12715 - readonly keyScalarType?: GQLScalarType | null; 12716 - readonly valueScalarType: GQLScalarType; 12717 - } | null; 12718 - }>; 12719 - readonly derivedFields: ReadonlyArray<{ 12720 - readonly __typename: 'DerivedField'; 12721 - readonly type: GQLFieldType; 12722 - readonly name: string; 12723 - readonly container?: { 12724 - readonly __typename: 'Container'; 12725 - readonly containerType: GQLContainerType; 12726 - readonly keyScalarType?: GQLScalarType | null; 12727 - readonly valueScalarType: GQLScalarType; 12728 - } | null; 12729 - readonly spec: { 12730 - readonly __typename: 'DerivedFieldSpec'; 12731 - readonly derivationType: GQLDerivedFieldDerivationType; 12732 - readonly source: 12733 - | { 12734 - readonly __typename: 'DerivedFieldCoopInputSource'; 12735 - readonly coopInput: GQLCoopInput; 12736 - } 12737 - | { 12738 - readonly __typename: 'DerivedFieldFieldSource'; 12739 - readonly name: string; 12740 - readonly contentTypeId: string; 12741 - } 12742 - | { 12743 - readonly __typename: 'DerivedFieldFullItemSource'; 12744 - readonly _?: boolean | null; 12745 - }; 12746 - }; 12747 - }>; 12748 - }; 12749 - }>; 12750 - readonly appealerIdentifier?: { 12751 - readonly __typename: 'ItemIdentifier'; 12752 - readonly id: string; 12753 - readonly typeId: string; 12754 - } | null; 12755 - readonly enqueueSourceInfo?: { 12756 - readonly __typename: 'AppealEnqueueSourceInfo'; 12757 - readonly kind: GQLJobCreationSourceOptions; 12758 - } | null; 12759 - } 12760 - | { 12761 - readonly __typename: 'UserManualReviewJobPayload'; 12762 - readonly userScore?: number | null; 12763 - readonly reportHistory: ReadonlyArray<{ 12764 - readonly __typename: 'ReportHistoryEntry'; 12765 - readonly reportId: string; 12766 - readonly policyId?: string | null; 12767 - readonly reason?: string | null; 12768 - readonly reportedAt: Date | string; 12769 - readonly reporterId?: { 12770 - readonly __typename: 'ItemIdentifier'; 12771 - readonly id: string; 12772 - readonly typeId: string; 12773 - } | null; 12774 - }>; 12775 - readonly item: { 12776 - readonly __typename: 'UserItem'; 12777 - readonly id: string; 12778 - readonly submissionId: string; 12779 - readonly submissionTime?: Date | string | null; 12780 - readonly data: JsonObject; 12781 - readonly type: { 12782 - readonly __typename: 'UserItemType'; 12783 - readonly id: string; 12784 - readonly name: string; 12785 - readonly description?: string | null; 12786 - readonly version: string; 12787 - readonly schemaVariant: GQLItemTypeSchemaVariant; 12788 - readonly hiddenFields: ReadonlyArray<string>; 12789 - readonly schemaFieldRoles: { 12790 - readonly __typename: 'UserSchemaFieldRoles'; 12791 - readonly displayName?: string | null; 12792 - readonly createdAt?: string | null; 12793 - readonly profileIcon?: string | null; 12794 - readonly backgroundImage?: string | null; 12795 - readonly isDeleted?: string | null; 12796 - }; 12797 - readonly baseFields: ReadonlyArray<{ 12798 - readonly __typename: 'BaseField'; 12799 - readonly name: string; 12800 - readonly required: boolean; 12801 - readonly type: GQLFieldType; 12802 - readonly container?: { 12803 - readonly __typename: 'Container'; 12804 - readonly containerType: GQLContainerType; 12805 - readonly keyScalarType?: GQLScalarType | null; 12806 - readonly valueScalarType: GQLScalarType; 12807 - } | null; 12808 - }>; 12809 - readonly derivedFields: ReadonlyArray<{ 12810 - readonly __typename: 'DerivedField'; 12811 - readonly type: GQLFieldType; 12812 - readonly name: string; 12813 - readonly container?: { 12814 - readonly __typename: 'Container'; 12815 - readonly containerType: GQLContainerType; 12816 - readonly keyScalarType?: GQLScalarType | null; 12817 - readonly valueScalarType: GQLScalarType; 12818 - } | null; 12819 - readonly spec: { 12820 - readonly __typename: 'DerivedFieldSpec'; 12821 - readonly derivationType: GQLDerivedFieldDerivationType; 12822 - readonly source: 12823 - | { 12824 - readonly __typename: 'DerivedFieldCoopInputSource'; 12825 - readonly coopInput: GQLCoopInput; 12826 - } 12827 - | { 12828 - readonly __typename: 'DerivedFieldFieldSource'; 12829 - readonly name: string; 12830 - readonly contentTypeId: string; 12831 - } 12832 - | { 12833 - readonly __typename: 'DerivedFieldFullItemSource'; 12834 - readonly _?: boolean | null; 12835 - }; 12836 - }; 12837 - }>; 12838 - }; 12839 - }; 12840 - readonly itemThreadContentItems?: ReadonlyArray<{ 12841 - readonly __typename: 'ContentItem'; 12842 - readonly id: string; 12843 - readonly submissionId: string; 12844 - readonly submissionTime?: Date | string | null; 12845 - readonly data: JsonObject; 12846 - readonly type: { 12847 - readonly __typename: 'ContentItemType'; 12848 - readonly id: string; 12849 - readonly name: string; 12850 - readonly description?: string | null; 12851 - readonly version: string; 12852 - readonly schemaVariant: GQLItemTypeSchemaVariant; 12853 - readonly hiddenFields: ReadonlyArray<string>; 12854 - readonly schemaFieldRoles: { 12855 - readonly __typename: 'ContentSchemaFieldRoles'; 12856 - readonly displayName?: string | null; 12857 - readonly parentId?: string | null; 12858 - readonly threadId?: string | null; 12859 - readonly createdAt?: string | null; 12860 - readonly creatorId?: string | null; 12861 - readonly isDeleted?: string | null; 12862 - }; 12863 - readonly baseFields: ReadonlyArray<{ 12864 - readonly __typename: 'BaseField'; 12865 - readonly name: string; 12866 - readonly required: boolean; 12867 - readonly type: GQLFieldType; 12868 - readonly container?: { 12869 - readonly __typename: 'Container'; 12870 - readonly containerType: GQLContainerType; 12871 - readonly keyScalarType?: GQLScalarType | null; 12872 - readonly valueScalarType: GQLScalarType; 12873 - } | null; 12874 - }>; 12875 - readonly derivedFields: ReadonlyArray<{ 12876 - readonly __typename: 'DerivedField'; 12877 - readonly type: GQLFieldType; 12878 - readonly name: string; 12879 - readonly container?: { 12880 - readonly __typename: 'Container'; 12881 - readonly containerType: GQLContainerType; 12882 - readonly keyScalarType?: GQLScalarType | null; 12883 - readonly valueScalarType: GQLScalarType; 12884 - } | null; 12885 - readonly spec: { 12886 - readonly __typename: 'DerivedFieldSpec'; 12887 - readonly derivationType: GQLDerivedFieldDerivationType; 12888 - readonly source: 12889 - | { 12890 - readonly __typename: 'DerivedFieldCoopInputSource'; 12891 - readonly coopInput: GQLCoopInput; 12892 - } 12893 - | { 12894 - readonly __typename: 'DerivedFieldFieldSource'; 12895 - readonly name: string; 12896 - readonly contentTypeId: string; 12897 - } 12898 - | { 12899 - readonly __typename: 'DerivedFieldFullItemSource'; 12900 - readonly _?: boolean | null; 12901 - }; 12902 - }; 12903 - }>; 12904 - }; 12905 - }> | null; 12906 - readonly reportedItems?: ReadonlyArray<{ 12907 - readonly __typename: 'ItemIdentifier'; 12908 - readonly id: string; 12909 - readonly typeId: string; 12910 - } | null> | null; 12911 - readonly additionalContentItems: ReadonlyArray<{ 12912 - readonly __typename: 'ContentItem'; 12913 - readonly id: string; 12914 - readonly submissionId: string; 12915 - readonly submissionTime?: Date | string | null; 12916 - readonly data: JsonObject; 12917 - readonly type: { 12918 - readonly __typename: 'ContentItemType'; 12919 - readonly id: string; 12920 - readonly name: string; 12921 - readonly description?: string | null; 12922 - readonly version: string; 12923 - readonly schemaVariant: GQLItemTypeSchemaVariant; 12924 - readonly hiddenFields: ReadonlyArray<string>; 12925 - readonly schemaFieldRoles: { 12926 - readonly __typename: 'ContentSchemaFieldRoles'; 12927 - readonly displayName?: string | null; 12928 - readonly parentId?: string | null; 12929 - readonly threadId?: string | null; 12930 - readonly createdAt?: string | null; 12931 - readonly creatorId?: string | null; 12932 - readonly isDeleted?: string | null; 12933 - }; 12934 - readonly baseFields: ReadonlyArray<{ 12935 - readonly __typename: 'BaseField'; 12936 - readonly name: string; 12937 - readonly required: boolean; 12938 - readonly type: GQLFieldType; 12939 - readonly container?: { 12940 - readonly __typename: 'Container'; 12941 - readonly containerType: GQLContainerType; 12942 - readonly keyScalarType?: GQLScalarType | null; 12943 - readonly valueScalarType: GQLScalarType; 12944 - } | null; 12945 - }>; 12946 - readonly derivedFields: ReadonlyArray<{ 12947 - readonly __typename: 'DerivedField'; 12948 - readonly type: GQLFieldType; 12949 - readonly name: string; 12950 - readonly container?: { 12951 - readonly __typename: 'Container'; 12952 - readonly containerType: GQLContainerType; 12953 - readonly keyScalarType?: GQLScalarType | null; 12954 - readonly valueScalarType: GQLScalarType; 12955 - } | null; 12956 - readonly spec: { 12957 - readonly __typename: 'DerivedFieldSpec'; 12958 - readonly derivationType: GQLDerivedFieldDerivationType; 12959 - readonly source: 12960 - | { 12961 - readonly __typename: 'DerivedFieldCoopInputSource'; 12962 - readonly coopInput: GQLCoopInput; 12963 - } 12964 - | { 12965 - readonly __typename: 'DerivedFieldFieldSource'; 12966 - readonly name: string; 12967 - readonly contentTypeId: string; 12968 - } 12969 - | { 12970 - readonly __typename: 'DerivedFieldFullItemSource'; 12971 - readonly _?: boolean | null; 12972 - }; 12973 - }; 12974 - }>; 12975 - }; 12976 - }>; 12977 - readonly reportedForReasons: ReadonlyArray<{ 12978 - readonly __typename: 'ReportedForReason'; 12979 - readonly reason?: string | null; 12980 - readonly reporterId?: { 12981 - readonly __typename: 'ItemIdentifier'; 12982 - readonly id: string; 12983 - readonly typeId: string; 12984 - } | null; 12985 - }>; 12986 - readonly enqueueSourceInfo?: 12987 - | { readonly __typename: 'AppealEnqueueSourceInfo' } 12988 - | { 12989 - readonly __typename: 'MrtJobEnqueueSourceInfo'; 12990 - readonly kind: GQLJobCreationSourceOptions; 12991 - } 12992 - | { 12993 - readonly __typename: 'PostActionsEnqueueSourceInfo'; 12994 - readonly kind: GQLJobCreationSourceOptions; 12995 - } 12996 - | { 12997 - readonly __typename: 'ReportEnqueueSourceInfo'; 12998 - readonly kind: GQLJobCreationSourceOptions; 12999 - } 13000 - | { 13001 - readonly __typename: 'RuleExecutionEnqueueSourceInfo'; 13002 - readonly kind: GQLJobCreationSourceOptions; 13003 - readonly rules: ReadonlyArray< 13004 - | { 13005 - readonly __typename: 'ContentRule'; 13006 - readonly id: string; 13007 - readonly name: string; 13008 - } 13009 - | { 13010 - readonly __typename: 'UserRule'; 13011 - readonly id: string; 13012 - readonly name: string; 13013 - } 13014 - >; 13015 - } 13016 - | null; 13017 - }; 13018 - }; 13019 - 13020 11706 export type GQLManualReviewJobInfoQueryVariables = Exact<{ 13021 11707 jobIds?: InputMaybe< 13022 11708 ReadonlyArray<Scalars['ID']['input']> | Scalars['ID']['input'] ··· 16032 14718 export type GQLReleaseJobLockMutation = { 16033 14719 readonly __typename: 'Mutation'; 16034 14720 readonly releaseJobLock: boolean; 14721 + }; 14722 + 14723 + export type GQLJobFieldsFragment = { 14724 + readonly __typename: 'ManualReviewJob'; 14725 + readonly id: string; 14726 + readonly createdAt: Date | string; 14727 + readonly policyIds: ReadonlyArray<string>; 14728 + readonly numTimesReported?: number | null; 14729 + readonly payload: 14730 + | { 14731 + readonly __typename: 'ContentAppealManualReviewJobPayload'; 14732 + readonly userScore?: number | null; 14733 + readonly appealReason?: string | null; 14734 + readonly appealId: string; 14735 + readonly actionsTaken: ReadonlyArray<string>; 14736 + readonly item: { 14737 + readonly __typename: 'ContentItem'; 14738 + readonly id: string; 14739 + readonly submissionId: string; 14740 + readonly submissionTime?: Date | string | null; 14741 + readonly data: JsonObject; 14742 + readonly type: { 14743 + readonly __typename: 'ContentItemType'; 14744 + readonly id: string; 14745 + readonly name: string; 14746 + readonly description?: string | null; 14747 + readonly version: string; 14748 + readonly schemaVariant: GQLItemTypeSchemaVariant; 14749 + readonly hiddenFields: ReadonlyArray<string>; 14750 + readonly schemaFieldRoles: { 14751 + readonly __typename: 'ContentSchemaFieldRoles'; 14752 + readonly displayName?: string | null; 14753 + readonly parentId?: string | null; 14754 + readonly threadId?: string | null; 14755 + readonly createdAt?: string | null; 14756 + readonly creatorId?: string | null; 14757 + readonly isDeleted?: string | null; 14758 + }; 14759 + readonly baseFields: ReadonlyArray<{ 14760 + readonly __typename: 'BaseField'; 14761 + readonly name: string; 14762 + readonly required: boolean; 14763 + readonly type: GQLFieldType; 14764 + readonly container?: { 14765 + readonly __typename: 'Container'; 14766 + readonly containerType: GQLContainerType; 14767 + readonly keyScalarType?: GQLScalarType | null; 14768 + readonly valueScalarType: GQLScalarType; 14769 + } | null; 14770 + }>; 14771 + readonly derivedFields: ReadonlyArray<{ 14772 + readonly __typename: 'DerivedField'; 14773 + readonly type: GQLFieldType; 14774 + readonly name: string; 14775 + readonly container?: { 14776 + readonly __typename: 'Container'; 14777 + readonly containerType: GQLContainerType; 14778 + readonly keyScalarType?: GQLScalarType | null; 14779 + readonly valueScalarType: GQLScalarType; 14780 + } | null; 14781 + readonly spec: { 14782 + readonly __typename: 'DerivedFieldSpec'; 14783 + readonly derivationType: GQLDerivedFieldDerivationType; 14784 + readonly source: 14785 + | { 14786 + readonly __typename: 'DerivedFieldCoopInputSource'; 14787 + readonly coopInput: GQLCoopInput; 14788 + } 14789 + | { 14790 + readonly __typename: 'DerivedFieldFieldSource'; 14791 + readonly name: string; 14792 + readonly contentTypeId: string; 14793 + } 14794 + | { 14795 + readonly __typename: 'DerivedFieldFullItemSource'; 14796 + readonly _?: boolean | null; 14797 + }; 14798 + }; 14799 + }>; 14800 + }; 14801 + }; 14802 + readonly additionalContentItems: ReadonlyArray<{ 14803 + readonly __typename: 'ContentItem'; 14804 + readonly id: string; 14805 + readonly submissionId: string; 14806 + readonly submissionTime?: Date | string | null; 14807 + readonly data: JsonObject; 14808 + readonly type: { 14809 + readonly __typename: 'ContentItemType'; 14810 + readonly id: string; 14811 + readonly name: string; 14812 + readonly description?: string | null; 14813 + readonly version: string; 14814 + readonly schemaVariant: GQLItemTypeSchemaVariant; 14815 + readonly hiddenFields: ReadonlyArray<string>; 14816 + readonly schemaFieldRoles: { 14817 + readonly __typename: 'ContentSchemaFieldRoles'; 14818 + readonly displayName?: string | null; 14819 + readonly parentId?: string | null; 14820 + readonly threadId?: string | null; 14821 + readonly createdAt?: string | null; 14822 + readonly creatorId?: string | null; 14823 + readonly isDeleted?: string | null; 14824 + }; 14825 + readonly baseFields: ReadonlyArray<{ 14826 + readonly __typename: 'BaseField'; 14827 + readonly name: string; 14828 + readonly required: boolean; 14829 + readonly type: GQLFieldType; 14830 + readonly container?: { 14831 + readonly __typename: 'Container'; 14832 + readonly containerType: GQLContainerType; 14833 + readonly keyScalarType?: GQLScalarType | null; 14834 + readonly valueScalarType: GQLScalarType; 14835 + } | null; 14836 + }>; 14837 + readonly derivedFields: ReadonlyArray<{ 14838 + readonly __typename: 'DerivedField'; 14839 + readonly type: GQLFieldType; 14840 + readonly name: string; 14841 + readonly container?: { 14842 + readonly __typename: 'Container'; 14843 + readonly containerType: GQLContainerType; 14844 + readonly keyScalarType?: GQLScalarType | null; 14845 + readonly valueScalarType: GQLScalarType; 14846 + } | null; 14847 + readonly spec: { 14848 + readonly __typename: 'DerivedFieldSpec'; 14849 + readonly derivationType: GQLDerivedFieldDerivationType; 14850 + readonly source: 14851 + | { 14852 + readonly __typename: 'DerivedFieldCoopInputSource'; 14853 + readonly coopInput: GQLCoopInput; 14854 + } 14855 + | { 14856 + readonly __typename: 'DerivedFieldFieldSource'; 14857 + readonly name: string; 14858 + readonly contentTypeId: string; 14859 + } 14860 + | { 14861 + readonly __typename: 'DerivedFieldFullItemSource'; 14862 + readonly _?: boolean | null; 14863 + }; 14864 + }; 14865 + }>; 14866 + }; 14867 + }>; 14868 + readonly appealerIdentifier?: { 14869 + readonly __typename: 'ItemIdentifier'; 14870 + readonly id: string; 14871 + readonly typeId: string; 14872 + } | null; 14873 + readonly enqueueSourceInfo?: { 14874 + readonly __typename: 'AppealEnqueueSourceInfo'; 14875 + readonly kind: GQLJobCreationSourceOptions; 14876 + } | null; 14877 + } 14878 + | { 14879 + readonly __typename: 'ContentManualReviewJobPayload'; 14880 + readonly userScore?: number | null; 14881 + readonly reportHistory: ReadonlyArray<{ 14882 + readonly __typename: 'ReportHistoryEntry'; 14883 + readonly policyId?: string | null; 14884 + readonly reportId: string; 14885 + readonly reason?: string | null; 14886 + readonly reportedAt: Date | string; 14887 + readonly reporterId?: { 14888 + readonly __typename: 'ItemIdentifier'; 14889 + readonly id: string; 14890 + readonly typeId: string; 14891 + } | null; 14892 + }>; 14893 + readonly item: { 14894 + readonly __typename: 'ContentItem'; 14895 + readonly id: string; 14896 + readonly submissionId: string; 14897 + readonly submissionTime?: Date | string | null; 14898 + readonly data: JsonObject; 14899 + readonly type: { 14900 + readonly __typename: 'ContentItemType'; 14901 + readonly id: string; 14902 + readonly name: string; 14903 + readonly description?: string | null; 14904 + readonly version: string; 14905 + readonly schemaVariant: GQLItemTypeSchemaVariant; 14906 + readonly hiddenFields: ReadonlyArray<string>; 14907 + readonly schemaFieldRoles: { 14908 + readonly __typename: 'ContentSchemaFieldRoles'; 14909 + readonly displayName?: string | null; 14910 + readonly parentId?: string | null; 14911 + readonly threadId?: string | null; 14912 + readonly createdAt?: string | null; 14913 + readonly creatorId?: string | null; 14914 + readonly isDeleted?: string | null; 14915 + }; 14916 + readonly baseFields: ReadonlyArray<{ 14917 + readonly __typename: 'BaseField'; 14918 + readonly name: string; 14919 + readonly required: boolean; 14920 + readonly type: GQLFieldType; 14921 + readonly container?: { 14922 + readonly __typename: 'Container'; 14923 + readonly containerType: GQLContainerType; 14924 + readonly keyScalarType?: GQLScalarType | null; 14925 + readonly valueScalarType: GQLScalarType; 14926 + } | null; 14927 + }>; 14928 + readonly derivedFields: ReadonlyArray<{ 14929 + readonly __typename: 'DerivedField'; 14930 + readonly type: GQLFieldType; 14931 + readonly name: string; 14932 + readonly container?: { 14933 + readonly __typename: 'Container'; 14934 + readonly containerType: GQLContainerType; 14935 + readonly keyScalarType?: GQLScalarType | null; 14936 + readonly valueScalarType: GQLScalarType; 14937 + } | null; 14938 + readonly spec: { 14939 + readonly __typename: 'DerivedFieldSpec'; 14940 + readonly derivationType: GQLDerivedFieldDerivationType; 14941 + readonly source: 14942 + | { 14943 + readonly __typename: 'DerivedFieldCoopInputSource'; 14944 + readonly coopInput: GQLCoopInput; 14945 + } 14946 + | { 14947 + readonly __typename: 'DerivedFieldFieldSource'; 14948 + readonly name: string; 14949 + readonly contentTypeId: string; 14950 + } 14951 + | { 14952 + readonly __typename: 'DerivedFieldFullItemSource'; 14953 + readonly _?: boolean | null; 14954 + }; 14955 + }; 14956 + }>; 14957 + }; 14958 + }; 14959 + readonly additionalContentItems: ReadonlyArray<{ 14960 + readonly __typename: 'ContentItem'; 14961 + readonly id: string; 14962 + readonly submissionId: string; 14963 + readonly submissionTime?: Date | string | null; 14964 + readonly data: JsonObject; 14965 + readonly type: { 14966 + readonly __typename: 'ContentItemType'; 14967 + readonly id: string; 14968 + readonly name: string; 14969 + readonly description?: string | null; 14970 + readonly version: string; 14971 + readonly schemaVariant: GQLItemTypeSchemaVariant; 14972 + readonly hiddenFields: ReadonlyArray<string>; 14973 + readonly schemaFieldRoles: { 14974 + readonly __typename: 'ContentSchemaFieldRoles'; 14975 + readonly displayName?: string | null; 14976 + readonly parentId?: string | null; 14977 + readonly threadId?: string | null; 14978 + readonly createdAt?: string | null; 14979 + readonly creatorId?: string | null; 14980 + readonly isDeleted?: string | null; 14981 + }; 14982 + readonly baseFields: ReadonlyArray<{ 14983 + readonly __typename: 'BaseField'; 14984 + readonly name: string; 14985 + readonly required: boolean; 14986 + readonly type: GQLFieldType; 14987 + readonly container?: { 14988 + readonly __typename: 'Container'; 14989 + readonly containerType: GQLContainerType; 14990 + readonly keyScalarType?: GQLScalarType | null; 14991 + readonly valueScalarType: GQLScalarType; 14992 + } | null; 14993 + }>; 14994 + readonly derivedFields: ReadonlyArray<{ 14995 + readonly __typename: 'DerivedField'; 14996 + readonly type: GQLFieldType; 14997 + readonly name: string; 14998 + readonly container?: { 14999 + readonly __typename: 'Container'; 15000 + readonly containerType: GQLContainerType; 15001 + readonly keyScalarType?: GQLScalarType | null; 15002 + readonly valueScalarType: GQLScalarType; 15003 + } | null; 15004 + readonly spec: { 15005 + readonly __typename: 'DerivedFieldSpec'; 15006 + readonly derivationType: GQLDerivedFieldDerivationType; 15007 + readonly source: 15008 + | { 15009 + readonly __typename: 'DerivedFieldCoopInputSource'; 15010 + readonly coopInput: GQLCoopInput; 15011 + } 15012 + | { 15013 + readonly __typename: 'DerivedFieldFieldSource'; 15014 + readonly name: string; 15015 + readonly contentTypeId: string; 15016 + } 15017 + | { 15018 + readonly __typename: 'DerivedFieldFullItemSource'; 15019 + readonly _?: boolean | null; 15020 + }; 15021 + }; 15022 + }>; 15023 + }; 15024 + }>; 15025 + readonly itemThreadContentItems?: ReadonlyArray<{ 15026 + readonly __typename: 'ContentItem'; 15027 + readonly id: string; 15028 + readonly submissionId: string; 15029 + readonly submissionTime?: Date | string | null; 15030 + readonly data: JsonObject; 15031 + readonly type: { 15032 + readonly __typename: 'ContentItemType'; 15033 + readonly id: string; 15034 + readonly name: string; 15035 + readonly description?: string | null; 15036 + readonly version: string; 15037 + readonly schemaVariant: GQLItemTypeSchemaVariant; 15038 + readonly hiddenFields: ReadonlyArray<string>; 15039 + readonly schemaFieldRoles: { 15040 + readonly __typename: 'ContentSchemaFieldRoles'; 15041 + readonly displayName?: string | null; 15042 + readonly parentId?: string | null; 15043 + readonly threadId?: string | null; 15044 + readonly createdAt?: string | null; 15045 + readonly creatorId?: string | null; 15046 + readonly isDeleted?: string | null; 15047 + }; 15048 + readonly baseFields: ReadonlyArray<{ 15049 + readonly __typename: 'BaseField'; 15050 + readonly name: string; 15051 + readonly required: boolean; 15052 + readonly type: GQLFieldType; 15053 + readonly container?: { 15054 + readonly __typename: 'Container'; 15055 + readonly containerType: GQLContainerType; 15056 + readonly keyScalarType?: GQLScalarType | null; 15057 + readonly valueScalarType: GQLScalarType; 15058 + } | null; 15059 + }>; 15060 + readonly derivedFields: ReadonlyArray<{ 15061 + readonly __typename: 'DerivedField'; 15062 + readonly type: GQLFieldType; 15063 + readonly name: string; 15064 + readonly container?: { 15065 + readonly __typename: 'Container'; 15066 + readonly containerType: GQLContainerType; 15067 + readonly keyScalarType?: GQLScalarType | null; 15068 + readonly valueScalarType: GQLScalarType; 15069 + } | null; 15070 + readonly spec: { 15071 + readonly __typename: 'DerivedFieldSpec'; 15072 + readonly derivationType: GQLDerivedFieldDerivationType; 15073 + readonly source: 15074 + | { 15075 + readonly __typename: 'DerivedFieldCoopInputSource'; 15076 + readonly coopInput: GQLCoopInput; 15077 + } 15078 + | { 15079 + readonly __typename: 'DerivedFieldFieldSource'; 15080 + readonly name: string; 15081 + readonly contentTypeId: string; 15082 + } 15083 + | { 15084 + readonly __typename: 'DerivedFieldFullItemSource'; 15085 + readonly _?: boolean | null; 15086 + }; 15087 + }; 15088 + }>; 15089 + }; 15090 + }> | null; 15091 + readonly reportedForReasons: ReadonlyArray<{ 15092 + readonly __typename: 'ReportedForReason'; 15093 + readonly reason?: string | null; 15094 + readonly reporterId?: { 15095 + readonly __typename: 'ItemIdentifier'; 15096 + readonly id: string; 15097 + readonly typeId: string; 15098 + } | null; 15099 + }>; 15100 + readonly enqueueSourceInfo?: 15101 + | { readonly __typename: 'AppealEnqueueSourceInfo' } 15102 + | { 15103 + readonly __typename: 'MrtJobEnqueueSourceInfo'; 15104 + readonly kind: GQLJobCreationSourceOptions; 15105 + } 15106 + | { 15107 + readonly __typename: 'PostActionsEnqueueSourceInfo'; 15108 + readonly kind: GQLJobCreationSourceOptions; 15109 + } 15110 + | { 15111 + readonly __typename: 'ReportEnqueueSourceInfo'; 15112 + readonly kind: GQLJobCreationSourceOptions; 15113 + } 15114 + | { 15115 + readonly __typename: 'RuleExecutionEnqueueSourceInfo'; 15116 + readonly kind: GQLJobCreationSourceOptions; 15117 + readonly rules: ReadonlyArray< 15118 + | { 15119 + readonly __typename: 'ContentRule'; 15120 + readonly id: string; 15121 + readonly name: string; 15122 + } 15123 + | { 15124 + readonly __typename: 'UserRule'; 15125 + readonly id: string; 15126 + readonly name: string; 15127 + } 15128 + >; 15129 + } 15130 + | null; 15131 + } 15132 + | { 15133 + readonly __typename: 'NcmecManualReviewJobPayload'; 15134 + readonly item: { 15135 + readonly __typename: 'UserItem'; 15136 + readonly id: string; 15137 + readonly submissionId: string; 15138 + readonly submissionTime?: Date | string | null; 15139 + readonly data: JsonObject; 15140 + readonly type: { 15141 + readonly __typename: 'UserItemType'; 15142 + readonly id: string; 15143 + readonly name: string; 15144 + readonly description?: string | null; 15145 + readonly version: string; 15146 + readonly schemaVariant: GQLItemTypeSchemaVariant; 15147 + readonly hiddenFields: ReadonlyArray<string>; 15148 + readonly schemaFieldRoles: { 15149 + readonly __typename: 'UserSchemaFieldRoles'; 15150 + readonly displayName?: string | null; 15151 + readonly createdAt?: string | null; 15152 + readonly profileIcon?: string | null; 15153 + readonly backgroundImage?: string | null; 15154 + readonly isDeleted?: string | null; 15155 + }; 15156 + readonly baseFields: ReadonlyArray<{ 15157 + readonly __typename: 'BaseField'; 15158 + readonly name: string; 15159 + readonly required: boolean; 15160 + readonly type: GQLFieldType; 15161 + readonly container?: { 15162 + readonly __typename: 'Container'; 15163 + readonly containerType: GQLContainerType; 15164 + readonly keyScalarType?: GQLScalarType | null; 15165 + readonly valueScalarType: GQLScalarType; 15166 + } | null; 15167 + }>; 15168 + readonly derivedFields: ReadonlyArray<{ 15169 + readonly __typename: 'DerivedField'; 15170 + readonly type: GQLFieldType; 15171 + readonly name: string; 15172 + readonly container?: { 15173 + readonly __typename: 'Container'; 15174 + readonly containerType: GQLContainerType; 15175 + readonly keyScalarType?: GQLScalarType | null; 15176 + readonly valueScalarType: GQLScalarType; 15177 + } | null; 15178 + readonly spec: { 15179 + readonly __typename: 'DerivedFieldSpec'; 15180 + readonly derivationType: GQLDerivedFieldDerivationType; 15181 + readonly source: 15182 + | { 15183 + readonly __typename: 'DerivedFieldCoopInputSource'; 15184 + readonly coopInput: GQLCoopInput; 15185 + } 15186 + | { 15187 + readonly __typename: 'DerivedFieldFieldSource'; 15188 + readonly name: string; 15189 + readonly contentTypeId: string; 15190 + } 15191 + | { 15192 + readonly __typename: 'DerivedFieldFullItemSource'; 15193 + readonly _?: boolean | null; 15194 + }; 15195 + }; 15196 + }>; 15197 + }; 15198 + }; 15199 + readonly allMediaItems: ReadonlyArray<{ 15200 + readonly __typename: 'NcmecContentItem'; 15201 + readonly isConfirmedCSAM: boolean; 15202 + readonly isReported: boolean; 15203 + readonly contentItem: 15204 + | { 15205 + readonly __typename: 'ContentItem'; 15206 + readonly id: string; 15207 + readonly submissionId: string; 15208 + readonly submissionTime?: Date | string | null; 15209 + readonly data: JsonObject; 15210 + readonly type: { 15211 + readonly __typename: 'ContentItemType'; 15212 + readonly id: string; 15213 + readonly name: string; 15214 + readonly description?: string | null; 15215 + readonly version: string; 15216 + readonly schemaVariant: GQLItemTypeSchemaVariant; 15217 + readonly hiddenFields: ReadonlyArray<string>; 15218 + readonly schemaFieldRoles: { 15219 + readonly __typename: 'ContentSchemaFieldRoles'; 15220 + readonly displayName?: string | null; 15221 + readonly parentId?: string | null; 15222 + readonly threadId?: string | null; 15223 + readonly createdAt?: string | null; 15224 + readonly creatorId?: string | null; 15225 + readonly isDeleted?: string | null; 15226 + }; 15227 + readonly baseFields: ReadonlyArray<{ 15228 + readonly __typename: 'BaseField'; 15229 + readonly name: string; 15230 + readonly required: boolean; 15231 + readonly type: GQLFieldType; 15232 + readonly container?: { 15233 + readonly __typename: 'Container'; 15234 + readonly containerType: GQLContainerType; 15235 + readonly keyScalarType?: GQLScalarType | null; 15236 + readonly valueScalarType: GQLScalarType; 15237 + } | null; 15238 + }>; 15239 + readonly derivedFields: ReadonlyArray<{ 15240 + readonly __typename: 'DerivedField'; 15241 + readonly type: GQLFieldType; 15242 + readonly name: string; 15243 + readonly container?: { 15244 + readonly __typename: 'Container'; 15245 + readonly containerType: GQLContainerType; 15246 + readonly keyScalarType?: GQLScalarType | null; 15247 + readonly valueScalarType: GQLScalarType; 15248 + } | null; 15249 + readonly spec: { 15250 + readonly __typename: 'DerivedFieldSpec'; 15251 + readonly derivationType: GQLDerivedFieldDerivationType; 15252 + readonly source: 15253 + | { 15254 + readonly __typename: 'DerivedFieldCoopInputSource'; 15255 + readonly coopInput: GQLCoopInput; 15256 + } 15257 + | { 15258 + readonly __typename: 'DerivedFieldFieldSource'; 15259 + readonly name: string; 15260 + readonly contentTypeId: string; 15261 + } 15262 + | { 15263 + readonly __typename: 'DerivedFieldFullItemSource'; 15264 + readonly _?: boolean | null; 15265 + }; 15266 + }; 15267 + }>; 15268 + }; 15269 + } 15270 + | { 15271 + readonly __typename: 'ThreadItem'; 15272 + readonly id: string; 15273 + readonly submissionId: string; 15274 + readonly submissionTime?: Date | string | null; 15275 + readonly data: JsonObject; 15276 + readonly type: { 15277 + readonly __typename: 'ThreadItemType'; 15278 + readonly id: string; 15279 + readonly name: string; 15280 + readonly description?: string | null; 15281 + readonly version: string; 15282 + readonly schemaVariant: GQLItemTypeSchemaVariant; 15283 + readonly hiddenFields: ReadonlyArray<string>; 15284 + readonly schemaFieldRoles: { 15285 + readonly __typename: 'ThreadSchemaFieldRoles'; 15286 + readonly displayName?: string | null; 15287 + readonly createdAt?: string | null; 15288 + readonly creatorId?: string | null; 15289 + readonly isDeleted?: string | null; 15290 + }; 15291 + readonly baseFields: ReadonlyArray<{ 15292 + readonly __typename: 'BaseField'; 15293 + readonly name: string; 15294 + readonly required: boolean; 15295 + readonly type: GQLFieldType; 15296 + readonly container?: { 15297 + readonly __typename: 'Container'; 15298 + readonly containerType: GQLContainerType; 15299 + readonly keyScalarType?: GQLScalarType | null; 15300 + readonly valueScalarType: GQLScalarType; 15301 + } | null; 15302 + }>; 15303 + readonly derivedFields: ReadonlyArray<{ 15304 + readonly __typename: 'DerivedField'; 15305 + readonly type: GQLFieldType; 15306 + readonly name: string; 15307 + readonly container?: { 15308 + readonly __typename: 'Container'; 15309 + readonly containerType: GQLContainerType; 15310 + readonly keyScalarType?: GQLScalarType | null; 15311 + readonly valueScalarType: GQLScalarType; 15312 + } | null; 15313 + readonly spec: { 15314 + readonly __typename: 'DerivedFieldSpec'; 15315 + readonly derivationType: GQLDerivedFieldDerivationType; 15316 + readonly source: 15317 + | { 15318 + readonly __typename: 'DerivedFieldCoopInputSource'; 15319 + readonly coopInput: GQLCoopInput; 15320 + } 15321 + | { 15322 + readonly __typename: 'DerivedFieldFieldSource'; 15323 + readonly name: string; 15324 + readonly contentTypeId: string; 15325 + } 15326 + | { 15327 + readonly __typename: 'DerivedFieldFullItemSource'; 15328 + readonly _?: boolean | null; 15329 + }; 15330 + }; 15331 + }>; 15332 + }; 15333 + } 15334 + | { 15335 + readonly __typename: 'UserItem'; 15336 + readonly id: string; 15337 + readonly submissionId: string; 15338 + readonly submissionTime?: Date | string | null; 15339 + readonly data: JsonObject; 15340 + readonly type: { 15341 + readonly __typename: 'UserItemType'; 15342 + readonly id: string; 15343 + readonly name: string; 15344 + readonly description?: string | null; 15345 + readonly version: string; 15346 + readonly schemaVariant: GQLItemTypeSchemaVariant; 15347 + readonly hiddenFields: ReadonlyArray<string>; 15348 + readonly schemaFieldRoles: { 15349 + readonly __typename: 'UserSchemaFieldRoles'; 15350 + readonly displayName?: string | null; 15351 + readonly createdAt?: string | null; 15352 + readonly profileIcon?: string | null; 15353 + readonly backgroundImage?: string | null; 15354 + readonly isDeleted?: string | null; 15355 + }; 15356 + readonly baseFields: ReadonlyArray<{ 15357 + readonly __typename: 'BaseField'; 15358 + readonly name: string; 15359 + readonly required: boolean; 15360 + readonly type: GQLFieldType; 15361 + readonly container?: { 15362 + readonly __typename: 'Container'; 15363 + readonly containerType: GQLContainerType; 15364 + readonly keyScalarType?: GQLScalarType | null; 15365 + readonly valueScalarType: GQLScalarType; 15366 + } | null; 15367 + }>; 15368 + readonly derivedFields: ReadonlyArray<{ 15369 + readonly __typename: 'DerivedField'; 15370 + readonly type: GQLFieldType; 15371 + readonly name: string; 15372 + readonly container?: { 15373 + readonly __typename: 'Container'; 15374 + readonly containerType: GQLContainerType; 15375 + readonly keyScalarType?: GQLScalarType | null; 15376 + readonly valueScalarType: GQLScalarType; 15377 + } | null; 15378 + readonly spec: { 15379 + readonly __typename: 'DerivedFieldSpec'; 15380 + readonly derivationType: GQLDerivedFieldDerivationType; 15381 + readonly source: 15382 + | { 15383 + readonly __typename: 'DerivedFieldCoopInputSource'; 15384 + readonly coopInput: GQLCoopInput; 15385 + } 15386 + | { 15387 + readonly __typename: 'DerivedFieldFieldSource'; 15388 + readonly name: string; 15389 + readonly contentTypeId: string; 15390 + } 15391 + | { 15392 + readonly __typename: 'DerivedFieldFullItemSource'; 15393 + readonly _?: boolean | null; 15394 + }; 15395 + }; 15396 + }>; 15397 + }; 15398 + }; 15399 + }>; 15400 + readonly enqueueSourceInfo?: 15401 + | { readonly __typename: 'AppealEnqueueSourceInfo' } 15402 + | { 15403 + readonly __typename: 'MrtJobEnqueueSourceInfo'; 15404 + readonly kind: GQLJobCreationSourceOptions; 15405 + } 15406 + | { 15407 + readonly __typename: 'PostActionsEnqueueSourceInfo'; 15408 + readonly kind: GQLJobCreationSourceOptions; 15409 + } 15410 + | { 15411 + readonly __typename: 'ReportEnqueueSourceInfo'; 15412 + readonly kind: GQLJobCreationSourceOptions; 15413 + } 15414 + | { 15415 + readonly __typename: 'RuleExecutionEnqueueSourceInfo'; 15416 + readonly kind: GQLJobCreationSourceOptions; 15417 + readonly rules: ReadonlyArray< 15418 + | { 15419 + readonly __typename: 'ContentRule'; 15420 + readonly id: string; 15421 + readonly name: string; 15422 + } 15423 + | { 15424 + readonly __typename: 'UserRule'; 15425 + readonly id: string; 15426 + readonly name: string; 15427 + } 15428 + >; 15429 + } 15430 + | null; 15431 + } 15432 + | { 15433 + readonly __typename: 'ThreadAppealManualReviewJobPayload'; 15434 + readonly appealId: string; 15435 + readonly appealReason?: string | null; 15436 + readonly actionsTaken: ReadonlyArray<string>; 15437 + readonly item: { 15438 + readonly __typename: 'ThreadItem'; 15439 + readonly id: string; 15440 + readonly submissionId: string; 15441 + readonly submissionTime?: Date | string | null; 15442 + readonly data: JsonObject; 15443 + readonly type: { 15444 + readonly __typename: 'ThreadItemType'; 15445 + readonly id: string; 15446 + readonly name: string; 15447 + readonly description?: string | null; 15448 + readonly version: string; 15449 + readonly schemaVariant: GQLItemTypeSchemaVariant; 15450 + readonly hiddenFields: ReadonlyArray<string>; 15451 + readonly schemaFieldRoles: { 15452 + readonly __typename: 'ThreadSchemaFieldRoles'; 15453 + readonly displayName?: string | null; 15454 + readonly createdAt?: string | null; 15455 + readonly creatorId?: string | null; 15456 + readonly isDeleted?: string | null; 15457 + }; 15458 + readonly baseFields: ReadonlyArray<{ 15459 + readonly __typename: 'BaseField'; 15460 + readonly name: string; 15461 + readonly required: boolean; 15462 + readonly type: GQLFieldType; 15463 + readonly container?: { 15464 + readonly __typename: 'Container'; 15465 + readonly containerType: GQLContainerType; 15466 + readonly keyScalarType?: GQLScalarType | null; 15467 + readonly valueScalarType: GQLScalarType; 15468 + } | null; 15469 + }>; 15470 + readonly derivedFields: ReadonlyArray<{ 15471 + readonly __typename: 'DerivedField'; 15472 + readonly type: GQLFieldType; 15473 + readonly name: string; 15474 + readonly container?: { 15475 + readonly __typename: 'Container'; 15476 + readonly containerType: GQLContainerType; 15477 + readonly keyScalarType?: GQLScalarType | null; 15478 + readonly valueScalarType: GQLScalarType; 15479 + } | null; 15480 + readonly spec: { 15481 + readonly __typename: 'DerivedFieldSpec'; 15482 + readonly derivationType: GQLDerivedFieldDerivationType; 15483 + readonly source: 15484 + | { 15485 + readonly __typename: 'DerivedFieldCoopInputSource'; 15486 + readonly coopInput: GQLCoopInput; 15487 + } 15488 + | { 15489 + readonly __typename: 'DerivedFieldFieldSource'; 15490 + readonly name: string; 15491 + readonly contentTypeId: string; 15492 + } 15493 + | { 15494 + readonly __typename: 'DerivedFieldFullItemSource'; 15495 + readonly _?: boolean | null; 15496 + }; 15497 + }; 15498 + }>; 15499 + }; 15500 + }; 15501 + readonly appealerIdentifier?: { 15502 + readonly __typename: 'ItemIdentifier'; 15503 + readonly id: string; 15504 + readonly typeId: string; 15505 + } | null; 15506 + readonly enqueueSourceInfo?: { 15507 + readonly __typename: 'AppealEnqueueSourceInfo'; 15508 + readonly kind: GQLJobCreationSourceOptions; 15509 + } | null; 15510 + } 15511 + | { 15512 + readonly __typename: 'ThreadManualReviewJobPayload'; 15513 + readonly reportHistory: ReadonlyArray<{ 15514 + readonly __typename: 'ReportHistoryEntry'; 15515 + readonly reportId: string; 15516 + readonly policyId?: string | null; 15517 + readonly reason?: string | null; 15518 + readonly reportedAt: Date | string; 15519 + readonly reporterId?: { 15520 + readonly __typename: 'ItemIdentifier'; 15521 + readonly id: string; 15522 + readonly typeId: string; 15523 + } | null; 15524 + }>; 15525 + readonly item: { 15526 + readonly __typename: 'ThreadItem'; 15527 + readonly id: string; 15528 + readonly submissionId: string; 15529 + readonly submissionTime?: Date | string | null; 15530 + readonly data: JsonObject; 15531 + readonly type: { 15532 + readonly __typename: 'ThreadItemType'; 15533 + readonly id: string; 15534 + readonly name: string; 15535 + readonly description?: string | null; 15536 + readonly version: string; 15537 + readonly schemaVariant: GQLItemTypeSchemaVariant; 15538 + readonly hiddenFields: ReadonlyArray<string>; 15539 + readonly schemaFieldRoles: { 15540 + readonly __typename: 'ThreadSchemaFieldRoles'; 15541 + readonly displayName?: string | null; 15542 + readonly createdAt?: string | null; 15543 + readonly creatorId?: string | null; 15544 + readonly isDeleted?: string | null; 15545 + }; 15546 + readonly baseFields: ReadonlyArray<{ 15547 + readonly __typename: 'BaseField'; 15548 + readonly name: string; 15549 + readonly required: boolean; 15550 + readonly type: GQLFieldType; 15551 + readonly container?: { 15552 + readonly __typename: 'Container'; 15553 + readonly containerType: GQLContainerType; 15554 + readonly keyScalarType?: GQLScalarType | null; 15555 + readonly valueScalarType: GQLScalarType; 15556 + } | null; 15557 + }>; 15558 + readonly derivedFields: ReadonlyArray<{ 15559 + readonly __typename: 'DerivedField'; 15560 + readonly type: GQLFieldType; 15561 + readonly name: string; 15562 + readonly container?: { 15563 + readonly __typename: 'Container'; 15564 + readonly containerType: GQLContainerType; 15565 + readonly keyScalarType?: GQLScalarType | null; 15566 + readonly valueScalarType: GQLScalarType; 15567 + } | null; 15568 + readonly spec: { 15569 + readonly __typename: 'DerivedFieldSpec'; 15570 + readonly derivationType: GQLDerivedFieldDerivationType; 15571 + readonly source: 15572 + | { 15573 + readonly __typename: 'DerivedFieldCoopInputSource'; 15574 + readonly coopInput: GQLCoopInput; 15575 + } 15576 + | { 15577 + readonly __typename: 'DerivedFieldFieldSource'; 15578 + readonly name: string; 15579 + readonly contentTypeId: string; 15580 + } 15581 + | { 15582 + readonly __typename: 'DerivedFieldFullItemSource'; 15583 + readonly _?: boolean | null; 15584 + }; 15585 + }; 15586 + }>; 15587 + }; 15588 + }; 15589 + readonly reportedForReasons: ReadonlyArray<{ 15590 + readonly __typename: 'ReportedForReason'; 15591 + readonly reason?: string | null; 15592 + readonly reporterId?: { 15593 + readonly __typename: 'ItemIdentifier'; 15594 + readonly id: string; 15595 + readonly typeId: string; 15596 + } | null; 15597 + }>; 15598 + readonly enqueueSourceInfo?: 15599 + | { readonly __typename: 'AppealEnqueueSourceInfo' } 15600 + | { 15601 + readonly __typename: 'MrtJobEnqueueSourceInfo'; 15602 + readonly kind: GQLJobCreationSourceOptions; 15603 + } 15604 + | { 15605 + readonly __typename: 'PostActionsEnqueueSourceInfo'; 15606 + readonly kind: GQLJobCreationSourceOptions; 15607 + } 15608 + | { 15609 + readonly __typename: 'ReportEnqueueSourceInfo'; 15610 + readonly kind: GQLJobCreationSourceOptions; 15611 + } 15612 + | { 15613 + readonly __typename: 'RuleExecutionEnqueueSourceInfo'; 15614 + readonly kind: GQLJobCreationSourceOptions; 15615 + readonly rules: ReadonlyArray< 15616 + | { 15617 + readonly __typename: 'ContentRule'; 15618 + readonly id: string; 15619 + readonly name: string; 15620 + } 15621 + | { 15622 + readonly __typename: 'UserRule'; 15623 + readonly id: string; 15624 + readonly name: string; 15625 + } 15626 + >; 15627 + } 15628 + | null; 15629 + } 15630 + | { 15631 + readonly __typename: 'UserAppealManualReviewJobPayload'; 15632 + readonly userScore?: number | null; 15633 + readonly appealReason?: string | null; 15634 + readonly appealId: string; 15635 + readonly actionsTaken: ReadonlyArray<string>; 15636 + readonly item: { 15637 + readonly __typename: 'UserItem'; 15638 + readonly id: string; 15639 + readonly submissionId: string; 15640 + readonly submissionTime?: Date | string | null; 15641 + readonly data: JsonObject; 15642 + readonly type: { 15643 + readonly __typename: 'UserItemType'; 15644 + readonly id: string; 15645 + readonly name: string; 15646 + readonly description?: string | null; 15647 + readonly version: string; 15648 + readonly schemaVariant: GQLItemTypeSchemaVariant; 15649 + readonly hiddenFields: ReadonlyArray<string>; 15650 + readonly schemaFieldRoles: { 15651 + readonly __typename: 'UserSchemaFieldRoles'; 15652 + readonly displayName?: string | null; 15653 + readonly createdAt?: string | null; 15654 + readonly profileIcon?: string | null; 15655 + readonly backgroundImage?: string | null; 15656 + readonly isDeleted?: string | null; 15657 + }; 15658 + readonly baseFields: ReadonlyArray<{ 15659 + readonly __typename: 'BaseField'; 15660 + readonly name: string; 15661 + readonly required: boolean; 15662 + readonly type: GQLFieldType; 15663 + readonly container?: { 15664 + readonly __typename: 'Container'; 15665 + readonly containerType: GQLContainerType; 15666 + readonly keyScalarType?: GQLScalarType | null; 15667 + readonly valueScalarType: GQLScalarType; 15668 + } | null; 15669 + }>; 15670 + readonly derivedFields: ReadonlyArray<{ 15671 + readonly __typename: 'DerivedField'; 15672 + readonly type: GQLFieldType; 15673 + readonly name: string; 15674 + readonly container?: { 15675 + readonly __typename: 'Container'; 15676 + readonly containerType: GQLContainerType; 15677 + readonly keyScalarType?: GQLScalarType | null; 15678 + readonly valueScalarType: GQLScalarType; 15679 + } | null; 15680 + readonly spec: { 15681 + readonly __typename: 'DerivedFieldSpec'; 15682 + readonly derivationType: GQLDerivedFieldDerivationType; 15683 + readonly source: 15684 + | { 15685 + readonly __typename: 'DerivedFieldCoopInputSource'; 15686 + readonly coopInput: GQLCoopInput; 15687 + } 15688 + | { 15689 + readonly __typename: 'DerivedFieldFieldSource'; 15690 + readonly name: string; 15691 + readonly contentTypeId: string; 15692 + } 15693 + | { 15694 + readonly __typename: 'DerivedFieldFullItemSource'; 15695 + readonly _?: boolean | null; 15696 + }; 15697 + }; 15698 + }>; 15699 + }; 15700 + }; 15701 + readonly additionalContentItems: ReadonlyArray<{ 15702 + readonly __typename: 'ContentItem'; 15703 + readonly id: string; 15704 + readonly submissionId: string; 15705 + readonly submissionTime?: Date | string | null; 15706 + readonly data: JsonObject; 15707 + readonly type: { 15708 + readonly __typename: 'ContentItemType'; 15709 + readonly id: string; 15710 + readonly name: string; 15711 + readonly description?: string | null; 15712 + readonly version: string; 15713 + readonly schemaVariant: GQLItemTypeSchemaVariant; 15714 + readonly hiddenFields: ReadonlyArray<string>; 15715 + readonly schemaFieldRoles: { 15716 + readonly __typename: 'ContentSchemaFieldRoles'; 15717 + readonly displayName?: string | null; 15718 + readonly parentId?: string | null; 15719 + readonly threadId?: string | null; 15720 + readonly createdAt?: string | null; 15721 + readonly creatorId?: string | null; 15722 + readonly isDeleted?: string | null; 15723 + }; 15724 + readonly baseFields: ReadonlyArray<{ 15725 + readonly __typename: 'BaseField'; 15726 + readonly name: string; 15727 + readonly required: boolean; 15728 + readonly type: GQLFieldType; 15729 + readonly container?: { 15730 + readonly __typename: 'Container'; 15731 + readonly containerType: GQLContainerType; 15732 + readonly keyScalarType?: GQLScalarType | null; 15733 + readonly valueScalarType: GQLScalarType; 15734 + } | null; 15735 + }>; 15736 + readonly derivedFields: ReadonlyArray<{ 15737 + readonly __typename: 'DerivedField'; 15738 + readonly type: GQLFieldType; 15739 + readonly name: string; 15740 + readonly container?: { 15741 + readonly __typename: 'Container'; 15742 + readonly containerType: GQLContainerType; 15743 + readonly keyScalarType?: GQLScalarType | null; 15744 + readonly valueScalarType: GQLScalarType; 15745 + } | null; 15746 + readonly spec: { 15747 + readonly __typename: 'DerivedFieldSpec'; 15748 + readonly derivationType: GQLDerivedFieldDerivationType; 15749 + readonly source: 15750 + | { 15751 + readonly __typename: 'DerivedFieldCoopInputSource'; 15752 + readonly coopInput: GQLCoopInput; 15753 + } 15754 + | { 15755 + readonly __typename: 'DerivedFieldFieldSource'; 15756 + readonly name: string; 15757 + readonly contentTypeId: string; 15758 + } 15759 + | { 15760 + readonly __typename: 'DerivedFieldFullItemSource'; 15761 + readonly _?: boolean | null; 15762 + }; 15763 + }; 15764 + }>; 15765 + }; 15766 + }>; 15767 + readonly appealerIdentifier?: { 15768 + readonly __typename: 'ItemIdentifier'; 15769 + readonly id: string; 15770 + readonly typeId: string; 15771 + } | null; 15772 + readonly enqueueSourceInfo?: { 15773 + readonly __typename: 'AppealEnqueueSourceInfo'; 15774 + readonly kind: GQLJobCreationSourceOptions; 15775 + } | null; 15776 + } 15777 + | { 15778 + readonly __typename: 'UserManualReviewJobPayload'; 15779 + readonly userScore?: number | null; 15780 + readonly reportHistory: ReadonlyArray<{ 15781 + readonly __typename: 'ReportHistoryEntry'; 15782 + readonly reportId: string; 15783 + readonly policyId?: string | null; 15784 + readonly reason?: string | null; 15785 + readonly reportedAt: Date | string; 15786 + readonly reporterId?: { 15787 + readonly __typename: 'ItemIdentifier'; 15788 + readonly id: string; 15789 + readonly typeId: string; 15790 + } | null; 15791 + }>; 15792 + readonly item: { 15793 + readonly __typename: 'UserItem'; 15794 + readonly id: string; 15795 + readonly submissionId: string; 15796 + readonly submissionTime?: Date | string | null; 15797 + readonly data: JsonObject; 15798 + readonly type: { 15799 + readonly __typename: 'UserItemType'; 15800 + readonly id: string; 15801 + readonly name: string; 15802 + readonly description?: string | null; 15803 + readonly version: string; 15804 + readonly schemaVariant: GQLItemTypeSchemaVariant; 15805 + readonly hiddenFields: ReadonlyArray<string>; 15806 + readonly schemaFieldRoles: { 15807 + readonly __typename: 'UserSchemaFieldRoles'; 15808 + readonly displayName?: string | null; 15809 + readonly createdAt?: string | null; 15810 + readonly profileIcon?: string | null; 15811 + readonly backgroundImage?: string | null; 15812 + readonly isDeleted?: string | null; 15813 + }; 15814 + readonly baseFields: ReadonlyArray<{ 15815 + readonly __typename: 'BaseField'; 15816 + readonly name: string; 15817 + readonly required: boolean; 15818 + readonly type: GQLFieldType; 15819 + readonly container?: { 15820 + readonly __typename: 'Container'; 15821 + readonly containerType: GQLContainerType; 15822 + readonly keyScalarType?: GQLScalarType | null; 15823 + readonly valueScalarType: GQLScalarType; 15824 + } | null; 15825 + }>; 15826 + readonly derivedFields: ReadonlyArray<{ 15827 + readonly __typename: 'DerivedField'; 15828 + readonly type: GQLFieldType; 15829 + readonly name: string; 15830 + readonly container?: { 15831 + readonly __typename: 'Container'; 15832 + readonly containerType: GQLContainerType; 15833 + readonly keyScalarType?: GQLScalarType | null; 15834 + readonly valueScalarType: GQLScalarType; 15835 + } | null; 15836 + readonly spec: { 15837 + readonly __typename: 'DerivedFieldSpec'; 15838 + readonly derivationType: GQLDerivedFieldDerivationType; 15839 + readonly source: 15840 + | { 15841 + readonly __typename: 'DerivedFieldCoopInputSource'; 15842 + readonly coopInput: GQLCoopInput; 15843 + } 15844 + | { 15845 + readonly __typename: 'DerivedFieldFieldSource'; 15846 + readonly name: string; 15847 + readonly contentTypeId: string; 15848 + } 15849 + | { 15850 + readonly __typename: 'DerivedFieldFullItemSource'; 15851 + readonly _?: boolean | null; 15852 + }; 15853 + }; 15854 + }>; 15855 + }; 15856 + }; 15857 + readonly itemThreadContentItems?: ReadonlyArray<{ 15858 + readonly __typename: 'ContentItem'; 15859 + readonly id: string; 15860 + readonly submissionId: string; 15861 + readonly submissionTime?: Date | string | null; 15862 + readonly data: JsonObject; 15863 + readonly type: { 15864 + readonly __typename: 'ContentItemType'; 15865 + readonly id: string; 15866 + readonly name: string; 15867 + readonly description?: string | null; 15868 + readonly version: string; 15869 + readonly schemaVariant: GQLItemTypeSchemaVariant; 15870 + readonly hiddenFields: ReadonlyArray<string>; 15871 + readonly schemaFieldRoles: { 15872 + readonly __typename: 'ContentSchemaFieldRoles'; 15873 + readonly displayName?: string | null; 15874 + readonly parentId?: string | null; 15875 + readonly threadId?: string | null; 15876 + readonly createdAt?: string | null; 15877 + readonly creatorId?: string | null; 15878 + readonly isDeleted?: string | null; 15879 + }; 15880 + readonly baseFields: ReadonlyArray<{ 15881 + readonly __typename: 'BaseField'; 15882 + readonly name: string; 15883 + readonly required: boolean; 15884 + readonly type: GQLFieldType; 15885 + readonly container?: { 15886 + readonly __typename: 'Container'; 15887 + readonly containerType: GQLContainerType; 15888 + readonly keyScalarType?: GQLScalarType | null; 15889 + readonly valueScalarType: GQLScalarType; 15890 + } | null; 15891 + }>; 15892 + readonly derivedFields: ReadonlyArray<{ 15893 + readonly __typename: 'DerivedField'; 15894 + readonly type: GQLFieldType; 15895 + readonly name: string; 15896 + readonly container?: { 15897 + readonly __typename: 'Container'; 15898 + readonly containerType: GQLContainerType; 15899 + readonly keyScalarType?: GQLScalarType | null; 15900 + readonly valueScalarType: GQLScalarType; 15901 + } | null; 15902 + readonly spec: { 15903 + readonly __typename: 'DerivedFieldSpec'; 15904 + readonly derivationType: GQLDerivedFieldDerivationType; 15905 + readonly source: 15906 + | { 15907 + readonly __typename: 'DerivedFieldCoopInputSource'; 15908 + readonly coopInput: GQLCoopInput; 15909 + } 15910 + | { 15911 + readonly __typename: 'DerivedFieldFieldSource'; 15912 + readonly name: string; 15913 + readonly contentTypeId: string; 15914 + } 15915 + | { 15916 + readonly __typename: 'DerivedFieldFullItemSource'; 15917 + readonly _?: boolean | null; 15918 + }; 15919 + }; 15920 + }>; 15921 + }; 15922 + }> | null; 15923 + readonly reportedItems?: ReadonlyArray<{ 15924 + readonly __typename: 'ItemIdentifier'; 15925 + readonly id: string; 15926 + readonly typeId: string; 15927 + } | null> | null; 15928 + readonly additionalContentItems: ReadonlyArray<{ 15929 + readonly __typename: 'ContentItem'; 15930 + readonly id: string; 15931 + readonly submissionId: string; 15932 + readonly submissionTime?: Date | string | null; 15933 + readonly data: JsonObject; 15934 + readonly type: { 15935 + readonly __typename: 'ContentItemType'; 15936 + readonly id: string; 15937 + readonly name: string; 15938 + readonly description?: string | null; 15939 + readonly version: string; 15940 + readonly schemaVariant: GQLItemTypeSchemaVariant; 15941 + readonly hiddenFields: ReadonlyArray<string>; 15942 + readonly schemaFieldRoles: { 15943 + readonly __typename: 'ContentSchemaFieldRoles'; 15944 + readonly displayName?: string | null; 15945 + readonly parentId?: string | null; 15946 + readonly threadId?: string | null; 15947 + readonly createdAt?: string | null; 15948 + readonly creatorId?: string | null; 15949 + readonly isDeleted?: string | null; 15950 + }; 15951 + readonly baseFields: ReadonlyArray<{ 15952 + readonly __typename: 'BaseField'; 15953 + readonly name: string; 15954 + readonly required: boolean; 15955 + readonly type: GQLFieldType; 15956 + readonly container?: { 15957 + readonly __typename: 'Container'; 15958 + readonly containerType: GQLContainerType; 15959 + readonly keyScalarType?: GQLScalarType | null; 15960 + readonly valueScalarType: GQLScalarType; 15961 + } | null; 15962 + }>; 15963 + readonly derivedFields: ReadonlyArray<{ 15964 + readonly __typename: 'DerivedField'; 15965 + readonly type: GQLFieldType; 15966 + readonly name: string; 15967 + readonly container?: { 15968 + readonly __typename: 'Container'; 15969 + readonly containerType: GQLContainerType; 15970 + readonly keyScalarType?: GQLScalarType | null; 15971 + readonly valueScalarType: GQLScalarType; 15972 + } | null; 15973 + readonly spec: { 15974 + readonly __typename: 'DerivedFieldSpec'; 15975 + readonly derivationType: GQLDerivedFieldDerivationType; 15976 + readonly source: 15977 + | { 15978 + readonly __typename: 'DerivedFieldCoopInputSource'; 15979 + readonly coopInput: GQLCoopInput; 15980 + } 15981 + | { 15982 + readonly __typename: 'DerivedFieldFieldSource'; 15983 + readonly name: string; 15984 + readonly contentTypeId: string; 15985 + } 15986 + | { 15987 + readonly __typename: 'DerivedFieldFullItemSource'; 15988 + readonly _?: boolean | null; 15989 + }; 15990 + }; 15991 + }>; 15992 + }; 15993 + }>; 15994 + readonly reportedForReasons: ReadonlyArray<{ 15995 + readonly __typename: 'ReportedForReason'; 15996 + readonly reason?: string | null; 15997 + readonly reporterId?: { 15998 + readonly __typename: 'ItemIdentifier'; 15999 + readonly id: string; 16000 + readonly typeId: string; 16001 + } | null; 16002 + }>; 16003 + readonly enqueueSourceInfo?: 16004 + | { readonly __typename: 'AppealEnqueueSourceInfo' } 16005 + | { 16006 + readonly __typename: 'MrtJobEnqueueSourceInfo'; 16007 + readonly kind: GQLJobCreationSourceOptions; 16008 + } 16009 + | { 16010 + readonly __typename: 'PostActionsEnqueueSourceInfo'; 16011 + readonly kind: GQLJobCreationSourceOptions; 16012 + } 16013 + | { 16014 + readonly __typename: 'ReportEnqueueSourceInfo'; 16015 + readonly kind: GQLJobCreationSourceOptions; 16016 + } 16017 + | { 16018 + readonly __typename: 'RuleExecutionEnqueueSourceInfo'; 16019 + readonly kind: GQLJobCreationSourceOptions; 16020 + readonly rules: ReadonlyArray< 16021 + | { 16022 + readonly __typename: 'ContentRule'; 16023 + readonly id: string; 16024 + readonly name: string; 16025 + } 16026 + | { 16027 + readonly __typename: 'UserRule'; 16028 + readonly id: string; 16029 + readonly name: string; 16030 + } 16031 + >; 16032 + } 16033 + | null; 16034 + }; 16035 16035 }; 16036 16036 16037 16037 export type GQLGetRelatedItemsQueryVariables = Exact<{
+2 -3
client/src/webpages/dashboard/items/ItemActionHistory.tsx
··· 17 17 import FullScreenLoading from '@/components/common/FullScreenLoading'; 18 18 19 19 import InvestigationTag from '../investigation/InvestigationTag'; 20 - import ManualReviewJobReview, { 21 - JOB_FRAGMENT, 22 - } from '../mrt/manual_review_job/ManualReviewJobReview'; 20 + import ManualReviewJobReview from '../mrt/manual_review_job/ManualReviewJobReview'; 21 + import { JOB_FRAGMENT } from '../mrt/manual_review_job/jobFragment'; 23 22 import ManualReviewRecentDecisionSummary from '../mrt/ManualReviewRecentDecisionSummary'; 24 23 25 24 gql`
+2 -3
client/src/webpages/dashboard/mrt/ManualReviewRecentDecisions.tsx
··· 32 32 } from '../../../utils/time'; 33 33 import { jsonParse } from '../../../utils/typescript-types'; 34 34 import { ITEM_TYPE_FRAGMENT } from '../rules/rule_form/RuleForm'; 35 - import ManualReviewJobReview, { 36 - JOB_FRAGMENT, 37 - } from './manual_review_job/ManualReviewJobReview'; 35 + import ManualReviewJobReview from './manual_review_job/ManualReviewJobReview'; 36 + import { JOB_FRAGMENT } from './manual_review_job/jobFragment'; 38 37 import ManualReviewRecentDecisionsFilter, { 39 38 RecentDecisionsFilterInput, 40 39 } from './ManualReviewRecentDecisionsFilter';
+1 -296
client/src/webpages/dashboard/mrt/manual_review_job/ManualReviewJobReview.tsx
··· 41 41 import { filterNullOrUndefined } from '../../../../utils/collections'; 42 42 import { getFieldValueForRole } from '../../../../utils/itemUtils'; 43 43 import { recomputeSelectedRelatedActions } from '../../../../utils/manualReviewTool'; 44 - import { ITEM_FRAGMENT } from '../../item_types/ItemTypesDashboard'; 45 44 import HTMLRenderer from '../../policies/HTMLRenderer'; 45 + import { JOB_FRAGMENT } from './jobFragment'; 46 46 import { ITEM_TYPE_FRAGMENT } from '../../rules/rule_form/RuleForm'; 47 47 import CustomMrtApiParamsSection from './CustomMrtApiParamsSection'; 48 48 import ManualReviewJobDequeueErrorComponent from './ManualReviewJobDequeueErrorComponent'; ··· 63 63 64 64 const { Option } = Select; 65 65 const { TextArea } = Input; 66 - 67 - export const JOB_FRAGMENT = gql` 68 - ${ITEM_FRAGMENT} 69 - fragment JobFields on ManualReviewJob { 70 - id 71 - createdAt 72 - policyIds 73 - numTimesReported 74 - payload { 75 - ... on ContentManualReviewJobPayload { 76 - userScore 77 - reportHistory { 78 - reporterId { 79 - id 80 - typeId 81 - } 82 - policyId 83 - reportId 84 - reason 85 - reportedAt 86 - } 87 - item { 88 - ... on ItemBase { 89 - ...ItemFields 90 - } 91 - } 92 - additionalContentItems { 93 - ... on ContentItem { 94 - ...ItemFields 95 - } 96 - } 97 - itemThreadContentItems { 98 - ... on ContentItem { 99 - ...ItemFields 100 - } 101 - } 102 - reportedForReasons { 103 - ... on ReportedForReason { 104 - reporterId { 105 - id 106 - typeId 107 - } 108 - reason 109 - } 110 - } 111 - enqueueSourceInfo { 112 - ... on ReportEnqueueSourceInfo { 113 - kind 114 - } 115 - ... on RuleExecutionEnqueueSourceInfo { 116 - kind 117 - rules { 118 - ... on ContentRule { 119 - id 120 - name 121 - } 122 - ... on UserRule { 123 - id 124 - name 125 - } 126 - } 127 - } 128 - ... on MrtJobEnqueueSourceInfo { 129 - kind 130 - } 131 - ... on PostActionsEnqueueSourceInfo { 132 - kind 133 - } 134 - } 135 - } 136 - ... on UserManualReviewJobPayload { 137 - userScore 138 - reportHistory { 139 - reportId 140 - reporterId { 141 - id 142 - typeId 143 - } 144 - policyId 145 - reason 146 - reportedAt 147 - } 148 - item { 149 - ... on ItemBase { 150 - ...ItemFields 151 - } 152 - } 153 - itemThreadContentItems { 154 - ... on ContentItem { 155 - ...ItemFields 156 - } 157 - } 158 - reportedItems { 159 - id 160 - typeId 161 - } 162 - additionalContentItems { 163 - ... on ContentItem { 164 - ...ItemFields 165 - } 166 - } 167 - reportedForReasons { 168 - ... on ReportedForReason { 169 - reporterId { 170 - id 171 - typeId 172 - } 173 - reason 174 - } 175 - } 176 - enqueueSourceInfo { 177 - ... on ReportEnqueueSourceInfo { 178 - kind 179 - } 180 - ... on RuleExecutionEnqueueSourceInfo { 181 - kind 182 - rules { 183 - ... on ContentRule { 184 - id 185 - name 186 - } 187 - ... on UserRule { 188 - id 189 - name 190 - } 191 - } 192 - } 193 - ... on MrtJobEnqueueSourceInfo { 194 - kind 195 - } 196 - ... on PostActionsEnqueueSourceInfo { 197 - kind 198 - } 199 - } 200 - } 201 - ... on ThreadManualReviewJobPayload { 202 - reportHistory { 203 - reportId 204 - reporterId { 205 - id 206 - typeId 207 - } 208 - policyId 209 - reason 210 - reportedAt 211 - } 212 - item { 213 - ... on ItemBase { 214 - ...ItemFields 215 - } 216 - } 217 - reportedForReasons { 218 - ... on ReportedForReason { 219 - reporterId { 220 - id 221 - typeId 222 - } 223 - reason 224 - } 225 - } 226 - enqueueSourceInfo { 227 - ... on ReportEnqueueSourceInfo { 228 - kind 229 - } 230 - ... on RuleExecutionEnqueueSourceInfo { 231 - kind 232 - rules { 233 - ... on ContentRule { 234 - id 235 - name 236 - } 237 - ... on UserRule { 238 - id 239 - name 240 - } 241 - } 242 - } 243 - ... on MrtJobEnqueueSourceInfo { 244 - kind 245 - } 246 - ... on PostActionsEnqueueSourceInfo { 247 - kind 248 - } 249 - } 250 - } 251 - ... on ContentAppealManualReviewJobPayload { 252 - userScore 253 - item { 254 - ... on ItemBase { 255 - ...ItemFields 256 - } 257 - } 258 - additionalContentItems { 259 - ... on ContentItem { 260 - ...ItemFields 261 - } 262 - } 263 - appealReason 264 - appealId 265 - actionsTaken 266 - appealerIdentifier { 267 - id 268 - typeId 269 - } 270 - enqueueSourceInfo { 271 - ... on AppealEnqueueSourceInfo { 272 - kind 273 - } 274 - } 275 - } 276 - ... on UserAppealManualReviewJobPayload { 277 - userScore 278 - item { 279 - ... on ItemBase { 280 - ...ItemFields 281 - } 282 - } 283 - additionalContentItems { 284 - ... on ContentItem { 285 - ...ItemFields 286 - } 287 - } 288 - appealReason 289 - appealId 290 - actionsTaken 291 - appealerIdentifier { 292 - id 293 - typeId 294 - } 295 - enqueueSourceInfo { 296 - ... on AppealEnqueueSourceInfo { 297 - kind 298 - } 299 - } 300 - } 301 - ... on ThreadAppealManualReviewJobPayload { 302 - item { 303 - ... on ItemBase { 304 - ...ItemFields 305 - } 306 - } 307 - appealId 308 - appealReason 309 - actionsTaken 310 - appealerIdentifier { 311 - id 312 - typeId 313 - } 314 - enqueueSourceInfo { 315 - ... on AppealEnqueueSourceInfo { 316 - kind 317 - } 318 - } 319 - } 320 - ... on NcmecManualReviewJobPayload { 321 - item { 322 - ... on ItemBase { 323 - ...ItemFields 324 - } 325 - } 326 - allMediaItems { 327 - contentItem { 328 - ...ItemFields 329 - } 330 - isConfirmedCSAM 331 - isReported 332 - } 333 - enqueueSourceInfo { 334 - ... on ReportEnqueueSourceInfo { 335 - kind 336 - } 337 - ... on RuleExecutionEnqueueSourceInfo { 338 - kind 339 - rules { 340 - ... on ContentRule { 341 - id 342 - name 343 - } 344 - ... on UserRule { 345 - id 346 - name 347 - } 348 - } 349 - } 350 - ... on MrtJobEnqueueSourceInfo { 351 - kind 352 - } 353 - ... on PostActionsEnqueueSourceInfo { 354 - kind 355 - } 356 - } 357 - } 358 - } 359 - } 360 - `; 361 66 362 67 gql` 363 68 ${JOB_FRAGMENT}
+298
client/src/webpages/dashboard/mrt/manual_review_job/jobFragment.ts
··· 1 + import { gql } from '@apollo/client'; 2 + 3 + import { ITEM_FRAGMENT } from '../../item_types/ItemTypesDashboard'; 4 + 5 + export const JOB_FRAGMENT = gql` 6 + ${ITEM_FRAGMENT} 7 + fragment JobFields on ManualReviewJob { 8 + id 9 + createdAt 10 + policyIds 11 + numTimesReported 12 + payload { 13 + ... on ContentManualReviewJobPayload { 14 + userScore 15 + reportHistory { 16 + reporterId { 17 + id 18 + typeId 19 + } 20 + policyId 21 + reportId 22 + reason 23 + reportedAt 24 + } 25 + item { 26 + ... on ItemBase { 27 + ...ItemFields 28 + } 29 + } 30 + additionalContentItems { 31 + ... on ContentItem { 32 + ...ItemFields 33 + } 34 + } 35 + itemThreadContentItems { 36 + ... on ContentItem { 37 + ...ItemFields 38 + } 39 + } 40 + reportedForReasons { 41 + ... on ReportedForReason { 42 + reporterId { 43 + id 44 + typeId 45 + } 46 + reason 47 + } 48 + } 49 + enqueueSourceInfo { 50 + ... on ReportEnqueueSourceInfo { 51 + kind 52 + } 53 + ... on RuleExecutionEnqueueSourceInfo { 54 + kind 55 + rules { 56 + ... on ContentRule { 57 + id 58 + name 59 + } 60 + ... on UserRule { 61 + id 62 + name 63 + } 64 + } 65 + } 66 + ... on MrtJobEnqueueSourceInfo { 67 + kind 68 + } 69 + ... on PostActionsEnqueueSourceInfo { 70 + kind 71 + } 72 + } 73 + } 74 + ... on UserManualReviewJobPayload { 75 + userScore 76 + reportHistory { 77 + reportId 78 + reporterId { 79 + id 80 + typeId 81 + } 82 + policyId 83 + reason 84 + reportedAt 85 + } 86 + item { 87 + ... on ItemBase { 88 + ...ItemFields 89 + } 90 + } 91 + itemThreadContentItems { 92 + ... on ContentItem { 93 + ...ItemFields 94 + } 95 + } 96 + reportedItems { 97 + id 98 + typeId 99 + } 100 + additionalContentItems { 101 + ... on ContentItem { 102 + ...ItemFields 103 + } 104 + } 105 + reportedForReasons { 106 + ... on ReportedForReason { 107 + reporterId { 108 + id 109 + typeId 110 + } 111 + reason 112 + } 113 + } 114 + enqueueSourceInfo { 115 + ... on ReportEnqueueSourceInfo { 116 + kind 117 + } 118 + ... on RuleExecutionEnqueueSourceInfo { 119 + kind 120 + rules { 121 + ... on ContentRule { 122 + id 123 + name 124 + } 125 + ... on UserRule { 126 + id 127 + name 128 + } 129 + } 130 + } 131 + ... on MrtJobEnqueueSourceInfo { 132 + kind 133 + } 134 + ... on PostActionsEnqueueSourceInfo { 135 + kind 136 + } 137 + } 138 + } 139 + ... on ThreadManualReviewJobPayload { 140 + reportHistory { 141 + reportId 142 + reporterId { 143 + id 144 + typeId 145 + } 146 + policyId 147 + reason 148 + reportedAt 149 + } 150 + item { 151 + ... on ItemBase { 152 + ...ItemFields 153 + } 154 + } 155 + reportedForReasons { 156 + ... on ReportedForReason { 157 + reporterId { 158 + id 159 + typeId 160 + } 161 + reason 162 + } 163 + } 164 + enqueueSourceInfo { 165 + ... on ReportEnqueueSourceInfo { 166 + kind 167 + } 168 + ... on RuleExecutionEnqueueSourceInfo { 169 + kind 170 + rules { 171 + ... on ContentRule { 172 + id 173 + name 174 + } 175 + ... on UserRule { 176 + id 177 + name 178 + } 179 + } 180 + } 181 + ... on MrtJobEnqueueSourceInfo { 182 + kind 183 + } 184 + ... on PostActionsEnqueueSourceInfo { 185 + kind 186 + } 187 + } 188 + } 189 + ... on ContentAppealManualReviewJobPayload { 190 + userScore 191 + item { 192 + ... on ItemBase { 193 + ...ItemFields 194 + } 195 + } 196 + additionalContentItems { 197 + ... on ContentItem { 198 + ...ItemFields 199 + } 200 + } 201 + appealReason 202 + appealId 203 + actionsTaken 204 + appealerIdentifier { 205 + id 206 + typeId 207 + } 208 + enqueueSourceInfo { 209 + ... on AppealEnqueueSourceInfo { 210 + kind 211 + } 212 + } 213 + } 214 + ... on UserAppealManualReviewJobPayload { 215 + userScore 216 + item { 217 + ... on ItemBase { 218 + ...ItemFields 219 + } 220 + } 221 + additionalContentItems { 222 + ... on ContentItem { 223 + ...ItemFields 224 + } 225 + } 226 + appealReason 227 + appealId 228 + actionsTaken 229 + appealerIdentifier { 230 + id 231 + typeId 232 + } 233 + enqueueSourceInfo { 234 + ... on AppealEnqueueSourceInfo { 235 + kind 236 + } 237 + } 238 + } 239 + ... on ThreadAppealManualReviewJobPayload { 240 + item { 241 + ... on ItemBase { 242 + ...ItemFields 243 + } 244 + } 245 + appealId 246 + appealReason 247 + actionsTaken 248 + appealerIdentifier { 249 + id 250 + typeId 251 + } 252 + enqueueSourceInfo { 253 + ... on AppealEnqueueSourceInfo { 254 + kind 255 + } 256 + } 257 + } 258 + ... on NcmecManualReviewJobPayload { 259 + item { 260 + ... on ItemBase { 261 + ...ItemFields 262 + } 263 + } 264 + allMediaItems { 265 + contentItem { 266 + ...ItemFields 267 + } 268 + isConfirmedCSAM 269 + isReported 270 + } 271 + enqueueSourceInfo { 272 + ... on ReportEnqueueSourceInfo { 273 + kind 274 + } 275 + ... on RuleExecutionEnqueueSourceInfo { 276 + kind 277 + rules { 278 + ... on ContentRule { 279 + id 280 + name 281 + } 282 + ... on UserRule { 283 + id 284 + name 285 + } 286 + } 287 + } 288 + ... on MrtJobEnqueueSourceInfo { 289 + kind 290 + } 291 + ... on PostActionsEnqueueSourceInfo { 292 + kind 293 + } 294 + } 295 + } 296 + } 297 + } 298 + `;