-
Notifications
You must be signed in to change notification settings - Fork 125
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
Add api_version
to access.admin
in app.toml
#4360
base: main
Are you sure you want to change the base?
Conversation
Thanks for your contribution! Depending on what you are working on, you may want to request a review from a Shopify team:
|
api_version
to access.admin
in app.toml
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 declarationsWe found no new type declarations in this PR Existing type declarationspackages/cli-kit/dist/public/node/system.d.ts@@ -1,5 +1,8 @@
/// <reference types="node" resolution-mode="require"/>
+/// <reference types="node" resolution-mode="require"/>
+/// <reference types="node" resolution-mode="require"/>
import { AbortSignal } from './abort.js';
+import { ReadStream } from 'tty';
import type { Writable, Readable } from 'stream';
export interface ExecOptions {
cwd?: string;
@@ -45,8 +48,11 @@ export declare function exec(command: string, args: string[], options?: ExecOpti
*/
export declare function sleep(seconds: number): Promise<void>;
/**
- * Check if the standard input and output streams support prompting.
+ * In case an standard input stream is passed check if it supports raw mode. Otherwise default standard input stream
+ * will be used.
*
- * @returns True if the standard input and output streams support prompting.
+ * @param stdin - The standard input stream to check.
+ * @param env - Environmemnt variables.
+ * @returns True in the selected input stream support raw mode.
*/
-export declare function terminalSupportsPrompting(): boolean;
\ No newline at end of file
+export declare function terminalSupportsRawMode(stdin?: ReadStream, env?: NodeJS.ProcessEnv): boolean;
\ No newline at end of file
|
Coverage report
Show files with reduced coverage 🔻
Test suite run success1859 tests passing in 846 suites. Report generated by 🧪jest coverage report action from 90177b6 |
🎩 TophatBefore (
|
We detected some changes at either packages/*/src or packages/cli-kit/assets/cli-ruby/** and there are no updates in the .changeset. |
WHY are these changes introduced?
TLDR: Add api_version to access.admin in app.toml #4360
Part of https://github.com/Shopify/app-ui/issues/1474
WHAT is this pull request doing?
api_version: zod.string().optional()
toAppAccessSchema
How to test your changes?
api_version
insideaccess.admin
cli
, checkout thebf/add-api-version-to-app-toml
branchcli
,deploy
your updated app toml file using the--path
argpnpm shopify app deploy --path ~/src/github.com/Shopify/hackdays-app
config:link
to pull your config from the DBapi_version
is presentPost-release steps
Measuring impact
How do we know this change was effective? Please choose one:
Checklist
References