Introduce local store auth summary API#7709
Open
dmerand wants to merge 1 commit into
Open
Conversation
This was referenced Jun 4, 2026
92fffc1 to
c7e152d
Compare
619636c to
7c049c1
Compare
3ac3560 to
6fbe857
Compare
7c049c1 to
52daf1c
Compare
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
6fbe857 to
87919a9
Compare
00dce2a to
22e4f4a
Compare
f516bbe to
79dbfa7
Compare
22e4f4a to
31a07f1
Compare
79dbfa7 to
9e07ceb
Compare
c128517 to
9343914
Compare
5986997 to
b4c7faa
Compare
9343914 to
81229e4
Compare
b4c7faa to
cb1e68e
Compare
81229e4 to
04b87d7
Compare
cb1e68e to
4a2c0dd
Compare
04b87d7 to
b3f03fe
Compare
4a2c0dd to
0974dfd
Compare
b3f03fe to
6246aef
Compare
cc8b9c3 to
0d54c55
Compare
c61df52 to
429141b
Compare
8d4afd4 to
a2cf41b
Compare
5cc2126 to
4075110
Compare
a2cf41b to
541a4a4
Compare
4075110 to
cd562c1
Compare
541a4a4 to
a053144
Compare
cd562c1 to
8dd1001
Compare
a053144 to
489275a
Compare
Contributor
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/common/string.d.ts@@ -102,6 +102,16 @@ export declare function formatDate(date: Date): string;
* @returns The transformed string in local system time.
*/
export declare function formatLocalDate(dateString: string): string;
+/**
+ * Formats a date as a short calendar date like "May 22, 2026" () in UTC.
+ *
+ * UTC keeps the output deterministic regardless of the machine timezone. Returns an empty string
+ * when the value cannot be parsed into a valid date.
+ *
+ * @param value - A Date, epoch milliseconds, or a date string such as an ISO 8601 timestamp.
+ * @returns The formatted date, or an empty string when the value is invalid.
+ */
+export declare function formatShortDate(value: Date | number | string): string;
/**
* Given a list of items, it returns a string with the items joined by commas and the last item joined by "and".
* All items are wrapped in double quotes.
packages/cli-kit/dist/public/common/url.d.ts@@ -28,4 +28,13 @@ export declare function extractHost(value: string | null | undefined): string |
* @param value - A URL or host string, possibly null/undefined.
* @returns The myshopify subdomain handle, or undefined when the input isn't a URL.
*/
-export declare function extractMyshopifyHandle(value: string | null | undefined): string | undefined;
\ No newline at end of file
+export declare function extractMyshopifyHandle(value: string | null | undefined): string | undefined;
+/**
+ * Extracts the leading subdomain label from a URL or host, across environments — e.g.
+ * , , or local development hosts — rather than assuming a
+ * domain.
+ *
+ * @param value - A URL or host string, possibly null/undefined.
+ * @returns The first DNS label, or undefined when no host can be extracted.
+ */
+export declare function extractSubdomain(value: string | null | undefined): string | undefined;
\ No newline at end of file
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Introduce a local auth summary API without changing
shopify store listbehavior yet.Scope
StoredStoreAuthSummarylistStoredStoreAuthSummaries()underservices/store/authconftraversal and bucket cleanup insession-store.tsservices/store/auth/index.tsstore listcommand test assertion after the BP-only trimWhy this split exists
The next PR needs one narrow question answered first:
This PR answers that without taking on product behavior:
--from store-authThat keeps the behavior PR focused on command policy and output, not on storage traversal.
Boundary this PR is trying to establish
session-store.tsStoredStoreAuthSummary[]conflayout knowledge