このコミットが含まれているのは:
@@ -157,6 +157,15 @@ export const sessionKeys = {
|
||||
settings: (id: number) => ['session', id, 'settings'] as const,
|
||||
themeSlots: (id: number) => ['session', id, 'themeSlots'] as const }
|
||||
|
||||
export const isAuthorityDependentQuery = (key: readonly unknown[]): boolean => {
|
||||
// Only the public locale catalogue and the explicitly synchronised session survive.
|
||||
const publicLocaleFlg = key.length === 2
|
||||
&& key[0] === localesKeys.index[0] && key[1] === localesKeys.index[1]
|
||||
const currentSessionFlg = key.length === 2
|
||||
&& key[0] === sessionKeys.current[0] && key[1] === sessionKeys.current[1]
|
||||
return !publicLocaleFlg && !currentSessionFlg
|
||||
}
|
||||
|
||||
export const theatresKeys = {
|
||||
show: (id: string, locale: LocaleCode) => ['theatres', locale, id] as const,
|
||||
programmes: (id: string, locale: LocaleCode) =>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする