@amplifyup/sdk 0.2.5 → 0.3.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/README.md +13 -1
- package/dist/{AmplifyRenderer-eGtn5k9_.d.mts → AmplifyRenderer-CwAYY8K1.d.mts} +1 -1
- package/dist/{AmplifyRenderer-CTwblDs3.d.ts → AmplifyRenderer-D40crBWY.d.ts} +1 -1
- package/dist/AmplifyRenderer.d.mts +2 -2
- package/dist/AmplifyRenderer.d.ts +2 -2
- package/dist/AmplifyRenderer.js +1 -1
- package/dist/AmplifyRenderer.js.map +1 -1
- package/dist/AmplifyRenderer.mjs +1 -1
- package/dist/AmplifyRenderer.mjs.map +1 -1
- package/dist/index.d.mts +240 -4
- package/dist/index.d.ts +240 -4
- package/dist/index.js +58 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +56 -1
- package/dist/index.mjs.map +1 -1
- package/dist/next.js +100 -7
- package/dist/next.js.map +1 -1
- package/dist/next.mjs +99 -7
- package/dist/next.mjs.map +1 -1
- package/dist/{query-Bs5o-qmw.d.ts → query-BeQibYGm.d.ts} +1 -1
- package/dist/{query-CYRvyIv0.d.mts → query-CwtZtJX8.d.mts} +1 -1
- package/dist/react.d.mts +6 -6
- package/dist/react.d.ts +6 -6
- package/dist/react.js +2 -2
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +2 -2
- package/dist/react.mjs.map +1 -1
- package/dist/server.d.mts +3 -3
- package/dist/server.d.ts +3 -3
- package/dist/{types-ffQNIQCK.d.ts → types-CxucvIL6.d.mts} +1 -1
- package/dist/{types-ffQNIQCK.d.mts → types-CxucvIL6.d.ts} +1 -1
- package/package.json +8 -7
- package/dist/cli.d.mts +0 -1
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +0 -266
- package/dist/cli.js.map +0 -1
- package/dist/cli.mjs +0 -260
- package/dist/cli.mjs.map +0 -1
package/dist/react.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { P as PageConfig,
|
|
2
|
-
export { Z as ZoneConfig } from './types-
|
|
1
|
+
import { P as PageConfig, d as AmplifyUpConfig, f as AmplifyPageContextInput, C as ContentSource, A as AmplifyContentMeta } from './types-CxucvIL6.mjs';
|
|
2
|
+
export { Z as ZoneConfig } from './types-CxucvIL6.mjs';
|
|
3
3
|
import React__default, { ReactNode, FC } from 'react';
|
|
4
|
-
import { C as ComponentRegistry } from './AmplifyRenderer-
|
|
5
|
-
export { A as AmplifyRenderer, d as defineComponentRegistry } from './AmplifyRenderer-
|
|
6
|
-
import { o as Field$1, p as FIELDS_BRAND } from './query-
|
|
7
|
-
export { r as FieldRef, t as Fields, I as ImageValue, L as LayoutComponentProps, u as ListRow, P as PortableRef, Q as QueryContentError, b as QueryContentOptions, c as QueryFilter, d as QueryFilterOp, e as QueryPagination, f as QueryResult, g as QuerySort, h as QuerySpec, S as SelectVariantsError, i as SelectVariantsOptions, j as SelectVariantsResult, v as attachFieldEnvelopes, w as composerStoreKey, x as envelopeListRows, y as isBrandedFields, z as isFieldEnvelope, A as isReadOnlyRowField, B as listOwnerFromSpec, n as nextPageSpec, q as queryContent, s as searchSpec, m as selectVariants, C as toFieldEnvelopes } from './query-
|
|
4
|
+
import { C as ComponentRegistry } from './AmplifyRenderer-CwAYY8K1.mjs';
|
|
5
|
+
export { A as AmplifyRenderer, d as defineComponentRegistry } from './AmplifyRenderer-CwAYY8K1.mjs';
|
|
6
|
+
import { o as Field$1, p as FIELDS_BRAND } from './query-CwtZtJX8.mjs';
|
|
7
|
+
export { r as FieldRef, t as Fields, I as ImageValue, L as LayoutComponentProps, u as ListRow, P as PortableRef, Q as QueryContentError, b as QueryContentOptions, c as QueryFilter, d as QueryFilterOp, e as QueryPagination, f as QueryResult, g as QuerySort, h as QuerySpec, S as SelectVariantsError, i as SelectVariantsOptions, j as SelectVariantsResult, v as attachFieldEnvelopes, w as composerStoreKey, x as envelopeListRows, y as isBrandedFields, z as isFieldEnvelope, A as isReadOnlyRowField, B as listOwnerFromSpec, n as nextPageSpec, q as queryContent, s as searchSpec, m as selectVariants, C as toFieldEnvelopes } from './query-CwtZtJX8.mjs';
|
|
8
8
|
export { i as isComposerPreview, a as isPreviewRequest, b as isWorkingContentRequest } from './preview-_vHmzRen.mjs';
|
|
9
9
|
|
|
10
10
|
interface AmplifyPageContentProps {
|
package/dist/react.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { P as PageConfig,
|
|
2
|
-
export { Z as ZoneConfig } from './types-
|
|
1
|
+
import { P as PageConfig, d as AmplifyUpConfig, f as AmplifyPageContextInput, C as ContentSource, A as AmplifyContentMeta } from './types-CxucvIL6.js';
|
|
2
|
+
export { Z as ZoneConfig } from './types-CxucvIL6.js';
|
|
3
3
|
import React__default, { ReactNode, FC } from 'react';
|
|
4
|
-
import { C as ComponentRegistry } from './AmplifyRenderer-
|
|
5
|
-
export { A as AmplifyRenderer, d as defineComponentRegistry } from './AmplifyRenderer-
|
|
6
|
-
import { o as Field$1, p as FIELDS_BRAND } from './query-
|
|
7
|
-
export { r as FieldRef, t as Fields, I as ImageValue, L as LayoutComponentProps, u as ListRow, P as PortableRef, Q as QueryContentError, b as QueryContentOptions, c as QueryFilter, d as QueryFilterOp, e as QueryPagination, f as QueryResult, g as QuerySort, h as QuerySpec, S as SelectVariantsError, i as SelectVariantsOptions, j as SelectVariantsResult, v as attachFieldEnvelopes, w as composerStoreKey, x as envelopeListRows, y as isBrandedFields, z as isFieldEnvelope, A as isReadOnlyRowField, B as listOwnerFromSpec, n as nextPageSpec, q as queryContent, s as searchSpec, m as selectVariants, C as toFieldEnvelopes } from './query-
|
|
4
|
+
import { C as ComponentRegistry } from './AmplifyRenderer-D40crBWY.js';
|
|
5
|
+
export { A as AmplifyRenderer, d as defineComponentRegistry } from './AmplifyRenderer-D40crBWY.js';
|
|
6
|
+
import { o as Field$1, p as FIELDS_BRAND } from './query-BeQibYGm.js';
|
|
7
|
+
export { r as FieldRef, t as Fields, I as ImageValue, L as LayoutComponentProps, u as ListRow, P as PortableRef, Q as QueryContentError, b as QueryContentOptions, c as QueryFilter, d as QueryFilterOp, e as QueryPagination, f as QueryResult, g as QuerySort, h as QuerySpec, S as SelectVariantsError, i as SelectVariantsOptions, j as SelectVariantsResult, v as attachFieldEnvelopes, w as composerStoreKey, x as envelopeListRows, y as isBrandedFields, z as isFieldEnvelope, A as isReadOnlyRowField, B as listOwnerFromSpec, n as nextPageSpec, q as queryContent, s as searchSpec, m as selectVariants, C as toFieldEnvelopes } from './query-BeQibYGm.js';
|
|
8
8
|
export { i as isComposerPreview, a as isPreviewRequest, b as isWorkingContentRequest } from './preview-_vHmzRen.js';
|
|
9
9
|
|
|
10
10
|
interface AmplifyPageContentProps {
|
package/dist/react.js
CHANGED
|
@@ -4920,7 +4920,7 @@ var defineComponentRegistry = (components) => {
|
|
|
4920
4920
|
const key = componentKey(name);
|
|
4921
4921
|
if (index.has(key)) {
|
|
4922
4922
|
throw new Error(
|
|
4923
|
-
`[Amplify UP] Component registry has two components named like "${name}". Rebuild it with withAmplifyUp or \`amplifyup registry
|
|
4923
|
+
`[Amplify UP] Component registry has two components named like "${name}". Rebuild it with withAmplifyUp or \`amplifyup registry\` from @amplifyup/cli.`
|
|
4924
4924
|
);
|
|
4925
4925
|
}
|
|
4926
4926
|
index.set(key, component);
|
|
@@ -4992,7 +4992,7 @@ var assertComponentRegistry = (owner, props) => {
|
|
|
4992
4992
|
}
|
|
4993
4993
|
if (!isComponentRegistry(props.registry)) {
|
|
4994
4994
|
throw new Error(
|
|
4995
|
-
`[Amplify UP] ${owner} needs your component registry. Render <AmplifyPage /> from the generated .amplifyup/component-registry module (created by withAmplifyUp or \`amplifyup registry\`).`
|
|
4995
|
+
`[Amplify UP] ${owner} needs your component registry. Render <AmplifyPage /> from the generated .amplifyup/component-registry module (created by withAmplifyUp or \`amplifyup registry\` from @amplifyup/cli).`
|
|
4996
4996
|
);
|
|
4997
4997
|
}
|
|
4998
4998
|
};
|