-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the "refresh the session when 401 errors happen" #5005
Conversation
…it will be restored by #5001)
We detected some changes at packages/*/src and there are no updates in the .changeset. |
Differences in type declarationsWe detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:
New type declarationspackages/cli-kit/dist/cli/api/graphql/admin/generated/theme_files_upsert.d.tsimport * as Types from './types.js';
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
export type ThemeFilesUpsertMutationVariables = Types.Exact<{
files: Types.OnlineStoreThemeFilesUpsertFileInput[] | Types.OnlineStoreThemeFilesUpsertFileInput;
themeId: Types.Scalars['ID']['input'];
}>;
export type ThemeFilesUpsertMutation = {
themeFilesUpsert?: {
upsertedThemeFiles?: {
filename: string;
}[] | null;
userErrors: {
filename?: string | null;
message: string;
}[];
} | null;
};
export declare const ThemeFilesUpsert: DocumentNode<ThemeFilesUpsertMutation, Types.Exact<{
files: Types.OnlineStoreThemeFilesUpsertFileInput[] | Types.OnlineStoreThemeFilesUpsertFileInput;
themeId: Types.Scalars['ID']['input'];
}>>;
Existing type declarationspackages/cli-kit/dist/public/node/themes/factories.d.ts@@ -1,5 +1,4 @@
-import { AssetParams } from './api.js';
-import { Result, Checksum, Theme, ThemeAsset } from '@shopify/cli-kit/node/themes/types';
+import { Checksum, Theme, ThemeAsset } from '@shopify/cli-kit/node/themes/types';
interface RemoteThemeResponse {
id: number;
name: string;
@@ -26,5 +25,4 @@ export declare function buildTheme(themeJson?: RemoteThemeResponse): Theme | und
export declare function buildChecksum(asset?: RemoteAssetResponse): Checksum | undefined;
export declare function buildThemeAsset(asset: undefined): undefined;
export declare function buildThemeAsset(asset: RemoteAssetResponse): ThemeAsset;
-export declare function buildBulkUploadResults(bulkUploadResponse: RemoteBulkUploadResponse[], assets: AssetParams[]): Result[];
export {};
\ No newline at end of file
|
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success1966 tests passing in 892 suites. Report generated by 🧪jest coverage report action from f93ed1e |
This PR removes the
refresh the session when 401 errors happen
as that logic going to be restored by #5001.