@webda/core 4.0.0-beta.1 → 4.0.0-beta.2
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/lib/application.d.ts +20 -8
- package/lib/application.d.ts.map +1 -0
- package/lib/application.js +65 -38
- package/lib/application.js.map +1 -1
- package/lib/application.spec.d.ts +1 -0
- package/lib/application.spec.d.ts.map +1 -0
- package/lib/application.spec.js +57 -43
- package/lib/application.spec.js.map +1 -1
- package/lib/core.d.ts +14 -11
- package/lib/core.d.ts.map +1 -0
- package/lib/core.js +101 -77
- package/lib/core.js.map +1 -1
- package/lib/core.spec.d.ts +1 -0
- package/lib/core.spec.d.ts.map +1 -0
- package/lib/core.spec.js +96 -67
- package/lib/core.spec.js.map +1 -1
- package/lib/errors.d.ts +59 -60
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +92 -108
- package/lib/errors.js.map +1 -1
- package/lib/errors.spec.d.ts +1 -0
- package/lib/errors.spec.d.ts.map +1 -0
- package/lib/errors.spec.js +1 -1
- package/lib/errors.spec.js.map +1 -1
- package/lib/index.d.ts +6 -2
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -2
- package/lib/index.js.map +1 -1
- package/lib/models/aclmodel.d.ts +2 -2
- package/lib/models/aclmodel.d.ts.map +1 -0
- package/lib/models/aclmodel.js +8 -9
- package/lib/models/aclmodel.js.map +1 -1
- package/lib/models/aclmodel.spec.d.ts +1 -0
- package/lib/models/aclmodel.spec.d.ts.map +1 -0
- package/lib/models/aclmodel.spec.js +3 -3
- package/lib/models/aclmodel.spec.js.map +1 -1
- package/lib/models/coremodel.d.ts +10 -1
- package/lib/models/coremodel.d.ts.map +1 -0
- package/lib/models/coremodel.js +33 -27
- package/lib/models/coremodel.js.map +1 -1
- package/lib/models/coremodel.spec.d.ts +1 -0
- package/lib/models/coremodel.spec.d.ts.map +1 -0
- package/lib/models/coremodel.spec.js +33 -31
- package/lib/models/coremodel.spec.js.map +1 -1
- package/lib/models/deployment.d.ts +1 -0
- package/lib/models/deployment.d.ts.map +1 -0
- package/lib/models/ident.d.ts +17 -2
- package/lib/models/ident.d.ts.map +1 -0
- package/lib/models/ident.js +0 -14
- package/lib/models/ident.js.map +1 -1
- package/lib/models/ident.spec.d.ts +1 -0
- package/lib/models/ident.spec.d.ts.map +1 -0
- package/lib/models/ident.spec.js +1 -20
- package/lib/models/ident.spec.js.map +1 -1
- package/lib/models/ownermodel.d.ts +1 -0
- package/lib/models/ownermodel.d.ts.map +1 -0
- package/lib/models/ownermodel.spec.d.ts +1 -0
- package/lib/models/ownermodel.spec.d.ts.map +1 -0
- package/lib/models/ownermodel.spec.js +57 -33
- package/lib/models/ownermodel.spec.js.map +1 -1
- package/lib/models/relations.d.ts +1 -0
- package/lib/models/relations.d.ts.map +1 -0
- package/lib/models/relations.js +3 -3
- package/lib/models/relations.js.map +1 -1
- package/lib/models/relations.spec.d.ts +2 -0
- package/lib/models/relations.spec.d.ts.map +1 -0
- package/lib/models/relations.spec.js +10 -17
- package/lib/models/relations.spec.js.map +1 -1
- package/lib/models/rolemodel.d.ts +1 -0
- package/lib/models/rolemodel.d.ts.map +1 -0
- package/lib/models/rolemodel.js +2 -2
- package/lib/models/rolemodel.js.map +1 -1
- package/lib/models/rolemodel.spec.d.ts +1 -0
- package/lib/models/rolemodel.spec.d.ts.map +1 -0
- package/lib/models/rolemodel.spec.js +5 -1
- package/lib/models/rolemodel.spec.js.map +1 -1
- package/lib/models/simpleuser.d.ts +47 -0
- package/lib/models/simpleuser.d.ts.map +1 -0
- package/lib/models/simpleuser.js +84 -0
- package/lib/models/simpleuser.js.map +1 -0
- package/lib/models/test.d.ts +11 -0
- package/lib/models/test.d.ts.map +1 -0
- package/lib/models/test.js +7 -0
- package/lib/models/test.js.map +1 -0
- package/lib/models/user.d.ts +2 -35
- package/lib/models/user.d.ts.map +1 -0
- package/lib/models/user.js +3 -74
- package/lib/models/user.js.map +1 -1
- package/lib/models/user.spec.d.ts +1 -0
- package/lib/models/user.spec.d.ts.map +1 -0
- package/lib/models/user.spec.js +7 -6
- package/lib/models/user.spec.js.map +1 -1
- package/lib/queues/filequeue.d.ts +1 -0
- package/lib/queues/filequeue.d.ts.map +1 -0
- package/lib/queues/filequeue.js +5 -5
- package/lib/queues/filequeue.js.map +1 -1
- package/lib/queues/filequeue.spec.d.ts +1 -0
- package/lib/queues/filequeue.spec.d.ts.map +1 -0
- package/lib/queues/filequeue.spec.js +11 -5
- package/lib/queues/filequeue.spec.js.map +1 -1
- package/lib/queues/memoryqueue.d.ts +14 -0
- package/lib/queues/memoryqueue.d.ts.map +1 -0
- package/lib/queues/memoryqueue.js +38 -7
- package/lib/queues/memoryqueue.js.map +1 -1
- package/lib/queues/memoryqueue.spec.d.ts +1 -0
- package/lib/queues/memoryqueue.spec.d.ts.map +1 -0
- package/lib/queues/memoryqueue.spec.js +18 -7
- package/lib/queues/memoryqueue.spec.js.map +1 -1
- package/lib/queues/pubsubservice.d.ts +1 -0
- package/lib/queues/pubsubservice.d.ts.map +1 -0
- package/lib/queues/queue.spec.d.ts +3 -2
- package/lib/queues/queue.spec.d.ts.map +1 -0
- package/lib/queues/queue.spec.js +3 -3
- package/lib/queues/queue.spec.js.map +1 -1
- package/lib/queues/queueservice.d.ts +1 -0
- package/lib/queues/queueservice.d.ts.map +1 -0
- package/lib/queues/queueservice.js +7 -7
- package/lib/queues/queueservice.js.map +1 -1
- package/lib/rest/restdomainservice.d.ts +63 -0
- package/lib/rest/restdomainservice.d.ts.map +1 -0
- package/lib/rest/restdomainservice.js +687 -0
- package/lib/rest/restdomainservice.js.map +1 -0
- package/lib/rest/restdomainservice.spec.d.ts +2 -0
- package/lib/rest/restdomainservice.spec.d.ts.map +1 -0
- package/lib/rest/restdomainservice.spec.js +124 -0
- package/lib/rest/restdomainservice.spec.js.map +1 -0
- package/lib/{router.d.ts → rest/router.d.ts} +6 -4
- package/lib/rest/router.d.ts.map +1 -0
- package/lib/{router.js → rest/router.js} +33 -23
- package/lib/rest/router.js.map +1 -0
- package/lib/rest/router.spec.d.ts +2 -0
- package/lib/rest/router.spec.d.ts.map +1 -0
- package/lib/{router.spec.js → rest/router.spec.js} +54 -28
- package/lib/rest/router.spec.js.map +1 -0
- package/lib/services/asyncevents.d.ts +1 -0
- package/lib/services/asyncevents.d.ts.map +1 -0
- package/lib/services/asyncevents.js +4 -4
- package/lib/services/asyncevents.js.map +1 -1
- package/lib/services/asyncevents.spec.d.ts +1 -0
- package/lib/services/asyncevents.spec.d.ts.map +1 -0
- package/lib/services/asyncevents.spec.js +10 -10
- package/lib/services/asyncevents.spec.js.map +1 -1
- package/lib/services/authentication.d.ts +2 -1
- package/lib/services/authentication.d.ts.map +1 -0
- package/lib/services/authentication.js +26 -25
- package/lib/services/authentication.js.map +1 -1
- package/lib/services/authentication.spec.d.ts +1 -0
- package/lib/services/authentication.spec.d.ts.map +1 -0
- package/lib/services/authentication.spec.js +24 -24
- package/lib/services/authentication.spec.js.map +1 -1
- package/lib/services/binary.d.ts +13 -85
- package/lib/services/binary.d.ts.map +1 -0
- package/lib/services/binary.js +38 -407
- package/lib/services/binary.js.map +1 -1
- package/lib/services/binary.spec.d.ts +19 -22
- package/lib/services/binary.spec.d.ts.map +1 -0
- package/lib/services/binary.spec.js +87 -374
- package/lib/services/binary.spec.js.map +1 -1
- package/lib/services/cloudbinary.d.ts +3 -2
- package/lib/services/cloudbinary.d.ts.map +1 -0
- package/lib/services/cloudbinary.js +1 -1
- package/lib/services/cloudbinary.js.map +1 -1
- package/lib/services/cloudbinary.spec.d.ts +1 -8
- package/lib/services/cloudbinary.spec.d.ts.map +1 -0
- package/lib/services/cloudbinary.spec.js +4 -130
- package/lib/services/cloudbinary.spec.js.map +1 -1
- package/lib/services/configuration.d.ts +10 -1
- package/lib/services/configuration.d.ts.map +1 -0
- package/lib/services/configuration.js +22 -7
- package/lib/services/configuration.js.map +1 -1
- package/lib/services/configuration.spec.d.ts +1 -0
- package/lib/services/configuration.spec.d.ts.map +1 -0
- package/lib/services/configuration.spec.js +60 -17
- package/lib/services/configuration.spec.js.map +1 -1
- package/lib/services/cron.d.ts +2 -1
- package/lib/services/cron.d.ts.map +1 -0
- package/lib/services/cron.js +10 -10
- package/lib/services/cron.js.map +1 -1
- package/lib/services/cron.spec.d.ts +1 -0
- package/lib/services/cron.spec.d.ts.map +1 -0
- package/lib/services/cron.spec.js +2 -2
- package/lib/services/cron.spec.js.map +1 -1
- package/lib/services/cryptoservice.d.ts +3 -2
- package/lib/services/cryptoservice.d.ts.map +1 -0
- package/lib/services/cryptoservice.js +29 -30
- package/lib/services/cryptoservice.js.map +1 -1
- package/lib/services/cryptoservice.spec.d.ts +1 -0
- package/lib/services/cryptoservice.spec.d.ts.map +1 -0
- package/lib/services/cryptoservice.spec.js +17 -17
- package/lib/services/cryptoservice.spec.js.map +1 -1
- package/lib/services/debugmailer.d.ts +2 -2
- package/lib/services/debugmailer.d.ts.map +1 -0
- package/lib/services/debugmailer.js +1 -2
- package/lib/services/debugmailer.js.map +1 -1
- package/lib/services/debugmailer.spec.d.ts +1 -0
- package/lib/services/debugmailer.spec.d.ts.map +1 -0
- package/lib/services/debugmailer.spec.js +6 -3
- package/lib/services/debugmailer.spec.js.map +1 -1
- package/lib/services/domainservice.d.ts +167 -47
- package/lib/services/domainservice.d.ts.map +1 -0
- package/lib/services/domainservice.js +520 -750
- package/lib/services/domainservice.js.map +1 -1
- package/lib/services/domainservice.spec.d.ts +1 -0
- package/lib/services/domainservice.spec.d.ts.map +1 -0
- package/lib/services/domainservice.spec.js +222 -31
- package/lib/services/domainservice.spec.js.map +1 -1
- package/lib/services/filebinary.d.ts +8 -5
- package/lib/services/filebinary.d.ts.map +1 -0
- package/lib/services/filebinary.js +34 -32
- package/lib/services/filebinary.js.map +1 -1
- package/lib/services/filebinary.spec.d.ts +12 -8
- package/lib/services/filebinary.spec.d.ts.map +1 -0
- package/lib/services/filebinary.spec.js +132 -119
- package/lib/services/filebinary.spec.js.map +1 -1
- package/lib/services/fileconfiguration.d.ts +2 -1
- package/lib/services/fileconfiguration.d.ts.map +1 -0
- package/lib/services/fileconfiguration.js +1 -1
- package/lib/services/fileconfiguration.js.map +1 -1
- package/lib/services/fileconfiguration.spec.d.ts +1 -0
- package/lib/services/fileconfiguration.spec.d.ts.map +1 -0
- package/lib/services/fileconfiguration.spec.js +65 -27
- package/lib/services/fileconfiguration.spec.js.map +1 -1
- package/lib/services/invitationservice.d.ts +2 -1
- package/lib/services/invitationservice.d.ts.map +1 -0
- package/lib/services/invitationservice.js +19 -16
- package/lib/services/invitationservice.js.map +1 -1
- package/lib/services/invitationservice.spec.d.ts +1 -0
- package/lib/services/invitationservice.spec.d.ts.map +1 -0
- package/lib/services/invitationservice.spec.js +73 -22
- package/lib/services/invitationservice.spec.js.map +1 -1
- package/lib/services/kubernetesconfiguration.d.ts +1 -0
- package/lib/services/kubernetesconfiguration.d.ts.map +1 -0
- package/lib/services/kubernetesconfiguration.js +0 -2
- package/lib/services/kubernetesconfiguration.js.map +1 -1
- package/lib/services/kubernetesconfiguration.spec.d.ts +1 -0
- package/lib/services/kubernetesconfiguration.spec.d.ts.map +1 -0
- package/lib/services/kubernetesconfiguration.spec.js +67 -8
- package/lib/services/kubernetesconfiguration.spec.js.map +1 -1
- package/lib/services/mailer.d.ts +1 -0
- package/lib/services/mailer.d.ts.map +1 -0
- package/lib/services/mailer.js +3 -3
- package/lib/services/mailer.js.map +1 -1
- package/lib/services/mailer.spec.d.ts +1 -0
- package/lib/services/mailer.spec.d.ts.map +1 -0
- package/lib/services/mailer.spec.js +18 -4
- package/lib/services/mailer.spec.js.map +1 -1
- package/lib/services/notificationservice.d.ts +1 -0
- package/lib/services/notificationservice.d.ts.map +1 -0
- package/lib/services/notificationservice.js +1 -1
- package/lib/services/notificationservice.js.map +1 -1
- package/lib/services/notificationservice.spec.d.ts +1 -0
- package/lib/services/notificationservice.spec.d.ts.map +1 -0
- package/lib/services/notificationservice.spec.js +8 -3
- package/lib/services/notificationservice.spec.js.map +1 -1
- package/lib/services/oauth.d.ts +6 -3
- package/lib/services/oauth.d.ts.map +1 -0
- package/lib/services/oauth.js +11 -8
- package/lib/services/oauth.js.map +1 -1
- package/lib/services/oauth.spec.d.ts +1 -0
- package/lib/services/oauth.spec.d.ts.map +1 -0
- package/lib/services/oauth.spec.js +39 -15
- package/lib/services/oauth.spec.js.map +1 -1
- package/lib/services/prometheus.d.ts +1 -0
- package/lib/services/prometheus.d.ts.map +1 -0
- package/lib/services/prometheus.spec.d.ts +1 -0
- package/lib/services/prometheus.spec.d.ts.map +1 -0
- package/lib/services/prometheus.spec.js +38 -19
- package/lib/services/prometheus.spec.js.map +1 -1
- package/lib/services/resource.d.ts +16 -1
- package/lib/services/resource.d.ts.map +1 -0
- package/lib/services/resource.js +17 -3
- package/lib/services/resource.js.map +1 -1
- package/lib/services/resource.spec.d.ts +1 -0
- package/lib/services/resource.spec.d.ts.map +1 -0
- package/lib/services/resource.spec.js +38 -20
- package/lib/services/resource.spec.js.map +1 -1
- package/lib/services/service.d.ts +2 -2
- package/lib/services/service.d.ts.map +1 -0
- package/lib/services/service.js +13 -23
- package/lib/services/service.js.map +1 -1
- package/lib/services/service.spec.d.ts +1 -0
- package/lib/services/service.spec.d.ts.map +1 -0
- package/lib/services/service.spec.js +58 -40
- package/lib/services/service.spec.js.map +1 -1
- package/lib/stores/aggregator.d.ts +10 -3
- package/lib/stores/aggregator.d.ts.map +1 -0
- package/lib/stores/aggregator.js +6 -6
- package/lib/stores/aggregator.js.map +1 -1
- package/lib/stores/file.d.ts +2 -1
- package/lib/stores/file.d.ts.map +1 -0
- package/lib/stores/file.js +13 -13
- package/lib/stores/file.js.map +1 -1
- package/lib/stores/file.spec.d.ts +5 -11
- package/lib/stores/file.spec.d.ts.map +1 -0
- package/lib/stores/file.spec.js +20 -114
- package/lib/stores/file.spec.js.map +1 -1
- package/lib/stores/mapper.d.ts +2 -1
- package/lib/stores/mapper.d.ts.map +1 -0
- package/lib/stores/mapper.js +12 -12
- package/lib/stores/mapper.js.map +1 -1
- package/lib/stores/mapper.spec.d.ts +1 -0
- package/lib/stores/mapper.spec.d.ts.map +1 -0
- package/lib/stores/mapper.spec.js +24 -17
- package/lib/stores/mapper.spec.js.map +1 -1
- package/lib/stores/memory.d.ts +1 -0
- package/lib/stores/memory.d.ts.map +1 -0
- package/lib/stores/memory.js +15 -15
- package/lib/stores/memory.js.map +1 -1
- package/lib/stores/memory.spec.d.ts +7 -13
- package/lib/stores/memory.spec.d.ts.map +1 -0
- package/lib/stores/memory.spec.js +117 -182
- package/lib/stores/memory.spec.js.map +1 -1
- package/lib/stores/modelmapper.d.ts +1 -0
- package/lib/stores/modelmapper.d.ts.map +1 -0
- package/lib/stores/modelmapper.js +8 -10
- package/lib/stores/modelmapper.js.map +1 -1
- package/lib/stores/store.d.ts +3 -144
- package/lib/stores/store.d.ts.map +1 -0
- package/lib/stores/store.js +53 -653
- package/lib/stores/store.js.map +1 -1
- package/lib/stores/store.spec.d.ts +11 -19
- package/lib/stores/store.spec.d.ts.map +1 -0
- package/lib/stores/store.spec.js +89 -258
- package/lib/stores/store.spec.js.map +1 -1
- package/lib/test.d.ts +109 -6
- package/lib/test.d.ts.map +1 -0
- package/lib/test.js +245 -22
- package/lib/test.js.map +1 -1
- package/lib/unpackedapplication.d.ts +10 -2
- package/lib/unpackedapplication.d.ts.map +1 -0
- package/lib/unpackedapplication.js +81 -30
- package/lib/unpackedapplication.js.map +1 -1
- package/lib/utils/abstractdeployer.d.ts +1 -0
- package/lib/utils/abstractdeployer.d.ts.map +1 -0
- package/lib/utils/abstractdeployer.spec.d.ts +1 -0
- package/lib/utils/abstractdeployer.spec.d.ts.map +1 -0
- package/lib/utils/case.d.ts +1 -0
- package/lib/utils/case.d.ts.map +1 -0
- package/lib/utils/case.spec.d.ts +1 -0
- package/lib/utils/case.spec.d.ts.map +1 -0
- package/lib/utils/context.d.ts +37 -17
- package/lib/utils/context.d.ts.map +1 -0
- package/lib/utils/context.js +48 -41
- package/lib/utils/context.js.map +1 -1
- package/lib/utils/context.spec.d.ts +1 -0
- package/lib/utils/context.spec.d.ts.map +1 -0
- package/lib/utils/context.spec.js +25 -14
- package/lib/utils/context.spec.js.map +1 -1
- package/lib/utils/cookie.d.ts +3 -2
- package/lib/utils/cookie.d.ts.map +1 -0
- package/lib/utils/cookie.js +2 -2
- package/lib/utils/cookie.js.map +1 -1
- package/lib/utils/cookie.spec.d.ts +1 -0
- package/lib/utils/cookie.spec.d.ts.map +1 -0
- package/lib/utils/cookie.spec.js +20 -10
- package/lib/utils/cookie.spec.js.map +1 -1
- package/lib/utils/esm.d.ts +1 -0
- package/lib/utils/esm.d.ts.map +1 -0
- package/lib/utils/httpcontext.d.ts +1 -0
- package/lib/utils/httpcontext.d.ts.map +1 -0
- package/lib/utils/httpcontext.js +7 -7
- package/lib/utils/httpcontext.js.map +1 -1
- package/lib/utils/httpcontext.spec.d.ts +1 -0
- package/lib/utils/httpcontext.spec.d.ts.map +1 -0
- package/lib/utils/httpcontext.spec.js +7 -7
- package/lib/utils/httpcontext.spec.js.map +1 -1
- package/lib/utils/logger.d.ts +1 -0
- package/lib/utils/logger.d.ts.map +1 -0
- package/lib/utils/logger.spec.d.ts +1 -0
- package/lib/utils/logger.spec.d.ts.map +1 -0
- package/lib/utils/logger.spec.js +5 -5
- package/lib/utils/logger.spec.js.map +1 -1
- package/lib/utils/serializers.d.ts +1 -0
- package/lib/utils/serializers.d.ts.map +1 -0
- package/lib/utils/serializers.js +8 -8
- package/lib/utils/serializers.js.map +1 -1
- package/lib/utils/serializers.spec.d.ts +1 -0
- package/lib/utils/serializers.spec.d.ts.map +1 -0
- package/lib/utils/serializers.spec.js +6 -8
- package/lib/utils/serializers.spec.js.map +1 -1
- package/lib/utils/session.d.ts +2 -5
- package/lib/utils/session.d.ts.map +1 -0
- package/lib/utils/session.js +1 -11
- package/lib/utils/session.js.map +1 -1
- package/lib/utils/session.spec.d.ts +1 -0
- package/lib/utils/session.spec.d.ts.map +1 -0
- package/lib/utils/session.spec.js +22 -12
- package/lib/utils/session.spec.js.map +1 -1
- package/lib/utils/throttler.d.ts +1 -4
- package/lib/utils/throttler.d.ts.map +1 -0
- package/lib/utils/throttler.js +1 -9
- package/lib/utils/throttler.js.map +1 -1
- package/lib/utils/throttler.spec.d.ts +1 -0
- package/lib/utils/throttler.spec.d.ts.map +1 -0
- package/lib/utils/throttler.spec.js +4 -6
- package/lib/utils/throttler.spec.js.map +1 -1
- package/lib/utils/waiter.d.ts +1 -0
- package/lib/utils/waiter.d.ts.map +1 -0
- package/lib/utils/waiter.js +2 -2
- package/lib/utils/waiter.js.map +1 -1
- package/lib/utils/waiter.spec.d.ts +1 -0
- package/lib/utils/waiter.spec.d.ts.map +1 -0
- package/lib/utils/waiter.spec.js +6 -6
- package/lib/utils/waiter.spec.js.map +1 -1
- package/package.json +20 -16
- package/test/config.json +6 -90
- package/test/data/.env +1 -0
- package/webda.module.json +658 -408
- package/lib/router.js.map +0 -1
- package/lib/router.spec.d.ts +0 -1
- package/lib/router.spec.js.map +0 -1
- package/lib/stores/aliasstore.d.ts +0 -108
- package/lib/stores/aliasstore.js +0 -168
- package/lib/stores/aliasstore.js.map +0 -1
- package/lib/stores/aliasstore.spec.d.ts +0 -11
- package/lib/stores/aliasstore.spec.js +0 -89
- package/lib/stores/aliasstore.spec.js.map +0 -1
- package/test/config-file-missing-file-no-default.json +0 -44
- package/test/config-file-missing-file.json +0 -55
- package/test/config-file-no-reload.json +0 -69
- package/test/config-file-reload.json +0 -68
- package/test/config-invitation.json +0 -63
- package/test/config-kube-reload.json +0 -68
- package/test/config-reload.json +0 -66
- package/test/config.old.json +0 -152
- package/test/moddas/annotatedservice.js +0 -23
- package/test/moddas/debugmailer.js +0 -13
- package/test/moddas/fakeservice.js +0 -4
- package/test/moddas/voidstore.js +0 -66
- package/test/models/ident.js +0 -36
- package/test/models/task.js +0 -42
package/webda.module.json
CHANGED
|
@@ -2,34 +2,33 @@
|
|
|
2
2
|
"beans": {},
|
|
3
3
|
"deployers": {},
|
|
4
4
|
"moddas": {
|
|
5
|
-
"Webda/Aggregator": "lib/stores/aggregator:
|
|
6
|
-
"Webda/AliasStore": "lib/stores/aliasstore:AliasStore",
|
|
5
|
+
"Webda/Aggregator": "lib/stores/aggregator:AggregatorService",
|
|
7
6
|
"Webda/AsyncEvents": "lib/services/asyncevents:EventService",
|
|
8
7
|
"Webda/Authentication": "lib/services/authentication:Authentication",
|
|
9
8
|
"Webda/Binary": "lib/services/binary:BinaryService",
|
|
10
|
-
"Webda/ConfigurationService": "lib/services/configuration:
|
|
9
|
+
"Webda/ConfigurationService": "lib/services/configuration:ConfigurationService",
|
|
11
10
|
"Webda/ConsoleLogger": "lib/utils/logger:ConsoleLoggerService",
|
|
12
11
|
"Webda/CookieSessionManager": "lib/utils/session:CookieSessionManager",
|
|
13
12
|
"Webda/CronService": "lib/services/cron:CronService",
|
|
14
|
-
"Webda/CryptoService": "lib/services/cryptoservice:
|
|
15
|
-
"Webda/DebugMailer": "lib/services/debugmailer:
|
|
13
|
+
"Webda/CryptoService": "lib/services/cryptoservice:CryptoService",
|
|
14
|
+
"Webda/DebugMailer": "lib/services/debugmailer:DebugMailer",
|
|
16
15
|
"Webda/FileBinary": "lib/services/filebinary:FileBinary",
|
|
17
16
|
"Webda/FileConfiguration": "lib/services/fileconfiguration:FileConfigurationService",
|
|
18
17
|
"Webda/FileLogger": "lib/utils/logger:FileLoggerService",
|
|
19
18
|
"Webda/FileQueue": "lib/queues/filequeue:FileQueue",
|
|
20
19
|
"Webda/FileStore": "lib/stores/file:FileStore",
|
|
21
|
-
"Webda/InvitationService": "lib/services/invitationservice:
|
|
20
|
+
"Webda/InvitationService": "lib/services/invitationservice:InvitationService",
|
|
22
21
|
"Webda/KubernetesConfigurationService": "lib/services/kubernetesconfiguration:KubernetesConfigurationService",
|
|
23
22
|
"Webda/Mailer": "lib/services/mailer:Mailer",
|
|
24
|
-
"Webda/Mapper": "lib/stores/mapper:
|
|
23
|
+
"Webda/Mapper": "lib/stores/mapper:MapperService",
|
|
25
24
|
"Webda/MemoryLogger": "lib/utils/logger:MemoryLoggerService",
|
|
26
25
|
"Webda/MemoryQueue": "lib/queues/memoryqueue:MemoryQueue",
|
|
27
26
|
"Webda/MemoryStore": "lib/stores/memory:MemoryStore",
|
|
28
27
|
"Webda/ModelsOperationsService": "lib/services/domainservice:ModelsOperationsService",
|
|
29
28
|
"Webda/MultiNotificationService": "lib/services/notificationservice:default",
|
|
30
29
|
"Webda/PrometheusService": "lib/services/prometheus:PrometheusService",
|
|
31
|
-
"Webda/RESTDomainService": "lib/
|
|
32
|
-
"Webda/ResourceService": "lib/services/resource:
|
|
30
|
+
"Webda/RESTDomainService": "lib/rest/restdomainservice:RESTDomainService",
|
|
31
|
+
"Webda/ResourceService": "lib/services/resource:ResourceService"
|
|
33
32
|
},
|
|
34
33
|
"models": {
|
|
35
34
|
"graph": {
|
|
@@ -44,6 +43,16 @@
|
|
|
44
43
|
}
|
|
45
44
|
]
|
|
46
45
|
},
|
|
46
|
+
"Webda/MyIdent": {
|
|
47
|
+
"links": [
|
|
48
|
+
{
|
|
49
|
+
"attribute": "_user",
|
|
50
|
+
"model": "Webda/MySimpleUser",
|
|
51
|
+
"type": "LINK"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"Webda/MySimpleUser": {},
|
|
47
56
|
"Webda/OwnerModel": {
|
|
48
57
|
"links": [
|
|
49
58
|
{
|
|
@@ -69,6 +78,24 @@
|
|
|
69
78
|
}
|
|
70
79
|
]
|
|
71
80
|
},
|
|
81
|
+
"Webda/Task": {
|
|
82
|
+
"links": [
|
|
83
|
+
{
|
|
84
|
+
"attribute": "_user",
|
|
85
|
+
"model": "Webda/User",
|
|
86
|
+
"type": "LINK"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"Webda/TestIdent": {
|
|
91
|
+
"links": [
|
|
92
|
+
{
|
|
93
|
+
"attribute": "_user",
|
|
94
|
+
"model": "Webda/User",
|
|
95
|
+
"type": "LINK"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
72
99
|
"Webda/User": {},
|
|
73
100
|
"Webda/UuidModel": {}
|
|
74
101
|
},
|
|
@@ -76,22 +103,32 @@
|
|
|
76
103
|
"Webda/AclModel": {},
|
|
77
104
|
"Webda/RoleModel": {},
|
|
78
105
|
"Webda/User": {
|
|
79
|
-
"Webda/SimpleUser": {
|
|
106
|
+
"Webda/SimpleUser": {
|
|
107
|
+
"Webda/MySimpleUser": {}
|
|
108
|
+
}
|
|
80
109
|
},
|
|
81
110
|
"Webda/UuidModel": {
|
|
82
111
|
"Webda/OwnerModel": {
|
|
83
|
-
"Webda/Ident": {
|
|
112
|
+
"Webda/Ident": {
|
|
113
|
+
"Webda/TestIdent": {},
|
|
114
|
+
"Webda/MyIdent": {}
|
|
115
|
+
},
|
|
116
|
+
"Webda/Task": {}
|
|
84
117
|
}
|
|
85
118
|
}
|
|
86
119
|
},
|
|
87
120
|
"plurals": {},
|
|
88
121
|
"list": {
|
|
89
|
-
"Webda/AclModel": "lib/models/aclmodel:
|
|
122
|
+
"Webda/AclModel": "lib/models/aclmodel:AclModel",
|
|
90
123
|
"Webda/CoreModel": "lib/models/coremodel:CoreModel",
|
|
91
124
|
"Webda/Ident": "lib/models/ident:Ident",
|
|
125
|
+
"Webda/MyIdent": "lib/models/test:MyIdent",
|
|
126
|
+
"Webda/MySimpleUser": "lib/models/test:MySimpleUser",
|
|
92
127
|
"Webda/OwnerModel": "lib/models/ownermodel:OwnerModel",
|
|
93
128
|
"Webda/RoleModel": "lib/models/rolemodel:RoleModel",
|
|
94
|
-
"Webda/SimpleUser": "lib/models/
|
|
129
|
+
"Webda/SimpleUser": "lib/models/simpleuser:SimpleUser",
|
|
130
|
+
"Webda/Task": "lib/test:Task",
|
|
131
|
+
"Webda/TestIdent": "lib/test:TestIdent",
|
|
95
132
|
"Webda/User": "lib/models/user:User",
|
|
96
133
|
"Webda/UuidModel": "lib/models/coremodel:UuidModel"
|
|
97
134
|
},
|
|
@@ -124,7 +161,7 @@
|
|
|
124
161
|
"Webda/Ident": {
|
|
125
162
|
"_type": "string",
|
|
126
163
|
"uid": "string",
|
|
127
|
-
"__profile": "
|
|
164
|
+
"__profile": "any",
|
|
128
165
|
"__tokens": "IdentTokens",
|
|
129
166
|
"_lastUsed": "Date",
|
|
130
167
|
"_user": "ModelLink<User>",
|
|
@@ -146,6 +183,52 @@
|
|
|
146
183
|
"_lastUpdate": "Date",
|
|
147
184
|
"__deleted": "boolean"
|
|
148
185
|
},
|
|
186
|
+
"Webda/MyIdent": {
|
|
187
|
+
"toto": "string",
|
|
188
|
+
"_user": "ModelLink<MySimpleUser>",
|
|
189
|
+
"_type": "string",
|
|
190
|
+
"uid": "string",
|
|
191
|
+
"__profile": "any",
|
|
192
|
+
"__tokens": "IdentTokens",
|
|
193
|
+
"_lastUsed": "Date",
|
|
194
|
+
"__new": "boolean",
|
|
195
|
+
"_failedLogin": "number",
|
|
196
|
+
"_lastValidationEmail": "number",
|
|
197
|
+
"_validation": "Date",
|
|
198
|
+
"email": "string",
|
|
199
|
+
"provider": "string",
|
|
200
|
+
"public": "boolean",
|
|
201
|
+
"uuid": "string",
|
|
202
|
+
"__class": "CoreModelDefinition<this>",
|
|
203
|
+
"__type": "string",
|
|
204
|
+
"__types": "string[]",
|
|
205
|
+
"__ctx": "OperationContext",
|
|
206
|
+
"__store": "Store<this>",
|
|
207
|
+
"__dirty": "Set<string | symbol>",
|
|
208
|
+
"_creationDate": "Date",
|
|
209
|
+
"_lastUpdate": "Date",
|
|
210
|
+
"__deleted": "boolean"
|
|
211
|
+
},
|
|
212
|
+
"Webda/MySimpleUser": {
|
|
213
|
+
"_idents": "ModelMapLoader<MyIdent, \"_type\" | \"uuid\" | \"email\">[]",
|
|
214
|
+
"_groups": "string[]",
|
|
215
|
+
"_roles": "string[]",
|
|
216
|
+
"__password": "string",
|
|
217
|
+
"displayName": "string",
|
|
218
|
+
"_lastPasswordRecovery": "number",
|
|
219
|
+
"_avatar": "string",
|
|
220
|
+
"locale": "string",
|
|
221
|
+
"email": "string",
|
|
222
|
+
"__class": "CoreModelDefinition<this>",
|
|
223
|
+
"__type": "string",
|
|
224
|
+
"__types": "string[]",
|
|
225
|
+
"__ctx": "OperationContext",
|
|
226
|
+
"__store": "Store<this>",
|
|
227
|
+
"__dirty": "Set<string | symbol>",
|
|
228
|
+
"_creationDate": "Date",
|
|
229
|
+
"_lastUpdate": "Date",
|
|
230
|
+
"__deleted": "boolean"
|
|
231
|
+
},
|
|
149
232
|
"Webda/OwnerModel": {
|
|
150
233
|
"_user": "ModelLink<User>",
|
|
151
234
|
"public": "boolean",
|
|
@@ -191,6 +274,53 @@
|
|
|
191
274
|
"_lastUpdate": "Date",
|
|
192
275
|
"__deleted": "boolean"
|
|
193
276
|
},
|
|
277
|
+
"Webda/Task": {
|
|
278
|
+
"_autoListener": "number",
|
|
279
|
+
"plop": "any",
|
|
280
|
+
"plop2": "any",
|
|
281
|
+
"card": "any",
|
|
282
|
+
"test": "any",
|
|
283
|
+
"bouzouf": "any",
|
|
284
|
+
"side": "string",
|
|
285
|
+
"_gotContext": "boolean",
|
|
286
|
+
"_user": "ModelLink<User>",
|
|
287
|
+
"public": "boolean",
|
|
288
|
+
"uuid": "string",
|
|
289
|
+
"__class": "CoreModelDefinition<this>",
|
|
290
|
+
"__type": "string",
|
|
291
|
+
"__types": "string[]",
|
|
292
|
+
"__ctx": "OperationContext",
|
|
293
|
+
"__store": "Store<this>",
|
|
294
|
+
"__dirty": "Set<string | symbol>",
|
|
295
|
+
"_creationDate": "Date",
|
|
296
|
+
"_lastUpdate": "Date",
|
|
297
|
+
"__deleted": "boolean"
|
|
298
|
+
},
|
|
299
|
+
"Webda/TestIdent": {
|
|
300
|
+
"_type": "string",
|
|
301
|
+
"uid": "string",
|
|
302
|
+
"__profile": "any",
|
|
303
|
+
"__tokens": "IdentTokens",
|
|
304
|
+
"_lastUsed": "Date",
|
|
305
|
+
"_user": "ModelLink<User>",
|
|
306
|
+
"__new": "boolean",
|
|
307
|
+
"_failedLogin": "number",
|
|
308
|
+
"_lastValidationEmail": "number",
|
|
309
|
+
"_validation": "Date",
|
|
310
|
+
"email": "string",
|
|
311
|
+
"provider": "string",
|
|
312
|
+
"public": "boolean",
|
|
313
|
+
"uuid": "string",
|
|
314
|
+
"__class": "CoreModelDefinition<this>",
|
|
315
|
+
"__type": "string",
|
|
316
|
+
"__types": "string[]",
|
|
317
|
+
"__ctx": "OperationContext",
|
|
318
|
+
"__store": "Store<this>",
|
|
319
|
+
"__dirty": "Set<string | symbol>",
|
|
320
|
+
"_creationDate": "Date",
|
|
321
|
+
"_lastUpdate": "Date",
|
|
322
|
+
"__deleted": "boolean"
|
|
323
|
+
},
|
|
194
324
|
"Webda/User": {
|
|
195
325
|
"__password": "string",
|
|
196
326
|
"displayName": "string",
|
|
@@ -272,7 +402,8 @@
|
|
|
272
402
|
},
|
|
273
403
|
"target": {
|
|
274
404
|
"type": "string",
|
|
275
|
-
"description": "
|
|
405
|
+
"description": "Store an aggregate of the fields",
|
|
406
|
+
"default": "Registry"
|
|
276
407
|
},
|
|
277
408
|
"async": {
|
|
278
409
|
"type": "boolean",
|
|
@@ -292,8 +423,7 @@
|
|
|
292
423
|
"description": "Delete source if target object is deleted"
|
|
293
424
|
},
|
|
294
425
|
"key": {
|
|
295
|
-
"type": "string"
|
|
296
|
-
"default": "index"
|
|
426
|
+
"type": "string"
|
|
297
427
|
},
|
|
298
428
|
"openapi": {
|
|
299
429
|
"type": "object",
|
|
@@ -314,142 +444,6 @@
|
|
|
314
444
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
315
445
|
"title": "AggregatorService"
|
|
316
446
|
},
|
|
317
|
-
"Webda/AliasStore": {
|
|
318
|
-
"type": "object",
|
|
319
|
-
"properties": {
|
|
320
|
-
"type": {
|
|
321
|
-
"type": "string",
|
|
322
|
-
"description": "Type of the service"
|
|
323
|
-
},
|
|
324
|
-
"url": {
|
|
325
|
-
"type": "string",
|
|
326
|
-
"description": "URL on which to serve the content"
|
|
327
|
-
},
|
|
328
|
-
"model": {
|
|
329
|
-
"type": "string",
|
|
330
|
-
"description": "Webda model to use within the Store",
|
|
331
|
-
"default": "Webda/CoreModel"
|
|
332
|
-
},
|
|
333
|
-
"additionalModels": {
|
|
334
|
-
"type": "array",
|
|
335
|
-
"items": {
|
|
336
|
-
"type": "string"
|
|
337
|
-
},
|
|
338
|
-
"description": "Additional models\n\nAllow this store to manage other models",
|
|
339
|
-
"default": []
|
|
340
|
-
},
|
|
341
|
-
"asyncDelete": {
|
|
342
|
-
"type": "boolean",
|
|
343
|
-
"description": "async delete"
|
|
344
|
-
},
|
|
345
|
-
"expose": {
|
|
346
|
-
"$ref": "#/definitions/StoreExposeParameters",
|
|
347
|
-
"description": "Expose the service to an urls",
|
|
348
|
-
"deprecated": "will probably be removed in 4.0 in favor of Expose annotation"
|
|
349
|
-
},
|
|
350
|
-
"strict": {
|
|
351
|
-
"type": "boolean",
|
|
352
|
-
"description": "Allow to load object that does not have the type data\n\nIf set to true, then the Store will only managed the defined _model and no model extending this one",
|
|
353
|
-
"default": false
|
|
354
|
-
},
|
|
355
|
-
"defaultModel": {
|
|
356
|
-
"type": "boolean",
|
|
357
|
-
"description": "When __type model not found, use the model If strict is setup this parameter is not used",
|
|
358
|
-
"default": true
|
|
359
|
-
},
|
|
360
|
-
"forceModel": {
|
|
361
|
-
"type": "boolean",
|
|
362
|
-
"description": "If set, Store will ignore the __type",
|
|
363
|
-
"default": false
|
|
364
|
-
},
|
|
365
|
-
"slowQueryThreshold": {
|
|
366
|
-
"type": "number",
|
|
367
|
-
"description": "Slow query threshold",
|
|
368
|
-
"default": 30000
|
|
369
|
-
},
|
|
370
|
-
"modelAliases": {
|
|
371
|
-
"type": "object",
|
|
372
|
-
"additionalProperties": {
|
|
373
|
-
"type": "string"
|
|
374
|
-
},
|
|
375
|
-
"description": "Model Aliases to allow easier rename of Model"
|
|
376
|
-
},
|
|
377
|
-
"noCache": {
|
|
378
|
-
"type": "boolean",
|
|
379
|
-
"description": "Disable default memory cache"
|
|
380
|
-
},
|
|
381
|
-
"targetStore": {
|
|
382
|
-
"type": "string",
|
|
383
|
-
"description": "Store to alias"
|
|
384
|
-
},
|
|
385
|
-
"idTemplate": {
|
|
386
|
-
"type": "string",
|
|
387
|
-
"description": "Store to alias"
|
|
388
|
-
},
|
|
389
|
-
"openapi": {
|
|
390
|
-
"type": "object",
|
|
391
|
-
"additionalProperties": true
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
"required": [
|
|
395
|
-
"asyncDelete",
|
|
396
|
-
"idTemplate",
|
|
397
|
-
"slowQueryThreshold",
|
|
398
|
-
"targetStore",
|
|
399
|
-
"type"
|
|
400
|
-
],
|
|
401
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
402
|
-
"definitions": {
|
|
403
|
-
"StoreExposeParameters": {
|
|
404
|
-
"type": "object",
|
|
405
|
-
"properties": {
|
|
406
|
-
"url": {
|
|
407
|
-
"type": "string",
|
|
408
|
-
"description": "URL endpoint to use to expose REST Resources API",
|
|
409
|
-
"default": "service.getName().toLowerCase()"
|
|
410
|
-
},
|
|
411
|
-
"restrict": {
|
|
412
|
-
"type": "object",
|
|
413
|
-
"properties": {
|
|
414
|
-
"create": {
|
|
415
|
-
"type": "boolean",
|
|
416
|
-
"description": "Do not expose the POST"
|
|
417
|
-
},
|
|
418
|
-
"update": {
|
|
419
|
-
"type": "boolean",
|
|
420
|
-
"description": "Do not expose the PUT and PATCH"
|
|
421
|
-
},
|
|
422
|
-
"get": {
|
|
423
|
-
"type": "boolean",
|
|
424
|
-
"description": "Do not expose the GET"
|
|
425
|
-
},
|
|
426
|
-
"delete": {
|
|
427
|
-
"type": "boolean",
|
|
428
|
-
"description": "Do not expose the DELETE"
|
|
429
|
-
},
|
|
430
|
-
"query": {
|
|
431
|
-
"type": "boolean",
|
|
432
|
-
"description": "Do not expose the query endpoint"
|
|
433
|
-
}
|
|
434
|
-
},
|
|
435
|
-
"description": "You can restrict any part of the CRUD",
|
|
436
|
-
"default": {}
|
|
437
|
-
},
|
|
438
|
-
"queryMethod": {
|
|
439
|
-
"type": "string",
|
|
440
|
-
"enum": [
|
|
441
|
-
"PUT",
|
|
442
|
-
"GET"
|
|
443
|
-
],
|
|
444
|
-
"description": "For confidentiality sometimes you might prefer to expose query through PUT To avoid GET logging",
|
|
445
|
-
"default": "GET"
|
|
446
|
-
}
|
|
447
|
-
},
|
|
448
|
-
"deprecated": "Store should not be exposed directly anymore\nYou should use the DomainService instead"
|
|
449
|
-
}
|
|
450
|
-
},
|
|
451
|
-
"title": "AliasStore"
|
|
452
|
-
},
|
|
453
447
|
"Webda/AsyncEvents": {
|
|
454
448
|
"type": "object",
|
|
455
449
|
"properties": {
|
|
@@ -596,17 +590,6 @@
|
|
|
596
590
|
"type": "string",
|
|
597
591
|
"description": "URL on which to serve the content"
|
|
598
592
|
},
|
|
599
|
-
"map": {
|
|
600
|
-
"type": "object",
|
|
601
|
-
"additionalProperties": {
|
|
602
|
-
"type": "array",
|
|
603
|
-
"items": {
|
|
604
|
-
"type": "string"
|
|
605
|
-
}
|
|
606
|
-
},
|
|
607
|
-
"description": "Define the map to Object collection\n\nkey is a Store name the string[] represent all valids attributes to store files in",
|
|
608
|
-
"deprecated": true
|
|
609
|
-
},
|
|
610
593
|
"models": {
|
|
611
594
|
"type": "object",
|
|
612
595
|
"additionalProperties": {
|
|
@@ -617,41 +600,10 @@
|
|
|
617
600
|
},
|
|
618
601
|
"description": "Define the map of models\n* indicates all models\n\nkey is a Store name the string[] represent all valids attributes to store files in * indicates all attributes"
|
|
619
602
|
},
|
|
620
|
-
"
|
|
621
|
-
"type": "
|
|
622
|
-
"
|
|
623
|
-
|
|
624
|
-
"type": "string",
|
|
625
|
-
"description": "URL to expose the service to"
|
|
626
|
-
},
|
|
627
|
-
"restrict": {
|
|
628
|
-
"type": "object",
|
|
629
|
-
"properties": {
|
|
630
|
-
"get": {
|
|
631
|
-
"type": "boolean",
|
|
632
|
-
"description": "Restrict GET"
|
|
633
|
-
},
|
|
634
|
-
"create": {
|
|
635
|
-
"type": "boolean",
|
|
636
|
-
"description": "Restrict POST"
|
|
637
|
-
},
|
|
638
|
-
"delete": {
|
|
639
|
-
"type": "boolean",
|
|
640
|
-
"description": "Restrict DELETE"
|
|
641
|
-
},
|
|
642
|
-
"metadata": {
|
|
643
|
-
"type": "boolean",
|
|
644
|
-
"description": "Restrict update of metadata"
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
"description": "Restrict some APIs"
|
|
648
|
-
}
|
|
649
|
-
},
|
|
650
|
-
"required": [
|
|
651
|
-
"url"
|
|
652
|
-
],
|
|
653
|
-
"description": "Expose the service to http",
|
|
654
|
-
"deprecated": "will be removed in 4.0"
|
|
603
|
+
"maxFileSize": {
|
|
604
|
+
"type": "number",
|
|
605
|
+
"description": "Define the maximum filesize to accept as direct upload",
|
|
606
|
+
"default": "10*1024*1024"
|
|
655
607
|
},
|
|
656
608
|
"openapi": {
|
|
657
609
|
"type": "object",
|
|
@@ -659,7 +611,6 @@
|
|
|
659
611
|
}
|
|
660
612
|
},
|
|
661
613
|
"required": [
|
|
662
|
-
"map",
|
|
663
614
|
"models",
|
|
664
615
|
"type"
|
|
665
616
|
],
|
|
@@ -893,56 +844,81 @@
|
|
|
893
844
|
"cookie": {
|
|
894
845
|
"type": "object",
|
|
895
846
|
"properties": {
|
|
896
|
-
"
|
|
897
|
-
"
|
|
898
|
-
"
|
|
899
|
-
"none",
|
|
900
|
-
"strict",
|
|
901
|
-
"lax"
|
|
902
|
-
],
|
|
903
|
-
"default": "lax"
|
|
904
|
-
},
|
|
905
|
-
"domain": {
|
|
906
|
-
"type": "boolean",
|
|
907
|
-
"enum": [
|
|
908
|
-
true
|
|
909
|
-
],
|
|
910
|
-
"description": "if true domain will be set to the request hostname if undefined no domain will be output (browser will use the current domain and only this one) if a string is provided it will be used as the domain\n\nWhen provided a domain is setting the cookie to be available to all subdomains"
|
|
847
|
+
"encode": {
|
|
848
|
+
"description": "Specifies a function that will be used to encode a [cookie-value](https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1). Since value of a cookie has a limited character set (and must be a simple string), this function can be used to encode a value into a string suited for a cookie's value, and should mirror `decode` when parsing.",
|
|
849
|
+
"default": "encodeURIComponent"
|
|
911
850
|
},
|
|
912
851
|
"maxAge": {
|
|
913
852
|
"type": "number",
|
|
853
|
+
"description": "Specifies the `number` (in seconds) to be the value for the [`Max-Age` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.2).\n\nThe [cookie storage model specification](https://tools.ietf.org/html/rfc6265#section-5.3) states that if both `expires` and `maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this, so if both are set, they should point to the same date and time.",
|
|
914
854
|
"minimum": 1,
|
|
915
855
|
"default": "86400 * 7"
|
|
916
856
|
},
|
|
857
|
+
"expires": {
|
|
858
|
+
"type": "string",
|
|
859
|
+
"description": "Specifies the `Date` object to be the value for the [`Expires` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.1). When no expiration is set clients consider this a \"non-persistent cookie\" and delete it the current session is over.\n\nThe [cookie storage model specification](https://tools.ietf.org/html/rfc6265#section-5.3) states that if both `expires` and `maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this, so if both are set, they should point to the same date and time."
|
|
860
|
+
},
|
|
917
861
|
"path": {
|
|
918
862
|
"type": "string",
|
|
863
|
+
"description": "Specifies the value for the [`Path` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.4). When no path is set, the path is considered the [\"default path\"](https://tools.ietf.org/html/rfc6265#section-5.1.4).",
|
|
919
864
|
"default": "/"
|
|
920
865
|
},
|
|
921
866
|
"httpOnly": {
|
|
922
867
|
"type": "boolean",
|
|
868
|
+
"description": "Enables the [`HttpOnly` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.6). When enabled, clients will not allow client-side JavaScript to see the cookie in `document.cookie`.",
|
|
923
869
|
"default": true
|
|
924
870
|
},
|
|
925
871
|
"secure": {
|
|
926
872
|
"type": "boolean",
|
|
927
873
|
"description": "If not set will be true if https request and false otherwise If defined it will be set to the value"
|
|
928
874
|
},
|
|
929
|
-
"
|
|
875
|
+
"partitioned": {
|
|
876
|
+
"type": "boolean",
|
|
877
|
+
"description": "Enables the [`Partitioned` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-cutler-httpbis-partitioned-cookies/). When enabled, clients will only send the cookie back when the current domain _and_ top-level domain matches.\n\nThis is an attribute that has not yet been fully standardized, and may change in the future. This also means clients may ignore this attribute until they understand it. More information about can be found in [the proposal](https://github.com/privacycg/CHIPS)."
|
|
878
|
+
},
|
|
879
|
+
"priority": {
|
|
930
880
|
"type": "string",
|
|
931
|
-
"
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
881
|
+
"enum": [
|
|
882
|
+
"low",
|
|
883
|
+
"medium",
|
|
884
|
+
"high"
|
|
885
|
+
],
|
|
886
|
+
"description": "Specifies the value for the [`Priority` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-west-cookie-priority-00#section-4.1).\n\n- `'low'` will set the `Priority` attribute to `Low`.\n- `'medium'` will set the `Priority` attribute to `Medium`, the default priority when not set.\n- `'high'` will set the `Priority` attribute to `High`.\n\nMore information about priority levels can be found in [the specification](https://tools.ietf.org/html/draft-west-cookie-priority-00#section-4.1)."
|
|
887
|
+
},
|
|
888
|
+
"sameSite": {
|
|
889
|
+
"type": "string",
|
|
890
|
+
"enum": [
|
|
891
|
+
"none",
|
|
892
|
+
"strict",
|
|
893
|
+
"lax"
|
|
894
|
+
],
|
|
895
|
+
"description": "Specifies the value for the [`SameSite` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-09#section-5.4.7).\n\n- `true` will set the `SameSite` attribute to `Strict` for strict same site enforcement.\n- `'lax'` will set the `SameSite` attribute to `Lax` for lax same site enforcement.\n- `'none'` will set the `SameSite` attribute to `None` for an explicit cross-site cookie.\n- `'strict'` will set the `SameSite` attribute to `Strict` for strict same site enforcement.\n\nMore information about enforcement levels can be found in [the specification](https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-09#section-5.4.7).",
|
|
896
|
+
"default": "lax"
|
|
897
|
+
},
|
|
898
|
+
"domain": {
|
|
899
|
+
"type": "boolean",
|
|
900
|
+
"enum": [
|
|
901
|
+
true
|
|
902
|
+
],
|
|
903
|
+
"description": "if true domain will be set to the request hostname if undefined no domain will be output (browser will use the current domain and only this one) if a string is provided it will be used as the domain\n\nWhen provided a domain is setting the cookie to be available to all subdomains"
|
|
904
|
+
},
|
|
905
|
+
"name": {
|
|
906
|
+
"type": "string",
|
|
907
|
+
"description": "Name of the cookie"
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
"description": "Cookie configuration for session"
|
|
911
|
+
},
|
|
912
|
+
"openapi": {
|
|
913
|
+
"type": "object",
|
|
914
|
+
"additionalProperties": true
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
"required": [
|
|
918
|
+
"type"
|
|
919
|
+
],
|
|
920
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
921
|
+
"definitions": {
|
|
946
922
|
"ArrayBufferLike": {
|
|
947
923
|
"anyOf": [
|
|
948
924
|
{
|
|
@@ -1003,7 +979,7 @@
|
|
|
1003
979
|
],
|
|
1004
980
|
"description": "Interface to specify the Service parameters",
|
|
1005
981
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1006
|
-
"title": "
|
|
982
|
+
"title": "CronService"
|
|
1007
983
|
},
|
|
1008
984
|
"Webda/CryptoService": {
|
|
1009
985
|
"type": "object",
|
|
@@ -1271,17 +1247,6 @@
|
|
|
1271
1247
|
"type": "string",
|
|
1272
1248
|
"description": "URL on which to serve the content"
|
|
1273
1249
|
},
|
|
1274
|
-
"map": {
|
|
1275
|
-
"type": "object",
|
|
1276
|
-
"additionalProperties": {
|
|
1277
|
-
"type": "array",
|
|
1278
|
-
"items": {
|
|
1279
|
-
"type": "string"
|
|
1280
|
-
}
|
|
1281
|
-
},
|
|
1282
|
-
"description": "Define the map to Object collection\n\nkey is a Store name the string[] represent all valids attributes to store files in",
|
|
1283
|
-
"deprecated": true
|
|
1284
|
-
},
|
|
1285
1250
|
"models": {
|
|
1286
1251
|
"type": "object",
|
|
1287
1252
|
"additionalProperties": {
|
|
@@ -1292,41 +1257,10 @@
|
|
|
1292
1257
|
},
|
|
1293
1258
|
"description": "Define the map of models\n* indicates all models\n\nkey is a Store name the string[] represent all valids attributes to store files in * indicates all attributes"
|
|
1294
1259
|
},
|
|
1295
|
-
"
|
|
1296
|
-
"type": "
|
|
1297
|
-
"
|
|
1298
|
-
|
|
1299
|
-
"type": "string",
|
|
1300
|
-
"description": "URL to expose the service to"
|
|
1301
|
-
},
|
|
1302
|
-
"restrict": {
|
|
1303
|
-
"type": "object",
|
|
1304
|
-
"properties": {
|
|
1305
|
-
"get": {
|
|
1306
|
-
"type": "boolean",
|
|
1307
|
-
"description": "Restrict GET"
|
|
1308
|
-
},
|
|
1309
|
-
"create": {
|
|
1310
|
-
"type": "boolean",
|
|
1311
|
-
"description": "Restrict POST"
|
|
1312
|
-
},
|
|
1313
|
-
"delete": {
|
|
1314
|
-
"type": "boolean",
|
|
1315
|
-
"description": "Restrict DELETE"
|
|
1316
|
-
},
|
|
1317
|
-
"metadata": {
|
|
1318
|
-
"type": "boolean",
|
|
1319
|
-
"description": "Restrict update of metadata"
|
|
1320
|
-
}
|
|
1321
|
-
},
|
|
1322
|
-
"description": "Restrict some APIs"
|
|
1323
|
-
}
|
|
1324
|
-
},
|
|
1325
|
-
"required": [
|
|
1326
|
-
"url"
|
|
1327
|
-
],
|
|
1328
|
-
"description": "Expose the service to http",
|
|
1329
|
-
"deprecated": "will be removed in 4.0"
|
|
1260
|
+
"maxFileSize": {
|
|
1261
|
+
"type": "number",
|
|
1262
|
+
"description": "Define the maximum filesize to accept as direct upload",
|
|
1263
|
+
"default": "10*1024*1024"
|
|
1330
1264
|
},
|
|
1331
1265
|
"prefix": {
|
|
1332
1266
|
"type": "string"
|
|
@@ -1347,7 +1281,6 @@
|
|
|
1347
1281
|
},
|
|
1348
1282
|
"required": [
|
|
1349
1283
|
"folder",
|
|
1350
|
-
"map",
|
|
1351
1284
|
"models",
|
|
1352
1285
|
"type"
|
|
1353
1286
|
],
|
|
@@ -1524,15 +1457,6 @@
|
|
|
1524
1457
|
"description": "Additional models\n\nAllow this store to manage other models",
|
|
1525
1458
|
"default": []
|
|
1526
1459
|
},
|
|
1527
|
-
"asyncDelete": {
|
|
1528
|
-
"type": "boolean",
|
|
1529
|
-
"description": "async delete"
|
|
1530
|
-
},
|
|
1531
|
-
"expose": {
|
|
1532
|
-
"$ref": "#/definitions/StoreExposeParameters",
|
|
1533
|
-
"description": "Expose the service to an urls",
|
|
1534
|
-
"deprecated": "will probably be removed in 4.0 in favor of Expose annotation"
|
|
1535
|
-
},
|
|
1536
1460
|
"strict": {
|
|
1537
1461
|
"type": "boolean",
|
|
1538
1462
|
"description": "Allow to load object that does not have the type data\n\nIf set to true, then the Store will only managed the defined _model and no model extending this one",
|
|
@@ -1582,61 +1506,11 @@
|
|
|
1582
1506
|
}
|
|
1583
1507
|
},
|
|
1584
1508
|
"required": [
|
|
1585
|
-
"asyncDelete",
|
|
1586
1509
|
"folder",
|
|
1587
1510
|
"slowQueryThreshold",
|
|
1588
1511
|
"type"
|
|
1589
1512
|
],
|
|
1590
1513
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1591
|
-
"definitions": {
|
|
1592
|
-
"StoreExposeParameters": {
|
|
1593
|
-
"type": "object",
|
|
1594
|
-
"properties": {
|
|
1595
|
-
"url": {
|
|
1596
|
-
"type": "string",
|
|
1597
|
-
"description": "URL endpoint to use to expose REST Resources API",
|
|
1598
|
-
"default": "service.getName().toLowerCase()"
|
|
1599
|
-
},
|
|
1600
|
-
"restrict": {
|
|
1601
|
-
"type": "object",
|
|
1602
|
-
"properties": {
|
|
1603
|
-
"create": {
|
|
1604
|
-
"type": "boolean",
|
|
1605
|
-
"description": "Do not expose the POST"
|
|
1606
|
-
},
|
|
1607
|
-
"update": {
|
|
1608
|
-
"type": "boolean",
|
|
1609
|
-
"description": "Do not expose the PUT and PATCH"
|
|
1610
|
-
},
|
|
1611
|
-
"get": {
|
|
1612
|
-
"type": "boolean",
|
|
1613
|
-
"description": "Do not expose the GET"
|
|
1614
|
-
},
|
|
1615
|
-
"delete": {
|
|
1616
|
-
"type": "boolean",
|
|
1617
|
-
"description": "Do not expose the DELETE"
|
|
1618
|
-
},
|
|
1619
|
-
"query": {
|
|
1620
|
-
"type": "boolean",
|
|
1621
|
-
"description": "Do not expose the query endpoint"
|
|
1622
|
-
}
|
|
1623
|
-
},
|
|
1624
|
-
"description": "You can restrict any part of the CRUD",
|
|
1625
|
-
"default": {}
|
|
1626
|
-
},
|
|
1627
|
-
"queryMethod": {
|
|
1628
|
-
"type": "string",
|
|
1629
|
-
"enum": [
|
|
1630
|
-
"PUT",
|
|
1631
|
-
"GET"
|
|
1632
|
-
],
|
|
1633
|
-
"description": "For confidentiality sometimes you might prefer to expose query through PUT To avoid GET logging",
|
|
1634
|
-
"default": "GET"
|
|
1635
|
-
}
|
|
1636
|
-
},
|
|
1637
|
-
"deprecated": "Store should not be exposed directly anymore\nYou should use the DomainService instead"
|
|
1638
|
-
}
|
|
1639
|
-
},
|
|
1640
1514
|
"title": "FileStore"
|
|
1641
1515
|
},
|
|
1642
1516
|
"Webda/Ident": {
|
|
@@ -1679,10 +1553,12 @@
|
|
|
1679
1553
|
"_lastUsed": {
|
|
1680
1554
|
"type": "string",
|
|
1681
1555
|
"format": "date-time",
|
|
1556
|
+
"description": "Last time the ident was used",
|
|
1682
1557
|
"readOnly": true
|
|
1683
1558
|
},
|
|
1684
1559
|
"_failedLogin": {
|
|
1685
1560
|
"type": "number",
|
|
1561
|
+
"description": "If the ident is validated",
|
|
1686
1562
|
"readOnly": true
|
|
1687
1563
|
},
|
|
1688
1564
|
"_lastValidationEmail": {
|
|
@@ -2059,15 +1935,6 @@
|
|
|
2059
1935
|
"description": "Additional models\n\nAllow this store to manage other models",
|
|
2060
1936
|
"default": []
|
|
2061
1937
|
},
|
|
2062
|
-
"asyncDelete": {
|
|
2063
|
-
"type": "boolean",
|
|
2064
|
-
"description": "async delete"
|
|
2065
|
-
},
|
|
2066
|
-
"expose": {
|
|
2067
|
-
"$ref": "#/definitions/StoreExposeParameters",
|
|
2068
|
-
"description": "Expose the service to an urls",
|
|
2069
|
-
"deprecated": "will probably be removed in 4.0 in favor of Expose annotation"
|
|
2070
|
-
},
|
|
2071
1938
|
"strict": {
|
|
2072
1939
|
"type": "boolean",
|
|
2073
1940
|
"description": "Allow to load object that does not have the type data\n\nIf set to true, then the Store will only managed the defined _model and no model extending this one",
|
|
@@ -2136,61 +2003,11 @@
|
|
|
2136
2003
|
}
|
|
2137
2004
|
},
|
|
2138
2005
|
"required": [
|
|
2139
|
-
"asyncDelete",
|
|
2140
2006
|
"slowQueryThreshold",
|
|
2141
2007
|
"type"
|
|
2142
2008
|
],
|
|
2143
2009
|
"description": "Memory store",
|
|
2144
2010
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2145
|
-
"definitions": {
|
|
2146
|
-
"StoreExposeParameters": {
|
|
2147
|
-
"type": "object",
|
|
2148
|
-
"properties": {
|
|
2149
|
-
"url": {
|
|
2150
|
-
"type": "string",
|
|
2151
|
-
"description": "URL endpoint to use to expose REST Resources API",
|
|
2152
|
-
"default": "service.getName().toLowerCase()"
|
|
2153
|
-
},
|
|
2154
|
-
"restrict": {
|
|
2155
|
-
"type": "object",
|
|
2156
|
-
"properties": {
|
|
2157
|
-
"create": {
|
|
2158
|
-
"type": "boolean",
|
|
2159
|
-
"description": "Do not expose the POST"
|
|
2160
|
-
},
|
|
2161
|
-
"update": {
|
|
2162
|
-
"type": "boolean",
|
|
2163
|
-
"description": "Do not expose the PUT and PATCH"
|
|
2164
|
-
},
|
|
2165
|
-
"get": {
|
|
2166
|
-
"type": "boolean",
|
|
2167
|
-
"description": "Do not expose the GET"
|
|
2168
|
-
},
|
|
2169
|
-
"delete": {
|
|
2170
|
-
"type": "boolean",
|
|
2171
|
-
"description": "Do not expose the DELETE"
|
|
2172
|
-
},
|
|
2173
|
-
"query": {
|
|
2174
|
-
"type": "boolean",
|
|
2175
|
-
"description": "Do not expose the query endpoint"
|
|
2176
|
-
}
|
|
2177
|
-
},
|
|
2178
|
-
"description": "You can restrict any part of the CRUD",
|
|
2179
|
-
"default": {}
|
|
2180
|
-
},
|
|
2181
|
-
"queryMethod": {
|
|
2182
|
-
"type": "string",
|
|
2183
|
-
"enum": [
|
|
2184
|
-
"PUT",
|
|
2185
|
-
"GET"
|
|
2186
|
-
],
|
|
2187
|
-
"description": "For confidentiality sometimes you might prefer to expose query through PUT To avoid GET logging",
|
|
2188
|
-
"default": "GET"
|
|
2189
|
-
}
|
|
2190
|
-
},
|
|
2191
|
-
"deprecated": "Store should not be exposed directly anymore\nYou should use the DomainService instead"
|
|
2192
|
-
}
|
|
2193
|
-
},
|
|
2194
2011
|
"title": "MemoryStore"
|
|
2195
2012
|
},
|
|
2196
2013
|
"Webda/ModelsOperationsService": {
|
|
@@ -2204,6 +2021,35 @@
|
|
|
2204
2021
|
"type": "string",
|
|
2205
2022
|
"description": "URL on which to serve the content"
|
|
2206
2023
|
},
|
|
2024
|
+
"operations": {
|
|
2025
|
+
"type": "boolean",
|
|
2026
|
+
"description": "Expose objects as operations too",
|
|
2027
|
+
"default": true
|
|
2028
|
+
},
|
|
2029
|
+
"nameTransfomer": {
|
|
2030
|
+
"$ref": "#/definitions/TransformCaseType",
|
|
2031
|
+
"description": "Transform the name of the model to be used in the URL",
|
|
2032
|
+
"default": "camelCase"
|
|
2033
|
+
},
|
|
2034
|
+
"queryMethod": {
|
|
2035
|
+
"type": "string",
|
|
2036
|
+
"enum": [
|
|
2037
|
+
"PUT",
|
|
2038
|
+
"GET"
|
|
2039
|
+
],
|
|
2040
|
+
"description": "Method used for query objects",
|
|
2041
|
+
"default": "PUT"
|
|
2042
|
+
},
|
|
2043
|
+
"models": {
|
|
2044
|
+
"type": "array",
|
|
2045
|
+
"items": {
|
|
2046
|
+
"type": "string"
|
|
2047
|
+
},
|
|
2048
|
+
"description": "List of models to include\n\nIf model is prefixed with a ! it will be excluded",
|
|
2049
|
+
"default": [
|
|
2050
|
+
"*"
|
|
2051
|
+
]
|
|
2052
|
+
},
|
|
2207
2053
|
"openapi": {
|
|
2208
2054
|
"type": "object",
|
|
2209
2055
|
"additionalProperties": true
|
|
@@ -2212,8 +2058,23 @@
|
|
|
2212
2058
|
"required": [
|
|
2213
2059
|
"type"
|
|
2214
2060
|
],
|
|
2215
|
-
"description": "Interface to specify the Service parameters",
|
|
2216
2061
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2062
|
+
"definitions": {
|
|
2063
|
+
"TransformCaseType": {
|
|
2064
|
+
"type": "string",
|
|
2065
|
+
"enum": [
|
|
2066
|
+
"none",
|
|
2067
|
+
"camelCase",
|
|
2068
|
+
"ENV_VAR",
|
|
2069
|
+
"snake_case",
|
|
2070
|
+
"PascalCase",
|
|
2071
|
+
"kebab-case",
|
|
2072
|
+
"UPPERCASE",
|
|
2073
|
+
"lowercase"
|
|
2074
|
+
],
|
|
2075
|
+
"description": "Transform the name of the model to be used in the URL"
|
|
2076
|
+
}
|
|
2077
|
+
},
|
|
2217
2078
|
"title": "ModelsOperationsService"
|
|
2218
2079
|
},
|
|
2219
2080
|
"Webda/MultiNotificationService": {
|
|
@@ -2252,6 +2113,172 @@
|
|
|
2252
2113
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2253
2114
|
"title": "MultiNotificationService"
|
|
2254
2115
|
},
|
|
2116
|
+
"Webda/MyIdent": {
|
|
2117
|
+
"type": "object",
|
|
2118
|
+
"properties": {
|
|
2119
|
+
"_creationDate": {
|
|
2120
|
+
"type": "string",
|
|
2121
|
+
"format": "date-time",
|
|
2122
|
+
"description": "Creation date",
|
|
2123
|
+
"readOnly": true
|
|
2124
|
+
},
|
|
2125
|
+
"_lastUpdate": {
|
|
2126
|
+
"type": "string",
|
|
2127
|
+
"format": "date-time",
|
|
2128
|
+
"description": "Last update date",
|
|
2129
|
+
"readOnly": true
|
|
2130
|
+
},
|
|
2131
|
+
"uuid": {
|
|
2132
|
+
"type": "string",
|
|
2133
|
+
"description": "UUID of the object"
|
|
2134
|
+
},
|
|
2135
|
+
"_user": {
|
|
2136
|
+
"type": "string",
|
|
2137
|
+
"readOnly": true
|
|
2138
|
+
},
|
|
2139
|
+
"public": {
|
|
2140
|
+
"type": "boolean",
|
|
2141
|
+
"description": "Define if the object is publicly readable",
|
|
2142
|
+
"default": false
|
|
2143
|
+
},
|
|
2144
|
+
"_type": {
|
|
2145
|
+
"type": "string",
|
|
2146
|
+
"description": "Type of the ident",
|
|
2147
|
+
"readOnly": true
|
|
2148
|
+
},
|
|
2149
|
+
"uid": {
|
|
2150
|
+
"type": "string",
|
|
2151
|
+
"description": "Uid on the provider"
|
|
2152
|
+
},
|
|
2153
|
+
"_lastUsed": {
|
|
2154
|
+
"type": "string",
|
|
2155
|
+
"format": "date-time",
|
|
2156
|
+
"description": "Last time the ident was used",
|
|
2157
|
+
"readOnly": true
|
|
2158
|
+
},
|
|
2159
|
+
"_failedLogin": {
|
|
2160
|
+
"type": "number",
|
|
2161
|
+
"description": "If the ident is validated",
|
|
2162
|
+
"readOnly": true
|
|
2163
|
+
},
|
|
2164
|
+
"_lastValidationEmail": {
|
|
2165
|
+
"type": "number",
|
|
2166
|
+
"description": "If EmailIdent",
|
|
2167
|
+
"readOnly": true
|
|
2168
|
+
},
|
|
2169
|
+
"_validation": {
|
|
2170
|
+
"type": "string",
|
|
2171
|
+
"format": "date-time",
|
|
2172
|
+
"description": "When the ident was validated",
|
|
2173
|
+
"readOnly": true
|
|
2174
|
+
},
|
|
2175
|
+
"email": {
|
|
2176
|
+
"type": "string",
|
|
2177
|
+
"description": "Email for this ident if it exist"
|
|
2178
|
+
},
|
|
2179
|
+
"provider": {
|
|
2180
|
+
"type": "string",
|
|
2181
|
+
"description": "Provider id"
|
|
2182
|
+
},
|
|
2183
|
+
"toto": {
|
|
2184
|
+
"type": "string"
|
|
2185
|
+
}
|
|
2186
|
+
},
|
|
2187
|
+
"required": [
|
|
2188
|
+
"toto",
|
|
2189
|
+
"uid",
|
|
2190
|
+
"uuid"
|
|
2191
|
+
],
|
|
2192
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2193
|
+
"title": "MyIdent"
|
|
2194
|
+
},
|
|
2195
|
+
"Webda/MySimpleUser": {
|
|
2196
|
+
"type": "object",
|
|
2197
|
+
"properties": {
|
|
2198
|
+
"_creationDate": {
|
|
2199
|
+
"type": "string",
|
|
2200
|
+
"format": "date-time",
|
|
2201
|
+
"description": "Creation date",
|
|
2202
|
+
"readOnly": true
|
|
2203
|
+
},
|
|
2204
|
+
"_lastUpdate": {
|
|
2205
|
+
"type": "string",
|
|
2206
|
+
"format": "date-time",
|
|
2207
|
+
"description": "Last update date",
|
|
2208
|
+
"readOnly": true
|
|
2209
|
+
},
|
|
2210
|
+
"displayName": {
|
|
2211
|
+
"type": "string",
|
|
2212
|
+
"description": "Display name for this user"
|
|
2213
|
+
},
|
|
2214
|
+
"_lastPasswordRecovery": {
|
|
2215
|
+
"type": "number",
|
|
2216
|
+
"description": "Last time the password was recovered",
|
|
2217
|
+
"readOnly": true
|
|
2218
|
+
},
|
|
2219
|
+
"_avatar": {
|
|
2220
|
+
"type": "string",
|
|
2221
|
+
"description": "Define the user avatar if exists",
|
|
2222
|
+
"readOnly": true
|
|
2223
|
+
},
|
|
2224
|
+
"locale": {
|
|
2225
|
+
"type": "string",
|
|
2226
|
+
"description": "Contains the locale of the user if known"
|
|
2227
|
+
},
|
|
2228
|
+
"email": {
|
|
2229
|
+
"type": "string",
|
|
2230
|
+
"description": "Contain main user email if exists"
|
|
2231
|
+
},
|
|
2232
|
+
"_groups": {
|
|
2233
|
+
"type": "array",
|
|
2234
|
+
"items": {
|
|
2235
|
+
"type": "string"
|
|
2236
|
+
},
|
|
2237
|
+
"description": "Groups for a user",
|
|
2238
|
+
"readOnly": true
|
|
2239
|
+
},
|
|
2240
|
+
"_roles": {
|
|
2241
|
+
"type": "array",
|
|
2242
|
+
"items": {
|
|
2243
|
+
"type": "string"
|
|
2244
|
+
},
|
|
2245
|
+
"description": "Roles of the user",
|
|
2246
|
+
"readOnly": true
|
|
2247
|
+
},
|
|
2248
|
+
"_idents": {
|
|
2249
|
+
"type": "array",
|
|
2250
|
+
"items": {
|
|
2251
|
+
"$ref": "#/definitions/ModelMapLoader%3Cclass-src_models_test.ts-132-222-src_models_test.ts-0-339%2C(%22_type%22%7C%22uuid%22%7C%22email%22)%3E"
|
|
2252
|
+
},
|
|
2253
|
+
"description": "Normal ident",
|
|
2254
|
+
"readOnly": true
|
|
2255
|
+
}
|
|
2256
|
+
},
|
|
2257
|
+
"required": [
|
|
2258
|
+
"displayName"
|
|
2259
|
+
],
|
|
2260
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2261
|
+
"definitions": {
|
|
2262
|
+
"ModelMapLoader<class-src_models_test.ts-132-222-src_models_test.ts-0-339,(\"_type\"|\"uuid\"|\"email\")>": {
|
|
2263
|
+
"type": "object",
|
|
2264
|
+
"properties": {
|
|
2265
|
+
"_type": {},
|
|
2266
|
+
"uuid": {
|
|
2267
|
+
"type": "string",
|
|
2268
|
+
"description": "The uuid of the object"
|
|
2269
|
+
},
|
|
2270
|
+
"email": {}
|
|
2271
|
+
},
|
|
2272
|
+
"required": [
|
|
2273
|
+
"_type",
|
|
2274
|
+
"email",
|
|
2275
|
+
"uuid"
|
|
2276
|
+
],
|
|
2277
|
+
"description": "Mapper attribute (target of a Mapper service)\n\nThis is not exported as when mapped the target is always an array TODO Handle 1:1 map"
|
|
2278
|
+
}
|
|
2279
|
+
},
|
|
2280
|
+
"title": "MySimpleUser"
|
|
2281
|
+
},
|
|
2255
2282
|
"Webda/OwnerModel": {
|
|
2256
2283
|
"type": "object",
|
|
2257
2284
|
"properties": {
|
|
@@ -2382,6 +2409,16 @@
|
|
|
2382
2409
|
"description": "Cache control header to set",
|
|
2383
2410
|
"default": "public, max-age=31536000"
|
|
2384
2411
|
},
|
|
2412
|
+
"indexCacheControl": {
|
|
2413
|
+
"type": "string",
|
|
2414
|
+
"description": "Cache control for index file SPA usually do not cache the index file",
|
|
2415
|
+
"default": "no-cache, no-store, must-revalidate"
|
|
2416
|
+
},
|
|
2417
|
+
"allowHiddenFiles": {
|
|
2418
|
+
"type": "boolean",
|
|
2419
|
+
"description": "Serve also . prefixed files . files usually have some secrets and should not be served",
|
|
2420
|
+
"default": false
|
|
2421
|
+
},
|
|
2385
2422
|
"openapi": {
|
|
2386
2423
|
"type": "object",
|
|
2387
2424
|
"additionalProperties": true
|
|
@@ -2407,11 +2444,13 @@
|
|
|
2407
2444
|
},
|
|
2408
2445
|
"operations": {
|
|
2409
2446
|
"type": "boolean",
|
|
2410
|
-
"description": "Expose objects as operations too"
|
|
2447
|
+
"description": "Expose objects as operations too",
|
|
2448
|
+
"default": true
|
|
2411
2449
|
},
|
|
2412
2450
|
"nameTransfomer": {
|
|
2413
2451
|
"$ref": "#/definitions/TransformCaseType",
|
|
2414
|
-
"description": "Transform the name of the model to be used in the URL"
|
|
2452
|
+
"description": "Transform the name of the model to be used in the URL",
|
|
2453
|
+
"default": "camelCase"
|
|
2415
2454
|
},
|
|
2416
2455
|
"queryMethod": {
|
|
2417
2456
|
"type": "string",
|
|
@@ -2437,6 +2476,11 @@
|
|
|
2437
2476
|
"description": "Expose the OpenAPI",
|
|
2438
2477
|
"default": "true if debug false otherwise"
|
|
2439
2478
|
},
|
|
2479
|
+
"swaggerVersion": {
|
|
2480
|
+
"type": "string",
|
|
2481
|
+
"description": "Swagger version to use\n\nhttps://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.19.5/swagger-ui.css https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.19.5/swagger-ui-bundle.js https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.19.5/swagger-ui-standalone-preset.js",
|
|
2482
|
+
"default": "3.19.5"
|
|
2483
|
+
},
|
|
2440
2484
|
"openapi": {
|
|
2441
2485
|
"type": "object",
|
|
2442
2486
|
"additionalProperties": true
|
|
@@ -2444,10 +2488,7 @@
|
|
|
2444
2488
|
},
|
|
2445
2489
|
"required": [
|
|
2446
2490
|
"exposeOpenAPI",
|
|
2447
|
-
"
|
|
2448
|
-
"nameTransfomer",
|
|
2449
|
-
"operations",
|
|
2450
|
-
"queryMethod",
|
|
2491
|
+
"swaggerVersion",
|
|
2451
2492
|
"type"
|
|
2452
2493
|
],
|
|
2453
2494
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
@@ -2488,7 +2529,7 @@
|
|
|
2488
2529
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2489
2530
|
"title": "RoleModel"
|
|
2490
2531
|
},
|
|
2491
|
-
"Webda/
|
|
2532
|
+
"Webda/SimpleUser": {
|
|
2492
2533
|
"type": "object",
|
|
2493
2534
|
"properties": {
|
|
2494
2535
|
"_creationDate": {
|
|
@@ -2524,16 +2565,49 @@
|
|
|
2524
2565
|
"email": {
|
|
2525
2566
|
"type": "string",
|
|
2526
2567
|
"description": "Contain main user email if exists"
|
|
2568
|
+
},
|
|
2569
|
+
"_groups": {
|
|
2570
|
+
"type": "array",
|
|
2571
|
+
"items": {
|
|
2572
|
+
"type": "string"
|
|
2573
|
+
},
|
|
2574
|
+
"description": "Groups for a user",
|
|
2575
|
+
"readOnly": true
|
|
2576
|
+
},
|
|
2577
|
+
"_roles": {
|
|
2578
|
+
"type": "array",
|
|
2579
|
+
"items": {
|
|
2580
|
+
"type": "string"
|
|
2581
|
+
},
|
|
2582
|
+
"description": "Roles of the user",
|
|
2583
|
+
"readOnly": true
|
|
2584
|
+
},
|
|
2585
|
+
"_idents": {
|
|
2586
|
+
"type": "array",
|
|
2587
|
+
"items": {
|
|
2588
|
+
"type": "object",
|
|
2589
|
+
"properties": {
|
|
2590
|
+
"uuid": {
|
|
2591
|
+
"type": "string"
|
|
2592
|
+
}
|
|
2593
|
+
},
|
|
2594
|
+
"required": [
|
|
2595
|
+
"uuid",
|
|
2596
|
+
"uuid"
|
|
2597
|
+
],
|
|
2598
|
+
"additionalProperties": false
|
|
2599
|
+
},
|
|
2600
|
+
"readOnly": true
|
|
2527
2601
|
}
|
|
2528
2602
|
},
|
|
2529
2603
|
"required": [
|
|
2530
2604
|
"displayName"
|
|
2531
2605
|
],
|
|
2532
|
-
"description": "
|
|
2606
|
+
"description": "Simple user offers groups and roles management\n\nGroups and roles are defined just as string, no models",
|
|
2533
2607
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2534
|
-
"title": "
|
|
2608
|
+
"title": "SimpleUser"
|
|
2535
2609
|
},
|
|
2536
|
-
"Webda/
|
|
2610
|
+
"Webda/Task": {
|
|
2537
2611
|
"type": "object",
|
|
2538
2612
|
"properties": {
|
|
2539
2613
|
"_creationDate": {
|
|
@@ -2549,12 +2623,188 @@
|
|
|
2549
2623
|
"readOnly": true
|
|
2550
2624
|
},
|
|
2551
2625
|
"uuid": {
|
|
2626
|
+
"type": "string",
|
|
2627
|
+
"description": "UUID of the object"
|
|
2628
|
+
},
|
|
2629
|
+
"_user": {
|
|
2630
|
+
"type": "string",
|
|
2631
|
+
"readOnly": true
|
|
2632
|
+
},
|
|
2633
|
+
"public": {
|
|
2634
|
+
"type": "boolean",
|
|
2635
|
+
"description": "Define if the object is publicly readable",
|
|
2636
|
+
"default": false
|
|
2637
|
+
},
|
|
2638
|
+
"_autoListener": {
|
|
2639
|
+
"type": "number",
|
|
2640
|
+
"readOnly": true
|
|
2641
|
+
},
|
|
2642
|
+
"plop": {},
|
|
2643
|
+
"plop2": {},
|
|
2644
|
+
"card": {},
|
|
2645
|
+
"test": {},
|
|
2646
|
+
"bouzouf": {},
|
|
2647
|
+
"side": {
|
|
2552
2648
|
"type": "string"
|
|
2649
|
+
},
|
|
2650
|
+
"_gotContext": {
|
|
2651
|
+
"type": "boolean",
|
|
2652
|
+
"readOnly": true
|
|
2553
2653
|
}
|
|
2554
2654
|
},
|
|
2555
2655
|
"required": [
|
|
2656
|
+
"bouzouf",
|
|
2657
|
+
"card",
|
|
2658
|
+
"plop",
|
|
2659
|
+
"plop2",
|
|
2660
|
+
"side",
|
|
2661
|
+
"test",
|
|
2556
2662
|
"uuid"
|
|
2557
2663
|
],
|
|
2664
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2665
|
+
"title": "Task"
|
|
2666
|
+
},
|
|
2667
|
+
"Webda/TestIdent": {
|
|
2668
|
+
"type": "object",
|
|
2669
|
+
"properties": {
|
|
2670
|
+
"_creationDate": {
|
|
2671
|
+
"type": "string",
|
|
2672
|
+
"format": "date-time",
|
|
2673
|
+
"description": "Creation date",
|
|
2674
|
+
"readOnly": true
|
|
2675
|
+
},
|
|
2676
|
+
"_lastUpdate": {
|
|
2677
|
+
"type": "string",
|
|
2678
|
+
"format": "date-time",
|
|
2679
|
+
"description": "Last update date",
|
|
2680
|
+
"readOnly": true
|
|
2681
|
+
},
|
|
2682
|
+
"uuid": {
|
|
2683
|
+
"type": "string",
|
|
2684
|
+
"description": "UUID of the object"
|
|
2685
|
+
},
|
|
2686
|
+
"_user": {
|
|
2687
|
+
"type": "string",
|
|
2688
|
+
"readOnly": true
|
|
2689
|
+
},
|
|
2690
|
+
"public": {
|
|
2691
|
+
"type": "boolean",
|
|
2692
|
+
"description": "Define if the object is publicly readable",
|
|
2693
|
+
"default": false
|
|
2694
|
+
},
|
|
2695
|
+
"_type": {
|
|
2696
|
+
"type": "string",
|
|
2697
|
+
"description": "Type of the ident",
|
|
2698
|
+
"readOnly": true
|
|
2699
|
+
},
|
|
2700
|
+
"uid": {
|
|
2701
|
+
"type": "string",
|
|
2702
|
+
"description": "Uid on the provider"
|
|
2703
|
+
},
|
|
2704
|
+
"_lastUsed": {
|
|
2705
|
+
"type": "string",
|
|
2706
|
+
"format": "date-time",
|
|
2707
|
+
"description": "Last time the ident was used",
|
|
2708
|
+
"readOnly": true
|
|
2709
|
+
},
|
|
2710
|
+
"_failedLogin": {
|
|
2711
|
+
"type": "number",
|
|
2712
|
+
"description": "If the ident is validated",
|
|
2713
|
+
"readOnly": true
|
|
2714
|
+
},
|
|
2715
|
+
"_lastValidationEmail": {
|
|
2716
|
+
"type": "number",
|
|
2717
|
+
"description": "If EmailIdent",
|
|
2718
|
+
"readOnly": true
|
|
2719
|
+
},
|
|
2720
|
+
"_validation": {
|
|
2721
|
+
"type": "string",
|
|
2722
|
+
"format": "date-time",
|
|
2723
|
+
"description": "When the ident was validated",
|
|
2724
|
+
"readOnly": true
|
|
2725
|
+
},
|
|
2726
|
+
"email": {
|
|
2727
|
+
"type": "string",
|
|
2728
|
+
"description": "Email for this ident if it exist"
|
|
2729
|
+
},
|
|
2730
|
+
"provider": {
|
|
2731
|
+
"type": "string",
|
|
2732
|
+
"description": "Provider id"
|
|
2733
|
+
}
|
|
2734
|
+
},
|
|
2735
|
+
"required": [
|
|
2736
|
+
"uid",
|
|
2737
|
+
"uuid"
|
|
2738
|
+
],
|
|
2739
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2740
|
+
"title": "TestIdent"
|
|
2741
|
+
},
|
|
2742
|
+
"Webda/User": {
|
|
2743
|
+
"type": "object",
|
|
2744
|
+
"properties": {
|
|
2745
|
+
"_creationDate": {
|
|
2746
|
+
"type": "string",
|
|
2747
|
+
"format": "date-time",
|
|
2748
|
+
"description": "Creation date",
|
|
2749
|
+
"readOnly": true
|
|
2750
|
+
},
|
|
2751
|
+
"_lastUpdate": {
|
|
2752
|
+
"type": "string",
|
|
2753
|
+
"format": "date-time",
|
|
2754
|
+
"description": "Last update date",
|
|
2755
|
+
"readOnly": true
|
|
2756
|
+
},
|
|
2757
|
+
"displayName": {
|
|
2758
|
+
"type": "string",
|
|
2759
|
+
"description": "Display name for this user"
|
|
2760
|
+
},
|
|
2761
|
+
"_lastPasswordRecovery": {
|
|
2762
|
+
"type": "number",
|
|
2763
|
+
"description": "Last time the password was recovered",
|
|
2764
|
+
"readOnly": true
|
|
2765
|
+
},
|
|
2766
|
+
"_avatar": {
|
|
2767
|
+
"type": "string",
|
|
2768
|
+
"description": "Define the user avatar if exists",
|
|
2769
|
+
"readOnly": true
|
|
2770
|
+
},
|
|
2771
|
+
"locale": {
|
|
2772
|
+
"type": "string",
|
|
2773
|
+
"description": "Contains the locale of the user if known"
|
|
2774
|
+
},
|
|
2775
|
+
"email": {
|
|
2776
|
+
"type": "string",
|
|
2777
|
+
"description": "Contain main user email if exists"
|
|
2778
|
+
}
|
|
2779
|
+
},
|
|
2780
|
+
"required": [
|
|
2781
|
+
"displayName"
|
|
2782
|
+
],
|
|
2783
|
+
"description": "First basic model for User",
|
|
2784
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2785
|
+
"title": "User"
|
|
2786
|
+
},
|
|
2787
|
+
"Webda/UuidModel": {
|
|
2788
|
+
"type": "object",
|
|
2789
|
+
"properties": {
|
|
2790
|
+
"_creationDate": {
|
|
2791
|
+
"type": "string",
|
|
2792
|
+
"format": "date-time",
|
|
2793
|
+
"description": "Creation date",
|
|
2794
|
+
"readOnly": true
|
|
2795
|
+
},
|
|
2796
|
+
"_lastUpdate": {
|
|
2797
|
+
"type": "string",
|
|
2798
|
+
"format": "date-time",
|
|
2799
|
+
"description": "Last update date",
|
|
2800
|
+
"readOnly": true
|
|
2801
|
+
},
|
|
2802
|
+
"uuid": {
|
|
2803
|
+
"type": "string",
|
|
2804
|
+
"readOnly": true,
|
|
2805
|
+
"$generated": true
|
|
2806
|
+
}
|
|
2807
|
+
},
|
|
2558
2808
|
"description": "CoreModel with a uuid",
|
|
2559
2809
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2560
2810
|
"title": "UuidModel"
|