feat: update trigger event dropdown

This commit is contained in:
Maël Gangloff 2024-07-28 18:02:01 +02:00
parent ec6f94cc40
commit 519ab6f485
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629
3 changed files with 60 additions and 5 deletions

View File

@ -30,14 +30,14 @@ const triggerEventItems: { label: string, value: EventAction }[] = [
label: t`When a domain is expired`,
value: 'expiration'
},
{
label: t`When a domain is updated`,
value: 'last changed'
},
{
label: t`When a domain is deleted`,
value: 'deletion'
},
{
label: t`When a domain is updated`,
value: 'last changed'
},
{
label: t`When a domain is transferred`,
value: 'transfer'
@ -57,6 +57,10 @@ const triggerEventItems: { label: string, value: EventAction }[] = [
{
label: t`When a domain is reinstantiated`,
value: 'reinstantiation'
},
{
label: t`When a domain is registered`,
value: 'registration'
}
]

View File

@ -32,6 +32,7 @@
"knpuniversity/oauth2-client-bundle": "^2.18",
"lexik/jwt-authentication-bundle": "^3.1",
"nelmio/cors-bundle": "^2.5",
"ovh/ovh": "^3.3",
"phpdocumentor/reflection-docblock": "^5.4",
"phpstan/phpdoc-parser": "^1.29",
"protonlabs/vobject": "^4.31",

52
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "67ad51bfb7e55fe789bbf6ae425a3d8c",
"content-hash": "8de1bd3d79398ff0a64f41526ff80de9",
"packages": [
{
"name": "api-platform/core",
@ -2498,6 +2498,56 @@
},
"time": "2024-06-24T21:25:28+00:00"
},
{
"name": "ovh/ovh",
"version": "v3.3.0",
"source": {
"type": "git",
"url": "https://github.com/ovh/php-ovh.git",
"reference": "a5241f84111bc8c108ab78480a3141353389cc49"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ovh/php-ovh/zipball/a5241f84111bc8c108ab78480a3141353389cc49",
"reference": "a5241f84111bc8c108ab78480a3141353389cc49",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/guzzle": "^6.0||^7.0",
"php": ">=7.4"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.3.1",
"phpdocumentor/shim": "^3",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.6"
},
"type": "library",
"autoload": {
"psr-4": {
"Ovh\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Wrapper for OVHcloud APIs",
"keywords": [
"api",
"authorisation",
"authorization",
"client",
"ovh",
"ovhcloud"
],
"support": {
"issues": "https://github.com/ovh/php-ovh/issues",
"source": "https://github.com/ovh/php-ovh/tree/v3.3.0"
},
"time": "2023-10-20T15:21:31+00:00"
},
{
"name": "paragonie/random_compat",
"version": "v9.99.100",