@webiny/api-serverless-cms 5.43.0-beta.3 → 5.43.0-beta.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.
package/index.d.ts CHANGED
@@ -21,4 +21,4 @@ export declare const createContextPlugin: <T extends Context = Context>(callable
21
21
  export declare const createGraphQLSchemaPlugin: <T extends Context = Context>(config: GraphQLSchemaPluginConfig<T>) => import("@webiny/handler-graphql").GraphQLSchemaPlugin<T>;
22
22
  export { createSecurityRolePlugin, createSecurityTeamPlugin };
23
23
  export * from "./tenancy/InstallTenant";
24
- export { createModelGroupPlugin, createModelPlugin, createSingleEntryModelPlugin, createPrivateModelPlugin, createPrivateSingleEntryModelPlugin, createStorageTransformPlugin } from "@webiny/api-headless-cms";
24
+ export { createModelGroupPlugin, createModelPlugin, createSingleEntryModelPlugin, createPrivateModelPlugin, createPrivateSingleEntryModelPlugin, createModelField, createCmsGraphQLSchemaPlugin, createStorageTransformPlugin } from "@webiny/api-headless-cms";
package/index.js CHANGED
@@ -13,9 +13,23 @@ var _exportNames = {
13
13
  createSingleEntryModelPlugin: true,
14
14
  createPrivateModelPlugin: true,
15
15
  createPrivateSingleEntryModelPlugin: true,
16
+ createModelField: true,
17
+ createCmsGraphQLSchemaPlugin: true,
16
18
  createStorageTransformPlugin: true
17
19
  };
20
+ Object.defineProperty(exports, "createCmsGraphQLSchemaPlugin", {
21
+ enumerable: true,
22
+ get: function () {
23
+ return _apiHeadlessCms.createCmsGraphQLSchemaPlugin;
24
+ }
25
+ });
18
26
  exports.createGraphQLSchemaPlugin = exports.createContextPlugin = void 0;
27
+ Object.defineProperty(exports, "createModelField", {
28
+ enumerable: true,
29
+ get: function () {
30
+ return _apiHeadlessCms.createModelField;
31
+ }
32
+ });
19
33
  Object.defineProperty(exports, "createModelGroupPlugin", {
20
34
  enumerable: true,
21
35
  get: function () {
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["_api","require","_handlerGraphql","_apiSecurity","_InstallTenant","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_apiHeadlessCms","createContextPlugin","callable","baseCreateContextPlugin","createGraphQLSchemaPlugin","config","baseCreateGraphQLSchemaPlugin"],"sources":["index.ts"],"sourcesContent":["import { ClientContext } from \"@webiny/handler-client/types\";\nimport { TenancyContext } from \"@webiny/api-tenancy/types\";\nimport { SecurityContext } from \"@webiny/api-security/types\";\nimport { I18NContext } from \"@webiny/api-i18n/types\";\nimport { I18NContentContext } from \"@webiny/api-i18n-content/types\";\nimport { PbContext } from \"@webiny/api-page-builder/graphql/types\";\nimport { PrerenderingServiceClientContext } from \"@webiny/api-prerendering-service/client/types\";\nimport { FileManagerContext } from \"@webiny/api-file-manager/types\";\nimport { FormBuilderContext } from \"@webiny/api-form-builder/types\";\nimport { CmsContext } from \"@webiny/api-headless-cms/types\";\nimport { AcoContext } from \"@webiny/api-aco/types\";\nimport { PbAcoContext } from \"@webiny/api-page-builder-aco/types\";\nimport { ContextPluginCallable, createContextPlugin as baseCreateContextPlugin } from \"@webiny/api\";\nimport {\n createGraphQLSchemaPlugin as baseCreateGraphQLSchemaPlugin,\n GraphQLSchemaPluginConfig\n} from \"@webiny/handler-graphql\";\nimport { createSecurityRolePlugin, createSecurityTeamPlugin } from \"@webiny/api-security\";\nimport { MailerContext } from \"@webiny/api-mailer/types\";\nimport { Context as LoggerContext } from \"@webiny/api-log/types\";\n\nexport interface Context\n extends ClientContext,\n MailerContext,\n TenancyContext,\n SecurityContext,\n I18NContext,\n I18NContentContext,\n PbContext,\n PrerenderingServiceClientContext,\n FileManagerContext,\n FormBuilderContext,\n AcoContext,\n PbAcoContext,\n LoggerContext,\n CmsContext {}\n\nexport const createContextPlugin = <T extends Context = Context>(\n callable: ContextPluginCallable<T>\n) => {\n return baseCreateContextPlugin<T>(callable);\n};\n\nexport const createGraphQLSchemaPlugin = <T extends Context = Context>(\n config: GraphQLSchemaPluginConfig<T>\n) => {\n return baseCreateGraphQLSchemaPlugin<T>(config);\n};\n\nexport { createSecurityRolePlugin, createSecurityTeamPlugin };\n\nexport * from \"./tenancy/InstallTenant\";\n\nexport {\n // Model groups.\n createModelGroupPlugin,\n\n // Models.\n createModelPlugin,\n createSingleEntryModelPlugin,\n createPrivateModelPlugin,\n createPrivateSingleEntryModelPlugin,\n\n // Other.\n createStorageTransformPlugin\n} from \"@webiny/api-headless-cms\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,IAAAA,IAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAIA,IAAAE,YAAA,GAAAF,OAAA;AAkCA,IAAAG,cAAA,GAAAH,OAAA;AAAAI,MAAA,CAAAC,IAAA,CAAAF,cAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,cAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,cAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AAEA,IAAAS,eAAA,GAAAhB,OAAA;AAhBO,MAAMiB,mBAAmB,GAC5BC,QAAkC,IACjC;EACD,OAAO,IAAAC,wBAAuB,EAAID,QAAQ,CAAC;AAC/C,CAAC;AAACN,OAAA,CAAAK,mBAAA,GAAAA,mBAAA;AAEK,MAAMG,yBAAyB,GAClCC,MAAoC,IACnC;EACD,OAAO,IAAAC,yCAA6B,EAAID,MAAM,CAAC;AACnD,CAAC;AAACT,OAAA,CAAAQ,yBAAA,GAAAA,yBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_api","require","_handlerGraphql","_apiSecurity","_InstallTenant","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_apiHeadlessCms","createContextPlugin","callable","baseCreateContextPlugin","createGraphQLSchemaPlugin","config","baseCreateGraphQLSchemaPlugin"],"sources":["index.ts"],"sourcesContent":["import { ClientContext } from \"@webiny/handler-client/types\";\nimport { TenancyContext } from \"@webiny/api-tenancy/types\";\nimport { SecurityContext } from \"@webiny/api-security/types\";\nimport { I18NContext } from \"@webiny/api-i18n/types\";\nimport { I18NContentContext } from \"@webiny/api-i18n-content/types\";\nimport { PbContext } from \"@webiny/api-page-builder/graphql/types\";\nimport { PrerenderingServiceClientContext } from \"@webiny/api-prerendering-service/client/types\";\nimport { FileManagerContext } from \"@webiny/api-file-manager/types\";\nimport { FormBuilderContext } from \"@webiny/api-form-builder/types\";\nimport { CmsContext } from \"@webiny/api-headless-cms/types\";\nimport { AcoContext } from \"@webiny/api-aco/types\";\nimport { PbAcoContext } from \"@webiny/api-page-builder-aco/types\";\nimport { ContextPluginCallable, createContextPlugin as baseCreateContextPlugin } from \"@webiny/api\";\nimport {\n createGraphQLSchemaPlugin as baseCreateGraphQLSchemaPlugin,\n GraphQLSchemaPluginConfig\n} from \"@webiny/handler-graphql\";\nimport { createSecurityRolePlugin, createSecurityTeamPlugin } from \"@webiny/api-security\";\nimport { MailerContext } from \"@webiny/api-mailer/types\";\nimport { Context as LoggerContext } from \"@webiny/api-log/types\";\n\nexport interface Context\n extends ClientContext,\n MailerContext,\n TenancyContext,\n SecurityContext,\n I18NContext,\n I18NContentContext,\n PbContext,\n PrerenderingServiceClientContext,\n FileManagerContext,\n FormBuilderContext,\n AcoContext,\n PbAcoContext,\n LoggerContext,\n CmsContext {}\n\nexport const createContextPlugin = <T extends Context = Context>(\n callable: ContextPluginCallable<T>\n) => {\n return baseCreateContextPlugin<T>(callable);\n};\n\nexport const createGraphQLSchemaPlugin = <T extends Context = Context>(\n config: GraphQLSchemaPluginConfig<T>\n) => {\n return baseCreateGraphQLSchemaPlugin<T>(config);\n};\n\nexport { createSecurityRolePlugin, createSecurityTeamPlugin };\n\nexport * from \"./tenancy/InstallTenant\";\n\nexport {\n // Model groups.\n createModelGroupPlugin,\n\n // Models.\n createModelPlugin,\n createSingleEntryModelPlugin,\n createPrivateModelPlugin,\n createPrivateSingleEntryModelPlugin,\n\n // Model fields (this is not a plugin factory, hence the missing `Plugin` suffix in the name).\n createModelField,\n\n // Other.\n createCmsGraphQLSchemaPlugin,\n createStorageTransformPlugin\n} from \"@webiny/api-headless-cms\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,IAAAA,IAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAIA,IAAAE,YAAA,GAAAF,OAAA;AAkCA,IAAAG,cAAA,GAAAH,OAAA;AAAAI,MAAA,CAAAC,IAAA,CAAAF,cAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,cAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,cAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AAEA,IAAAS,eAAA,GAAAhB,OAAA;AAhBO,MAAMiB,mBAAmB,GAC5BC,QAAkC,IACjC;EACD,OAAO,IAAAC,wBAAuB,EAAID,QAAQ,CAAC;AAC/C,CAAC;AAACN,OAAA,CAAAK,mBAAA,GAAAA,mBAAA;AAEK,MAAMG,yBAAyB,GAClCC,MAAoC,IACnC;EACD,OAAO,IAAAC,yCAA6B,EAAID,MAAM,CAAC;AACnD,CAAC;AAACT,OAAA,CAAAQ,yBAAA,GAAAA,yBAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/api-serverless-cms",
3
- "version": "5.43.0-beta.3",
3
+ "version": "5.43.0-beta.4",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,41 +9,41 @@
9
9
  "description": "Core package for all of our API packages.",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@webiny/api": "5.43.0-beta.3",
13
- "@webiny/api-aco": "5.43.0-beta.3",
14
- "@webiny/api-file-manager": "5.43.0-beta.3",
15
- "@webiny/api-form-builder": "5.43.0-beta.3",
16
- "@webiny/api-headless-cms": "5.43.0-beta.3",
17
- "@webiny/api-i18n": "5.43.0-beta.3",
18
- "@webiny/api-i18n-content": "5.43.0-beta.3",
19
- "@webiny/api-log": "5.43.0-beta.3",
20
- "@webiny/api-mailer": "5.43.0-beta.3",
21
- "@webiny/api-page-builder": "5.43.0-beta.3",
22
- "@webiny/api-page-builder-aco": "5.43.0-beta.3",
23
- "@webiny/api-prerendering-service": "5.43.0-beta.3",
24
- "@webiny/api-security": "5.43.0-beta.3",
25
- "@webiny/api-tenancy": "5.43.0-beta.3",
26
- "@webiny/error": "5.43.0-beta.3",
27
- "@webiny/handler-client": "5.43.0-beta.3",
28
- "@webiny/handler-graphql": "5.43.0-beta.3"
12
+ "@webiny/api": "5.43.0-beta.4",
13
+ "@webiny/api-aco": "5.43.0-beta.4",
14
+ "@webiny/api-file-manager": "5.43.0-beta.4",
15
+ "@webiny/api-form-builder": "5.43.0-beta.4",
16
+ "@webiny/api-headless-cms": "5.43.0-beta.4",
17
+ "@webiny/api-i18n": "5.43.0-beta.4",
18
+ "@webiny/api-i18n-content": "5.43.0-beta.4",
19
+ "@webiny/api-log": "5.43.0-beta.4",
20
+ "@webiny/api-mailer": "5.43.0-beta.4",
21
+ "@webiny/api-page-builder": "5.43.0-beta.4",
22
+ "@webiny/api-page-builder-aco": "5.43.0-beta.4",
23
+ "@webiny/api-prerendering-service": "5.43.0-beta.4",
24
+ "@webiny/api-security": "5.43.0-beta.4",
25
+ "@webiny/api-tenancy": "5.43.0-beta.4",
26
+ "@webiny/error": "5.43.0-beta.4",
27
+ "@webiny/handler-client": "5.43.0-beta.4",
28
+ "@webiny/handler-graphql": "5.43.0-beta.4"
29
29
  },
30
30
  "devDependencies": {
31
- "@webiny/api-admin-users": "5.43.0-beta.3",
32
- "@webiny/api-apw": "5.43.0-beta.3",
33
- "@webiny/api-audit-logs": "5.43.0-beta.3",
34
- "@webiny/api-headless-cms-aco": "5.43.0-beta.3",
35
- "@webiny/api-headless-cms-tasks": "5.43.0-beta.3",
36
- "@webiny/api-page-builder-import-export": "5.43.0-beta.3",
37
- "@webiny/api-page-builder-import-export-so-ddb": "5.43.0-beta.3",
38
- "@webiny/api-record-locking": "5.43.0-beta.3",
39
- "@webiny/api-wcp": "5.43.0-beta.3",
40
- "@webiny/api-websockets": "5.43.0-beta.3",
41
- "@webiny/handler": "5.43.0-beta.3",
42
- "@webiny/handler-aws": "5.43.0-beta.3",
43
- "@webiny/plugins": "5.43.0-beta.3",
44
- "@webiny/project-utils": "5.43.0-beta.3",
45
- "@webiny/tasks": "5.43.0-beta.3",
46
- "@webiny/wcp": "5.43.0-beta.3",
31
+ "@webiny/api-admin-users": "5.43.0-beta.4",
32
+ "@webiny/api-apw": "5.43.0-beta.4",
33
+ "@webiny/api-audit-logs": "5.43.0-beta.4",
34
+ "@webiny/api-headless-cms-aco": "5.43.0-beta.4",
35
+ "@webiny/api-headless-cms-tasks": "5.43.0-beta.4",
36
+ "@webiny/api-page-builder-import-export": "5.43.0-beta.4",
37
+ "@webiny/api-page-builder-import-export-so-ddb": "5.43.0-beta.4",
38
+ "@webiny/api-record-locking": "5.43.0-beta.4",
39
+ "@webiny/api-wcp": "5.43.0-beta.4",
40
+ "@webiny/api-websockets": "5.43.0-beta.4",
41
+ "@webiny/handler": "5.43.0-beta.4",
42
+ "@webiny/handler-aws": "5.43.0-beta.4",
43
+ "@webiny/plugins": "5.43.0-beta.4",
44
+ "@webiny/project-utils": "5.43.0-beta.4",
45
+ "@webiny/tasks": "5.43.0-beta.4",
46
+ "@webiny/wcp": "5.43.0-beta.4",
47
47
  "graphql": "15.9.0",
48
48
  "rimraf": "6.0.1",
49
49
  "typescript": "5.3.3"
@@ -56,5 +56,5 @@
56
56
  "build": "node ../cli/bin.js run build",
57
57
  "watch": "node ../cli/bin.js run watch"
58
58
  },
59
- "gitHead": "bb3de95f65a48bc7264719fcd2d78bf78749fc69"
59
+ "gitHead": "e603e8424527889681407f3ebfcdf6fa4dfc3089"
60
60
  }