-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathmetadata.php
82 lines (78 loc) · 2.23 KB
/
metadata.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/
declare(strict_types=1);
/**
* Metadata version
*/
$sMetadataVersion = '2.0';
/**
* Module information
*/
$aModule = [
'id' => 'oe_graphql_base',
'title' => [
'de' => 'GraphQL Base',
'en' => 'GraphQL Base',
],
'description' => [
'de' => '<span>OXID GraphQL API Framework</span>',
'en' => '<span>OXID GraphQL API Framework</span>',
],
'thumbnail' => 'logo.png',
'version' => '10.0.0',
'author' => 'OXID eSales',
'url' => 'www.oxid-esales.com',
'email' => 'info@oxid-esales.com',
'extend' => [
],
'controllers' => [
// Widget Controller
'graphql' => OxidEsales\GraphQL\Base\Component\Widget\GraphQL::class,
],
'templates' => [
],
'blocks' => [
],
'settings' => [
[
'group' => 'graphql_base',
'name' => 'sJsonWebTokenSignature',
'type' => 'str',
'value' => 'CHANGE ME',
],
[
'group' => 'graphql_base',
'name' => 'sRefreshTokenLifetime',
'type' => 'select',
'constraints' => '24hrs|7days|30days|60days|90days',
'value' => '24hrs'
],
[
'group' => 'graphql_base',
'name' => 'sJsonWebTokenLifetime',
'type' => 'select',
'constraints' => '1min|5min|10min|15min|1hrs|3hrs|8hrs|24hrs',
'value' => '8hrs'
],
[
'group' => 'graphql_base',
'name' => 'sJsonWebTokenUserQuota',
'type' => 'num',
'value' => 10000,
],
[
'group' => 'graphql_base',
'name' => 'sFingerprintCookieMode',
'type' => 'select',
'constraints' => 'sameOrigin|crossOrigin',
'value' => 'sameOrigin'
],
],
'events' => [
'onActivate' => '\OxidEsales\GraphQL\Base\Infrastructure\ModuleSetup::onActivate',
'onDeactivate' => '\OxidEsales\GraphQL\Base\Infrastructure\ModuleSetup::onDeactivate',
],
];