@rnaga/wp-node 1.1.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/application.d.ts +76 -0
- package/application.d.ts.map +1 -0
- package/application.js +132 -0
- package/common/async-constructor.d.ts +2 -0
- package/common/async-constructor.d.ts.map +1 -0
- package/common/async-constructor.js +7 -0
- package/common/config/define-post-status.config.d.ts +4 -0
- package/common/config/define-post-status.config.d.ts.map +1 -0
- package/common/config/define-post-status.config.js +26 -0
- package/common/config/define-post-type.config.d.ts +4 -0
- package/common/config/define-post-type.config.d.ts.map +1 -0
- package/common/config/define-post-type.config.js +39 -0
- package/common/config/define-taxonomies.config.d.ts +4 -0
- package/common/config/define-taxonomies.config.d.ts.map +1 -0
- package/common/config/define-taxonomies.config.js +26 -0
- package/common/config/define-wp.config..d.ts +12 -0
- package/common/config/define-wp.config..d.ts.map +1 -0
- package/common/config/define-wp.config..js +110 -0
- package/common/config/index.d.ts +5 -0
- package/common/config/index.d.ts.map +1 -0
- package/common/config/index.js +20 -0
- package/common/date.d.ts +19 -0
- package/common/date.d.ts.map +1 -0
- package/common/date.js +116 -0
- package/common/define-hooks.d.ts +4 -0
- package/common/define-hooks.d.ts.map +1 -0
- package/common/define-hooks.js +16 -0
- package/common/diff.d.ts +3 -0
- package/common/diff.d.ts.map +1 -0
- package/common/diff.js +23 -0
- package/common/files.d.ts +14 -0
- package/common/files.d.ts.map +1 -0
- package/common/files.js +160 -0
- package/common/formatting.d.ts +47 -0
- package/common/formatting.d.ts.map +1 -0
- package/common/formatting.js +218 -0
- package/common/hierarchy.d.ts +21 -0
- package/common/hierarchy.d.ts.map +1 -0
- package/common/hierarchy.js +78 -0
- package/common/hooks-command.d.ts +7 -0
- package/common/hooks-command.d.ts.map +1 -0
- package/common/hooks-command.js +21 -0
- package/common/index.d.ts +11 -0
- package/common/index.d.ts.map +1 -0
- package/common/index.js +49 -0
- package/common/password.d.ts +4 -0
- package/common/password.d.ts.map +1 -0
- package/common/password.js +224 -0
- package/common/php-serialize.d.ts +3 -0
- package/common/php-serialize.d.ts.map +1 -0
- package/common/php-serialize.js +17 -0
- package/common/validating.d.ts +10 -0
- package/common/validating.d.ts.map +1 -0
- package/common/validating.js +65 -0
- package/config.d.ts +99 -0
- package/config.d.ts.map +1 -0
- package/config.js +76 -0
- package/constants/async-init.d.ts +2 -0
- package/constants/async-init.d.ts.map +1 -0
- package/constants/async-init.js +4 -0
- package/constants/component.d.ts +3 -0
- package/constants/component.d.ts.map +1 -0
- package/constants/component.js +5 -0
- package/constants/database.d.ts +2 -0
- package/constants/database.d.ts.map +1 -0
- package/constants/database.js +9 -0
- package/constants/default-database-tables.d.ts +7 -0
- package/constants/default-database-tables.d.ts.map +1 -0
- package/constants/default-database-tables.js +26 -0
- package/constants/index.d.ts +9 -0
- package/constants/index.d.ts.map +1 -0
- package/constants/index.js +24 -0
- package/constants/role-capabilities.d.ts +3 -0
- package/constants/role-capabilities.d.ts.map +1 -0
- package/constants/role-capabilities.js +67 -0
- package/constants/role-capability-actions.d.ts +2 -0
- package/constants/role-capability-actions.d.ts.map +1 -0
- package/constants/role-capability-actions.js +90 -0
- package/constants/role-names.d.ts +2 -0
- package/constants/role-names.d.ts.map +1 -0
- package/constants/role-names.js +12 -0
- package/constants/scope.d.ts +6 -0
- package/constants/scope.d.ts.map +1 -0
- package/constants/scope.js +9 -0
- package/core/async-init-reflect.d.ts +5 -0
- package/core/async-init-reflect.d.ts.map +1 -0
- package/core/async-init-reflect.js +18 -0
- package/core/blog.d.ts +20 -0
- package/core/blog.d.ts.map +1 -0
- package/core/blog.js +123 -0
- package/core/capabilities.d.ts +12 -0
- package/core/capabilities.d.ts.map +1 -0
- package/core/capabilities.js +625 -0
- package/core/comment.d.ts +111 -0
- package/core/comment.d.ts.map +1 -0
- package/core/comment.js +173 -0
- package/core/components.d.ts +13 -0
- package/core/components.d.ts.map +1 -0
- package/core/components.js +129 -0
- package/core/context.d.ts +38 -0
- package/core/context.d.ts.map +1 -0
- package/core/context.js +77 -0
- package/core/current.d.ts +33 -0
- package/core/current.d.ts.map +1 -0
- package/core/current.js +229 -0
- package/core/date-time.d.ts +18 -0
- package/core/date-time.d.ts.map +1 -0
- package/core/date-time.js +71 -0
- package/core/hooks/action.d.ts +16 -0
- package/core/hooks/action.d.ts.map +1 -0
- package/core/hooks/action.js +44 -0
- package/core/hooks/actions/init.d.ts +5 -0
- package/core/hooks/actions/init.d.ts.map +1 -0
- package/core/hooks/actions/init.js +28 -0
- package/core/hooks/default-hooks.d.ts +7 -0
- package/core/hooks/default-hooks.d.ts.map +1 -0
- package/core/hooks/default-hooks.js +19 -0
- package/core/hooks/filter.d.ts +12 -0
- package/core/hooks/filter.d.ts.map +1 -0
- package/core/hooks/filter.js +76 -0
- package/core/hooks/filters/capabilities.d.ts +16 -0
- package/core/hooks/filters/capabilities.d.ts.map +1 -0
- package/core/hooks/filters/capabilities.js +395 -0
- package/core/hooks/hooks-command.d.ts +9 -0
- package/core/hooks/hooks-command.d.ts.map +1 -0
- package/core/hooks/hooks-command.js +28 -0
- package/core/hooks/hooks-reflect.d.ts +42 -0
- package/core/hooks/hooks-reflect.d.ts.map +1 -0
- package/core/hooks/hooks-reflect.js +73 -0
- package/core/hooks/hooks.d.ts +61 -0
- package/core/hooks/hooks.d.ts.map +1 -0
- package/core/hooks/hooks.js +82 -0
- package/core/hooks/index.d.ts +4 -0
- package/core/hooks/index.d.ts.map +1 -0
- package/core/hooks/index.js +19 -0
- package/core/installer.d.ts +56 -0
- package/core/installer.d.ts.map +1 -0
- package/core/installer.js +395 -0
- package/core/logger.d.ts +22 -0
- package/core/logger.d.ts.map +1 -0
- package/core/logger.js +65 -0
- package/core/meta.d.ts +20 -0
- package/core/meta.d.ts.map +1 -0
- package/core/meta.js +123 -0
- package/core/options.d.ts +20 -0
- package/core/options.d.ts.map +1 -0
- package/core/options.js +148 -0
- package/core/post.d.ts +39 -0
- package/core/post.d.ts.map +1 -0
- package/core/post.js +164 -0
- package/core/query.d.ts +14 -0
- package/core/query.d.ts.map +1 -0
- package/core/query.js +39 -0
- package/core/role.d.ts +21 -0
- package/core/role.d.ts.map +1 -0
- package/core/role.js +71 -0
- package/core/roles.d.ts +16 -0
- package/core/roles.d.ts.map +1 -0
- package/core/roles.js +84 -0
- package/core/schema.d.ts +13 -0
- package/core/schema.d.ts.map +1 -0
- package/core/schema.js +83 -0
- package/core/site.d.ts +28 -0
- package/core/site.d.ts.map +1 -0
- package/core/site.js +105 -0
- package/core/tables.d.ts +18 -0
- package/core/tables.d.ts.map +1 -0
- package/core/tables.js +64 -0
- package/core/taxonomy.d.ts +23 -0
- package/core/taxonomy.d.ts.map +1 -0
- package/core/taxonomy.js +83 -0
- package/core/term.d.ts +104 -0
- package/core/term.d.ts.map +1 -0
- package/core/term.js +136 -0
- package/core/user.d.ts +32 -0
- package/core/user.d.ts.map +1 -0
- package/core/user.js +273 -0
- package/core/utils/blog.util.d.ts +14 -0
- package/core/utils/blog.util.d.ts.map +1 -0
- package/core/utils/blog.util.js +97 -0
- package/core/utils/comment.util.d.ts +23 -0
- package/core/utils/comment.util.d.ts.map +1 -0
- package/core/utils/comment.util.js +312 -0
- package/core/utils/crud.util.d.ts +40 -0
- package/core/utils/crud.util.d.ts.map +1 -0
- package/core/utils/crud.util.js +97 -0
- package/core/utils/date-time.util.d.ts +9 -0
- package/core/utils/date-time.util.d.ts.map +1 -0
- package/core/utils/date-time.util.js +29 -0
- package/core/utils/link.util.d.ts +23 -0
- package/core/utils/link.util.d.ts.map +1 -0
- package/core/utils/link.util.js +148 -0
- package/core/utils/meta.util.d.ts +13 -0
- package/core/utils/meta.util.d.ts.map +1 -0
- package/core/utils/meta.util.js +73 -0
- package/core/utils/post.util.d.ts +34 -0
- package/core/utils/post.util.d.ts.map +1 -0
- package/core/utils/post.util.js +272 -0
- package/core/utils/query.util.d.ts +36 -0
- package/core/utils/query.util.d.ts.map +1 -0
- package/core/utils/query.util.js +168 -0
- package/core/utils/revision.util.d.ts +67 -0
- package/core/utils/revision.util.d.ts.map +1 -0
- package/core/utils/revision.util.js +105 -0
- package/core/utils/roles.util.d.ts +30 -0
- package/core/utils/roles.util.d.ts.map +1 -0
- package/core/utils/roles.util.js +189 -0
- package/core/utils/signup.util.d.ts +33 -0
- package/core/utils/signup.util.d.ts.map +1 -0
- package/core/utils/signup.util.js +227 -0
- package/core/utils/site.util.d.ts +22 -0
- package/core/utils/site.util.d.ts.map +1 -0
- package/core/utils/site.util.js +122 -0
- package/core/utils/taxonomy.util.d.ts +19 -0
- package/core/utils/taxonomy.util.d.ts.map +1 -0
- package/core/utils/taxonomy.util.js +52 -0
- package/core/utils/term.util.d.ts +13 -0
- package/core/utils/term.util.d.ts.map +1 -0
- package/core/utils/term.util.js +113 -0
- package/core/utils/trx.util.d.ts +24 -0
- package/core/utils/trx.util.d.ts.map +1 -0
- package/core/utils/trx.util.js +86 -0
- package/core/utils/user-self-registration.util.d.ts +46 -0
- package/core/utils/user-self-registration.util.d.ts.map +1 -0
- package/core/utils/user-self-registration.util.js +171 -0
- package/core/utils/user.util.d.ts +153 -0
- package/core/utils/user.util.d.ts.map +1 -0
- package/core/utils/user.util.js +550 -0
- package/core/utils/utils.d.ts +36 -0
- package/core/utils/utils.d.ts.map +1 -0
- package/core/utils/utils.js +85 -0
- package/core/validator.d.ts +11 -0
- package/core/validator.d.ts.map +1 -0
- package/core/validator.js +40 -0
- package/core/vars.d.ts +19 -0
- package/core/vars.d.ts.map +1 -0
- package/core/vars.js +54 -0
- package/crud/blog.crud.d.ts +56 -0
- package/crud/blog.crud.d.ts.map +1 -0
- package/crud/blog.crud.js +301 -0
- package/crud/comment.crud.d.ts +104 -0
- package/crud/comment.crud.d.ts.map +1 -0
- package/crud/comment.crud.js +431 -0
- package/crud/crud.d.ts +63 -0
- package/crud/crud.d.ts.map +1 -0
- package/crud/crud.js +278 -0
- package/crud/error.d.ts +23 -0
- package/crud/error.d.ts.map +1 -0
- package/crud/error.js +51 -0
- package/crud/meta.crud.d.ts +69 -0
- package/crud/meta.crud.d.ts.map +1 -0
- package/crud/meta.crud.js +244 -0
- package/crud/options.crud.d.ts +37 -0
- package/crud/options.crud.d.ts.map +1 -0
- package/crud/options.crud.js +178 -0
- package/crud/post.crud.d.ts +225 -0
- package/crud/post.crud.d.ts.map +1 -0
- package/crud/post.crud.js +589 -0
- package/crud/revision.crud.d.ts +76 -0
- package/crud/revision.crud.d.ts.map +1 -0
- package/crud/revision.crud.js +155 -0
- package/crud/roles.crud.d.ts +50 -0
- package/crud/roles.crud.d.ts.map +1 -0
- package/crud/roles.crud.js +198 -0
- package/crud/settings.crud.d.ts +50 -0
- package/crud/settings.crud.d.ts.map +1 -0
- package/crud/settings.crud.js +153 -0
- package/crud/site.crud.d.ts +62 -0
- package/crud/site.crud.d.ts.map +1 -0
- package/crud/site.crud.js +241 -0
- package/crud/sitemeta.crud.d.ts +55 -0
- package/crud/sitemeta.crud.d.ts.map +1 -0
- package/crud/sitemeta.crud.js +97 -0
- package/crud/term.crud.d.ts +85 -0
- package/crud/term.crud.d.ts.map +1 -0
- package/crud/term.crud.js +285 -0
- package/crud/user-self-registration.crud.d.ts +57 -0
- package/crud/user-self-registration.crud.d.ts.map +1 -0
- package/crud/user-self-registration.crud.js +173 -0
- package/crud/user.crud.d.ts +147 -0
- package/crud/user.crud.d.ts.map +1 -0
- package/crud/user.crud.js +626 -0
- package/database.d.ts +18 -0
- package/database.d.ts.map +1 -0
- package/database.js +80 -0
- package/decorators/async-init.d.ts +2 -0
- package/decorators/async-init.d.ts.map +1 -0
- package/decorators/async-init.js +7 -0
- package/decorators/component.d.ts +12 -0
- package/decorators/component.d.ts.map +1 -0
- package/decorators/component.js +47 -0
- package/decorators/hooks.d.ts +5 -0
- package/decorators/hooks.d.ts.map +1 -0
- package/decorators/hooks.js +30 -0
- package/defaults/extensions.d.ts +4 -0
- package/defaults/extensions.d.ts.map +1 -0
- package/defaults/extensions.js +34 -0
- package/defaults/index.d.ts +11 -0
- package/defaults/index.d.ts.map +1 -0
- package/defaults/index.js +49 -0
- package/defaults/options.d.ts +6 -0
- package/defaults/options.d.ts.map +1 -0
- package/defaults/options.js +267 -0
- package/defaults/post-status.d.ts +10 -0
- package/defaults/post-status.d.ts.map +1 -0
- package/defaults/post-status.js +83 -0
- package/defaults/post-types.d.ts +4 -0
- package/defaults/post-types.d.ts.map +1 -0
- package/defaults/post-types.js +72 -0
- package/defaults/roles.d.ts +31 -0
- package/defaults/roles.d.ts.map +1 -0
- package/defaults/roles.js +213 -0
- package/defaults/seeder.d.ts +34 -0
- package/defaults/seeder.d.ts.map +1 -0
- package/defaults/seeder.js +201 -0
- package/defaults/sitemeta.d.ts +2 -0
- package/defaults/sitemeta.d.ts.map +1 -0
- package/defaults/sitemeta.js +38 -0
- package/defaults/subdirectory-reserved-names.d.ts +2 -0
- package/defaults/subdirectory-reserved-names.d.ts.map +1 -0
- package/defaults/subdirectory-reserved-names.js +16 -0
- package/defaults/taxonomies.d.ts +5 -0
- package/defaults/taxonomies.d.ts.map +1 -0
- package/defaults/taxonomies.js +57 -0
- package/defaults/timezone.d.ts +2 -0
- package/defaults/timezone.d.ts.map +1 -0
- package/defaults/timezone.js +353 -0
- package/package.json +51 -0
- package/query-builder/alias.d.ts +24 -0
- package/query-builder/alias.d.ts.map +1 -0
- package/query-builder/alias.js +64 -0
- package/query-builder/blogs.query.d.ts +22 -0
- package/query-builder/blogs.query.d.ts.map +1 -0
- package/query-builder/blogs.query.js +85 -0
- package/query-builder/comments.query.d.ts +35 -0
- package/query-builder/comments.query.d.ts.map +1 -0
- package/query-builder/comments.query.js +211 -0
- package/query-builder/common.query.d.ts +18 -0
- package/query-builder/common.query.d.ts.map +1 -0
- package/query-builder/common.query.js +58 -0
- package/query-builder/index.d.ts +12 -0
- package/query-builder/index.d.ts.map +1 -0
- package/query-builder/index.js +27 -0
- package/query-builder/meta.query.d.ts +45 -0
- package/query-builder/meta.query.d.ts.map +1 -0
- package/query-builder/meta.query.js +188 -0
- package/query-builder/options.query.d.ts +19 -0
- package/query-builder/options.query.d.ts.map +1 -0
- package/query-builder/options.query.js +57 -0
- package/query-builder/posts.query.d.ts +30 -0
- package/query-builder/posts.query.d.ts.map +1 -0
- package/query-builder/posts.query.js +208 -0
- package/query-builder/query-builder.d.ts +21 -0
- package/query-builder/query-builder.d.ts.map +1 -0
- package/query-builder/query-builder.js +70 -0
- package/query-builder/query-builders.d.ts +18 -0
- package/query-builder/query-builders.d.ts.map +1 -0
- package/query-builder/query-builders.js +64 -0
- package/query-builder/site.query.d.ts +22 -0
- package/query-builder/site.query.d.ts.map +1 -0
- package/query-builder/site.query.js +85 -0
- package/query-builder/terms.query.d.ts +47 -0
- package/query-builder/terms.query.d.ts.map +1 -0
- package/query-builder/terms.query.js +233 -0
- package/query-builder/users.query.d.ts +37 -0
- package/query-builder/users.query.d.ts.map +1 -0
- package/query-builder/users.query.js +188 -0
- package/schema-builder/proxy.d.ts +10 -0
- package/schema-builder/proxy.d.ts.map +1 -0
- package/schema-builder/proxy.js +19 -0
- package/schema-builder/schema-builder.d.ts +21 -0
- package/schema-builder/schema-builder.d.ts.map +1 -0
- package/schema-builder/schema-builder.js +207 -0
- package/schema-builder/schema.d.ts +20 -0
- package/schema-builder/schema.d.ts.map +1 -0
- package/schema-builder/schema.js +527 -0
- package/transactions/blog.trx.d.ts +37 -0
- package/transactions/blog.trx.d.ts.map +1 -0
- package/transactions/blog.trx.js +296 -0
- package/transactions/comment.trx.d.ts +22 -0
- package/transactions/comment.trx.d.ts.map +1 -0
- package/transactions/comment.trx.js +311 -0
- package/transactions/index.d.ts +15 -0
- package/transactions/index.d.ts.map +1 -0
- package/transactions/index.js +30 -0
- package/transactions/link.trx.d.ts +22 -0
- package/transactions/link.trx.d.ts.map +1 -0
- package/transactions/link.trx.js +208 -0
- package/transactions/meta.trx.d.ts +30 -0
- package/transactions/meta.trx.d.ts.map +1 -0
- package/transactions/meta.trx.js +197 -0
- package/transactions/options.trx.d.ts +31 -0
- package/transactions/options.trx.d.ts.map +1 -0
- package/transactions/options.trx.js +192 -0
- package/transactions/post.trx.d.ts +48 -0
- package/transactions/post.trx.d.ts.map +1 -0
- package/transactions/post.trx.js +906 -0
- package/transactions/registration-log.trx.d.ts +14 -0
- package/transactions/registration-log.trx.d.ts.map +1 -0
- package/transactions/registration-log.trx.js +103 -0
- package/transactions/revision.trx.d.ts +32 -0
- package/transactions/revision.trx.d.ts.map +1 -0
- package/transactions/revision.trx.js +278 -0
- package/transactions/roles.trx.d.ts +20 -0
- package/transactions/roles.trx.d.ts.map +1 -0
- package/transactions/roles.trx.js +144 -0
- package/transactions/seeder.trx.d.ts +43 -0
- package/transactions/seeder.trx.d.ts.map +1 -0
- package/transactions/seeder.trx.js +530 -0
- package/transactions/signup.trx.d.ts +53 -0
- package/transactions/signup.trx.d.ts.map +1 -0
- package/transactions/signup.trx.js +305 -0
- package/transactions/site.trx.d.ts +21 -0
- package/transactions/site.trx.d.ts.map +1 -0
- package/transactions/site.trx.js +167 -0
- package/transactions/term.trx.d.ts +51 -0
- package/transactions/term.trx.d.ts.map +1 -0
- package/transactions/term.trx.js +838 -0
- package/transactions/trx.d.ts +9 -0
- package/transactions/trx.d.ts.map +1 -0
- package/transactions/trx.js +20 -0
- package/transactions/user.trx.d.ts +45 -0
- package/transactions/user.trx.d.ts.map +1 -0
- package/transactions/user.trx.js +535 -0
- package/types/capabilities.d.ts +71 -0
- package/types/common.d.ts +16 -0
- package/types/component.d.ts +3 -0
- package/types/config.d.ts +33 -0
- package/types/crud.d.ts +230 -0
- package/types/database.d.ts +50 -0
- package/types/hooks/actions.d.ts +67 -0
- package/types/hooks/command.d.ts +17 -0
- package/types/hooks/filters.d.ts +86 -0
- package/types/hooks/index.d.ts +11 -0
- package/types/index.d.ts +18 -0
- package/types/logging.d.ts +1 -0
- package/types/meta.d.ts +9 -0
- package/types/options.d.ts +3 -0
- package/types/post.d.ts +54 -0
- package/types/query-builder.d.ts +11 -0
- package/types/role.d.ts +34 -0
- package/types/schema.d.ts +11 -0
- package/types/schema.d.ts.map +1 -0
- package/types/schema.js +2 -0
- package/types/taxonomy.d.ts +29 -0
- package/types/timezone.d.ts +3 -0
- package/types/transactions.d.ts +32 -0
- package/types/user.d.ts +12 -0
- package/types/validating.d.ts +9 -0
- package/types/validating.d.ts.map +1 -0
- package/types/validating.js +2 -0
- package/validators/config.d.ts +948 -0
- package/validators/config.d.ts.map +1 -0
- package/validators/config.js +149 -0
- package/validators/crud.d.ts +571 -0
- package/validators/crud.d.ts.map +1 -0
- package/validators/crud.js +281 -0
- package/validators/database.d.ts +958 -0
- package/validators/database.d.ts.map +1 -0
- package/validators/database.js +245 -0
- package/validators/date.d.ts +4 -0
- package/validators/date.d.ts.map +1 -0
- package/validators/date.js +15 -0
- package/validators/helpers.d.ts +16 -0
- package/validators/helpers.d.ts.map +1 -0
- package/validators/helpers.js +86 -0
- package/validators/index.d.ts +10 -0
- package/validators/index.d.ts.map +1 -0
- package/validators/index.js +48 -0
- package/validators/options.d.ts +303 -0
- package/validators/options.d.ts.map +1 -0
- package/validators/options.js +106 -0
- package/validators/post-status.d.ts +42 -0
- package/validators/post-status.d.ts.map +1 -0
- package/validators/post-status.js +18 -0
- package/validators/query.d.ts +534 -0
- package/validators/query.d.ts.map +1 -0
- package/validators/query.js +110 -0
- package/validators/roles.d.ts +22 -0
- package/validators/roles.d.ts.map +1 -0
- package/validators/roles.js +9 -0
- package/validators/sitemeta.d.ts +105 -0
- package/validators/sitemeta.d.ts.map +1 -0
- package/validators/sitemeta.js +39 -0
- package/validators/transactions/blog.d.ts +225 -0
- package/validators/transactions/blog.d.ts.map +1 -0
- package/validators/transactions/blog.js +63 -0
- package/validators/transactions/comment.d.ts +155 -0
- package/validators/transactions/comment.d.ts.map +1 -0
- package/validators/transactions/comment.js +68 -0
- package/validators/transactions/index.d.ts +11 -0
- package/validators/transactions/index.d.ts.map +1 -0
- package/validators/transactions/index.js +26 -0
- package/validators/transactions/link.d.ts +128 -0
- package/validators/transactions/link.d.ts.map +1 -0
- package/validators/transactions/link.js +60 -0
- package/validators/transactions/meta.d.ts +23 -0
- package/validators/transactions/meta.d.ts.map +1 -0
- package/validators/transactions/meta.js +18 -0
- package/validators/transactions/post.d.ts +234 -0
- package/validators/transactions/post.d.ts.map +1 -0
- package/validators/transactions/post.js +100 -0
- package/validators/transactions/roles.d.ts +18 -0
- package/validators/transactions/roles.d.ts.map +1 -0
- package/validators/transactions/roles.js +13 -0
- package/validators/transactions/signup.d.ts +35 -0
- package/validators/transactions/signup.d.ts.map +1 -0
- package/validators/transactions/signup.js +51 -0
- package/validators/transactions/site.d.ts +36 -0
- package/validators/transactions/site.d.ts.map +1 -0
- package/validators/transactions/site.js +49 -0
- package/validators/transactions/term.d.ts +57 -0
- package/validators/transactions/term.d.ts.map +1 -0
- package/validators/transactions/term.js +44 -0
- package/validators/transactions/user.d.ts +182 -0
- package/validators/transactions/user.d.ts.map +1 -0
- package/validators/transactions/user.js +104 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UserSelfRegistrationUtil = void 0;
|
|
13
|
+
const config_1 = require("../../config");
|
|
14
|
+
const constants_1 = require("../../constants");
|
|
15
|
+
const component_1 = require("../../decorators/component");
|
|
16
|
+
const options_trx_1 = require("../../transactions/options.trx");
|
|
17
|
+
const signup_trx_1 = require("../../transactions/signup.trx");
|
|
18
|
+
const user_trx_1 = require("../../transactions/user.trx");
|
|
19
|
+
const components_1 = require("../components");
|
|
20
|
+
const logger_1 = require("../logger");
|
|
21
|
+
const options_1 = require("../options");
|
|
22
|
+
const vars_1 = require("../vars");
|
|
23
|
+
const query_util_1 = require("./query.util");
|
|
24
|
+
const signup_util_1 = require("./signup.util");
|
|
25
|
+
const user_util_1 = require("./user.util");
|
|
26
|
+
let UserSelfRegistrationUtil = class UserSelfRegistrationUtil {
|
|
27
|
+
config;
|
|
28
|
+
components;
|
|
29
|
+
signupUtil;
|
|
30
|
+
signupTrx;
|
|
31
|
+
options;
|
|
32
|
+
optionsTrx;
|
|
33
|
+
userTrx;
|
|
34
|
+
userUtil;
|
|
35
|
+
vars;
|
|
36
|
+
logger;
|
|
37
|
+
constructor(config, components, signupUtil, signupTrx, options, optionsTrx, userTrx, userUtil, vars, logger) {
|
|
38
|
+
this.config = config;
|
|
39
|
+
this.components = components;
|
|
40
|
+
this.signupUtil = signupUtil;
|
|
41
|
+
this.signupTrx = signupTrx;
|
|
42
|
+
this.options = options;
|
|
43
|
+
this.optionsTrx = optionsTrx;
|
|
44
|
+
this.userTrx = userTrx;
|
|
45
|
+
this.userUtil = userUtil;
|
|
46
|
+
this.vars = vars;
|
|
47
|
+
this.logger = logger;
|
|
48
|
+
}
|
|
49
|
+
async canSignup() {
|
|
50
|
+
if (this.config.isMultiSite()) {
|
|
51
|
+
// If the site is multisite, check if the registration type is 'all' or 'user' in signup table
|
|
52
|
+
return await this.signupUtil.canUserSignup();
|
|
53
|
+
}
|
|
54
|
+
// For single site, check 'users_can_register' option in options table
|
|
55
|
+
// See get_option( 'users_can_register' ) in wp-login.php
|
|
56
|
+
return (parseInt((await this.options.get("users_can_register")) ?? "0") === 1);
|
|
57
|
+
}
|
|
58
|
+
async changeEligibility(enable) {
|
|
59
|
+
if (this.config.isMultiSite()) {
|
|
60
|
+
// If the site is multisite, update the registration type in signup table
|
|
61
|
+
return await this.signupTrx.changeUserSignupEligibility(enable);
|
|
62
|
+
}
|
|
63
|
+
// For single site, update 'users_can_register' option in options table
|
|
64
|
+
return await this.optionsTrx.update("users_can_register", enable ? 1 : 0);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Register a new user
|
|
68
|
+
*
|
|
69
|
+
* Multisite: create a new record in the signup table along with activation key
|
|
70
|
+
* Single site: create a new user in the users table along with activation key
|
|
71
|
+
*
|
|
72
|
+
* After this gets called, "activate" should be called to validate activation key and activate the user.
|
|
73
|
+
*
|
|
74
|
+
* @param userLogin - Username
|
|
75
|
+
* @param email - Email
|
|
76
|
+
* @returns number - New user ID
|
|
77
|
+
*/
|
|
78
|
+
async registerNew(userLogin, email) {
|
|
79
|
+
if (!(await this.canSignup())) {
|
|
80
|
+
throw new Error("User registration is not allowed.");
|
|
81
|
+
}
|
|
82
|
+
let id;
|
|
83
|
+
// Multi-site
|
|
84
|
+
if (this.config.isMultiSite()) {
|
|
85
|
+
const [success, error] = await this.signupUtil.validateUser(userLogin, email);
|
|
86
|
+
if (!success) {
|
|
87
|
+
throw new Error(error);
|
|
88
|
+
}
|
|
89
|
+
id = await this.signupTrx.insert({
|
|
90
|
+
type: "user",
|
|
91
|
+
user: userLogin,
|
|
92
|
+
user_email: email,
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
// Single site
|
|
97
|
+
id = await this.userTrx.registerNew(userLogin, email);
|
|
98
|
+
}
|
|
99
|
+
if (!id) {
|
|
100
|
+
throw new Error("Could not create user");
|
|
101
|
+
}
|
|
102
|
+
const activationKey = await this.getActivationKey(userLogin, email);
|
|
103
|
+
if (!activationKey) {
|
|
104
|
+
throw new Error("Could not create activation key");
|
|
105
|
+
}
|
|
106
|
+
const context = this.vars.CONTEXT;
|
|
107
|
+
context.hooks.action.do("core_register_new_user", activationKey, userLogin, email, context);
|
|
108
|
+
return {
|
|
109
|
+
id,
|
|
110
|
+
userLogin,
|
|
111
|
+
email,
|
|
112
|
+
activationKey,
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
// This works only after registerNew is called
|
|
116
|
+
async getActivationKey(userLogin, email) {
|
|
117
|
+
const queryUtil = this.components.get(query_util_1.QueryUtil);
|
|
118
|
+
if (this.config.isMultiSite()) {
|
|
119
|
+
const signups = await queryUtil.common("signups", (query) => {
|
|
120
|
+
query
|
|
121
|
+
.where("user_login", userLogin)
|
|
122
|
+
.where("user_email", email)
|
|
123
|
+
.builder.limit(1);
|
|
124
|
+
});
|
|
125
|
+
return signups?.[0].activation_key;
|
|
126
|
+
}
|
|
127
|
+
return await this.userUtil.getPasswordResetKey(userLogin);
|
|
128
|
+
}
|
|
129
|
+
async activate(activationKey, userRef) {
|
|
130
|
+
let userId = 0;
|
|
131
|
+
let success = false;
|
|
132
|
+
if (this.config.isMultiSite()) {
|
|
133
|
+
const result = await this.signupTrx.activate(activationKey, {
|
|
134
|
+
userRef,
|
|
135
|
+
});
|
|
136
|
+
userId = result.user_id;
|
|
137
|
+
success = result.user_id > 0;
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
const userIdOrFalse = await this.userUtil.checkPasswordResetKey(activationKey, userRef);
|
|
141
|
+
success = false !== userIdOrFalse && userIdOrFalse > 0;
|
|
142
|
+
if (success) {
|
|
143
|
+
userId = userIdOrFalse;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
if (!success) {
|
|
147
|
+
this.logger.error("Could not activate user", { userRef });
|
|
148
|
+
return [false, "Could not activate user"];
|
|
149
|
+
}
|
|
150
|
+
// Attach default role
|
|
151
|
+
const defaultRole = await this.options.get("default_role");
|
|
152
|
+
await this.userTrx.upsertRole(userId, defaultRole);
|
|
153
|
+
// Account activated. Generate reset key for user to set password
|
|
154
|
+
const resetKey = await this.userUtil.getPasswordResetKey(userRef);
|
|
155
|
+
return [true, resetKey];
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
exports.UserSelfRegistrationUtil = UserSelfRegistrationUtil;
|
|
159
|
+
exports.UserSelfRegistrationUtil = UserSelfRegistrationUtil = __decorate([
|
|
160
|
+
(0, component_1.component)({ scope: constants_1.Scope.Transient }),
|
|
161
|
+
__metadata("design:paramtypes", [config_1.Config,
|
|
162
|
+
components_1.Components,
|
|
163
|
+
signup_util_1.SignupUtil,
|
|
164
|
+
signup_trx_1.SignupTrx,
|
|
165
|
+
options_1.Options,
|
|
166
|
+
options_trx_1.OptionsTrx,
|
|
167
|
+
user_trx_1.UserTrx,
|
|
168
|
+
user_util_1.UserUtil,
|
|
169
|
+
vars_1.Vars,
|
|
170
|
+
logger_1.Logger])
|
|
171
|
+
], UserSelfRegistrationUtil);
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { Config } from "../../config";
|
|
2
|
+
import * as types from "../../types";
|
|
3
|
+
import { Components } from "../components";
|
|
4
|
+
import { Logger } from "../logger";
|
|
5
|
+
import { User } from "../user";
|
|
6
|
+
import { Vars } from "../vars";
|
|
7
|
+
type DataGetBlogs = {
|
|
8
|
+
blog_id: number;
|
|
9
|
+
domain: string;
|
|
10
|
+
path: string;
|
|
11
|
+
site_id: number;
|
|
12
|
+
siteurl: string | undefined;
|
|
13
|
+
archived: number;
|
|
14
|
+
spam: number;
|
|
15
|
+
deleted: number;
|
|
16
|
+
rolenames: string[] | undefined;
|
|
17
|
+
blog_roles: Record<string, types.Role>;
|
|
18
|
+
blogname: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
export declare class UserUtil {
|
|
21
|
+
private config;
|
|
22
|
+
private logger;
|
|
23
|
+
private components;
|
|
24
|
+
private vars;
|
|
25
|
+
constructor(config: Config, logger: Logger, components: Components, vars: Vars);
|
|
26
|
+
get(userRef: string | number): Promise<User>;
|
|
27
|
+
toUsers(users: types.Tables["users"][]): Promise<User[]>;
|
|
28
|
+
countPosts(userIds: number[], postType?: types.PostType, options?: Partial<{
|
|
29
|
+
publicOnly: boolean;
|
|
30
|
+
}>): Promise<[{
|
|
31
|
+
post_author: number;
|
|
32
|
+
count: number;
|
|
33
|
+
}] | undefined>;
|
|
34
|
+
resetPassword(user: User, newPassword: string): Promise<void>;
|
|
35
|
+
isPasswordResetAllowed(user: User): boolean;
|
|
36
|
+
checkPasswordResetKey(resetKey: string, userRef: string | number): Promise<number | false>;
|
|
37
|
+
getPasswordResetKey(userLogin: string, options?: Partial<{
|
|
38
|
+
registration: boolean;
|
|
39
|
+
}>): Promise<string>;
|
|
40
|
+
private roleNamesToCapabilities;
|
|
41
|
+
getSites(userRef: string | number): Promise<{
|
|
42
|
+
user: types.WpUsers;
|
|
43
|
+
primary_blog: {
|
|
44
|
+
blog_id: number;
|
|
45
|
+
site_id: number;
|
|
46
|
+
blog_roles: Record<string, {
|
|
47
|
+
name: string;
|
|
48
|
+
capabilities: string[];
|
|
49
|
+
}>;
|
|
50
|
+
blogname: string;
|
|
51
|
+
rolenames: string[];
|
|
52
|
+
capabilities: string[];
|
|
53
|
+
sitename: string;
|
|
54
|
+
siteurl: string;
|
|
55
|
+
} | undefined;
|
|
56
|
+
is_multisite: boolean;
|
|
57
|
+
sites: {
|
|
58
|
+
site_id: number;
|
|
59
|
+
sitename: string;
|
|
60
|
+
siteurl: string;
|
|
61
|
+
is_superadmin: boolean;
|
|
62
|
+
blogs: (DataGetBlogs & {
|
|
63
|
+
capabilities: string[];
|
|
64
|
+
blog_roles: Record<string, types.Role>;
|
|
65
|
+
blogname: string | undefined;
|
|
66
|
+
})[];
|
|
67
|
+
}[];
|
|
68
|
+
} | {
|
|
69
|
+
user: types.WpUsers;
|
|
70
|
+
primary_blog: {
|
|
71
|
+
capabilities: string[];
|
|
72
|
+
blog_id: number;
|
|
73
|
+
domain: string;
|
|
74
|
+
path: string;
|
|
75
|
+
site_id: number;
|
|
76
|
+
siteurl: string | undefined;
|
|
77
|
+
archived: number;
|
|
78
|
+
spam: number;
|
|
79
|
+
deleted: number;
|
|
80
|
+
rolenames: string[] | undefined;
|
|
81
|
+
blog_roles: Record<string, types.Role>;
|
|
82
|
+
blogname: string | undefined;
|
|
83
|
+
};
|
|
84
|
+
is_multisite: boolean;
|
|
85
|
+
sites: undefined;
|
|
86
|
+
}>;
|
|
87
|
+
getSingleSite(userRef: string | number): Promise<{
|
|
88
|
+
user: types.WpUsers;
|
|
89
|
+
primary_blog: {
|
|
90
|
+
capabilities: string[];
|
|
91
|
+
blog_id: number;
|
|
92
|
+
domain: string;
|
|
93
|
+
path: string;
|
|
94
|
+
site_id: number;
|
|
95
|
+
siteurl: string | undefined;
|
|
96
|
+
archived: number;
|
|
97
|
+
spam: number;
|
|
98
|
+
deleted: number;
|
|
99
|
+
rolenames: string[] | undefined;
|
|
100
|
+
blog_roles: Record<string, types.Role>;
|
|
101
|
+
blogname: string | undefined;
|
|
102
|
+
};
|
|
103
|
+
is_multisite: boolean;
|
|
104
|
+
sites: undefined;
|
|
105
|
+
}>;
|
|
106
|
+
getMultiSites(userRef: string | number): Promise<{
|
|
107
|
+
user: types.WpUsers;
|
|
108
|
+
primary_blog: {
|
|
109
|
+
blog_id: number;
|
|
110
|
+
site_id: number;
|
|
111
|
+
blog_roles: Record<string, {
|
|
112
|
+
name: string;
|
|
113
|
+
capabilities: string[];
|
|
114
|
+
}>;
|
|
115
|
+
blogname: string;
|
|
116
|
+
rolenames: string[];
|
|
117
|
+
capabilities: string[];
|
|
118
|
+
sitename: string;
|
|
119
|
+
siteurl: string;
|
|
120
|
+
} | undefined;
|
|
121
|
+
is_multisite: boolean;
|
|
122
|
+
sites: {
|
|
123
|
+
site_id: number;
|
|
124
|
+
sitename: string;
|
|
125
|
+
siteurl: string;
|
|
126
|
+
is_superadmin: boolean;
|
|
127
|
+
blogs: (DataGetBlogs & {
|
|
128
|
+
capabilities: string[];
|
|
129
|
+
blog_roles: Record<string, types.Role>;
|
|
130
|
+
blogname: string | undefined;
|
|
131
|
+
})[];
|
|
132
|
+
}[];
|
|
133
|
+
}>;
|
|
134
|
+
getPrimaryBlogId(userRef: string | number): Promise<any>;
|
|
135
|
+
getRoleNames(userRefOrUser: string | number | User): Promise<Map<number, string[]>>;
|
|
136
|
+
getSiteIds(userRef: string | number): Promise<number[]>;
|
|
137
|
+
getBlogIds(userRef: string | number): Promise<number[]>;
|
|
138
|
+
getBlogs(userRef: string | number, options?: Partial<{
|
|
139
|
+
siteId: number;
|
|
140
|
+
blogId: number;
|
|
141
|
+
}>): Promise<DataGetBlogs[]>;
|
|
142
|
+
checkSuperAdminStatus(userRefOrUser: string | number | User, args?: {
|
|
143
|
+
siteIds?: number[];
|
|
144
|
+
blogIds?: number[];
|
|
145
|
+
}): Promise<[boolean, number[]]>;
|
|
146
|
+
hasCapabilities(userRefOrUser: number | string | User, targetCapabilities: string[], options?: {
|
|
147
|
+
blogIds?: number[];
|
|
148
|
+
}): Promise<boolean>;
|
|
149
|
+
getUniqueNicename(nicename: string, userLogin: string, maxSuffix?: number): Promise<string>;
|
|
150
|
+
getUniqueUserLogin(maxSuffix?: number): Promise<string>;
|
|
151
|
+
}
|
|
152
|
+
export {};
|
|
153
|
+
//# sourceMappingURL=user.util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.util.d.ts","sourceRoot":"","sources":["../../../src/core/utils/user.util.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAGtC,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAK/B,KAAK,YAAY,GAAG;IAClB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