@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,105 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const sitemeta: z.ZodObject<{
|
|
3
|
+
site_name: z.ZodString;
|
|
4
|
+
admin_email: z.ZodString;
|
|
5
|
+
admin_user_id: z.ZodNumber;
|
|
6
|
+
registration: z.ZodString;
|
|
7
|
+
upload_filetypes: z.ZodString;
|
|
8
|
+
blog_upload_space: z.ZodNumber;
|
|
9
|
+
fileupload_maxk: z.ZodNumber;
|
|
10
|
+
site_admins: z.ZodArray<z.ZodString, "many">;
|
|
11
|
+
allowedthemes: z.ZodRecord<z.ZodString, z.ZodLiteral<true>>;
|
|
12
|
+
illegal_names: z.ZodArray<z.ZodString, "many">;
|
|
13
|
+
wpmu_upgrade_site: z.ZodNumber;
|
|
14
|
+
welcome_email: z.ZodString;
|
|
15
|
+
first_post: z.ZodString;
|
|
16
|
+
siteurl: z.ZodString;
|
|
17
|
+
add_new_users: z.ZodNumber;
|
|
18
|
+
upload_space_check_disabled: z.ZodNumber;
|
|
19
|
+
subdomain_install: z.ZodString;
|
|
20
|
+
ms_files_rewriting: z.ZodNumber;
|
|
21
|
+
user_count: z.ZodNumber;
|
|
22
|
+
initial_db_version: z.ZodNumber;
|
|
23
|
+
active_sitewide_plugins: z.ZodArray<z.ZodAny, "many">;
|
|
24
|
+
WPLANG: z.ZodString;
|
|
25
|
+
registrationnotification: z.ZodEnum<["yes", "no"]>;
|
|
26
|
+
menu_items: z.ZodArray<z.ZodString, "many">;
|
|
27
|
+
first_page: z.ZodString;
|
|
28
|
+
first_comment: z.ZodString;
|
|
29
|
+
first_comment_url: z.ZodString;
|
|
30
|
+
first_comment_author: z.ZodString;
|
|
31
|
+
welcome_user_email: z.ZodString;
|
|
32
|
+
limited_email_domains: z.ZodArray<z.ZodString, "many">;
|
|
33
|
+
banned_email_domains: z.ZodArray<z.ZodString, "many">;
|
|
34
|
+
new_admin_email: z.ZodString;
|
|
35
|
+
first_comment_email: z.ZodString;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
WPLANG: string;
|
|
38
|
+
siteurl: string;
|
|
39
|
+
admin_email: string;
|
|
40
|
+
add_new_users: number;
|
|
41
|
+
active_sitewide_plugins: any[];
|
|
42
|
+
admin_user_id: number;
|
|
43
|
+
allowedthemes: Record<string, true>;
|
|
44
|
+
banned_email_domains: string[];
|
|
45
|
+
blog_upload_space: number;
|
|
46
|
+
fileupload_maxk: number;
|
|
47
|
+
first_comment: string;
|
|
48
|
+
first_comment_author: string;
|
|
49
|
+
first_comment_email: string;
|
|
50
|
+
first_comment_url: string;
|
|
51
|
+
first_page: string;
|
|
52
|
+
first_post: string;
|
|
53
|
+
illegal_names: string[];
|
|
54
|
+
initial_db_version: number;
|
|
55
|
+
limited_email_domains: string[];
|
|
56
|
+
menu_items: string[];
|
|
57
|
+
ms_files_rewriting: number;
|
|
58
|
+
new_admin_email: string;
|
|
59
|
+
registration: string;
|
|
60
|
+
registrationnotification: "no" | "yes";
|
|
61
|
+
site_admins: string[];
|
|
62
|
+
site_name: string;
|
|
63
|
+
subdomain_install: string;
|
|
64
|
+
upload_filetypes: string;
|
|
65
|
+
upload_space_check_disabled: number;
|
|
66
|
+
user_count: number;
|
|
67
|
+
welcome_email: string;
|
|
68
|
+
welcome_user_email: string;
|
|
69
|
+
wpmu_upgrade_site: number;
|
|
70
|
+
}, {
|
|
71
|
+
WPLANG: string;
|
|
72
|
+
siteurl: string;
|
|
73
|
+
admin_email: string;
|
|
74
|
+
add_new_users: number;
|
|
75
|
+
active_sitewide_plugins: any[];
|
|
76
|
+
admin_user_id: number;
|
|
77
|
+
allowedthemes: Record<string, true>;
|
|
78
|
+
banned_email_domains: string[];
|
|
79
|
+
blog_upload_space: number;
|
|
80
|
+
fileupload_maxk: number;
|
|
81
|
+
first_comment: string;
|
|
82
|
+
first_comment_author: string;
|
|
83
|
+
first_comment_email: string;
|
|
84
|
+
first_comment_url: string;
|
|
85
|
+
first_page: string;
|
|
86
|
+
first_post: string;
|
|
87
|
+
illegal_names: string[];
|
|
88
|
+
initial_db_version: number;
|
|
89
|
+
limited_email_domains: string[];
|
|
90
|
+
menu_items: string[];
|
|
91
|
+
ms_files_rewriting: number;
|
|
92
|
+
new_admin_email: string;
|
|
93
|
+
registration: string;
|
|
94
|
+
registrationnotification: "no" | "yes";
|
|
95
|
+
site_admins: string[];
|
|
96
|
+
site_name: string;
|
|
97
|
+
subdomain_install: string;
|
|
98
|
+
upload_filetypes: string;
|
|
99
|
+
upload_space_check_disabled: number;
|
|
100
|
+
user_count: number;
|
|
101
|
+
welcome_email: string;
|
|
102
|
+
welcome_user_email: string;
|
|
103
|
+
wpmu_upgrade_site: number;
|
|
104
|
+
}>;
|
|
105
|
+
//# sourceMappingURL=sitemeta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sitemeta.d.ts","sourceRoot":"","sources":["../../src/validators/sitemeta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCnB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sitemeta = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.sitemeta = zod_1.z.object({
|
|
6
|
+
site_name: zod_1.z.string(),
|
|
7
|
+
admin_email: zod_1.z.string().email(),
|
|
8
|
+
admin_user_id: zod_1.z.number(), // Assuming 'siteUserId' is a number
|
|
9
|
+
registration: zod_1.z.string(),
|
|
10
|
+
upload_filetypes: zod_1.z.string(), // Joined string of file types
|
|
11
|
+
blog_upload_space: zod_1.z.number(),
|
|
12
|
+
fileupload_maxk: zod_1.z.number(),
|
|
13
|
+
site_admins: zod_1.z.array(zod_1.z.string()), // Assuming 'siteAdmins' is an array of strings
|
|
14
|
+
allowedthemes: zod_1.z.record(zod_1.z.literal(true)), // Object with keys and boolean 'true' as value
|
|
15
|
+
illegal_names: zod_1.z.array(zod_1.z.string()), // Array of strings
|
|
16
|
+
wpmu_upgrade_site: zod_1.z.number(), // Assuming 'WP_DB_VERSION' is a number
|
|
17
|
+
welcome_email: zod_1.z.string(),
|
|
18
|
+
first_post: zod_1.z.string(),
|
|
19
|
+
siteurl: zod_1.z.string().url(),
|
|
20
|
+
add_new_users: zod_1.z.number().min(0).max(1), // 0 or 1
|
|
21
|
+
upload_space_check_disabled: zod_1.z.number().min(0).max(1), // 0 or 1
|
|
22
|
+
subdomain_install: zod_1.z.string(), // Assuming it's a string
|
|
23
|
+
ms_files_rewriting: zod_1.z.number().min(0).max(1), // 0 or 1
|
|
24
|
+
user_count: zod_1.z.number(), // Assuming 'user_count' is a number
|
|
25
|
+
initial_db_version: zod_1.z.number(), // Assuming 'initial_db_version' is a number
|
|
26
|
+
active_sitewide_plugins: zod_1.z.array(zod_1.z.any()), // Adjust according to the actual type
|
|
27
|
+
WPLANG: zod_1.z.string(), // Assuming 'WPLANG' is a string
|
|
28
|
+
registrationnotification: zod_1.z.enum(["yes", "no"]),
|
|
29
|
+
menu_items: zod_1.z.array(zod_1.z.string()), // Assuming it's an array of strings
|
|
30
|
+
first_page: zod_1.z.string(),
|
|
31
|
+
first_comment: zod_1.z.string(),
|
|
32
|
+
first_comment_url: zod_1.z.string().url(), // Assuming it's a valid URL
|
|
33
|
+
first_comment_author: zod_1.z.string(),
|
|
34
|
+
welcome_user_email: zod_1.z.string().email(), // Assuming it's a valid email
|
|
35
|
+
limited_email_domains: zod_1.z.array(zod_1.z.string().email()), // Assuming it's an array of valid email domains
|
|
36
|
+
banned_email_domains: zod_1.z.array(zod_1.z.string().email()), // Assuming it's an array of valid email domains
|
|
37
|
+
new_admin_email: zod_1.z.string().email(), // Assuming it's a valid email
|
|
38
|
+
first_comment_email: zod_1.z.string().email(), // Assuming it's a valid email
|
|
39
|
+
});
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const blogUpsertBase: z.ZodObject<Omit<{
|
|
3
|
+
blog_id: z.ZodNumber;
|
|
4
|
+
site_id: z.ZodDefault<z.ZodNumber>;
|
|
5
|
+
domain: z.ZodDefault<z.ZodString>;
|
|
6
|
+
path: z.ZodDefault<z.ZodString>;
|
|
7
|
+
registered: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>;
|
|
8
|
+
last_updated: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>;
|
|
9
|
+
public: z.ZodDefault<z.ZodNumber>;
|
|
10
|
+
archived: z.ZodDefault<z.ZodNumber>;
|
|
11
|
+
mature: z.ZodDefault<z.ZodNumber>;
|
|
12
|
+
spam: z.ZodDefault<z.ZodNumber>;
|
|
13
|
+
deleted: z.ZodDefault<z.ZodNumber>;
|
|
14
|
+
lang_id: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "blog_id"> & {
|
|
16
|
+
blog_meta: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
public: number;
|
|
19
|
+
path: string;
|
|
20
|
+
domain: string;
|
|
21
|
+
site_id: number;
|
|
22
|
+
archived: number;
|
|
23
|
+
mature: number;
|
|
24
|
+
spam: number;
|
|
25
|
+
deleted: number;
|
|
26
|
+
lang_id: number;
|
|
27
|
+
blog_meta: Record<string, any>;
|
|
28
|
+
registered?: string | undefined;
|
|
29
|
+
last_updated?: string | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
public?: number | undefined;
|
|
32
|
+
path?: string | undefined;
|
|
33
|
+
domain?: string | undefined;
|
|
34
|
+
site_id?: number | undefined;
|
|
35
|
+
registered?: unknown;
|
|
36
|
+
last_updated?: unknown;
|
|
37
|
+
archived?: number | undefined;
|
|
38
|
+
mature?: number | undefined;
|
|
39
|
+
spam?: number | undefined;
|
|
40
|
+
deleted?: number | undefined;
|
|
41
|
+
lang_id?: number | undefined;
|
|
42
|
+
blog_meta?: Record<string, any> | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
export declare const blogUpsert: z.ZodUnion<[z.ZodObject<{
|
|
45
|
+
public: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
46
|
+
path: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
47
|
+
domain: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
48
|
+
site_id: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
49
|
+
registered: z.ZodOptional<z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>>;
|
|
50
|
+
last_updated: z.ZodOptional<z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>>;
|
|
51
|
+
archived: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
52
|
+
mature: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
53
|
+
spam: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
54
|
+
deleted: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
55
|
+
lang_id: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
56
|
+
blog_meta: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
57
|
+
} & {
|
|
58
|
+
blog_id: z.ZodNumber;
|
|
59
|
+
title: z.ZodUndefined;
|
|
60
|
+
options: z.ZodUndefined;
|
|
61
|
+
user_id: z.ZodUndefined;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
blog_id: number;
|
|
64
|
+
public?: number | undefined;
|
|
65
|
+
title?: undefined;
|
|
66
|
+
path?: string | undefined;
|
|
67
|
+
options?: undefined;
|
|
68
|
+
domain?: string | undefined;
|
|
69
|
+
site_id?: number | undefined;
|
|
70
|
+
registered?: string | undefined;
|
|
71
|
+
last_updated?: string | undefined;
|
|
72
|
+
archived?: number | undefined;
|
|
73
|
+
mature?: number | undefined;
|
|
74
|
+
spam?: number | undefined;
|
|
75
|
+
deleted?: number | undefined;
|
|
76
|
+
lang_id?: number | undefined;
|
|
77
|
+
user_id?: undefined;
|
|
78
|
+
blog_meta?: Record<string, any> | undefined;
|
|
79
|
+
}, {
|
|
80
|
+
blog_id: number;
|
|
81
|
+
public?: number | undefined;
|
|
82
|
+
title?: undefined;
|
|
83
|
+
path?: string | undefined;
|
|
84
|
+
options?: undefined;
|
|
85
|
+
domain?: string | undefined;
|
|
86
|
+
site_id?: number | undefined;
|
|
87
|
+
registered?: unknown;
|
|
88
|
+
last_updated?: unknown;
|
|
89
|
+
archived?: number | undefined;
|
|
90
|
+
mature?: number | undefined;
|
|
91
|
+
spam?: number | undefined;
|
|
92
|
+
deleted?: number | undefined;
|
|
93
|
+
lang_id?: number | undefined;
|
|
94
|
+
user_id?: undefined;
|
|
95
|
+
blog_meta?: Record<string, any> | undefined;
|
|
96
|
+
}>, z.ZodObject<{
|
|
97
|
+
public: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
98
|
+
path: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
99
|
+
domain: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
100
|
+
site_id: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
101
|
+
registered: z.ZodOptional<z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>>;
|
|
102
|
+
last_updated: z.ZodOptional<z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>>;
|
|
103
|
+
archived: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
104
|
+
mature: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
105
|
+
spam: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
106
|
+
deleted: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
107
|
+
lang_id: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
108
|
+
blog_meta: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
109
|
+
} & {
|
|
110
|
+
user_id: z.ZodNumber;
|
|
111
|
+
title: z.ZodUnion<[z.ZodDefault<z.ZodOptional<z.ZodString>>, z.ZodUndefined]>;
|
|
112
|
+
options: z.ZodUnion<[z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>, z.ZodUndefined]>;
|
|
113
|
+
blog_id: z.ZodUndefined;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
user_id: number;
|
|
116
|
+
public?: number | undefined;
|
|
117
|
+
title?: string | undefined;
|
|
118
|
+
path?: string | undefined;
|
|
119
|
+
options?: Record<string, any> | undefined;
|
|
120
|
+
domain?: string | undefined;
|
|
121
|
+
blog_id?: undefined;
|
|
122
|
+
site_id?: number | undefined;
|
|
123
|
+
registered?: string | undefined;
|
|
124
|
+
last_updated?: string | undefined;
|
|
125
|
+
archived?: number | undefined;
|
|
126
|
+
mature?: number | undefined;
|
|
127
|
+
spam?: number | undefined;
|
|
128
|
+
deleted?: number | undefined;
|
|
129
|
+
lang_id?: number | undefined;
|
|
130
|
+
blog_meta?: Record<string, any> | undefined;
|
|
131
|
+
}, {
|
|
132
|
+
user_id: number;
|
|
133
|
+
public?: number | undefined;
|
|
134
|
+
title?: string | undefined;
|
|
135
|
+
path?: string | undefined;
|
|
136
|
+
options?: Record<string, any> | undefined;
|
|
137
|
+
domain?: string | undefined;
|
|
138
|
+
blog_id?: undefined;
|
|
139
|
+
site_id?: number | undefined;
|
|
140
|
+
registered?: unknown;
|
|
141
|
+
last_updated?: unknown;
|
|
142
|
+
archived?: number | undefined;
|
|
143
|
+
mature?: number | undefined;
|
|
144
|
+
spam?: number | undefined;
|
|
145
|
+
deleted?: number | undefined;
|
|
146
|
+
lang_id?: number | undefined;
|
|
147
|
+
blog_meta?: Record<string, any> | undefined;
|
|
148
|
+
}>]>;
|
|
149
|
+
export declare const blogInsert: z.ZodObject<Omit<{
|
|
150
|
+
blog_id: z.ZodNumber;
|
|
151
|
+
site_id: z.ZodDefault<z.ZodNumber>;
|
|
152
|
+
domain: z.ZodDefault<z.ZodString>;
|
|
153
|
+
path: z.ZodDefault<z.ZodString>;
|
|
154
|
+
registered: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>;
|
|
155
|
+
last_updated: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>;
|
|
156
|
+
public: z.ZodDefault<z.ZodNumber>;
|
|
157
|
+
archived: z.ZodDefault<z.ZodNumber>;
|
|
158
|
+
mature: z.ZodDefault<z.ZodNumber>;
|
|
159
|
+
spam: z.ZodDefault<z.ZodNumber>;
|
|
160
|
+
deleted: z.ZodDefault<z.ZodNumber>;
|
|
161
|
+
lang_id: z.ZodDefault<z.ZodNumber>;
|
|
162
|
+
}, "blog_id">, "strip", z.ZodTypeAny, {
|
|
163
|
+
public: number;
|
|
164
|
+
path: string;
|
|
165
|
+
domain: string;
|
|
166
|
+
site_id: number;
|
|
167
|
+
archived: number;
|
|
168
|
+
mature: number;
|
|
169
|
+
spam: number;
|
|
170
|
+
deleted: number;
|
|
171
|
+
lang_id: number;
|
|
172
|
+
registered?: string | undefined;
|
|
173
|
+
last_updated?: string | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
public?: number | undefined;
|
|
176
|
+
path?: string | undefined;
|
|
177
|
+
domain?: string | undefined;
|
|
178
|
+
site_id?: number | undefined;
|
|
179
|
+
registered?: unknown;
|
|
180
|
+
last_updated?: unknown;
|
|
181
|
+
archived?: number | undefined;
|
|
182
|
+
mature?: number | undefined;
|
|
183
|
+
spam?: number | undefined;
|
|
184
|
+
deleted?: number | undefined;
|
|
185
|
+
lang_id?: number | undefined;
|
|
186
|
+
}>;
|
|
187
|
+
export declare const blogUpdate: z.ZodObject<Omit<{
|
|
188
|
+
blog_id: z.ZodNumber;
|
|
189
|
+
site_id: z.ZodDefault<z.ZodNumber>;
|
|
190
|
+
domain: z.ZodDefault<z.ZodString>;
|
|
191
|
+
path: z.ZodDefault<z.ZodString>;
|
|
192
|
+
registered: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>;
|
|
193
|
+
last_updated: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>;
|
|
194
|
+
public: z.ZodDefault<z.ZodNumber>;
|
|
195
|
+
archived: z.ZodDefault<z.ZodNumber>;
|
|
196
|
+
mature: z.ZodDefault<z.ZodNumber>;
|
|
197
|
+
spam: z.ZodDefault<z.ZodNumber>;
|
|
198
|
+
deleted: z.ZodDefault<z.ZodNumber>;
|
|
199
|
+
lang_id: z.ZodDefault<z.ZodNumber>;
|
|
200
|
+
}, "blog_id">, "strip", z.ZodTypeAny, {
|
|
201
|
+
public: number;
|
|
202
|
+
path: string;
|
|
203
|
+
domain: string;
|
|
204
|
+
site_id: number;
|
|
205
|
+
archived: number;
|
|
206
|
+
mature: number;
|
|
207
|
+
spam: number;
|
|
208
|
+
deleted: number;
|
|
209
|
+
lang_id: number;
|
|
210
|
+
registered?: string | undefined;
|
|
211
|
+
last_updated?: string | undefined;
|
|
212
|
+
}, {
|
|
213
|
+
public?: number | undefined;
|
|
214
|
+
path?: string | undefined;
|
|
215
|
+
domain?: string | undefined;
|
|
216
|
+
site_id?: number | undefined;
|
|
217
|
+
registered?: unknown;
|
|
218
|
+
last_updated?: unknown;
|
|
219
|
+
archived?: number | undefined;
|
|
220
|
+
mature?: number | undefined;
|
|
221
|
+
spam?: number | undefined;
|
|
222
|
+
deleted?: number | undefined;
|
|
223
|
+
lang_id?: number | undefined;
|
|
224
|
+
}>;
|
|
225
|
+
//# sourceMappingURL=blog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blog.d.ts","sourceRoot":"","sources":["../../../src/validators/transactions/blog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAEJ,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiBrB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAErB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAa,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.blogUpdate = exports.blogInsert = exports.blogUpsert = exports.blogUpsertBase = void 0;
|
|
37
|
+
const zod_1 = require("zod");
|
|
38
|
+
const database = __importStar(require("../database"));
|
|
39
|
+
exports.blogUpsertBase = database.wpBlogs
|
|
40
|
+
.omit({
|
|
41
|
+
blog_id: true,
|
|
42
|
+
})
|
|
43
|
+
.merge(zod_1.z.object({
|
|
44
|
+
blog_meta: zod_1.z.record(zod_1.z.any()).optional().default({}),
|
|
45
|
+
}));
|
|
46
|
+
exports.blogUpsert = zod_1.z.union([
|
|
47
|
+
exports.blogUpsertBase.partial().merge(zod_1.z.object({
|
|
48
|
+
blog_id: zod_1.z.number().int().nonnegative(),
|
|
49
|
+
title: zod_1.z.undefined(),
|
|
50
|
+
options: zod_1.z.undefined(),
|
|
51
|
+
user_id: zod_1.z.undefined(),
|
|
52
|
+
})),
|
|
53
|
+
exports.blogUpsertBase.partial().merge(zod_1.z.object({
|
|
54
|
+
user_id: zod_1.z.number().int().nonnegative(),
|
|
55
|
+
title: zod_1.z.union([zod_1.z.string().optional().default(""), zod_1.z.undefined()]),
|
|
56
|
+
options: zod_1.z.union([zod_1.z.record(zod_1.z.any()).optional(), zod_1.z.undefined()]),
|
|
57
|
+
blog_id: zod_1.z.undefined(),
|
|
58
|
+
})),
|
|
59
|
+
]);
|
|
60
|
+
exports.blogInsert = database.wpBlogs.omit({
|
|
61
|
+
blog_id: true,
|
|
62
|
+
});
|
|
63
|
+
exports.blogUpdate = exports.blogInsert;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const commentUpsert: z.ZodObject<{
|
|
3
|
+
comment_post_ID: z.ZodDefault<z.ZodNumber>;
|
|
4
|
+
comment_author_email: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>;
|
|
5
|
+
comment_author_url: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodOptional<z.ZodString>]>;
|
|
6
|
+
comment_author_IP: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodOptional<z.ZodString>]>;
|
|
7
|
+
comment_date: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>;
|
|
8
|
+
comment_date_gmt: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>;
|
|
9
|
+
comment_karma: z.ZodDefault<z.ZodNumber>;
|
|
10
|
+
comment_agent: z.ZodDefault<z.ZodString>;
|
|
11
|
+
comment_type: z.ZodDefault<z.ZodString>;
|
|
12
|
+
comment_parent: z.ZodDefault<z.ZodNumber>;
|
|
13
|
+
user_id: z.ZodDefault<z.ZodNumber>;
|
|
14
|
+
} & {
|
|
15
|
+
comment_ID: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
comment_author: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
comment_approved: z.ZodUnion<[z.ZodEffects<z.ZodEnum<["hold", "approve"]>, "0" | "1", "approve" | "hold">, z.ZodUnion<[z.ZodDefault<z.ZodNumber>, z.ZodEnum<["0", "1", "spam", "trash", "post-trashed", "approve", "hold"]>]>]>;
|
|
18
|
+
comment_content: z.ZodString;
|
|
19
|
+
comment_meta: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
comment_post_ID: number;
|
|
22
|
+
comment_author: string;
|
|
23
|
+
comment_content: string;
|
|
24
|
+
comment_karma: number;
|
|
25
|
+
comment_approved: number | "0" | "1" | "trash" | "spam" | "post-trashed" | "approve" | "hold";
|
|
26
|
+
comment_agent: string;
|
|
27
|
+
comment_type: string;
|
|
28
|
+
comment_parent: number;
|
|
29
|
+
user_id: number;
|
|
30
|
+
comment_meta: Record<string, any>;
|
|
31
|
+
comment_ID?: number | undefined;
|
|
32
|
+
comment_author_email?: string | undefined;
|
|
33
|
+
comment_author_url?: string | undefined;
|
|
34
|
+
comment_author_IP?: string | undefined;
|
|
35
|
+
comment_date?: string | undefined;
|
|
36
|
+
comment_date_gmt?: string | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
comment_content: string;
|
|
39
|
+
comment_ID?: number | undefined;
|
|
40
|
+
comment_post_ID?: number | undefined;
|
|
41
|
+
comment_author?: string | undefined;
|
|
42
|
+
comment_author_email?: string | undefined;
|
|
43
|
+
comment_author_url?: string | undefined;
|
|
44
|
+
comment_author_IP?: string | undefined;
|
|
45
|
+
comment_date?: unknown;
|
|
46
|
+
comment_date_gmt?: unknown;
|
|
47
|
+
comment_karma?: number | undefined;
|
|
48
|
+
comment_approved?: number | "0" | "1" | "trash" | "spam" | "post-trashed" | "approve" | "hold" | undefined;
|
|
49
|
+
comment_agent?: string | undefined;
|
|
50
|
+
comment_type?: string | undefined;
|
|
51
|
+
comment_parent?: number | undefined;
|
|
52
|
+
user_id?: number | undefined;
|
|
53
|
+
comment_meta?: Record<string, any> | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
export declare const commentUpdate: z.ZodObject<Omit<{
|
|
56
|
+
comment_ID: z.ZodNumber;
|
|
57
|
+
comment_post_ID: z.ZodDefault<z.ZodNumber>;
|
|
58
|
+
comment_author: z.ZodDefault<z.ZodString>;
|
|
59
|
+
comment_author_email: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>;
|
|
60
|
+
comment_author_url: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodOptional<z.ZodString>]>;
|
|
61
|
+
comment_author_IP: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodOptional<z.ZodString>]>;
|
|
62
|
+
comment_date: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>;
|
|
63
|
+
comment_date_gmt: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>;
|
|
64
|
+
comment_content: z.ZodDefault<z.ZodString>;
|
|
65
|
+
comment_karma: z.ZodDefault<z.ZodNumber>;
|
|
66
|
+
comment_approved: z.ZodUnion<[z.ZodDefault<z.ZodNumber>, z.ZodEnum<["0", "1", "spam", "trash", "post-trashed", "approve", "hold"]>]>;
|
|
67
|
+
comment_agent: z.ZodDefault<z.ZodString>;
|
|
68
|
+
comment_type: z.ZodDefault<z.ZodString>;
|
|
69
|
+
comment_parent: z.ZodDefault<z.ZodNumber>;
|
|
70
|
+
user_id: z.ZodDefault<z.ZodNumber>;
|
|
71
|
+
}, "comment_author"> & {
|
|
72
|
+
comment_author: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
comment_ID: number;
|
|
75
|
+
comment_post_ID: number;
|
|
76
|
+
comment_author: string;
|
|
77
|
+
comment_content: string;
|
|
78
|
+
comment_karma: number;
|
|
79
|
+
comment_approved: number | "0" | "1" | "trash" | "spam" | "post-trashed" | "approve" | "hold";
|
|
80
|
+
comment_agent: string;
|
|
81
|
+
comment_type: string;
|
|
82
|
+
comment_parent: number;
|
|
83
|
+
user_id: number;
|
|
84
|
+
comment_author_email?: string | undefined;
|
|
85
|
+
comment_author_url?: string | undefined;
|
|
86
|
+
comment_author_IP?: string | undefined;
|
|
87
|
+
comment_date?: string | undefined;
|
|
88
|
+
comment_date_gmt?: string | undefined;
|
|
89
|
+
}, {
|
|
90
|
+
comment_ID: number;
|
|
91
|
+
comment_post_ID?: number | undefined;
|
|
92
|
+
comment_author?: string | undefined;
|
|
93
|
+
comment_author_email?: string | undefined;
|
|
94
|
+
comment_author_url?: string | undefined;
|
|
95
|
+
comment_author_IP?: string | undefined;
|
|
96
|
+
comment_date?: unknown;
|
|
97
|
+
comment_date_gmt?: unknown;
|
|
98
|
+
comment_content?: string | undefined;
|
|
99
|
+
comment_karma?: number | undefined;
|
|
100
|
+
comment_approved?: number | "0" | "1" | "trash" | "spam" | "post-trashed" | "approve" | "hold" | undefined;
|
|
101
|
+
comment_agent?: string | undefined;
|
|
102
|
+
comment_type?: string | undefined;
|
|
103
|
+
comment_parent?: number | undefined;
|
|
104
|
+
user_id?: number | undefined;
|
|
105
|
+
}>;
|
|
106
|
+
export declare const commentInsert: z.ZodObject<Omit<Omit<{
|
|
107
|
+
comment_ID: z.ZodNumber;
|
|
108
|
+
comment_post_ID: z.ZodDefault<z.ZodNumber>;
|
|
109
|
+
comment_author: z.ZodDefault<z.ZodString>;
|
|
110
|
+
comment_author_email: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>;
|
|
111
|
+
comment_author_url: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodOptional<z.ZodString>]>;
|
|
112
|
+
comment_author_IP: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodOptional<z.ZodString>]>;
|
|
113
|
+
comment_date: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>;
|
|
114
|
+
comment_date_gmt: z.ZodUnion<[z.ZodDefault<z.ZodString>, z.ZodUndefined, z.ZodEffects<z.ZodUnknown, undefined, unknown>]>;
|
|
115
|
+
comment_content: z.ZodDefault<z.ZodString>;
|
|
116
|
+
comment_karma: z.ZodDefault<z.ZodNumber>;
|
|
117
|
+
comment_approved: z.ZodUnion<[z.ZodDefault<z.ZodNumber>, z.ZodEnum<["0", "1", "spam", "trash", "post-trashed", "approve", "hold"]>]>;
|
|
118
|
+
comment_agent: z.ZodDefault<z.ZodString>;
|
|
119
|
+
comment_type: z.ZodDefault<z.ZodString>;
|
|
120
|
+
comment_parent: z.ZodDefault<z.ZodNumber>;
|
|
121
|
+
user_id: z.ZodDefault<z.ZodNumber>;
|
|
122
|
+
}, "comment_author"> & {
|
|
123
|
+
comment_author: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
124
|
+
}, "comment_ID">, "strip", z.ZodTypeAny, {
|
|
125
|
+
comment_post_ID: number;
|
|
126
|
+
comment_author: string;
|
|
127
|
+
comment_content: string;
|
|
128
|
+
comment_karma: number;
|
|
129
|
+
comment_approved: number | "0" | "1" | "trash" | "spam" | "post-trashed" | "approve" | "hold";
|
|
130
|
+
comment_agent: string;
|
|
131
|
+
comment_type: string;
|
|
132
|
+
comment_parent: number;
|
|
133
|
+
user_id: number;
|
|
134
|
+
comment_author_email?: string | undefined;
|
|
135
|
+
comment_author_url?: string | undefined;
|
|
136
|
+
comment_author_IP?: string | undefined;
|
|
137
|
+
comment_date?: string | undefined;
|
|
138
|
+
comment_date_gmt?: string | undefined;
|
|
139
|
+
}, {
|
|
140
|
+
comment_post_ID?: number | undefined;
|
|
141
|
+
comment_author?: string | undefined;
|
|
142
|
+
comment_author_email?: string | undefined;
|
|
143
|
+
comment_author_url?: string | undefined;
|
|
144
|
+
comment_author_IP?: string | undefined;
|
|
145
|
+
comment_date?: unknown;
|
|
146
|
+
comment_date_gmt?: unknown;
|
|
147
|
+
comment_content?: string | undefined;
|
|
148
|
+
comment_karma?: number | undefined;
|
|
149
|
+
comment_approved?: number | "0" | "1" | "trash" | "spam" | "post-trashed" | "approve" | "hold" | undefined;
|
|
150
|
+
comment_agent?: string | undefined;
|
|
151
|
+
comment_type?: string | undefined;
|
|
152
|
+
comment_parent?: number | undefined;
|
|
153
|
+
user_id?: number | undefined;
|
|
154
|
+
}>;
|
|
155
|
+
//# sourceMappingURL=comment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/validators/transactions/comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBvB,CAAC;AAEJ,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQvB,CAAC;AAEJ,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAExB,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.commentInsert = exports.commentUpdate = exports.commentUpsert = void 0;
|
|
37
|
+
const zod_1 = require("zod");
|
|
38
|
+
const database = __importStar(require("../database"));
|
|
39
|
+
const commentAuthor = zod_1.z
|
|
40
|
+
.string() //database.wpComments.shape.comment_author
|
|
41
|
+
.optional()
|
|
42
|
+
.default("");
|
|
43
|
+
exports.commentUpsert = database.wpComments
|
|
44
|
+
.omit({
|
|
45
|
+
comment_approved: true,
|
|
46
|
+
comment_ID: true,
|
|
47
|
+
comment_author: true,
|
|
48
|
+
})
|
|
49
|
+
.merge(zod_1.z.object({
|
|
50
|
+
comment_ID: zod_1.z.number().int().nonnegative().optional(),
|
|
51
|
+
comment_author: commentAuthor,
|
|
52
|
+
comment_approved: zod_1.z.union([
|
|
53
|
+
zod_1.z.enum(["hold", "approve"]).transform((v) => (v == "hold" ? "0" : "1")),
|
|
54
|
+
database.wpComments.shape.comment_approved,
|
|
55
|
+
]),
|
|
56
|
+
comment_content: zod_1.z.string().min(1).trim().max(65525),
|
|
57
|
+
comment_meta: zod_1.z.record(zod_1.z.any()).optional().default({}),
|
|
58
|
+
}));
|
|
59
|
+
exports.commentUpdate = database.wpComments
|
|
60
|
+
.omit({
|
|
61
|
+
comment_author: true,
|
|
62
|
+
})
|
|
63
|
+
.merge(zod_1.z.object({
|
|
64
|
+
comment_author: commentAuthor,
|
|
65
|
+
}));
|
|
66
|
+
exports.commentInsert = exports.commentUpdate.omit({
|
|
67
|
+
comment_ID: true,
|
|
68
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./term";
|
|
2
|
+
export * from "./post";
|
|
3
|
+
export * from "./meta";
|
|
4
|
+
export * from "./user";
|
|
5
|
+
export * from "./comment";
|
|
6
|
+
export * from "./signup";
|
|
7
|
+
export * from "./blog";
|
|
8
|
+
export * from "./link";
|
|
9
|
+
export * from "./site";
|
|
10
|
+
export * from "./roles";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|