@webiny/api-serverless-cms 5.42.0-beta.4 → 5.42.1-beta.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/index.d.ts +1 -0
- package/index.js +44 -1
- package/index.js.map +1 -1
- package/package.json +35 -35
package/index.d.ts
CHANGED
|
@@ -21,3 +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";
|
package/index.js
CHANGED
|
@@ -7,9 +7,39 @@ var _exportNames = {
|
|
|
7
7
|
createContextPlugin: true,
|
|
8
8
|
createGraphQLSchemaPlugin: true,
|
|
9
9
|
createSecurityRolePlugin: true,
|
|
10
|
-
createSecurityTeamPlugin: true
|
|
10
|
+
createSecurityTeamPlugin: true,
|
|
11
|
+
createModelGroupPlugin: true,
|
|
12
|
+
createModelPlugin: true,
|
|
13
|
+
createSingleEntryModelPlugin: true,
|
|
14
|
+
createPrivateModelPlugin: true,
|
|
15
|
+
createPrivateSingleEntryModelPlugin: true,
|
|
16
|
+
createStorageTransformPlugin: true
|
|
11
17
|
};
|
|
12
18
|
exports.createGraphQLSchemaPlugin = exports.createContextPlugin = void 0;
|
|
19
|
+
Object.defineProperty(exports, "createModelGroupPlugin", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () {
|
|
22
|
+
return _apiHeadlessCms.createModelGroupPlugin;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "createModelPlugin", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () {
|
|
28
|
+
return _apiHeadlessCms.createModelPlugin;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "createPrivateModelPlugin", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () {
|
|
34
|
+
return _apiHeadlessCms.createPrivateModelPlugin;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "createPrivateSingleEntryModelPlugin", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () {
|
|
40
|
+
return _apiHeadlessCms.createPrivateSingleEntryModelPlugin;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
13
43
|
Object.defineProperty(exports, "createSecurityRolePlugin", {
|
|
14
44
|
enumerable: true,
|
|
15
45
|
get: function () {
|
|
@@ -22,6 +52,18 @@ Object.defineProperty(exports, "createSecurityTeamPlugin", {
|
|
|
22
52
|
return _apiSecurity.createSecurityTeamPlugin;
|
|
23
53
|
}
|
|
24
54
|
});
|
|
55
|
+
Object.defineProperty(exports, "createSingleEntryModelPlugin", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () {
|
|
58
|
+
return _apiHeadlessCms.createSingleEntryModelPlugin;
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "createStorageTransformPlugin", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () {
|
|
64
|
+
return _apiHeadlessCms.createStorageTransformPlugin;
|
|
65
|
+
}
|
|
66
|
+
});
|
|
25
67
|
var _api = require("@webiny/api");
|
|
26
68
|
var _handlerGraphql = require("@webiny/handler-graphql");
|
|
27
69
|
var _apiSecurity = require("@webiny/api-security");
|
|
@@ -37,6 +79,7 @@ Object.keys(_InstallTenant).forEach(function (key) {
|
|
|
37
79
|
}
|
|
38
80
|
});
|
|
39
81
|
});
|
|
82
|
+
var _apiHeadlessCms = require("@webiny/api-headless-cms");
|
|
40
83
|
const createContextPlugin = callable => {
|
|
41
84
|
return (0, _api.createContextPlugin)(callable);
|
|
42
85
|
};
|
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","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"],"mappings":"
|
|
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":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-serverless-cms",
|
|
3
|
-
"version": "5.42.
|
|
3
|
+
"version": "5.42.1-beta.0",
|
|
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.42.
|
|
13
|
-
"@webiny/api-aco": "5.42.
|
|
14
|
-
"@webiny/api-file-manager": "5.42.
|
|
15
|
-
"@webiny/api-form-builder": "5.42.
|
|
16
|
-
"@webiny/api-headless-cms": "5.42.
|
|
17
|
-
"@webiny/api-i18n": "5.42.
|
|
18
|
-
"@webiny/api-i18n-content": "5.42.
|
|
19
|
-
"@webiny/api-log": "5.42.
|
|
20
|
-
"@webiny/api-mailer": "5.42.
|
|
21
|
-
"@webiny/api-page-builder": "5.42.
|
|
22
|
-
"@webiny/api-page-builder-aco": "5.42.
|
|
23
|
-
"@webiny/api-prerendering-service": "5.42.
|
|
24
|
-
"@webiny/api-security": "5.42.
|
|
25
|
-
"@webiny/api-tenancy": "5.42.
|
|
26
|
-
"@webiny/error": "5.42.
|
|
27
|
-
"@webiny/handler-client": "5.42.
|
|
28
|
-
"@webiny/handler-graphql": "5.42.
|
|
12
|
+
"@webiny/api": "5.42.1-beta.0",
|
|
13
|
+
"@webiny/api-aco": "5.42.1-beta.0",
|
|
14
|
+
"@webiny/api-file-manager": "5.42.1-beta.0",
|
|
15
|
+
"@webiny/api-form-builder": "5.42.1-beta.0",
|
|
16
|
+
"@webiny/api-headless-cms": "5.42.1-beta.0",
|
|
17
|
+
"@webiny/api-i18n": "5.42.1-beta.0",
|
|
18
|
+
"@webiny/api-i18n-content": "5.42.1-beta.0",
|
|
19
|
+
"@webiny/api-log": "5.42.1-beta.0",
|
|
20
|
+
"@webiny/api-mailer": "5.42.1-beta.0",
|
|
21
|
+
"@webiny/api-page-builder": "5.42.1-beta.0",
|
|
22
|
+
"@webiny/api-page-builder-aco": "5.42.1-beta.0",
|
|
23
|
+
"@webiny/api-prerendering-service": "5.42.1-beta.0",
|
|
24
|
+
"@webiny/api-security": "5.42.1-beta.0",
|
|
25
|
+
"@webiny/api-tenancy": "5.42.1-beta.0",
|
|
26
|
+
"@webiny/error": "5.42.1-beta.0",
|
|
27
|
+
"@webiny/handler-client": "5.42.1-beta.0",
|
|
28
|
+
"@webiny/handler-graphql": "5.42.1-beta.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@webiny/api-admin-users": "5.42.
|
|
32
|
-
"@webiny/api-apw": "5.42.
|
|
33
|
-
"@webiny/api-audit-logs": "5.42.
|
|
34
|
-
"@webiny/api-headless-cms-aco": "5.42.
|
|
35
|
-
"@webiny/api-headless-cms-tasks": "5.42.
|
|
36
|
-
"@webiny/api-page-builder-import-export": "5.42.
|
|
37
|
-
"@webiny/api-page-builder-import-export-so-ddb": "5.42.
|
|
38
|
-
"@webiny/api-record-locking": "5.42.
|
|
39
|
-
"@webiny/api-wcp": "5.42.
|
|
40
|
-
"@webiny/api-websockets": "5.42.
|
|
41
|
-
"@webiny/cli": "5.42.
|
|
42
|
-
"@webiny/handler": "5.42.
|
|
43
|
-
"@webiny/handler-aws": "5.42.
|
|
44
|
-
"@webiny/plugins": "5.42.
|
|
45
|
-
"@webiny/project-utils": "5.42.
|
|
46
|
-
"@webiny/tasks": "5.42.
|
|
31
|
+
"@webiny/api-admin-users": "5.42.1-beta.0",
|
|
32
|
+
"@webiny/api-apw": "5.42.1-beta.0",
|
|
33
|
+
"@webiny/api-audit-logs": "5.42.1-beta.0",
|
|
34
|
+
"@webiny/api-headless-cms-aco": "5.42.1-beta.0",
|
|
35
|
+
"@webiny/api-headless-cms-tasks": "5.42.1-beta.0",
|
|
36
|
+
"@webiny/api-page-builder-import-export": "5.42.1-beta.0",
|
|
37
|
+
"@webiny/api-page-builder-import-export-so-ddb": "5.42.1-beta.0",
|
|
38
|
+
"@webiny/api-record-locking": "5.42.1-beta.0",
|
|
39
|
+
"@webiny/api-wcp": "5.42.1-beta.0",
|
|
40
|
+
"@webiny/api-websockets": "5.42.1-beta.0",
|
|
41
|
+
"@webiny/cli": "5.42.1-beta.0",
|
|
42
|
+
"@webiny/handler": "5.42.1-beta.0",
|
|
43
|
+
"@webiny/handler-aws": "5.42.1-beta.0",
|
|
44
|
+
"@webiny/plugins": "5.42.1-beta.0",
|
|
45
|
+
"@webiny/project-utils": "5.42.1-beta.0",
|
|
46
|
+
"@webiny/tasks": "5.42.1-beta.0",
|
|
47
47
|
"graphql": "15.9.0",
|
|
48
48
|
"rimraf": "6.0.1",
|
|
49
49
|
"ttypescript": "1.5.15",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"build": "yarn webiny run build",
|
|
58
58
|
"watch": "yarn webiny run watch"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "16fb9009f44f242bbc8ba0e02c1d49b1f7ab935b"
|
|
61
61
|
}
|