feat(deps): sSO プラグインを追加
This commit is contained in:
39
package-lock.json
generated
39
package-lock.json
generated
@ -10,6 +10,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@_sh/strapi-plugin-ckeditor": "^3.0.9",
|
"@_sh/strapi-plugin-ckeditor": "^3.0.9",
|
||||||
|
"@jkdev96/strapi-plugin-sso": "^0.4.7",
|
||||||
"@strapi/plugin-cloud": "4.25.20",
|
"@strapi/plugin-cloud": "4.25.20",
|
||||||
"@strapi/plugin-i18n": "4.25.20",
|
"@strapi/plugin-i18n": "4.25.20",
|
||||||
"@strapi/plugin-users-permissions": "4.25.20",
|
"@strapi/plugin-users-permissions": "4.25.20",
|
||||||
@ -2224,6 +2225,23 @@
|
|||||||
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
|
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@jkdev96/strapi-plugin-sso": {
|
||||||
|
"version": "0.4.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/@jkdev96/strapi-plugin-sso/-/strapi-plugin-sso-0.4.7.tgz",
|
||||||
|
"integrity": "sha512-RudYvAhtIxotUce6yEM8UOjWMHRrkdmxwCE1Cm7gAI20GVMP5WHq7t0tybKZZF3J5Nsy9N+CgalkBkbmMpRZuA==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"generate-password": "^1.7.0",
|
||||||
|
"pkce-challenge": "^3.1.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.19.1 <=18.x.x",
|
||||||
|
"npm": ">=7.0.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@strapi/strapi": "^4.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@jridgewell/gen-mapping": {
|
"node_modules/@jridgewell/gen-mapping": {
|
||||||
"version": "0.3.8",
|
"version": "0.3.8",
|
||||||
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz",
|
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz",
|
||||||
@ -8573,6 +8591,12 @@
|
|||||||
"node": ">= 8"
|
"node": ">= 8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/crypto-js": {
|
||||||
|
"version": "4.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz",
|
||||||
|
"integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/crypto-random-string": {
|
"node_modules/crypto-random-string": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz",
|
||||||
@ -10869,6 +10893,12 @@
|
|||||||
"url": "https://github.com/sponsors/ljharb"
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/generate-password": {
|
||||||
|
"version": "1.7.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/generate-password/-/generate-password-1.7.1.tgz",
|
||||||
|
"integrity": "sha512-9bVYY+16m7W7GczRBDqXE+VVuCX+bWNrfYKC/2p2JkZukFb2sKxT6E3zZ3mJGz7GMe5iRK0A/WawSL3jQfJuNQ==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/gensync": {
|
"node_modules/gensync": {
|
||||||
"version": "1.0.0-beta.2",
|
"version": "1.0.0-beta.2",
|
||||||
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
|
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
|
||||||
@ -15243,6 +15273,15 @@
|
|||||||
"url": "https://github.com/sponsors/jonschlinkert"
|
"url": "https://github.com/sponsors/jonschlinkert"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/pkce-challenge": {
|
||||||
|
"version": "3.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-3.1.0.tgz",
|
||||||
|
"integrity": "sha512-bQ/0XPZZ7eX+cdAkd61uYWpfMhakH3NeteUF1R8GNa+LMqX8QFAkbCLqq+AYAns1/ueACBu/BMWhrlKGrdvGZg==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"crypto-js": "^4.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/pkg-up": {
|
"node_modules/pkg-up": {
|
||||||
"version": "3.1.0",
|
"version": "3.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz",
|
||||||
|
|||||||
@ -12,6 +12,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@_sh/strapi-plugin-ckeditor": "^3.0.9",
|
"@_sh/strapi-plugin-ckeditor": "^3.0.9",
|
||||||
|
"@jkdev96/strapi-plugin-sso": "^0.4.7",
|
||||||
"@strapi/plugin-cloud": "4.25.20",
|
"@strapi/plugin-cloud": "4.25.20",
|
||||||
"@strapi/plugin-i18n": "4.25.20",
|
"@strapi/plugin-i18n": "4.25.20",
|
||||||
"@strapi/plugin-users-permissions": "4.25.20",
|
"@strapi/plugin-users-permissions": "4.25.20",
|
||||||
|
|||||||
41
types/generated/contentTypes.d.ts
vendored
41
types/generated/contentTypes.d.ts
vendored
@ -657,6 +657,46 @@ export interface PluginI18NLocale extends Schema.CollectionType {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface PluginStrapiPluginSsoRoles extends Schema.CollectionType {
|
||||||
|
collectionName: 'strapi-plugin-sso_roles';
|
||||||
|
info: {
|
||||||
|
collectionName: 'sso-roles';
|
||||||
|
description: '';
|
||||||
|
displayName: 'sso-role';
|
||||||
|
pluralName: 'sso-roles';
|
||||||
|
singularName: 'roles';
|
||||||
|
};
|
||||||
|
options: {
|
||||||
|
draftAndPublish: false;
|
||||||
|
};
|
||||||
|
pluginOptions: {
|
||||||
|
'content-manager': {
|
||||||
|
visible: false;
|
||||||
|
};
|
||||||
|
'content-type-builder': {
|
||||||
|
visible: false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
createdAt: Attribute.DateTime;
|
||||||
|
createdBy: Attribute.Relation<
|
||||||
|
'plugin::strapi-plugin-sso.roles',
|
||||||
|
'oneToOne',
|
||||||
|
'admin::user'
|
||||||
|
> &
|
||||||
|
Attribute.Private;
|
||||||
|
oauth_type: Attribute.String & Attribute.Required;
|
||||||
|
roles: Attribute.JSON;
|
||||||
|
updatedAt: Attribute.DateTime;
|
||||||
|
updatedBy: Attribute.Relation<
|
||||||
|
'plugin::strapi-plugin-sso.roles',
|
||||||
|
'oneToOne',
|
||||||
|
'admin::user'
|
||||||
|
> &
|
||||||
|
Attribute.Private;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
export interface PluginUploadFile extends Schema.CollectionType {
|
export interface PluginUploadFile extends Schema.CollectionType {
|
||||||
collectionName: 'files';
|
collectionName: 'files';
|
||||||
info: {
|
info: {
|
||||||
@ -954,6 +994,7 @@ declare module '@strapi/types' {
|
|||||||
'plugin::content-releases.release': PluginContentReleasesRelease;
|
'plugin::content-releases.release': PluginContentReleasesRelease;
|
||||||
'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
|
'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
|
||||||
'plugin::i18n.locale': PluginI18NLocale;
|
'plugin::i18n.locale': PluginI18NLocale;
|
||||||
|
'plugin::strapi-plugin-sso.roles': PluginStrapiPluginSsoRoles;
|
||||||
'plugin::upload.file': PluginUploadFile;
|
'plugin::upload.file': PluginUploadFile;
|
||||||
'plugin::upload.folder': PluginUploadFolder;
|
'plugin::upload.folder': PluginUploadFolder;
|
||||||
'plugin::users-permissions.permission': PluginUsersPermissionsPermission;
|
'plugin::users-permissions.permission': PluginUsersPermissionsPermission;
|
||||||
|
|||||||
Reference in New Issue
Block a user