@ampless/backend 0.2.0-alpha.3 → 0.2.0-alpha.4

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -218,7 +218,7 @@ function amplessSchemaModels(a, opts = {}) {
218
218
  slug: a.string().required(),
219
219
  title: a.string().required(),
220
220
  excerpt: a.string(),
221
- format: a.enum(["tiptap", "markdown", "html"]),
221
+ format: a.enum(["tiptap", "markdown", "html", "static"]),
222
222
  body: a.json(),
223
223
  status: a.enum(["draft", "published"]),
224
224
  publishedAt: a.datetime(),
@@ -252,7 +252,7 @@ function amplessSchemaModels(a, opts = {}) {
252
252
  pageId: a.id().required(),
253
253
  slug: a.string().required(),
254
254
  title: a.string().required(),
255
- format: a.enum(["tiptap", "markdown", "html"]),
255
+ format: a.enum(["tiptap", "markdown", "html", "static"]),
256
256
  body: a.json(),
257
257
  status: a.enum(["draft", "published"]),
258
258
  publishedAt: a.datetime()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampless/backend",
3
- "version": "0.2.0-alpha.3",
3
+ "version": "0.2.0-alpha.4",
4
4
  "description": "Amplify Gen 2 backend factories for ampless: auth, data, storage, event processors, API key renewer",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -56,7 +56,7 @@
56
56
  "@aws-sdk/client-sqs": "^3.717.0",
57
57
  "@aws-sdk/lib-dynamodb": "^3.717.0",
58
58
  "@aws-sdk/util-dynamodb": "^3.717.0",
59
- "ampless": "0.2.0-alpha.2"
59
+ "ampless": "0.2.0-alpha.3"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "@aws-amplify/backend": "^1",