Skip to content

Commit

Permalink
chore: update app-config
Browse files Browse the repository at this point in the history
  • Loading branch information
huynguyen-hl committed Nov 26, 2024
1 parent 0825d2b commit 16271a8
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 23 deletions.
34 changes: 30 additions & 4 deletions app-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,23 @@
}
}
]
},
{
"name": "mergeToLocalStorage",
"parameters": [
{
"storageKey": "orchard_facility_dpps",
"objectKeyPath": "/decodedEnvelopedVC/credentialSubject/id"
}
]
},
{
"name": "getValueFromLocalStorage",
"parameters": [
{
"storageKey": "orchard_facility_dpps"
}
]
}
]
},
Expand Down Expand Up @@ -1423,6 +1440,15 @@
}
]
},
{
"name": "mergeToLocalStorage",
"parameters": [
{
"storageKey": "orchard_facility_dpps",
"objectKeyPath": "/decodedEnvelopedVC/credentialSubject/id"
}
]
},
{
"name": "getValueFromLocalStorage",
"parameters": [
Expand Down Expand Up @@ -1632,7 +1658,7 @@
}
},
"identifierKeyPath": "/0/id",
"localStorageParams": { "storageKey": "CherriesFarm_dpps", "keyPath": "/0/epcList/index/name" }
"localStorageParams": { "storageKey": "orchard_facility_dpps", "keyPath": "/0/epcList/index/name" }
}
]
},
Expand Down Expand Up @@ -5122,7 +5148,7 @@
}
},
"identifierKeyPath": "/0/id",
"localStorageParams": { "storageKey": "CherriesFarm_dpps", "keyPath": "/0/epcList/index/name" }
"localStorageParams": { "storageKey": "packhouse_facility_dpps", "keyPath": "/0/epcList/index/name" }
}
]
},
Expand Down Expand Up @@ -6024,7 +6050,7 @@
}
},
"identifierKeyPath": "/0/id",
"localStorageParams": { "storageKey": "CherriesFarm_dpps", "keyPath": "/0/epcList/index/name" }
"localStorageParams": { "storageKey": "fumigation_and_freight_forwarding_facility_dpps", "keyPath": "/0/epcList/index/name" }
}
]
},
Expand Down Expand Up @@ -6926,7 +6952,7 @@
}
},
"identifierKeyPath": "/0/id",
"localStorageParams": { "storageKey": "CherriesFarm_dpps", "keyPath": "/0/epcList/index/name" }
"localStorageParams": { "storageKey": "airport_terminal_facility_dpps", "keyPath": "/0/epcList/index/name" }
}
]
},
Expand Down
120 changes: 105 additions & 15 deletions packages/components/src/constants/app-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,23 @@
}
}
]
},
{
"name": "mergeToLocalStorage",
"parameters": [
{
"storageKey": "orchard_facility_dpps",
"objectKeyPath": "/decodedEnvelopedVC/credentialSubject/id"
}
]
},
{
"name": "getValueFromLocalStorage",
"parameters": [
{
"storageKey": "orchard_facility_dpps"
}
]
}
]
},
Expand Down Expand Up @@ -1422,6 +1439,23 @@
}
}
]
},
{
"name": "mergeToLocalStorage",
"parameters": [
{
"storageKey": "orchard_facility_dpps",
"objectKeyPath": "/decodedEnvelopedVC/credentialSubject/id"
}
]
},
{
"name": "getValueFromLocalStorage",
"parameters": [
{
"storageKey": "orchard_facility_dpps"
}
]
}
]
},
Expand All @@ -1433,7 +1467,7 @@
"name": "LocalStorageLoader",
"type": "EntryData",
"props": {
"storageKey": "CherriesFarm_dpps",
"storageKey": "orchard_facility_dpps",
"nestedComponents": [
{
"name": "JsonForm",
Expand Down Expand Up @@ -1624,7 +1658,7 @@
}
},
"identifierKeyPath": "/0/id",
"localStorageParams": { "storageKey": "CherriesFarm_dpps", "keyPath": "/0/epcList/index/name" }
"localStorageParams": { "storageKey": "orchard_facility_dpps", "keyPath": "/0/epcList/index/name" }
}
]
},
Expand All @@ -1636,6 +1670,14 @@
"objectKeyPath": "/decodedEnvelopedVC/credentialSubject/0/id"
}
]
},
{
"name": "getValueFromLocalStorage",
"parameters": [
{
"storageKey": "orchard_facility_transaction_event"
}
]
}
]
},
Expand Down Expand Up @@ -4250,7 +4292,7 @@
"name": "LocalStorageLoader",
"type": "EntryData",
"props": {
"storageKey": "orchard_facility_transaction_event",
"storageKey": "packhouse_facility_transaction_event",
"nestedComponents": [
{
"name": "JsonForm",
Expand Down Expand Up @@ -4892,10 +4934,18 @@
"name": "mergeToLocalStorage",
"parameters": [
{
"storageKey": "CherriesFarm_dpps",
"storageKey": "packhouse_facility_dpps",
"objectKeyPath": "/decodedEnvelopedVC/credentialSubject/id"
}
]
},
{
"name": "getValueFromLocalStorage",
"parameters": [
{
"storageKey": "packhouse_facility_dpps"
}
]
}
]
},
Expand All @@ -4907,7 +4957,7 @@
"name": "LocalStorageLoader",
"type": "EntryData",
"props": {
"storageKey": "CherriesFarm_dpps",
"storageKey": "packhouse_facility_dpps",
"nestedComponents": [
{
"name": "JsonForm",
Expand Down Expand Up @@ -5098,18 +5148,26 @@
}
},
"identifierKeyPath": "/0/id",
"localStorageParams": { "storageKey": "CherriesFarm_dpps", "keyPath": "/0/epcList/index/name" }
"localStorageParams": { "storageKey": "packhouse_facility_dpps", "keyPath": "/0/epcList/index/name" }
}
]
},
{
"name": "mergeToLocalStorage",
"parameters": [
{
"storageKey": "orchard_facility_transaction_event",
"storageKey": "packhouse_facility_transaction_event",
"objectKeyPath": "/decodedEnvelopedVC/credentialSubject/0/id"
}
]
},
{
"name": "getValueFromLocalStorage",
"parameters": [
{
"storageKey": "packhouse_facility_transaction_event"
}
]
}
]
}
Expand Down Expand Up @@ -5778,10 +5836,18 @@
"name": "mergeToLocalStorage",
"parameters": [
{
"storageKey": "CherriesFarm_dpps",
"storageKey": "fumigation_and_freight_forwarding_facility_dpps",
"objectKeyPath": "/decodedEnvelopedVC/credentialSubject/id"
}
]
},
{
"name": "getValueFromLocalStorage",
"parameters": [
{
"storageKey": "fumigation_and_freight_forwarding_facility_dpps"
}
]
}
]
},
Expand All @@ -5793,7 +5859,7 @@
"name": "LocalStorageLoader",
"type": "EntryData",
"props": {
"storageKey": "CherriesFarm_dpps",
"storageKey": "fumigation_and_freight_forwarding_facility_dpps",
"nestedComponents": [
{
"name": "JsonForm",
Expand Down Expand Up @@ -5984,18 +6050,26 @@
}
},
"identifierKeyPath": "/0/id",
"localStorageParams": { "storageKey": "CherriesFarm_dpps", "keyPath": "/0/epcList/index/name" }
"localStorageParams": { "storageKey": "fumigation_and_freight_forwarding_facility_dpps", "keyPath": "/0/epcList/index/name" }
}
]
},
{
"name": "mergeToLocalStorage",
"parameters": [
{
"storageKey": "orchard_facility_transaction_event",
"storageKey": "fumigation_and_freight_forwarding_facility_transaction_event",
"objectKeyPath": "/decodedEnvelopedVC/credentialSubject/0/id"
}
]
},
{
"name": "getValueFromLocalStorage",
"parameters": [
{
"storageKey": "fumigation_and_freight_forwarding_facility_transaction_event"
}
]
}
]
}
Expand Down Expand Up @@ -6664,10 +6738,18 @@
"name": "mergeToLocalStorage",
"parameters": [
{
"storageKey": "CherriesFarm_dpps",
"storageKey": "airport_terminal_facility_dpps",
"objectKeyPath": "/decodedEnvelopedVC/credentialSubject/id"
}
]
},
{
"name": "getValueFromLocalStorage",
"parameters": [
{
"storageKey": "airport_terminal_facility_dpps"
}
]
}
]
},
Expand All @@ -6679,7 +6761,7 @@
"name": "LocalStorageLoader",
"type": "EntryData",
"props": {
"storageKey": "CherriesFarm_dpps",
"storageKey": "airport_terminal_facility_dpps",
"nestedComponents": [
{
"name": "JsonForm",
Expand Down Expand Up @@ -6870,18 +6952,26 @@
}
},
"identifierKeyPath": "/0/id",
"localStorageParams": { "storageKey": "CherriesFarm_dpps", "keyPath": "/0/epcList/index/name" }
"localStorageParams": { "storageKey": "airport_terminal_facility_dpps", "keyPath": "/0/epcList/index/name" }
}
]
},
{
"name": "mergeToLocalStorage",
"parameters": [
{
"storageKey": "orchard_facility_transaction_event",
"storageKey": "airport_terminal_facility_transaction_event",
"objectKeyPath": "/decodedEnvelopedVC/credentialSubject/0/id"
}
]
},
{
"name": "getValueFromLocalStorage",
"parameters": [
{
"storageKey": "airport_terminal_facility_transaction_event"
}
]
}
]
}
Expand Down
Loading

0 comments on commit 16271a8

Please sign in to comment.