@shopify/shopify-app-remix 4.2.0 → 5.0.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.
- package/dist/cjs/react/components/AppProvider/AppProvider.js.map +1 -1
- package/dist/cjs/react/components/AppProxyForm/AppProxyForm.js +4 -3
- package/dist/cjs/react/components/AppProxyForm/AppProxyForm.js.map +1 -1
- package/dist/cjs/react/components/AppProxyLink/AppProxyLink.js +4 -3
- package/dist/cjs/react/components/AppProxyLink/AppProxyLink.js.map +1 -1
- package/dist/cjs/react/components/AppProxyProvider/AppProxyProvider.js.map +1 -1
- package/dist/cjs/server/authenticate/admin/authenticate.js +1 -3
- package/dist/cjs/server/authenticate/admin/authenticate.js.map +1 -1
- package/dist/cjs/server/authenticate/admin/helpers/redirect.js +2 -2
- package/dist/cjs/server/authenticate/admin/helpers/redirect.js.map +1 -1
- package/dist/cjs/server/authenticate/admin/helpers/validate-redirect-url.js +1 -1
- package/dist/cjs/server/authenticate/admin/helpers/validate-redirect-url.js.map +1 -1
- package/dist/cjs/server/authenticate/public/appProxy/authenticate.js +9 -3
- package/dist/cjs/server/authenticate/public/appProxy/authenticate.js.map +1 -1
- package/dist/cjs/server/authenticate/webhooks/authenticate.js +1 -2
- package/dist/cjs/server/authenticate/webhooks/authenticate.js.map +1 -1
- package/dist/cjs/server/future/flags.js.map +1 -1
- package/dist/cjs/server/shopify-app.js +2 -1
- package/dist/cjs/server/shopify-app.js.map +1 -1
- package/dist/cjs/server/test-helpers/test-config.js.map +1 -1
- package/dist/cjs/server/version.js +1 -1
- package/dist/cjs/server/version.js.map +1 -1
- package/dist/esm/react/components/AppProvider/AppProvider.mjs.map +1 -1
- package/dist/esm/react/components/AppProxyForm/AppProxyForm.mjs +5 -4
- package/dist/esm/react/components/AppProxyForm/AppProxyForm.mjs.map +1 -1
- package/dist/esm/react/components/AppProxyLink/AppProxyLink.mjs +5 -4
- package/dist/esm/react/components/AppProxyLink/AppProxyLink.mjs.map +1 -1
- package/dist/esm/react/components/AppProxyProvider/AppProxyProvider.mjs.map +1 -1
- package/dist/esm/server/authenticate/admin/authenticate.mjs +1 -3
- package/dist/esm/server/authenticate/admin/authenticate.mjs.map +1 -1
- package/dist/esm/server/authenticate/admin/helpers/redirect.mjs +2 -2
- package/dist/esm/server/authenticate/admin/helpers/redirect.mjs.map +1 -1
- package/dist/esm/server/authenticate/admin/helpers/validate-redirect-url.mjs +1 -1
- package/dist/esm/server/authenticate/admin/helpers/validate-redirect-url.mjs.map +1 -1
- package/dist/esm/server/authenticate/public/appProxy/authenticate.mjs +9 -3
- package/dist/esm/server/authenticate/public/appProxy/authenticate.mjs.map +1 -1
- package/dist/esm/server/authenticate/webhooks/authenticate.mjs +1 -2
- package/dist/esm/server/authenticate/webhooks/authenticate.mjs.map +1 -1
- package/dist/esm/server/future/flags.mjs.map +1 -1
- package/dist/esm/server/shopify-app.mjs +2 -1
- package/dist/esm/server/shopify-app.mjs.map +1 -1
- package/dist/esm/server/test-helpers/test-config.mjs.map +1 -1
- package/dist/esm/server/version.mjs +1 -1
- package/dist/esm/server/version.mjs.map +1 -1
- package/dist/ts/react/components/AppProvider/AppProvider.d.ts +5 -1
- package/dist/ts/react/components/AppProvider/AppProvider.d.ts.map +1 -1
- package/dist/ts/react/components/AppProxyForm/AppProxyForm.d.ts +2 -1
- package/dist/ts/react/components/AppProxyForm/AppProxyForm.d.ts.map +1 -1
- package/dist/ts/react/components/AppProxyLink/AppProxyLink.d.ts +2 -1
- package/dist/ts/react/components/AppProxyLink/AppProxyLink.d.ts.map +1 -1
- package/dist/ts/react/components/AppProxyProvider/AppProxyProvider.d.ts +5 -1
- package/dist/ts/react/components/AppProxyProvider/AppProxyProvider.d.ts.map +1 -1
- package/dist/ts/server/authenticate/admin/authenticate.d.ts.map +1 -1
- package/dist/ts/server/authenticate/admin/billing/types.d.ts +4 -0
- package/dist/ts/server/authenticate/admin/billing/types.d.ts.map +1 -1
- package/dist/ts/server/authenticate/admin/scope/types.d.ts +2 -1
- package/dist/ts/server/authenticate/admin/scope/types.d.ts.map +1 -1
- package/dist/ts/server/authenticate/admin/types.d.ts +10 -0
- package/dist/ts/server/authenticate/admin/types.d.ts.map +1 -1
- package/dist/ts/server/authenticate/flow/types.d.ts +4 -0
- package/dist/ts/server/authenticate/flow/types.d.ts.map +1 -1
- package/dist/ts/server/authenticate/fulfillment-service/types.d.ts +4 -0
- package/dist/ts/server/authenticate/fulfillment-service/types.d.ts.map +1 -1
- package/dist/ts/server/authenticate/public/appProxy/types.d.ts +4 -0
- package/dist/ts/server/authenticate/public/appProxy/types.d.ts.map +1 -1
- package/dist/ts/server/authenticate/public/checkout/types.d.ts +4 -0
- package/dist/ts/server/authenticate/public/checkout/types.d.ts.map +1 -1
- package/dist/ts/server/authenticate/public/customer-account/types.d.ts +4 -0
- package/dist/ts/server/authenticate/public/customer-account/types.d.ts.map +1 -1
- package/dist/ts/server/authenticate/webhooks/authenticate.d.ts.map +1 -1
- package/dist/ts/server/authenticate/webhooks/types.d.ts +6 -24
- package/dist/ts/server/authenticate/webhooks/types.d.ts.map +1 -1
- package/dist/ts/server/boundary/error.d.ts +1 -1
- package/dist/ts/server/boundary/error.d.ts.map +1 -1
- package/dist/ts/server/clients/admin/types.d.ts +4 -0
- package/dist/ts/server/clients/admin/types.d.ts.map +1 -1
- package/dist/ts/server/clients/storefront/types.d.ts +4 -0
- package/dist/ts/server/clients/storefront/types.d.ts.map +1 -1
- package/dist/ts/server/config-types.d.ts +1 -1
- package/dist/ts/server/future/flags.d.ts +6 -0
- package/dist/ts/server/future/flags.d.ts.map +1 -1
- package/dist/ts/server/shopify-app.d.ts +1 -0
- package/dist/ts/server/shopify-app.d.ts.map +1 -1
- package/dist/ts/server/test-helpers/test-config.d.ts.map +1 -1
- package/dist/ts/server/unauthenticated/admin/types.d.ts +4 -0
- package/dist/ts/server/unauthenticated/admin/types.d.ts.map +1 -1
- package/dist/ts/server/unauthenticated/storefront/types.d.ts +4 -0
- package/dist/ts/server/unauthenticated/storefront/types.d.ts.map +1 -1
- package/dist/ts/server/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +16 -17
- package/src/react/components/AppProvider/AppProvider.tsx +4 -0
- package/src/react/components/AppProxyForm/AppProxyForm.tsx +18 -15
- package/src/react/components/AppProxyLink/AppProxyLink.tsx +18 -15
- package/src/react/components/AppProxyProvider/AppProxyProvider.tsx +4 -0
- package/src/server/__test-helpers/const.ts +1 -1
- package/src/server/__test-helpers/expect-admin-api-client.ts +1 -1
- package/src/server/__test-helpers/expect-storefront-api-client.ts +1 -1
- package/src/server/__test-helpers/mock-graphql-request.ts +2 -2
- package/src/server/__test-helpers/request-mock.ts +1 -1
- package/src/server/__test-helpers/setup-non-embedded-flow.ts +1 -1
- package/src/server/__test-helpers/setup-valid-request.ts +1 -2
- package/src/server/__test-helpers/sign-request-cookie.ts +21 -10
- package/src/server/__test-helpers/test-config.ts +1 -1
- package/src/server/authenticate/admin/authenticate.ts +3 -6
- package/src/server/authenticate/admin/billing/types.ts +4 -0
- package/src/server/authenticate/admin/helpers/redirect.ts +2 -2
- package/src/server/authenticate/admin/helpers/validate-redirect-url.ts +1 -1
- package/src/server/authenticate/admin/scope/types.ts +2 -1
- package/src/server/authenticate/admin/types.ts +10 -0
- package/src/server/authenticate/flow/types.ts +4 -0
- package/src/server/authenticate/fulfillment-service/types.ts +4 -0
- package/src/server/authenticate/public/appProxy/authenticate.ts +9 -12
- package/src/server/authenticate/public/appProxy/types.ts +4 -0
- package/src/server/authenticate/public/checkout/types.ts +4 -0
- package/src/server/authenticate/public/customer-account/authenticate.public.customerAccount.doc.example.ts +2 -1
- package/src/server/authenticate/public/customer-account/types.ts +4 -0
- package/src/server/authenticate/webhooks/authenticate.ts +1 -2
- package/src/server/authenticate/webhooks/authenticate.webhooks.doc.example.ts +6 -6
- package/src/server/authenticate/webhooks/types.ts +7 -27
- package/src/server/clients/admin/types.ts +4 -0
- package/src/server/clients/storefront/types.ts +4 -0
- package/src/server/config-types.ts +1 -1
- package/src/server/future/flags.ts +6 -0
- package/src/server/shopify-app.ts +3 -4
- package/src/server/test-helpers/test-config.ts +3 -3
- package/src/server/unauthenticated/admin/types.ts +4 -0
- package/src/server/unauthenticated/storefront/types.ts +4 -0
- package/src/server/version.ts +1 -1
- package/dist/ts/react/components/AppProvider/AppProvider.doc.d.ts +0 -4
- package/dist/ts/react/components/AppProvider/AppProvider.doc.d.ts.map +0 -1
- package/dist/ts/react/components/AppProxyForm/AppProxyForm.doc.d.ts +0 -4
- package/dist/ts/react/components/AppProxyForm/AppProxyForm.doc.d.ts.map +0 -1
- package/dist/ts/react/components/AppProxyLink/AppProxyLink.doc.d.ts +0 -4
- package/dist/ts/react/components/AppProxyLink/AppProxyLink.doc.d.ts.map +0 -1
- package/dist/ts/react/components/AppProxyProvider/AppProxyProvider.doc.d.ts +0 -4
- package/dist/ts/react/components/AppProxyProvider/AppProxyProvider.doc.d.ts.map +0 -1
- package/dist/ts/server/authenticate/admin/authenticate.admin.doc.d.ts +0 -4
- package/dist/ts/server/authenticate/admin/authenticate.admin.doc.d.ts.map +0 -1
- package/dist/ts/server/authenticate/admin/billing/authenticate.admin.billing.doc.d.ts +0 -4
- package/dist/ts/server/authenticate/admin/billing/authenticate.admin.billing.doc.d.ts.map +0 -1
- package/dist/ts/server/authenticate/admin/scope/authenticate.admin.scopes.doc.d.ts +0 -4
- package/dist/ts/server/authenticate/admin/scope/authenticate.admin.scopes.doc.d.ts.map +0 -1
- package/dist/ts/server/authenticate/flow/authenticate.flow.doc.d.ts +0 -4
- package/dist/ts/server/authenticate/flow/authenticate.flow.doc.d.ts.map +0 -1
- package/dist/ts/server/authenticate/fulfillment-service/authenticate.fulfillment-service.doc.d.ts +0 -4
- package/dist/ts/server/authenticate/fulfillment-service/authenticate.fulfillment-service.doc.d.ts.map +0 -1
- package/dist/ts/server/authenticate/public/appProxy/authenticate.public.app-proxy.doc.d.ts +0 -4
- package/dist/ts/server/authenticate/public/appProxy/authenticate.public.app-proxy.doc.d.ts.map +0 -1
- package/dist/ts/server/authenticate/public/checkout/authenticate.public.checkout.doc.d.ts +0 -4
- package/dist/ts/server/authenticate/public/checkout/authenticate.public.checkout.doc.d.ts.map +0 -1
- package/dist/ts/server/authenticate/public/customer-account/authenticate.public.customerAccount.doc.d.ts +0 -4
- package/dist/ts/server/authenticate/public/customer-account/authenticate.public.customerAccount.doc.d.ts.map +0 -1
- package/dist/ts/server/authenticate/webhooks/authenticate.webhooks.doc.d.ts +0 -4
- package/dist/ts/server/authenticate/webhooks/authenticate.webhooks.doc.d.ts.map +0 -1
- package/dist/ts/server/clients/admin/authenticate.admin.api.doc.d.ts +0 -4
- package/dist/ts/server/clients/admin/authenticate.admin.api.doc.d.ts.map +0 -1
- package/dist/ts/server/clients/storefront/authenticate.storefront.api.doc.d.ts +0 -4
- package/dist/ts/server/clients/storefront/authenticate.storefront.api.doc.d.ts.map +0 -1
- package/dist/ts/server/shopify-app.doc.d.ts +0 -4
- package/dist/ts/server/shopify-app.doc.d.ts.map +0 -1
- package/dist/ts/server/unauthenticated/admin/unauthenticated.admin.doc.d.ts +0 -4
- package/dist/ts/server/unauthenticated/admin/unauthenticated.admin.doc.d.ts.map +0 -1
- package/dist/ts/server/unauthenticated/storefront/unauthenticated.storefront.doc.d.ts +0 -4
- package/dist/ts/server/unauthenticated/storefront/unauthenticated.storefront.doc.d.ts.map +0 -1
- package/src/react/components/AppProvider/AppProvider.doc.ts +0 -35
- package/src/react/components/AppProxyForm/AppProxyForm.doc.ts +0 -28
- package/src/react/components/AppProxyLink/AppProxyLink.doc.ts +0 -28
- package/src/react/components/AppProxyProvider/AppProxyProvider.doc.ts +0 -40
- package/src/server/authenticate/admin/authenticate.admin.doc.ts +0 -51
- package/src/server/authenticate/admin/billing/authenticate.admin.billing.doc.ts +0 -29
- package/src/server/authenticate/admin/scope/authenticate.admin.scopes.doc.ts +0 -28
- package/src/server/authenticate/flow/authenticate.flow.doc.ts +0 -47
- package/src/server/authenticate/fulfillment-service/authenticate.fulfillment-service.doc.ts +0 -48
- package/src/server/authenticate/public/appProxy/authenticate.public.app-proxy.doc.ts +0 -55
- package/src/server/authenticate/public/checkout/authenticate.public.checkout.doc.ts +0 -49
- package/src/server/authenticate/public/customer-account/authenticate.public.customerAccount.doc.ts +0 -49
- package/src/server/authenticate/webhooks/authenticate.webhooks.doc.ts +0 -39
- package/src/server/clients/admin/authenticate.admin.api.doc.ts +0 -34
- package/src/server/clients/storefront/authenticate.storefront.api.doc.ts +0 -34
- package/src/server/shopify-app.doc.ts +0 -45
- package/src/server/unauthenticated/admin/unauthenticated.admin.doc.ts +0 -40
- package/src/server/unauthenticated/storefront/unauthenticated.storefront.doc.ts +0 -40
|
@@ -39,6 +39,7 @@ import {FutureFlagOptions, logDisabledFutureFlags} from './future/flags';
|
|
|
39
39
|
*
|
|
40
40
|
* @param appConfig Configuration options for your Shopify app, such as the scopes your app needs.
|
|
41
41
|
* @returns `ShopifyApp` An object constructed using your appConfig. It has methods for interacting with Shopify.
|
|
42
|
+
* @publicDocs
|
|
42
43
|
*
|
|
43
44
|
* @example
|
|
44
45
|
* <caption>The minimum viable configuration</caption>
|
|
@@ -88,9 +89,7 @@ export function shopifyApp<
|
|
|
88
89
|
});
|
|
89
90
|
|
|
90
91
|
const shopify:
|
|
91
|
-
|
|
|
92
|
-
| AppStoreApp<Config>
|
|
93
|
-
| SingleMerchantApp<Config> = {
|
|
92
|
+
AdminApp<Config> | AppStoreApp<Config> | SingleMerchantApp<Config> = {
|
|
94
93
|
sessionStorage: config.sessionStorage,
|
|
95
94
|
addDocumentResponseHeaders: addDocumentResponseHeadersFactory(params),
|
|
96
95
|
registerWebhooks: registerWebhooksFactory(params),
|
|
@@ -139,7 +138,7 @@ export function deriveApi(appConfig: AppConfigArg): BasicParams['api'] {
|
|
|
139
138
|
let appUrl: URL;
|
|
140
139
|
try {
|
|
141
140
|
appUrl = new URL(appConfig.appUrl);
|
|
142
|
-
} catch (
|
|
141
|
+
} catch (_error) {
|
|
143
142
|
const message =
|
|
144
143
|
appConfig.appUrl === ''
|
|
145
144
|
? `Detected an empty appUrl configuration, please make sure to set the necessary environment variables.\n` +
|
|
@@ -51,9 +51,9 @@ export function testConfig<
|
|
|
51
51
|
* the output being a const object.
|
|
52
52
|
*/
|
|
53
53
|
type Modify<Type1, Type2> = {
|
|
54
|
-
[
|
|
55
|
-
? never
|
|
56
|
-
|
|
54
|
+
[
|
|
55
|
+
key in keyof Type2 as Type2[key] extends undefined ? never : key
|
|
56
|
+
]: Type2[key];
|
|
57
57
|
} & {
|
|
58
58
|
[key in keyof Type1 as key extends keyof Type2 ? never : key]: Type1[key];
|
|
59
59
|
};
|
|
@@ -74,6 +74,10 @@ export interface UnauthenticatedAdminContext {
|
|
|
74
74
|
admin: AdminApiContext;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
/**
|
|
78
|
+
* Creates an unauthenticated Admin context.
|
|
79
|
+
* @publicDocs
|
|
80
|
+
*/
|
|
77
81
|
export type GetUnauthenticatedAdminContext = (
|
|
78
82
|
shop: string,
|
|
79
83
|
) => Promise<UnauthenticatedAdminContext>;
|
|
@@ -100,6 +100,10 @@ export interface UnauthenticatedStorefrontContext {
|
|
|
100
100
|
storefront: StorefrontContext;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
/**
|
|
104
|
+
* Creates an unauthenticated Storefront context.
|
|
105
|
+
* @publicDocs
|
|
106
|
+
*/
|
|
103
107
|
export type GetUnauthenticatedStorefrontContext = (
|
|
104
108
|
shop: string,
|
|
105
109
|
) => Promise<UnauthenticatedStorefrontContext>;
|
package/src/server/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SHOPIFY_REMIX_LIBRARY_VERSION = '
|
|
1
|
+
export const SHOPIFY_REMIX_LIBRARY_VERSION = '5.0.0';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppProvider.doc.d.ts","sourceRoot":"","sources":["../../../../../src/react/components/AppProvider/AppProvider.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA8BX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppProxyForm.doc.d.ts","sourceRoot":"","sources":["../../../../../src/react/components/AppProxyForm/AppProxyForm.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAuBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppProxyLink.doc.d.ts","sourceRoot":"","sources":["../../../../../src/react/components/AppProxyLink/AppProxyLink.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAuBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppProxyProvider.doc.d.ts","sourceRoot":"","sources":["../../../../../src/react/components/AppProxyProvider/AppProxyProvider.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAmCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.admin.doc.d.ts","sourceRoot":"","sources":["../../../../../src/server/authenticate/admin/authenticate.admin.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA8CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.admin.billing.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/server/authenticate/admin/billing/authenticate.admin.billing.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAwBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.admin.scopes.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/server/authenticate/admin/scope/authenticate.admin.scopes.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAuBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.flow.doc.d.ts","sourceRoot":"","sources":["../../../../../src/server/authenticate/flow/authenticate.flow.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA0CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.fulfillment-service.doc.d.ts","sourceRoot":"","sources":["../../../../../src/server/authenticate/fulfillment-service/authenticate.fulfillment-service.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA2CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
package/dist/ts/server/authenticate/public/appProxy/authenticate.public.app-proxy.doc.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.public.app-proxy.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/server/authenticate/public/appProxy/authenticate.public.app-proxy.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAkDX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
package/dist/ts/server/authenticate/public/checkout/authenticate.public.checkout.doc.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.public.checkout.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/server/authenticate/public/checkout/authenticate.public.checkout.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA4CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.public.customerAccount.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/server/authenticate/public/customer-account/authenticate.public.customerAccount.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA4CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.webhooks.doc.d.ts","sourceRoot":"","sources":["../../../../../src/server/authenticate/webhooks/authenticate.webhooks.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAkCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.admin.api.doc.d.ts","sourceRoot":"","sources":["../../../../../src/server/clients/admin/authenticate.admin.api.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA6BX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.storefront.api.doc.d.ts","sourceRoot":"","sources":["../../../../../src/server/clients/storefront/authenticate.storefront.api.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA6BX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shopify-app.doc.d.ts","sourceRoot":"","sources":["../../../src/server/shopify-app.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAwCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unauthenticated.admin.doc.d.ts","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/admin/unauthenticated.admin.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAmCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unauthenticated.storefront.doc.d.ts","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/storefront/unauthenticated.storefront.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAmCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
-
|
|
3
|
-
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: 'AppProvider',
|
|
5
|
-
descriptionType: 'AppProviderGeneratedType',
|
|
6
|
-
description: '',
|
|
7
|
-
category: 'Entrypoints',
|
|
8
|
-
type: 'component',
|
|
9
|
-
isVisualComponent: false,
|
|
10
|
-
definitions: [
|
|
11
|
-
{
|
|
12
|
-
title: 'AppProviderProps',
|
|
13
|
-
description: 'Props for the `AppProvider` component.',
|
|
14
|
-
type: 'AppProviderProps',
|
|
15
|
-
filePath: 'src/react/components/AppProvider/AppProvider.tsx',
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
jsDocTypeExamples: ['AppProviderGeneratedType'],
|
|
19
|
-
related: [
|
|
20
|
-
{
|
|
21
|
-
name: 'App bridge',
|
|
22
|
-
subtitle: 'Learn more about App Bridge.',
|
|
23
|
-
url: '/docs/api/app-bridge-library',
|
|
24
|
-
type: 'shopify',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
name: 'Polaris',
|
|
28
|
-
subtitle: 'Learn more about Polaris.',
|
|
29
|
-
url: '/docs/apps/tools/polaris',
|
|
30
|
-
type: 'shopify',
|
|
31
|
-
},
|
|
32
|
-
],
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export default data;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
-
|
|
3
|
-
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: 'AppProxyForm',
|
|
5
|
-
descriptionType: 'AppProxyFormGeneratedType',
|
|
6
|
-
description: '',
|
|
7
|
-
category: 'App proxy components',
|
|
8
|
-
type: 'component',
|
|
9
|
-
isVisualComponent: false,
|
|
10
|
-
definitions: [],
|
|
11
|
-
jsDocTypeExamples: ['AppProxyFormGeneratedType'],
|
|
12
|
-
related: [
|
|
13
|
-
{
|
|
14
|
-
name: 'authenticate.public.appProxy',
|
|
15
|
-
subtitle: 'Authenticating app proxy requests.',
|
|
16
|
-
url: '/docs/api/shopify-app-remix/authenticate/public/app-proxy',
|
|
17
|
-
type: 'remix',
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
name: 'AppProxyProvider',
|
|
21
|
-
subtitle: 'Enable JavaScript in pages loaded through app proxies.',
|
|
22
|
-
url: '/docs/api/shopify-app-remix/app-proxy-components/appproxyprovider',
|
|
23
|
-
type: 'remix',
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export default data;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
-
|
|
3
|
-
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: 'AppProxyLink',
|
|
5
|
-
descriptionType: 'AppProxyLinkGeneratedType',
|
|
6
|
-
description: '',
|
|
7
|
-
category: 'App proxy components',
|
|
8
|
-
type: 'component',
|
|
9
|
-
isVisualComponent: false,
|
|
10
|
-
definitions: [],
|
|
11
|
-
jsDocTypeExamples: ['AppProxyLinkGeneratedType'],
|
|
12
|
-
related: [
|
|
13
|
-
{
|
|
14
|
-
name: 'authenticate.public.appProxy',
|
|
15
|
-
subtitle: 'Authenticating app proxy requests.',
|
|
16
|
-
url: '/docs/api/shopify-app-remix/authenticate/public/app-proxy',
|
|
17
|
-
type: 'remix',
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
name: 'AppProxyProvider',
|
|
21
|
-
subtitle: 'Enable JavaScript in pages loaded through app proxies.',
|
|
22
|
-
url: '/docs/api/shopify-app-remix/app-proxy-components/appproxyprovider',
|
|
23
|
-
type: 'remix',
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export default data;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
-
|
|
3
|
-
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: 'AppProxyProvider',
|
|
5
|
-
descriptionType: 'AppProxyProviderGeneratedType',
|
|
6
|
-
description: '',
|
|
7
|
-
category: 'Entrypoints',
|
|
8
|
-
type: 'component',
|
|
9
|
-
isVisualComponent: false,
|
|
10
|
-
definitions: [
|
|
11
|
-
{
|
|
12
|
-
title: 'AppProxyProviderProps',
|
|
13
|
-
description: 'Props for the `AppProxyProvider` component.',
|
|
14
|
-
type: 'AppProxyProviderProps',
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
jsDocTypeExamples: ['AppProxyProviderGeneratedType'],
|
|
18
|
-
related: [
|
|
19
|
-
{
|
|
20
|
-
name: 'authenticate.public.appProxy',
|
|
21
|
-
subtitle: 'Authenticate app proxy requests.',
|
|
22
|
-
url: '/docs/api/shopify-app-remix/authenticate/public/app-proxy',
|
|
23
|
-
type: 'remix',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
name: 'AppProxyForm',
|
|
27
|
-
subtitle: 'Render form elements in proxies.',
|
|
28
|
-
url: '/docs/api/shopify-app-remix/app-proxy-components/appproxyform',
|
|
29
|
-
type: 'remix',
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
name: 'AppProxyLink',
|
|
33
|
-
subtitle: 'Render link elements in proxies.',
|
|
34
|
-
url: '/docs/api/shopify-app-remix/app-proxy-components/appproxylink',
|
|
35
|
-
type: 'remix',
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export default data;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
-
|
|
3
|
-
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: 'Admin',
|
|
5
|
-
description:
|
|
6
|
-
'Contains methods for authenticating and interacting with the Admin API.\n\nThis function can handle requests for apps embedded in the Admin, Admin extensions, or non-embedded apps.',
|
|
7
|
-
category: 'Authenticate',
|
|
8
|
-
type: 'object',
|
|
9
|
-
isVisualComponent: false,
|
|
10
|
-
definitions: [
|
|
11
|
-
{
|
|
12
|
-
title: 'authenticate.admin',
|
|
13
|
-
description:
|
|
14
|
-
'Authenticates requests coming from the Shopify admin.\n\nThe shape of the returned object changes depending on the `isEmbeddedApp` config.',
|
|
15
|
-
type: 'AuthenticateAdmin',
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
defaultExample: {
|
|
19
|
-
description: 'Authenticate, run API mutation, and redirect',
|
|
20
|
-
codeblock: {
|
|
21
|
-
title: 'Authenticate, run API mutation, and redirect',
|
|
22
|
-
tabs: [
|
|
23
|
-
{
|
|
24
|
-
title: '/app/routes/**.ts',
|
|
25
|
-
language: 'typescript',
|
|
26
|
-
code: './authenticate.admin.doc.example.ts',
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
jsDocTypeExamples: [
|
|
32
|
-
'EmbeddedAdminContext',
|
|
33
|
-
'AdminApiContext',
|
|
34
|
-
'BillingContext',
|
|
35
|
-
'ScopesApiContext',
|
|
36
|
-
],
|
|
37
|
-
related: [
|
|
38
|
-
{
|
|
39
|
-
name: 'API context',
|
|
40
|
-
subtitle: 'Interact with the Admin API.',
|
|
41
|
-
url: '/docs/api/shopify-app-remix/apis/admin-api',
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
name: 'Billing context',
|
|
45
|
-
subtitle: 'Bill merchants for your app using the Admin API.',
|
|
46
|
-
url: '/docs/api/shopify-app-remix/apis/billing',
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export default data;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
-
|
|
3
|
-
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: 'Billing',
|
|
5
|
-
description:
|
|
6
|
-
'Contains function used to bill merchants for your app with the Billing API.\n\nThis object is returned on authenticated Admin requests.' +
|
|
7
|
-
'\n\n> Note: [Managed App Pricing](/docs/apps/launch/billing/managed-pricing) is now available. Define your app’s pricing plans directly in the Shopify Partner Dashboard, without needing to use the Billing API.',
|
|
8
|
-
category: 'APIs',
|
|
9
|
-
type: 'object',
|
|
10
|
-
isVisualComponent: false,
|
|
11
|
-
definitions: [
|
|
12
|
-
{
|
|
13
|
-
title: 'billing',
|
|
14
|
-
description:
|
|
15
|
-
'Provides utilities that apps can use to request billing for the app using the Admin API.',
|
|
16
|
-
type: 'BillingContext',
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
jsDocTypeExamples: ['BillingContext'],
|
|
20
|
-
related: [
|
|
21
|
-
{
|
|
22
|
-
name: 'Admin context',
|
|
23
|
-
subtitle: 'Authenticate requests from Shopify Admin.',
|
|
24
|
-
url: '/docs/api/shopify-app-remix/authenticate/admin',
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export default data;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
-
|
|
3
|
-
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: 'Scopes',
|
|
5
|
-
description:
|
|
6
|
-
'Contains functions used to manage scopes for your app.\n\nThis object is returned on authenticated Admin requests.',
|
|
7
|
-
category: 'APIs',
|
|
8
|
-
type: 'object',
|
|
9
|
-
isVisualComponent: false,
|
|
10
|
-
definitions: [
|
|
11
|
-
{
|
|
12
|
-
title: 'scopes',
|
|
13
|
-
description:
|
|
14
|
-
'Provides utilities that apps can use to [manage scopes](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation/manage-access-scopes) for the app using the Admin API.',
|
|
15
|
-
type: 'ScopesApiContext',
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
jsDocTypeExamples: ['ScopesApiContext'],
|
|
19
|
-
related: [
|
|
20
|
-
{
|
|
21
|
-
name: 'Admin context',
|
|
22
|
-
subtitle: 'Authenticate requests from Shopify Admin.',
|
|
23
|
-
url: '/docs/api/shopify-app-remix/authenticate/admin',
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export default data;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
-
|
|
3
|
-
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: 'Flow',
|
|
5
|
-
description:
|
|
6
|
-
'Contains functions for verifying Shopify Flow extensions.' +
|
|
7
|
-
'\n\nSee the [Flow documentation](https://shopify.dev/docs/apps/flow/actions/endpoints) for more information.',
|
|
8
|
-
category: 'Authenticate',
|
|
9
|
-
type: 'object',
|
|
10
|
-
isVisualComponent: false,
|
|
11
|
-
definitions: [
|
|
12
|
-
{
|
|
13
|
-
title: 'authenticate.flow',
|
|
14
|
-
description: 'Verifies requests coming from Shopify Flow extensions.',
|
|
15
|
-
type: 'AuthenticateFlow',
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
defaultExample: {
|
|
19
|
-
description: 'Handle a flow action call',
|
|
20
|
-
codeblock: {
|
|
21
|
-
title: 'Set a metafield on a customer after a flow call',
|
|
22
|
-
tabs: [
|
|
23
|
-
{
|
|
24
|
-
title: '/app/routes/**.ts',
|
|
25
|
-
language: 'typescript',
|
|
26
|
-
code: './authenticate.flow.doc.example.ts',
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
jsDocTypeExamples: ['FlowContext'],
|
|
32
|
-
related: [
|
|
33
|
-
{
|
|
34
|
-
name: 'Admin API context',
|
|
35
|
-
subtitle: 'Interact with the Admin API.',
|
|
36
|
-
url: '/docs/api/shopify-app-remix/apis/admin-api',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
name: 'Flow action endpoints',
|
|
40
|
-
subtitle: 'Receive requests from Flow.',
|
|
41
|
-
url: '/docs/apps/flow/actions/endpoints',
|
|
42
|
-
type: 'shopify',
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export default data;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
|
|
2
|
-
|
|
3
|
-
const data: ReferenceEntityTemplateSchema = {
|
|
4
|
-
name: 'Fulfillment Service',
|
|
5
|
-
description:
|
|
6
|
-
'Contains functions for verifying fulfillment service requests.' +
|
|
7
|
-
'\n\nSee the [fulfillment service documentation](https://shopify.dev/docs/apps/fulfillment/fulfillment-service-apps) for more information.',
|
|
8
|
-
category: 'Authenticate',
|
|
9
|
-
type: 'object',
|
|
10
|
-
isVisualComponent: false,
|
|
11
|
-
definitions: [
|
|
12
|
-
{
|
|
13
|
-
title: 'authenticate.fulfillmentService',
|
|
14
|
-
description:
|
|
15
|
-
'Verifies requests coming from Shopify to fulfillment service apps',
|
|
16
|
-
type: 'AuthenticateFulfillmentService',
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
defaultExample: {
|
|
20
|
-
description: 'Handle a fulfillment service notification call',
|
|
21
|
-
codeblock: {
|
|
22
|
-
title: 'Consume a fulfillment service notification request',
|
|
23
|
-
tabs: [
|
|
24
|
-
{
|
|
25
|
-
title: '/app/routes/**.ts',
|
|
26
|
-
language: 'typescript',
|
|
27
|
-
code: './authenticate.fulfillment-service.doc.example.ts',
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
jsDocTypeExamples: ['FulfillmentServiceContext'],
|
|
33
|
-
related: [
|
|
34
|
-
{
|
|
35
|
-
name: 'Admin API context',
|
|
36
|
-
subtitle: 'Interact with the Admin API.',
|
|
37
|
-
url: '/docs/api/shopify-app-remix/apis/admin-api',
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
name: 'Manage Fulfillments',
|
|
41
|
-
subtitle: 'Receive fulfillment requests and cancellations.',
|
|
42
|
-
url: '/docs/apps/fulfillment/fulfillment-service-apps/manage-fulfillments',
|
|
43
|
-
type: 'shopify',
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export default data;
|