@wix/himalaya-cli 0.1674.0 → 0.1675.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -119,6 +119,19 @@ export declare class OwnerInstanceCache {
119
119
  }
120
120
  export declare const OWNER_SITES_QUERY_PATH = "/site-list/v2/sites/query";
121
121
  export declare const OWNER_SITES_COUNT_PATH = "/site-list/v2/sites/count";
122
+ /** The Site List filter for ONE site by id. Without a namespace filter Site List answers only its
123
+ * default namespaces (measured: a HEADLESS site's id alone answers `sites: []`), so an ownership
124
+ * check read the owner of a headless site as "not the owner". Naming a namespace REPLACES that
125
+ * default, so the list keeps WIX_STUDIO too: the unfiltered listing returns Studio sites. */
126
+ export declare const OWNER_SITE_NAMESPACES: readonly ["WIX", "WIX_STUDIO", "HEADLESS"];
127
+ export declare function siteIdFilter(siteId: string): {
128
+ id: {
129
+ $in: string[];
130
+ };
131
+ namespace: {
132
+ $in: ("WIX" | "WIX_STUDIO" | "HEADLESS")[];
133
+ };
134
+ };
122
135
  /** True for the ONLY two paths the account-level owner-sites rung may reach. */
123
136
  export declare function isOwnerSitesPath(path: string): boolean;
124
137
  /**