diff --git a/.eslintignore b/.eslintignore
deleted file mode 100644
index 3ef92acd..00000000
--- a/.eslintignore
+++ /dev/null
@@ -1,2 +0,0 @@
-cypress
-.gitignore
\ No newline at end of file
diff --git a/.eslintrc.json b/.eslintrc.json
deleted file mode 100644
index 5f737386..00000000
--- a/.eslintrc.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "env": {
- "node": true
- },
- "extends": ["eslint:recommended", "plugin:vue/vue3-recommended", "prettier"],
- "rules": {
- // override/add rules settings here, such as:
- // 'vue/no-unused-vars': 'error'
- }
-}
diff --git a/.github/workflows/develop_CD.yml b/.github/workflows/develop_CD.yml
index 79f50636..0d78ba18 100644
--- a/.github/workflows/develop_CD.yml
+++ b/.github/workflows/develop_CD.yml
@@ -3,12 +3,12 @@ name: Deploy_To_Azure_Blobs_Dev
on:
push:
paths-ignore: # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
- - '**/README.md' # don't run on README.md file updates anywhere in repo
- - '**/dependabot.yml'
+ - "**/README.md" # don't run on README.md file updates anywhere in repo
+ - "**/dependabot.yml"
branches:
- develop
schedule:
- - cron: '24 04 * * *' # 0424am daily
+ - cron: "24 04 * * *" # 0424am daily
env:
STORAGE_ACCOUNT_NAME: sadatastoresearchdev
@@ -28,8 +28,8 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4.1.0
with:
- node-version-file: '.nvmrc'
- cache: 'npm'
+ node-version-file: ".nvmrc"
+ cache: "npm"
- name: Install dependencies
run: |
@@ -69,13 +69,13 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4.1.0
with:
- node-version-file: '.nvmrc'
- cache: 'npm'
+ node-version-file: ".nvmrc"
+ cache: "npm"
- name: Cypress CI Run
uses: cypress-io/github-action@v6
with:
- wait-on: 'https://dev-datastore.iatistandard.org'
+ wait-on: "https://dev-datastore.iatistandard.org"
config-file: cypress.config.dev.js
status_check_success:
diff --git a/.github/workflows/develop_CI.yml b/.github/workflows/develop_CI.yml
index dfc927cb..39b98abd 100644
--- a/.github/workflows/develop_CI.yml
+++ b/.github/workflows/develop_CI.yml
@@ -25,6 +25,12 @@ jobs:
with:
node-version-file: ".nvmrc"
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Lint project
+ run: npm run lint
+
- name: Cypress CI Run
uses: cypress-io/github-action@v6
with:
diff --git a/.github/workflows/main_CI.yml b/.github/workflows/main_CI.yml
index 65455eff..ec62adcb 100644
--- a/.github/workflows/main_CI.yml
+++ b/.github/workflows/main_CI.yml
@@ -25,6 +25,12 @@ jobs:
with:
node-version-file: ".nvmrc"
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Lint project
+ run: npm run lint
+
- name: Cypress CI Run
uses: cypress-io/github-action@v6
with:
diff --git a/.nvmrc b/.nvmrc
index 112a2eae..9de22568 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-lts/gallium
\ No newline at end of file
+lts/iron
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 00000000..5d5ae99a
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1,2 @@
+index.html
+index.prod.html
diff --git a/.prettierrc.json b/.prettierrc.json
deleted file mode 100644
index 28cb0ffb..00000000
--- a/.prettierrc.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "printWidth": 100,
- "tabWidth": 4,
- "singleQuote": true,
- "overrides": [
- {
- "files": "*.yml",
- "options": {
- "tabWidth": 2
- }
- }
- ]
-}
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index 6c954772..6a386cc9 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -1,6 +1,3 @@
{
- "recommendations": [
- "vue.volar",
- "editorconfig.editorconfig"
- ]
+ "recommendations": ["vue.volar", "editorconfig.editorconfig"]
}
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 08cc8aeb..cc4ed6ec 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -1,15 +1,15 @@
{
- // Use IntelliSense to learn about possible attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
- "version": "0.2.0",
- "configurations": [
- {
- "type": "pwa-chrome",
- "request": "launch",
- "name": "Launch Chrome against localhost",
- "url": "http://localhost:3000",
- "webRoot": "${workspaceFolder}/app"
- }
- ]
+ // Use IntelliSense to learn about possible attributes.
+ // Hover to view descriptions of existing attributes.
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "type": "pwa-chrome",
+ "request": "launch",
+ "name": "Launch Chrome against localhost",
+ "url": "http://localhost:3000",
+ "webRoot": "${workspaceFolder}/app"
+ }
+ ]
}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index d25a5149..ed9655df 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,13 +1,13 @@
{
- "editor.formatOnSave": true,
- "editor.codeActionsOnSave": {
- "source.fixAll.eslint": "explicit"
- },
- "[vue]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[javascript]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "cSpell.words": ["axios"]
+ "editor.formatOnSave": true,
+ "editor.codeActionsOnSave": {
+ "source.fixAll.eslint": "explicit"
+ },
+ "[vue]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[javascript]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "cSpell.words": ["axios"]
}
diff --git a/LICENSE.md b/LICENSE.md
index 0ad25db4..162676cb 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,178 +1,178 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
- Copyright (C) 2007 Free Software Foundation, Inc.
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
+Copyright (C) 2007 Free Software Foundation, Inc.
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
Preamble
- The GNU Affero General Public License is a free, copyleft license for
+The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
- The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works. By contrast,
+The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
+When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
- Developers that use our General Public Licenses protect your rights
+Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
- A secondary benefit of defending all users' freedom is that
+A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
-incorporate. Many developers of free software are heartened and
-encouraged by the resulting cooperation. However, in the case of
+incorporate. Many developers of free software are heartened and
+encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
- The GNU Affero General Public License is designed specifically to
+The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
-to the community. It requires the operator of a network server to
+to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
-users of that server. Therefore, public use of a modified version, on
+users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
- An older license, called the Affero General Public License and
-published by Affero, was designed to accomplish similar goals. This is
+An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
- The precise terms and conditions for copying, distribution and
+The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
- 0. Definitions.
+0. Definitions.
- "This License" refers to version 3 of the GNU Affero General Public License.
+"This License" refers to version 3 of the GNU Affero General Public License.
- "Copyright" also means copyright-like laws that apply to other kinds of
+"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
- "The Program" refers to any copyrightable work licensed under this
-License. Each licensee is addressed as "you". "Licensees" and
+"The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
- To "modify" a work means to copy from or adapt all or part of the work
+To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
-exact copy. The resulting work is called a "modified version" of the
+exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
- A "covered work" means either the unmodified Program or a work based
+A "covered work" means either the unmodified Program or a work based
on the Program.
- To "propagate" a work means to do anything with it that, without
+To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy. Propagation includes copying,
+computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
- To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies. Mere interaction with a user through
+To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
- An interactive user interface displays "Appropriate Legal Notices"
+An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License. If
+work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
- 1. Source Code.
+1. Source Code.
- The "source code" for a work means the preferred form of the work
-for making modifications to it. "Object code" means any non-source
+The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
form of a work.
- A "Standard Interface" means an interface that either is an official
+A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
- The "System Libraries" of an executable work include anything, other
+The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form. A
+implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
- The "Corresponding Source" for a work in object code form means all
+The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
-control those activities. However, it does not include the work's
+control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
-which are not part of the work. For example, Corresponding Source
+which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
- The Corresponding Source need not include anything that users
+The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
- The Corresponding Source for a work in source code form is that
+The Corresponding Source for a work in source code form is that
same work.
- 2. Basic Permissions.
+2. Basic Permissions.
- All rights granted under this License are granted for the term of
+All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
-conditions are met. This License explicitly affirms your unlimited
-permission to run the unmodified Program. The output from running a
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
-content, constitutes a covered work. This License acknowledges your
+content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
- You may make, run and propagate covered works that you do not
+You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
-in force. You may convey covered works to others for the sole purpose
+in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
-not control copyright. Those thus making or running the covered works
+not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
- Conveying under any other circumstances is permitted solely under
-the conditions stated below. Sublicensing is not allowed; section 10
+Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+3. Protecting Users' Legal Rights From Anti-Circumvention Law.
- No covered work shall be deemed part of an effective technological
+No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
- When you convey a covered work, you waive any legal power to forbid
+When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
@@ -180,9 +180,9 @@ modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
- 4. Conveying Verbatim Copies.
+4. Conveying Verbatim Copies.
- You may convey verbatim copies of the Program's source code as you
+You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
@@ -190,12 +190,12 @@ non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
- You may charge any price or no price for each copy that you convey,
+You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
- 5. Conveying Modified Source Versions.
+5. Conveying Modified Source Versions.
- You may convey a work based on the Program, or the modifications to
+You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
@@ -220,19 +220,19 @@ terms of section 4, provided that you also meet all of these conditions:
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
- A compilation of a covered work with other separate and independent
+A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit. Inclusion of a covered work
+beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
- 6. Conveying Non-Source Forms.
+6. Conveying Non-Source Forms.
- You may convey a covered work in object code form under the terms
+You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
@@ -278,75 +278,75 @@ in one of these ways:
Source of the work are being offered to the general public at no
charge under subsection 6d.
- A separable portion of the object code, whose source code is excluded
+A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
- A "User Product" is either (1) a "consumer product", which means any
+A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling. In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage. For a particular
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product. A product
+actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
- "Installation Information" for a User Product means any methods,
+"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source. The information must
+a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
- If you convey an object code work under this section in, or with, or
+If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
-by the Installation Information. But this requirement does not apply
+by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
- The requirement to provide Installation Information does not include a
+The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed. Access to a
+the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
- Corresponding Source conveyed, and Installation Information provided,
+Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
- 7. Additional Terms.
+7. Additional Terms.
- "Additional permissions" are terms that supplement the terms of this
+"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
-that they are valid under applicable law. If additional permissions
+that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
- When you convey a copy of a covered work, you may at your option
+When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
-it. (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.) You may place
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
- Notwithstanding any other provision of this License, for material you
+Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
@@ -373,74 +373,74 @@ that material) supplement the terms of this License with terms:
any liability that these contractual assumptions directly impose on
those licensors and authors.
- All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10. If the Program as you
+All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
-restriction, you may remove that term. If a license document contains
+restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
- If you add terms to a covered work in accord with this section, you
+If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
- Additional terms, permissive or non-permissive, may be stated in the
+Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
- 8. Termination.
+8. Termination.
- You may not propagate or modify a covered work except as expressly
-provided under this License. Any attempt otherwise to propagate or
+You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
- However, if you cease all violation of this License, then your
+However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
- Moreover, your license from a particular copyright holder is
+Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
- Termination of your rights under this section does not terminate the
+Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
-this License. If your rights have been terminated and not permanently
+this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
- 9. Acceptance Not Required for Having Copies.
+9. Acceptance Not Required for Having Copies.
- You are not required to accept this License in order to receive or
-run a copy of the Program. Ancillary propagation of a covered work
+You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance. However,
+to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
-modify any covered work. These actions infringe copyright if you do
-not accept this License. Therefore, by modifying or propagating a
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
- 10. Automatic Licensing of Downstream Recipients.
+10. Automatic Licensing of Downstream Recipients.
- Each time you convey a covered work, the recipient automatically
+Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License. You are not responsible
+propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
- An "entity transaction" is a transaction transferring control of an
+An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations. If propagation of a covered
+organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
@@ -448,43 +448,43 @@ give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
- You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License. For example, you may
+You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
- 11. Patents.
+11. Patents.
- A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based. The
+A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
- A contributor's "essential patent claims" are all patent claims
+A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version. For
+consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
- Each contributor grants you a non-exclusive, worldwide, royalty-free
+Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
- In the following three paragraphs, a "patent license" is any express
+In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
-sue for patent infringement). To "grant" such a patent license to a
+sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
- If you convey a covered work, knowingly relying on a patent license,
+If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
@@ -492,13 +492,13 @@ then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
-license to downstream recipients. "Knowingly relying" means you have
+license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
- If, pursuant to or in connection with a single transaction or
+If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
@@ -506,10 +506,10 @@ or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
- A patent license is "discriminatory" if it does not include within
+A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License. You may not convey a covered
+specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
@@ -521,83 +521,83 @@ for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
- Nothing in this License shall be construed as excluding or limiting
+Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
- 12. No Surrender of Others' Freedom.
+12. No Surrender of Others' Freedom.
- If conditions are imposed on you (whether by court order, agreement or
+If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot convey a
+excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
-not convey it at all. For example, if you agree to terms that obligate you
+not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
- 13. Remote Network Interaction; Use with the GNU General Public License.
+13. Remote Network Interaction; Use with the GNU General Public License.
- Notwithstanding any other provision of this License, if you modify the
+Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
-means of facilitating copying of software. This Corresponding Source
+means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
- Notwithstanding any other provision of this License, you have
+Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
-combined work, and to convey the resulting work. The terms of this
+combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
- 14. Revised Versions of this License.
+14. Revised Versions of this License.
- The Free Software Foundation may publish revised and/or new versions of
-the GNU Affero General Public License from time to time. Such new versions
+The Free Software Foundation may publish revised and/or new versions of
+the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
- Each version is given a distinguishing version number. If the
+Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
-Foundation. If the Program does not specify a version number of the
+Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
- If the Program specifies that a proxy can decide which future
+If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
- Later license versions may give you additional or different
-permissions. However, no additional obligations are imposed on any
+Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
- 15. Disclaimer of Warranty.
+15. Disclaimer of Warranty.
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
- 16. Limitation of Liability.
+16. Limitation of Liability.
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
@@ -607,9 +607,9 @@ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
- 17. Interpretation of Sections 15 and 16.
+17. Interpretation of Sections 15 and 16.
- If the disclaimer of warranty and limitation of liability provided
+If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
@@ -620,11 +620,11 @@ copy of the Program in return for a fee.
How to Apply These Terms to Your New Programs
- If you develop a new program, and you want it to be of the greatest
+If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
- To do so, attach the following notices to the program. It is safest
+To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
@@ -647,15 +647,15 @@ the "copyright" line and a pointer to where the full notice is found.
Also add information on how to contact you by electronic and paper mail.
- If your software can interact with users remotely through a computer
+If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
-get its source. For example, if your program is a web application, its
+get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
-of the code. There are many ways you could offer source, and different
+of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
- You should also get your employer (if you work as a programmer) or school,
+You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
.
diff --git a/README.md b/README.md
index 30593eb8..7ef92798 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,10 @@
# IATI Datastore Search Web Application
-## Package install
+## Prerequisites
-To install:
+- Node.js: get version from `.nvmrc` or if using [nvm](https://github.com/nvm-sh/nvm) run `nvm use`
+
+## Install dependencies
`npm install`
@@ -53,8 +55,8 @@ https://vueschool.io/articles/vuejs-tutorials/eslint-and-prettier-with-vite-and-
It's recommended you install the following VSCode Extensions:
-- [ESLint](https://open-vsx.org/extension/dbaeumer/vscode-eslint) VSCode extension.
-- [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
+- [ESLint](https://open-vsx.org/extension/dbaeumer/vscode-eslint) VSCode extension.
+- [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
### Manual Lint w/ ESLint
diff --git a/cypress/fixtures/activity_blank_fields_test.json b/cypress/fixtures/activity_blank_fields_test.json
index 8c85dadb..05e25dfd 100644
--- a/cypress/fixtures/activity_blank_fields_test.json
+++ b/cypress/fixtures/activity_blank_fields_test.json
@@ -1,27 +1,27 @@
{
- "responseHeader": {
- "zkConnected": true,
- "status": 0,
- "QTime": 0,
- "params": {
- "q": "iati_identifier:\"XM-IATI-2\"",
- "fl": "title_narrative, description_narrative, participating_org_narrative, iati_identifier,last_updated_datetime,reporting_org_narrative,activity_date*",
- "sort": "iati_identifier asc",
- "rows": "1",
- "wt": "json"
+ "responseHeader": {
+ "zkConnected": true,
+ "status": 0,
+ "QTime": 0,
+ "params": {
+ "q": "iati_identifier:\"XM-IATI-2\"",
+ "fl": "title_narrative, description_narrative, participating_org_narrative, iati_identifier,last_updated_datetime,reporting_org_narrative,activity_date*",
+ "sort": "iati_identifier asc",
+ "rows": "1",
+ "wt": "json"
+ }
+ },
+ "response": {
+ "numFound": 2,
+ "start": 0,
+ "numFoundExact": true,
+ "docs": [
+ {
+ "iati_identifier": "XM-IATI-2",
+ "activity_date_type": ["1"],
+ "last_updated_datetime": "2022-03-22T06:04:32Z",
+ "activity_date_iso_date": ["1900-01-01T00:00:00Z"]
+ }
+ ]
}
- },
- "response": {
- "numFound": 2,
- "start": 0,
- "numFoundExact": true,
- "docs": [
- {
- "iati_identifier": "XM-IATI-2",
- "activity_date_type": ["1"],
- "last_updated_datetime": "2022-03-22T06:04:32Z",
- "activity_date_iso_date": ["1900-01-01T00:00:00Z"]
- }
- ]
- }
}
diff --git a/cypress/fixtures/activity_test.json b/cypress/fixtures/activity_test.json
index b49d1171..0f7439b6 100644
--- a/cypress/fixtures/activity_test.json
+++ b/cypress/fixtures/activity_test.json
@@ -1,32 +1,34 @@
{
- "responseHeader": {
- "zkConnected": true,
- "status": 0,
- "QTime": 0,
- "params": {
- "q": "iati_identifier:\"XM-IATI-1\"",
- "fl": "title_narrative, description_narrative, participating_org_narrative, iati_identifier,last_updated_datetime,reporting_org_narrative,activity_date*",
- "sort": "iati_identifier asc",
- "rows": "1",
- "wt": "json"
+ "responseHeader": {
+ "zkConnected": true,
+ "status": 0,
+ "QTime": 0,
+ "params": {
+ "q": "iati_identifier:\"XM-IATI-1\"",
+ "fl": "title_narrative, description_narrative, participating_org_narrative, iati_identifier,last_updated_datetime,reporting_org_narrative,activity_date*",
+ "sort": "iati_identifier asc",
+ "rows": "1",
+ "wt": "json"
+ }
+ },
+ "response": {
+ "numFound": 2,
+ "start": 0,
+ "numFoundExact": true,
+ "docs": [
+ {
+ "iati_identifier": "XM-IATI-1",
+ "title_narrative": ["IATI Test Activity"],
+ "activity_date_type": ["1"],
+ "description_narrative": ["This is an example description"],
+ "last_updated_datetime": "2022-03-22T06:04:32Z",
+ "activity_date_iso_date": ["1900-01-01T00:00:00Z"],
+ "reporting_org_ref": ["ORG-XM-IATI-1"],
+ "reporting_org_narrative": ["IATI Test Org, UK"],
+ "participating_org_narrative": [
+ "IATI Test Participating Org, UK"
+ ]
+ }
+ ]
}
- },
- "response": {
- "numFound": 2,
- "start": 0,
- "numFoundExact": true,
- "docs": [
- {
- "iati_identifier": "XM-IATI-1",
- "title_narrative": ["IATI Test Activity"],
- "activity_date_type": ["1"],
- "description_narrative": ["This is an example description"],
- "last_updated_datetime": "2022-03-22T06:04:32Z",
- "activity_date_iso_date": ["1900-01-01T00:00:00Z"],
- "reporting_org_ref": ["ORG-XM-IATI-1"],
- "reporting_org_narrative": ["IATI Test Org, UK"],
- "participating_org_narrative": ["IATI Test Participating Org, UK"]
- }
- ]
- }
}
diff --git a/cypress/fixtures/advanced_101.json b/cypress/fixtures/advanced_101.json
index a131d1c4..2542c64c 100644
--- a/cypress/fixtures/advanced_101.json
+++ b/cypress/fixtures/advanced_101.json
@@ -1,20 +1,25 @@
{
- "responseHeader": {
- "zkConnected": true,
- "status": 0,
- "QTime": 1,
- "params": {
- "q": "dataset_version:\"1.01\"",
- "hl": "true",
- "fl": "id,title_narrative,description_narrative,iati_identifier,last_updated_datetime,reporting_org_narrative",
- "start": "0",
- "sort": "iati_identifier asc",
- "hl.method": "unified",
- "hl.fl": "*_narrative",
- "rows": "10",
- "wt": "json"
- }
- },
- "response": { "numFound": 0, "start": 0, "numFoundExact": true, "docs": [] },
- "highlighting": {}
+ "responseHeader": {
+ "zkConnected": true,
+ "status": 0,
+ "QTime": 1,
+ "params": {
+ "q": "dataset_version:\"1.01\"",
+ "hl": "true",
+ "fl": "id,title_narrative,description_narrative,iati_identifier,last_updated_datetime,reporting_org_narrative",
+ "start": "0",
+ "sort": "iati_identifier asc",
+ "hl.method": "unified",
+ "hl.fl": "*_narrative",
+ "rows": "10",
+ "wt": "json"
+ }
+ },
+ "response": {
+ "numFound": 0,
+ "start": 0,
+ "numFoundExact": true,
+ "docs": []
+ },
+ "highlighting": {}
}
diff --git a/cypress/fixtures/advanced_q_test.json b/cypress/fixtures/advanced_q_test.json
index a1a4bd4b..e5749474 100644
--- a/cypress/fixtures/advanced_q_test.json
+++ b/cypress/fixtures/advanced_q_test.json
@@ -1,624 +1,642 @@
{
- "responseHeader": {
- "zkConnected": true,
- "status": 0,
- "QTime": 4,
- "params": {
- "q": "title_narrative:\"test\"",
- "hl": "true",
- "fl": "id,title_narrative,description_narrative,iati_identifier,last_updated_datetime,reporting_org_narrative",
- "start": "0",
- "sort": "iati_identifier asc",
- "hl.method": "unified",
- "hl.fl": "*_narrative",
- "rows": "10",
- "wt": "json"
- }
- },
- "response": {
- "numFound": 409,
- "start": 0,
- "numFoundExact": true,
- "docs": [
- {
- "iati_identifier": "47045-SUR-M-MoH",
- "title_narrative": [
- "Towards Malaria Elimination: Expanding Test, Track and Treat in Mining Areas"
- ],
- "description_narrative": [
- "Suriname - Malaria - Ministry of Health of the Republic of Suriname - MOH. This program has the following goals: Reduce the incidence of Malaria to less than 1 case per 1000 inhabitants in every region. The objectives of this program are: Treat freely 95% of malaria cases. Track and report 90% of the cases with diagnosis. Achieve parasitology confirmation of all cases. Achieve more than 90% coverage of LLIN's in selected high risk and vulnerable population. Increase the percentage of Malaria knowledge"
- ],
- "last_updated_datetime": "2022-01-31T00:00:00Z",
- "reporting_org_narrative": [
- "The Global Fund to Fight AIDS, Tuberculosis and Malaria"
- ],
- "id": "70c0fa17542b518991523177297c85c5322a316d"
- },
- {
- "iati_identifier": "AU-5-O15622-KH",
- "title_narrative": ["Chameleon Sensor Pilot Test - Africa"],
- "description_narrative": [
- "Funding under this investment supports the pilot testing of the Chameleon sensor by the Australian Centre for International Agricultural Research (ACIAR). Research undertaken by ACIAR aims to promote economic development and ensure food security."
- ],
- "last_updated_datetime": "2020-06-19T00:00:00Z",
- "reporting_org_narrative": ["Australian Aid"],
- "id": "b4d5dcad0f9bef1a222837b92c642b7512cbc21e"
- },
- {
- "iati_identifier": "AU-5-O15622-KH",
- "title_narrative": ["Chameleon Sensor Pilot Test - Africa"],
- "description_narrative": [
- "Funding under this investment supports the pilot testing of the Chameleon sensor by the Australian Centre for International Agricultural Research (ACIAR). Research undertaken by ACIAR aims to promote economic development and ensure food security."
- ],
- "last_updated_datetime": "2020-06-19T00:00:00Z",
- "reporting_org_narrative": ["Australian Aid"],
- "id": "d1488f6cf21206a967bd05c2318b45b9051a684b"
- },
- {
- "iati_identifier": "AU-5-O15622-MZ",
- "title_narrative": ["Chameleon Sensor Pilot Test - Africa"],
- "description_narrative": [
- "Funding under this investment supports the pilot testing of the Chameleon sensor by the Australian Centre for International Agricultural Research (ACIAR). Research undertaken by ACIAR aims to promote economic development and ensure food security."
- ],
- "last_updated_datetime": "2020-06-19T00:00:00Z",
- "reporting_org_narrative": ["Australian Aid"],
- "id": "2ae9574feb29c8ecf43c8dfe20fea67a4c58d4d3"
- },
- {
- "iati_identifier": "AU-5-O15622-VN",
- "title_narrative": ["Chameleon Sensor Pilot Test - Africa"],
- "description_narrative": [
- "Funding under this investment supports the pilot testing of the Chameleon sensor by the Australian Centre for International Agricultural Research (ACIAR). Research undertaken by ACIAR aims to promote economic development and ensure food security."
- ],
- "last_updated_datetime": "2020-06-19T00:00:00Z",
- "reporting_org_narrative": ["Australian Aid"],
- "id": "800b9b2a61977b026d1bab2fe3903a331a89f0b4"
- },
- {
- "iati_identifier": "CH-4-2020001280",
- "title_narrative": ["Bhutan-ROCHE, Covid19 test kits"],
- "description_narrative": [
- "No description for this activity available at this point. Description indisponible pour cette activité."
- ],
- "last_updated_datetime": "2021-04-26T00:00:00Z",
- "reporting_org_narrative": [
- "Swiss Agency for Development and Cooperation (SDC)"
- ],
- "id": "0d7ea2b15eec114cc9b48dbf3ba9aabb66e31751"
- },
- {
- "iati_identifier": "CH-FDJP-CHE-110347351-11AF05-14",
- "title_narrative": ["FF AFG - Devise/test monitoring system"],
- "description_narrative": ["FF AFG - Devise/test monitoring system"],
- "last_updated_datetime": "2021-11-24T17:12:48Z",
- "reporting_org_narrative": [
- "The Global Alliance for Improved Nutrition"
- ],
- "id": "5320000d7225a890c5a0a8d7f19d31e5088ac8d2"
- },
- {
- "iati_identifier": "DAC-1601-INV-002012",
- "title_narrative": [
- "Co engagement: Funding for test market of affordable nutritious food"
- ],
- "description_narrative": [
- "To co-fund a pilot of innovative promotion and distribution activities for an affordable, nutritious and fortified product designed to meet the needs of women of reproductive age from lower-income groups in Nigeria."
- ],
- "last_updated_datetime": "2022-01-18T13:30:43Z",
- "reporting_org_narrative": ["Bill and Melinda Gates Foundation"],
- "id": "c5ed3fbb17c63a6103206c27dfa8884a6413503a"
- },
- {
- "iati_identifier": "DAC-1601-INV-004172",
- "title_narrative": [
- "Identifying who is acquiring HIV in the era of test and treat"
- ],
- "description_narrative": [
- "to explore the patterns of HIV acquisition and the associated risk factors to better understand who is acquiring HIV using data from the POPART trial"
- ],
- "last_updated_datetime": "2022-01-18T13:13:09Z",
- "reporting_org_narrative": ["Bill and Melinda Gates Foundation"],
- "id": "3b0812dcf375d5cbbb44c92bc0aedbcd8705e7b3"
- },
- {
- "iati_identifier": "DAC-1601-INV-005620",
- "title_narrative": [
- "Working group and pilots to develop and test agency measures"
- ],
- "description_narrative": [
- "to develop, test and validate measures of women's agency for inclusion in large scale surveys"
- ],
- "last_updated_datetime": "2022-01-18T12:55:31Z",
- "reporting_org_narrative": ["Bill and Melinda Gates Foundation"],
- "id": "4711d362f77530936ad88055ea9a9992c79abfe6"
- }
- ]
- },
- "highlighting": {
- "70c0fa17542b518991523177297c85c5322a316d": {
- "title_narrative": [
- "Towards Malaria Elimination: Expanding Test, Track and Treat in Mining Areas"
- ],
- "sector_narrative": [],
- "description_narrative": [],
- "reporting_org_narrative": [],
- "participating_org_narrative": [],
- "recipient_country_narrative": [],
- "document_link_title_narrative": [],
- "contact_info_job_title_narrative": [],
- "contact_info_department_narrative": [],
- "transaction_description_narrative": [],
- "contact_info_person_name_narrative": [],
- "transaction_receiver_org_narrative": [],
- "contact_info_organisation_narrative": [],
- "document_link_description_narrative": [],
- "other_identifier_owner_org_narrative": [],
- "contact_info_mailing_address_narrative": [],
- "result_title_narrative": [],
- "result_indicator_title_narrative": [
- "",
- "Malaria test positivity rate"
- ],
- "result_indicator_baseline_comment_narrative": [],
- "result_indicator_period_actual_comment_narrative": [],
- "result_indicator_period_target_comment_narrative": [],
- "country_budget_items_budget_item_description_narrative": [],
- "result_description_narrative": [],
- "transaction_provider_org_narrative": [],
- "result_indicator_description_narrative": [],
- "location_name_narrative": [],
- "location_description_narrative": [],
- "activity_date_narrative": [],
- "policy_marker_narrative": [],
- "result_document_link_title_narrative": [],
- "result_document_link_description_narrative": [],
- "conditions_condition_narrative": [],
- "recipient_region_narrative": [],
- "planned_disbursement_provider_org_narrative": [],
- "transaction_sector_narrative": [],
- "transaction_recipient_country_narrative": [],
- "usg_state_location_narrative": [],
- "location_activity_description_narrative": [],
- "planned_disbursement_receiver_org_narrative": [],
- "usg_tec1_narrative": [],
- "usg_duns_number_narrative": [],
- "tag_narrative": [],
- "transaction_recipient_region_narrative": [],
- "result_indicator_document_link_title_narrative": [],
- "humanitarian_scope_narrative": []
- },
- "b4d5dcad0f9bef1a222837b92c642b7512cbc21e": {
- "title_narrative": ["Chameleon Sensor Pilot Test - Africa"],
- "sector_narrative": [],
- "description_narrative": [],
- "reporting_org_narrative": [],
- "participating_org_narrative": [],
- "recipient_country_narrative": [],
- "document_link_title_narrative": [],
- "contact_info_job_title_narrative": [],
- "contact_info_department_narrative": [],
- "transaction_description_narrative": [],
- "contact_info_person_name_narrative": [],
- "transaction_receiver_org_narrative": [],
- "contact_info_organisation_narrative": [],
- "document_link_description_narrative": [],
- "other_identifier_owner_org_narrative": [],
- "contact_info_mailing_address_narrative": [],
- "result_title_narrative": [],
- "result_indicator_title_narrative": [],
- "result_indicator_baseline_comment_narrative": [],
- "result_indicator_period_actual_comment_narrative": [],
- "result_indicator_period_target_comment_narrative": [],
- "country_budget_items_budget_item_description_narrative": [],
- "result_description_narrative": [],
- "transaction_provider_org_narrative": [],
- "result_indicator_description_narrative": [],
- "location_name_narrative": [],
- "location_description_narrative": [],
- "activity_date_narrative": [],
- "policy_marker_narrative": [],
- "result_document_link_title_narrative": [],
- "result_document_link_description_narrative": [],
- "conditions_condition_narrative": [],
- "recipient_region_narrative": [],
- "planned_disbursement_provider_org_narrative": [],
- "transaction_sector_narrative": [],
- "transaction_recipient_country_narrative": [],
- "usg_state_location_narrative": [],
- "location_activity_description_narrative": [],
- "planned_disbursement_receiver_org_narrative": [],
- "usg_tec1_narrative": [],
- "usg_duns_number_narrative": [],
- "tag_narrative": [],
- "transaction_recipient_region_narrative": [],
- "result_indicator_document_link_title_narrative": [],
- "humanitarian_scope_narrative": []
- },
- "d1488f6cf21206a967bd05c2318b45b9051a684b": {
- "title_narrative": ["Chameleon Sensor Pilot Test - Africa"],
- "sector_narrative": [],
- "description_narrative": [],
- "reporting_org_narrative": [],
- "participating_org_narrative": [],
- "recipient_country_narrative": [],
- "document_link_title_narrative": [],
- "contact_info_job_title_narrative": [],
- "contact_info_department_narrative": [],
- "transaction_description_narrative": [],
- "contact_info_person_name_narrative": [],
- "transaction_receiver_org_narrative": [],
- "contact_info_organisation_narrative": [],
- "document_link_description_narrative": [],
- "other_identifier_owner_org_narrative": [],
- "contact_info_mailing_address_narrative": [],
- "result_title_narrative": [],
- "result_indicator_title_narrative": [],
- "result_indicator_baseline_comment_narrative": [],
- "result_indicator_period_actual_comment_narrative": [],
- "result_indicator_period_target_comment_narrative": [],
- "country_budget_items_budget_item_description_narrative": [],
- "result_description_narrative": [],
- "transaction_provider_org_narrative": [],
- "result_indicator_description_narrative": [],
- "location_name_narrative": [],
- "location_description_narrative": [],
- "activity_date_narrative": [],
- "policy_marker_narrative": [],
- "result_document_link_title_narrative": [],
- "result_document_link_description_narrative": [],
- "conditions_condition_narrative": [],
- "recipient_region_narrative": [],
- "planned_disbursement_provider_org_narrative": [],
- "transaction_sector_narrative": [],
- "transaction_recipient_country_narrative": [],
- "usg_state_location_narrative": [],
- "location_activity_description_narrative": [],
- "planned_disbursement_receiver_org_narrative": [],
- "usg_tec1_narrative": [],
- "usg_duns_number_narrative": [],
- "tag_narrative": [],
- "transaction_recipient_region_narrative": [],
- "result_indicator_document_link_title_narrative": [],
- "humanitarian_scope_narrative": []
- },
- "2ae9574feb29c8ecf43c8dfe20fea67a4c58d4d3": {
- "title_narrative": ["Chameleon Sensor Pilot Test - Africa"],
- "sector_narrative": [],
- "description_narrative": [],
- "reporting_org_narrative": [],
- "participating_org_narrative": [],
- "recipient_country_narrative": [],
- "document_link_title_narrative": [],
- "contact_info_job_title_narrative": [],
- "contact_info_department_narrative": [],
- "transaction_description_narrative": [],
- "contact_info_person_name_narrative": [],
- "transaction_receiver_org_narrative": [],
- "contact_info_organisation_narrative": [],
- "document_link_description_narrative": [],
- "other_identifier_owner_org_narrative": [],
- "contact_info_mailing_address_narrative": [],
- "result_title_narrative": [],
- "result_indicator_title_narrative": [],
- "result_indicator_baseline_comment_narrative": [],
- "result_indicator_period_actual_comment_narrative": [],
- "result_indicator_period_target_comment_narrative": [],
- "country_budget_items_budget_item_description_narrative": [],
- "result_description_narrative": [],
- "transaction_provider_org_narrative": [],
- "result_indicator_description_narrative": [],
- "location_name_narrative": [],
- "location_description_narrative": [],
- "activity_date_narrative": [],
- "policy_marker_narrative": [],
- "result_document_link_title_narrative": [],
- "result_document_link_description_narrative": [],
- "conditions_condition_narrative": [],
- "recipient_region_narrative": [],
- "planned_disbursement_provider_org_narrative": [],
- "transaction_sector_narrative": [],
- "transaction_recipient_country_narrative": [],
- "usg_state_location_narrative": [],
- "location_activity_description_narrative": [],
- "planned_disbursement_receiver_org_narrative": [],
- "usg_tec1_narrative": [],
- "usg_duns_number_narrative": [],
- "tag_narrative": [],
- "transaction_recipient_region_narrative": [],
- "result_indicator_document_link_title_narrative": [],
- "humanitarian_scope_narrative": []
- },
- "800b9b2a61977b026d1bab2fe3903a331a89f0b4": {
- "title_narrative": ["Chameleon Sensor Pilot Test - Africa"],
- "sector_narrative": [],
- "description_narrative": [],
- "reporting_org_narrative": [],
- "participating_org_narrative": [],
- "recipient_country_narrative": [],
- "document_link_title_narrative": [],
- "contact_info_job_title_narrative": [],
- "contact_info_department_narrative": [],
- "transaction_description_narrative": [],
- "contact_info_person_name_narrative": [],
- "transaction_receiver_org_narrative": [],
- "contact_info_organisation_narrative": [],
- "document_link_description_narrative": [],
- "other_identifier_owner_org_narrative": [],
- "contact_info_mailing_address_narrative": [],
- "result_title_narrative": [],
- "result_indicator_title_narrative": [],
- "result_indicator_baseline_comment_narrative": [],
- "result_indicator_period_actual_comment_narrative": [],
- "result_indicator_period_target_comment_narrative": [],
- "country_budget_items_budget_item_description_narrative": [],
- "result_description_narrative": [],
- "transaction_provider_org_narrative": [],
- "result_indicator_description_narrative": [],
- "location_name_narrative": [],
- "location_description_narrative": [],
- "activity_date_narrative": [],
- "policy_marker_narrative": [],
- "result_document_link_title_narrative": [],
- "result_document_link_description_narrative": [],
- "conditions_condition_narrative": [],
- "recipient_region_narrative": [],
- "planned_disbursement_provider_org_narrative": [],
- "transaction_sector_narrative": [],
- "transaction_recipient_country_narrative": [],
- "usg_state_location_narrative": [],
- "location_activity_description_narrative": [],
- "planned_disbursement_receiver_org_narrative": [],
- "usg_tec1_narrative": [],
- "usg_duns_number_narrative": [],
- "tag_narrative": [],
- "transaction_recipient_region_narrative": [],
- "result_indicator_document_link_title_narrative": [],
- "humanitarian_scope_narrative": []
- },
- "0d7ea2b15eec114cc9b48dbf3ba9aabb66e31751": {
- "title_narrative": ["Bhutan-ROCHE, Covid19 test kits"],
- "sector_narrative": [],
- "description_narrative": [],
- "reporting_org_narrative": [],
- "participating_org_narrative": [],
- "recipient_country_narrative": [],
- "document_link_title_narrative": [],
- "contact_info_job_title_narrative": [],
- "contact_info_department_narrative": [],
- "transaction_description_narrative": [],
- "contact_info_person_name_narrative": [],
- "transaction_receiver_org_narrative": [],
- "contact_info_organisation_narrative": [],
- "document_link_description_narrative": [],
- "other_identifier_owner_org_narrative": [],
- "contact_info_mailing_address_narrative": [],
- "result_title_narrative": [],
- "result_indicator_title_narrative": [],
- "result_indicator_baseline_comment_narrative": [],
- "result_indicator_period_actual_comment_narrative": [],
- "result_indicator_period_target_comment_narrative": [],
- "country_budget_items_budget_item_description_narrative": [],
- "result_description_narrative": [],
- "transaction_provider_org_narrative": [],
- "result_indicator_description_narrative": [],
- "location_name_narrative": [],
- "location_description_narrative": [],
- "activity_date_narrative": [],
- "policy_marker_narrative": [],
- "result_document_link_title_narrative": [],
- "result_document_link_description_narrative": [],
- "conditions_condition_narrative": [],
- "recipient_region_narrative": [],
- "planned_disbursement_provider_org_narrative": [],
- "transaction_sector_narrative": [],
- "transaction_recipient_country_narrative": [],
- "usg_state_location_narrative": [],
- "location_activity_description_narrative": [],
- "planned_disbursement_receiver_org_narrative": [],
- "usg_tec1_narrative": [],
- "usg_duns_number_narrative": [],
- "tag_narrative": [],
- "transaction_recipient_region_narrative": [],
- "result_indicator_document_link_title_narrative": [],
- "humanitarian_scope_narrative": []
- },
- "5320000d7225a890c5a0a8d7f19d31e5088ac8d2": {
- "title_narrative": ["FF AFG - Devise/test monitoring system"],
- "sector_narrative": [],
- "description_narrative": [
- "FF AFG - Devise/test monitoring system"
- ],
- "reporting_org_narrative": [],
- "participating_org_narrative": [],
- "recipient_country_narrative": [],
- "document_link_title_narrative": [],
- "contact_info_job_title_narrative": [],
- "contact_info_department_narrative": [],
- "transaction_description_narrative": [],
- "contact_info_person_name_narrative": [],
- "transaction_receiver_org_narrative": [],
- "contact_info_organisation_narrative": [],
- "document_link_description_narrative": [],
- "other_identifier_owner_org_narrative": [],
- "contact_info_mailing_address_narrative": [],
- "result_title_narrative": [],
- "result_indicator_title_narrative": [],
- "result_indicator_baseline_comment_narrative": [],
- "result_indicator_period_actual_comment_narrative": [],
- "result_indicator_period_target_comment_narrative": [],
- "country_budget_items_budget_item_description_narrative": [],
- "result_description_narrative": [],
- "transaction_provider_org_narrative": [],
- "result_indicator_description_narrative": [],
- "location_name_narrative": [],
- "location_description_narrative": [],
- "activity_date_narrative": [],
- "policy_marker_narrative": [],
- "result_document_link_title_narrative": [],
- "result_document_link_description_narrative": [],
- "conditions_condition_narrative": [],
- "recipient_region_narrative": [],
- "planned_disbursement_provider_org_narrative": [],
- "transaction_sector_narrative": [],
- "transaction_recipient_country_narrative": [],
- "usg_state_location_narrative": [],
- "location_activity_description_narrative": [],
- "planned_disbursement_receiver_org_narrative": [],
- "usg_tec1_narrative": [],
- "usg_duns_number_narrative": [],
- "tag_narrative": [],
- "transaction_recipient_region_narrative": [],
- "result_indicator_document_link_title_narrative": [],
- "humanitarian_scope_narrative": []
- },
- "c5ed3fbb17c63a6103206c27dfa8884a6413503a": {
- "title_narrative": [
- "Co engagement: Funding for test market of affordable nutritious food"
- ],
- "sector_narrative": [],
- "description_narrative": [],
- "reporting_org_narrative": [],
- "participating_org_narrative": [],
- "recipient_country_narrative": [],
- "document_link_title_narrative": [],
- "contact_info_job_title_narrative": [],
- "contact_info_department_narrative": [],
- "transaction_description_narrative": [],
- "contact_info_person_name_narrative": [],
- "transaction_receiver_org_narrative": [],
- "contact_info_organisation_narrative": [],
- "document_link_description_narrative": [],
- "other_identifier_owner_org_narrative": [],
- "contact_info_mailing_address_narrative": [],
- "result_title_narrative": [],
- "result_indicator_title_narrative": [],
- "result_indicator_baseline_comment_narrative": [],
- "result_indicator_period_actual_comment_narrative": [],
- "result_indicator_period_target_comment_narrative": [],
- "country_budget_items_budget_item_description_narrative": [],
- "result_description_narrative": [],
- "transaction_provider_org_narrative": [],
- "result_indicator_description_narrative": [],
- "location_name_narrative": [],
- "location_description_narrative": [],
- "activity_date_narrative": [],
- "policy_marker_narrative": [],
- "result_document_link_title_narrative": [],
- "result_document_link_description_narrative": [],
- "conditions_condition_narrative": [],
- "recipient_region_narrative": [],
- "planned_disbursement_provider_org_narrative": [],
- "transaction_sector_narrative": [],
- "transaction_recipient_country_narrative": [],
- "usg_state_location_narrative": [],
- "location_activity_description_narrative": [],
- "planned_disbursement_receiver_org_narrative": [],
- "usg_tec1_narrative": [],
- "usg_duns_number_narrative": [],
- "tag_narrative": [],
- "transaction_recipient_region_narrative": [],
- "result_indicator_document_link_title_narrative": [],
- "humanitarian_scope_narrative": []
+ "responseHeader": {
+ "zkConnected": true,
+ "status": 0,
+ "QTime": 4,
+ "params": {
+ "q": "title_narrative:\"test\"",
+ "hl": "true",
+ "fl": "id,title_narrative,description_narrative,iati_identifier,last_updated_datetime,reporting_org_narrative",
+ "start": "0",
+ "sort": "iati_identifier asc",
+ "hl.method": "unified",
+ "hl.fl": "*_narrative",
+ "rows": "10",
+ "wt": "json"
+ }
},
- "3b0812dcf375d5cbbb44c92bc0aedbcd8705e7b3": {
- "title_narrative": [
- "Identifying who is acquiring HIV in the era of test and treat"
- ],
- "sector_narrative": [],
- "description_narrative": [],
- "reporting_org_narrative": [],
- "participating_org_narrative": [],
- "recipient_country_narrative": [],
- "document_link_title_narrative": [],
- "contact_info_job_title_narrative": [],
- "contact_info_department_narrative": [],
- "transaction_description_narrative": [],
- "contact_info_person_name_narrative": [],
- "transaction_receiver_org_narrative": [],
- "contact_info_organisation_narrative": [],
- "document_link_description_narrative": [],
- "other_identifier_owner_org_narrative": [],
- "contact_info_mailing_address_narrative": [],
- "result_title_narrative": [],
- "result_indicator_title_narrative": [],
- "result_indicator_baseline_comment_narrative": [],
- "result_indicator_period_actual_comment_narrative": [],
- "result_indicator_period_target_comment_narrative": [],
- "country_budget_items_budget_item_description_narrative": [],
- "result_description_narrative": [],
- "transaction_provider_org_narrative": [],
- "result_indicator_description_narrative": [],
- "location_name_narrative": [],
- "location_description_narrative": [],
- "activity_date_narrative": [],
- "policy_marker_narrative": [],
- "result_document_link_title_narrative": [],
- "result_document_link_description_narrative": [],
- "conditions_condition_narrative": [],
- "recipient_region_narrative": [],
- "planned_disbursement_provider_org_narrative": [],
- "transaction_sector_narrative": [],
- "transaction_recipient_country_narrative": [],
- "usg_state_location_narrative": [],
- "location_activity_description_narrative": [],
- "planned_disbursement_receiver_org_narrative": [],
- "usg_tec1_narrative": [],
- "usg_duns_number_narrative": [],
- "tag_narrative": [],
- "transaction_recipient_region_narrative": [],
- "result_indicator_document_link_title_narrative": [],
- "humanitarian_scope_narrative": []
+ "response": {
+ "numFound": 409,
+ "start": 0,
+ "numFoundExact": true,
+ "docs": [
+ {
+ "iati_identifier": "47045-SUR-M-MoH",
+ "title_narrative": [
+ "Towards Malaria Elimination: Expanding Test, Track and Treat in Mining Areas"
+ ],
+ "description_narrative": [
+ "Suriname - Malaria - Ministry of Health of the Republic of Suriname - MOH. This program has the following goals: Reduce the incidence of Malaria to less than 1 case per 1000 inhabitants in every region. The objectives of this program are: Treat freely 95% of malaria cases. Track and report 90% of the cases with diagnosis. Achieve parasitology confirmation of all cases. Achieve more than 90% coverage of LLIN's in selected high risk and vulnerable population. Increase the percentage of Malaria knowledge"
+ ],
+ "last_updated_datetime": "2022-01-31T00:00:00Z",
+ "reporting_org_narrative": [
+ "The Global Fund to Fight AIDS, Tuberculosis and Malaria"
+ ],
+ "id": "70c0fa17542b518991523177297c85c5322a316d"
+ },
+ {
+ "iati_identifier": "AU-5-O15622-KH",
+ "title_narrative": ["Chameleon Sensor Pilot Test - Africa"],
+ "description_narrative": [
+ "Funding under this investment supports the pilot testing of the Chameleon sensor by the Australian Centre for International Agricultural Research (ACIAR). Research undertaken by ACIAR aims to promote economic development and ensure food security."
+ ],
+ "last_updated_datetime": "2020-06-19T00:00:00Z",
+ "reporting_org_narrative": ["Australian Aid"],
+ "id": "b4d5dcad0f9bef1a222837b92c642b7512cbc21e"
+ },
+ {
+ "iati_identifier": "AU-5-O15622-KH",
+ "title_narrative": ["Chameleon Sensor Pilot Test - Africa"],
+ "description_narrative": [
+ "Funding under this investment supports the pilot testing of the Chameleon sensor by the Australian Centre for International Agricultural Research (ACIAR). Research undertaken by ACIAR aims to promote economic development and ensure food security."
+ ],
+ "last_updated_datetime": "2020-06-19T00:00:00Z",
+ "reporting_org_narrative": ["Australian Aid"],
+ "id": "d1488f6cf21206a967bd05c2318b45b9051a684b"
+ },
+ {
+ "iati_identifier": "AU-5-O15622-MZ",
+ "title_narrative": ["Chameleon Sensor Pilot Test - Africa"],
+ "description_narrative": [
+ "Funding under this investment supports the pilot testing of the Chameleon sensor by the Australian Centre for International Agricultural Research (ACIAR). Research undertaken by ACIAR aims to promote economic development and ensure food security."
+ ],
+ "last_updated_datetime": "2020-06-19T00:00:00Z",
+ "reporting_org_narrative": ["Australian Aid"],
+ "id": "2ae9574feb29c8ecf43c8dfe20fea67a4c58d4d3"
+ },
+ {
+ "iati_identifier": "AU-5-O15622-VN",
+ "title_narrative": ["Chameleon Sensor Pilot Test - Africa"],
+ "description_narrative": [
+ "Funding under this investment supports the pilot testing of the Chameleon sensor by the Australian Centre for International Agricultural Research (ACIAR). Research undertaken by ACIAR aims to promote economic development and ensure food security."
+ ],
+ "last_updated_datetime": "2020-06-19T00:00:00Z",
+ "reporting_org_narrative": ["Australian Aid"],
+ "id": "800b9b2a61977b026d1bab2fe3903a331a89f0b4"
+ },
+ {
+ "iati_identifier": "CH-4-2020001280",
+ "title_narrative": ["Bhutan-ROCHE, Covid19 test kits"],
+ "description_narrative": [
+ "No description for this activity available at this point. Description indisponible pour cette activité."
+ ],
+ "last_updated_datetime": "2021-04-26T00:00:00Z",
+ "reporting_org_narrative": [
+ "Swiss Agency for Development and Cooperation (SDC)"
+ ],
+ "id": "0d7ea2b15eec114cc9b48dbf3ba9aabb66e31751"
+ },
+ {
+ "iati_identifier": "CH-FDJP-CHE-110347351-11AF05-14",
+ "title_narrative": ["FF AFG - Devise/test monitoring system"],
+ "description_narrative": [
+ "FF AFG - Devise/test monitoring system"
+ ],
+ "last_updated_datetime": "2021-11-24T17:12:48Z",
+ "reporting_org_narrative": [
+ "The Global Alliance for Improved Nutrition"
+ ],
+ "id": "5320000d7225a890c5a0a8d7f19d31e5088ac8d2"
+ },
+ {
+ "iati_identifier": "DAC-1601-INV-002012",
+ "title_narrative": [
+ "Co engagement: Funding for test market of affordable nutritious food"
+ ],
+ "description_narrative": [
+ "To co-fund a pilot of innovative promotion and distribution activities for an affordable, nutritious and fortified product designed to meet the needs of women of reproductive age from lower-income groups in Nigeria."
+ ],
+ "last_updated_datetime": "2022-01-18T13:30:43Z",
+ "reporting_org_narrative": [
+ "Bill and Melinda Gates Foundation"
+ ],
+ "id": "c5ed3fbb17c63a6103206c27dfa8884a6413503a"
+ },
+ {
+ "iati_identifier": "DAC-1601-INV-004172",
+ "title_narrative": [
+ "Identifying who is acquiring HIV in the era of test and treat"
+ ],
+ "description_narrative": [
+ "to explore the patterns of HIV acquisition and the associated risk factors to better understand who is acquiring HIV using data from the POPART trial"
+ ],
+ "last_updated_datetime": "2022-01-18T13:13:09Z",
+ "reporting_org_narrative": [
+ "Bill and Melinda Gates Foundation"
+ ],
+ "id": "3b0812dcf375d5cbbb44c92bc0aedbcd8705e7b3"
+ },
+ {
+ "iati_identifier": "DAC-1601-INV-005620",
+ "title_narrative": [
+ "Working group and pilots to develop and test agency measures"
+ ],
+ "description_narrative": [
+ "to develop, test and validate measures of women's agency for inclusion in large scale surveys"
+ ],
+ "last_updated_datetime": "2022-01-18T12:55:31Z",
+ "reporting_org_narrative": [
+ "Bill and Melinda Gates Foundation"
+ ],
+ "id": "4711d362f77530936ad88055ea9a9992c79abfe6"
+ }
+ ]
},
- "4711d362f77530936ad88055ea9a9992c79abfe6": {
- "title_narrative": [
- "Working group and pilots to develop and test agency measures"
- ],
- "sector_narrative": [],
- "description_narrative": [
- "to develop, test and validate measures of women's agency for inclusion in large scale surveys"
- ],
- "reporting_org_narrative": [],
- "participating_org_narrative": [],
- "recipient_country_narrative": [],
- "document_link_title_narrative": [],
- "contact_info_job_title_narrative": [],
- "contact_info_department_narrative": [],
- "transaction_description_narrative": [],
- "contact_info_person_name_narrative": [],
- "transaction_receiver_org_narrative": [],
- "contact_info_organisation_narrative": [],
- "document_link_description_narrative": [],
- "other_identifier_owner_org_narrative": [],
- "contact_info_mailing_address_narrative": [],
- "result_title_narrative": [],
- "result_indicator_title_narrative": [],
- "result_indicator_baseline_comment_narrative": [],
- "result_indicator_period_actual_comment_narrative": [],
- "result_indicator_period_target_comment_narrative": [],
- "country_budget_items_budget_item_description_narrative": [],
- "result_description_narrative": [],
- "transaction_provider_org_narrative": [],
- "result_indicator_description_narrative": [],
- "location_name_narrative": [],
- "location_description_narrative": [],
- "activity_date_narrative": [],
- "policy_marker_narrative": [],
- "result_document_link_title_narrative": [],
- "result_document_link_description_narrative": [],
- "conditions_condition_narrative": [],
- "recipient_region_narrative": [],
- "planned_disbursement_provider_org_narrative": [],
- "transaction_sector_narrative": [],
- "transaction_recipient_country_narrative": [],
- "usg_state_location_narrative": [],
- "location_activity_description_narrative": [],
- "planned_disbursement_receiver_org_narrative": [],
- "usg_tec1_narrative": [],
- "usg_duns_number_narrative": [],
- "tag_narrative": [],
- "transaction_recipient_region_narrative": [],
- "result_indicator_document_link_title_narrative": [],
- "humanitarian_scope_narrative": []
+ "highlighting": {
+ "70c0fa17542b518991523177297c85c5322a316d": {
+ "title_narrative": [
+ "Towards Malaria Elimination: Expanding Test, Track and Treat in Mining Areas"
+ ],
+ "sector_narrative": [],
+ "description_narrative": [],
+ "reporting_org_narrative": [],
+ "participating_org_narrative": [],
+ "recipient_country_narrative": [],
+ "document_link_title_narrative": [],
+ "contact_info_job_title_narrative": [],
+ "contact_info_department_narrative": [],
+ "transaction_description_narrative": [],
+ "contact_info_person_name_narrative": [],
+ "transaction_receiver_org_narrative": [],
+ "contact_info_organisation_narrative": [],
+ "document_link_description_narrative": [],
+ "other_identifier_owner_org_narrative": [],
+ "contact_info_mailing_address_narrative": [],
+ "result_title_narrative": [],
+ "result_indicator_title_narrative": [
+ "",
+ "Malaria test positivity rate"
+ ],
+ "result_indicator_baseline_comment_narrative": [],
+ "result_indicator_period_actual_comment_narrative": [],
+ "result_indicator_period_target_comment_narrative": [],
+ "country_budget_items_budget_item_description_narrative": [],
+ "result_description_narrative": [],
+ "transaction_provider_org_narrative": [],
+ "result_indicator_description_narrative": [],
+ "location_name_narrative": [],
+ "location_description_narrative": [],
+ "activity_date_narrative": [],
+ "policy_marker_narrative": [],
+ "result_document_link_title_narrative": [],
+ "result_document_link_description_narrative": [],
+ "conditions_condition_narrative": [],
+ "recipient_region_narrative": [],
+ "planned_disbursement_provider_org_narrative": [],
+ "transaction_sector_narrative": [],
+ "transaction_recipient_country_narrative": [],
+ "usg_state_location_narrative": [],
+ "location_activity_description_narrative": [],
+ "planned_disbursement_receiver_org_narrative": [],
+ "usg_tec1_narrative": [],
+ "usg_duns_number_narrative": [],
+ "tag_narrative": [],
+ "transaction_recipient_region_narrative": [],
+ "result_indicator_document_link_title_narrative": [],
+ "humanitarian_scope_narrative": []
+ },
+ "b4d5dcad0f9bef1a222837b92c642b7512cbc21e": {
+ "title_narrative": [
+ "Chameleon Sensor Pilot Test - Africa"
+ ],
+ "sector_narrative": [],
+ "description_narrative": [],
+ "reporting_org_narrative": [],
+ "participating_org_narrative": [],
+ "recipient_country_narrative": [],
+ "document_link_title_narrative": [],
+ "contact_info_job_title_narrative": [],
+ "contact_info_department_narrative": [],
+ "transaction_description_narrative": [],
+ "contact_info_person_name_narrative": [],
+ "transaction_receiver_org_narrative": [],
+ "contact_info_organisation_narrative": [],
+ "document_link_description_narrative": [],
+ "other_identifier_owner_org_narrative": [],
+ "contact_info_mailing_address_narrative": [],
+ "result_title_narrative": [],
+ "result_indicator_title_narrative": [],
+ "result_indicator_baseline_comment_narrative": [],
+ "result_indicator_period_actual_comment_narrative": [],
+ "result_indicator_period_target_comment_narrative": [],
+ "country_budget_items_budget_item_description_narrative": [],
+ "result_description_narrative": [],
+ "transaction_provider_org_narrative": [],
+ "result_indicator_description_narrative": [],
+ "location_name_narrative": [],
+ "location_description_narrative": [],
+ "activity_date_narrative": [],
+ "policy_marker_narrative": [],
+ "result_document_link_title_narrative": [],
+ "result_document_link_description_narrative": [],
+ "conditions_condition_narrative": [],
+ "recipient_region_narrative": [],
+ "planned_disbursement_provider_org_narrative": [],
+ "transaction_sector_narrative": [],
+ "transaction_recipient_country_narrative": [],
+ "usg_state_location_narrative": [],
+ "location_activity_description_narrative": [],
+ "planned_disbursement_receiver_org_narrative": [],
+ "usg_tec1_narrative": [],
+ "usg_duns_number_narrative": [],
+ "tag_narrative": [],
+ "transaction_recipient_region_narrative": [],
+ "result_indicator_document_link_title_narrative": [],
+ "humanitarian_scope_narrative": []
+ },
+ "d1488f6cf21206a967bd05c2318b45b9051a684b": {
+ "title_narrative": [
+ "Chameleon Sensor Pilot Test - Africa"
+ ],
+ "sector_narrative": [],
+ "description_narrative": [],
+ "reporting_org_narrative": [],
+ "participating_org_narrative": [],
+ "recipient_country_narrative": [],
+ "document_link_title_narrative": [],
+ "contact_info_job_title_narrative": [],
+ "contact_info_department_narrative": [],
+ "transaction_description_narrative": [],
+ "contact_info_person_name_narrative": [],
+ "transaction_receiver_org_narrative": [],
+ "contact_info_organisation_narrative": [],
+ "document_link_description_narrative": [],
+ "other_identifier_owner_org_narrative": [],
+ "contact_info_mailing_address_narrative": [],
+ "result_title_narrative": [],
+ "result_indicator_title_narrative": [],
+ "result_indicator_baseline_comment_narrative": [],
+ "result_indicator_period_actual_comment_narrative": [],
+ "result_indicator_period_target_comment_narrative": [],
+ "country_budget_items_budget_item_description_narrative": [],
+ "result_description_narrative": [],
+ "transaction_provider_org_narrative": [],
+ "result_indicator_description_narrative": [],
+ "location_name_narrative": [],
+ "location_description_narrative": [],
+ "activity_date_narrative": [],
+ "policy_marker_narrative": [],
+ "result_document_link_title_narrative": [],
+ "result_document_link_description_narrative": [],
+ "conditions_condition_narrative": [],
+ "recipient_region_narrative": [],
+ "planned_disbursement_provider_org_narrative": [],
+ "transaction_sector_narrative": [],
+ "transaction_recipient_country_narrative": [],
+ "usg_state_location_narrative": [],
+ "location_activity_description_narrative": [],
+ "planned_disbursement_receiver_org_narrative": [],
+ "usg_tec1_narrative": [],
+ "usg_duns_number_narrative": [],
+ "tag_narrative": [],
+ "transaction_recipient_region_narrative": [],
+ "result_indicator_document_link_title_narrative": [],
+ "humanitarian_scope_narrative": []
+ },
+ "2ae9574feb29c8ecf43c8dfe20fea67a4c58d4d3": {
+ "title_narrative": [
+ "Chameleon Sensor Pilot Test - Africa"
+ ],
+ "sector_narrative": [],
+ "description_narrative": [],
+ "reporting_org_narrative": [],
+ "participating_org_narrative": [],
+ "recipient_country_narrative": [],
+ "document_link_title_narrative": [],
+ "contact_info_job_title_narrative": [],
+ "contact_info_department_narrative": [],
+ "transaction_description_narrative": [],
+ "contact_info_person_name_narrative": [],
+ "transaction_receiver_org_narrative": [],
+ "contact_info_organisation_narrative": [],
+ "document_link_description_narrative": [],
+ "other_identifier_owner_org_narrative": [],
+ "contact_info_mailing_address_narrative": [],
+ "result_title_narrative": [],
+ "result_indicator_title_narrative": [],
+ "result_indicator_baseline_comment_narrative": [],
+ "result_indicator_period_actual_comment_narrative": [],
+ "result_indicator_period_target_comment_narrative": [],
+ "country_budget_items_budget_item_description_narrative": [],
+ "result_description_narrative": [],
+ "transaction_provider_org_narrative": [],
+ "result_indicator_description_narrative": [],
+ "location_name_narrative": [],
+ "location_description_narrative": [],
+ "activity_date_narrative": [],
+ "policy_marker_narrative": [],
+ "result_document_link_title_narrative": [],
+ "result_document_link_description_narrative": [],
+ "conditions_condition_narrative": [],
+ "recipient_region_narrative": [],
+ "planned_disbursement_provider_org_narrative": [],
+ "transaction_sector_narrative": [],
+ "transaction_recipient_country_narrative": [],
+ "usg_state_location_narrative": [],
+ "location_activity_description_narrative": [],
+ "planned_disbursement_receiver_org_narrative": [],
+ "usg_tec1_narrative": [],
+ "usg_duns_number_narrative": [],
+ "tag_narrative": [],
+ "transaction_recipient_region_narrative": [],
+ "result_indicator_document_link_title_narrative": [],
+ "humanitarian_scope_narrative": []
+ },
+ "800b9b2a61977b026d1bab2fe3903a331a89f0b4": {
+ "title_narrative": [
+ "Chameleon Sensor Pilot Test - Africa"
+ ],
+ "sector_narrative": [],
+ "description_narrative": [],
+ "reporting_org_narrative": [],
+ "participating_org_narrative": [],
+ "recipient_country_narrative": [],
+ "document_link_title_narrative": [],
+ "contact_info_job_title_narrative": [],
+ "contact_info_department_narrative": [],
+ "transaction_description_narrative": [],
+ "contact_info_person_name_narrative": [],
+ "transaction_receiver_org_narrative": [],
+ "contact_info_organisation_narrative": [],
+ "document_link_description_narrative": [],
+ "other_identifier_owner_org_narrative": [],
+ "contact_info_mailing_address_narrative": [],
+ "result_title_narrative": [],
+ "result_indicator_title_narrative": [],
+ "result_indicator_baseline_comment_narrative": [],
+ "result_indicator_period_actual_comment_narrative": [],
+ "result_indicator_period_target_comment_narrative": [],
+ "country_budget_items_budget_item_description_narrative": [],
+ "result_description_narrative": [],
+ "transaction_provider_org_narrative": [],
+ "result_indicator_description_narrative": [],
+ "location_name_narrative": [],
+ "location_description_narrative": [],
+ "activity_date_narrative": [],
+ "policy_marker_narrative": [],
+ "result_document_link_title_narrative": [],
+ "result_document_link_description_narrative": [],
+ "conditions_condition_narrative": [],
+ "recipient_region_narrative": [],
+ "planned_disbursement_provider_org_narrative": [],
+ "transaction_sector_narrative": [],
+ "transaction_recipient_country_narrative": [],
+ "usg_state_location_narrative": [],
+ "location_activity_description_narrative": [],
+ "planned_disbursement_receiver_org_narrative": [],
+ "usg_tec1_narrative": [],
+ "usg_duns_number_narrative": [],
+ "tag_narrative": [],
+ "transaction_recipient_region_narrative": [],
+ "result_indicator_document_link_title_narrative": [],
+ "humanitarian_scope_narrative": []
+ },
+ "0d7ea2b15eec114cc9b48dbf3ba9aabb66e31751": {
+ "title_narrative": ["Bhutan-ROCHE, Covid19 test kits"],
+ "sector_narrative": [],
+ "description_narrative": [],
+ "reporting_org_narrative": [],
+ "participating_org_narrative": [],
+ "recipient_country_narrative": [],
+ "document_link_title_narrative": [],
+ "contact_info_job_title_narrative": [],
+ "contact_info_department_narrative": [],
+ "transaction_description_narrative": [],
+ "contact_info_person_name_narrative": [],
+ "transaction_receiver_org_narrative": [],
+ "contact_info_organisation_narrative": [],
+ "document_link_description_narrative": [],
+ "other_identifier_owner_org_narrative": [],
+ "contact_info_mailing_address_narrative": [],
+ "result_title_narrative": [],
+ "result_indicator_title_narrative": [],
+ "result_indicator_baseline_comment_narrative": [],
+ "result_indicator_period_actual_comment_narrative": [],
+ "result_indicator_period_target_comment_narrative": [],
+ "country_budget_items_budget_item_description_narrative": [],
+ "result_description_narrative": [],
+ "transaction_provider_org_narrative": [],
+ "result_indicator_description_narrative": [],
+ "location_name_narrative": [],
+ "location_description_narrative": [],
+ "activity_date_narrative": [],
+ "policy_marker_narrative": [],
+ "result_document_link_title_narrative": [],
+ "result_document_link_description_narrative": [],
+ "conditions_condition_narrative": [],
+ "recipient_region_narrative": [],
+ "planned_disbursement_provider_org_narrative": [],
+ "transaction_sector_narrative": [],
+ "transaction_recipient_country_narrative": [],
+ "usg_state_location_narrative": [],
+ "location_activity_description_narrative": [],
+ "planned_disbursement_receiver_org_narrative": [],
+ "usg_tec1_narrative": [],
+ "usg_duns_number_narrative": [],
+ "tag_narrative": [],
+ "transaction_recipient_region_narrative": [],
+ "result_indicator_document_link_title_narrative": [],
+ "humanitarian_scope_narrative": []
+ },
+ "5320000d7225a890c5a0a8d7f19d31e5088ac8d2": {
+ "title_narrative": [
+ "FF AFG - Devise/test monitoring system"
+ ],
+ "sector_narrative": [],
+ "description_narrative": [
+ "FF AFG - Devise/test monitoring system"
+ ],
+ "reporting_org_narrative": [],
+ "participating_org_narrative": [],
+ "recipient_country_narrative": [],
+ "document_link_title_narrative": [],
+ "contact_info_job_title_narrative": [],
+ "contact_info_department_narrative": [],
+ "transaction_description_narrative": [],
+ "contact_info_person_name_narrative": [],
+ "transaction_receiver_org_narrative": [],
+ "contact_info_organisation_narrative": [],
+ "document_link_description_narrative": [],
+ "other_identifier_owner_org_narrative": [],
+ "contact_info_mailing_address_narrative": [],
+ "result_title_narrative": [],
+ "result_indicator_title_narrative": [],
+ "result_indicator_baseline_comment_narrative": [],
+ "result_indicator_period_actual_comment_narrative": [],
+ "result_indicator_period_target_comment_narrative": [],
+ "country_budget_items_budget_item_description_narrative": [],
+ "result_description_narrative": [],
+ "transaction_provider_org_narrative": [],
+ "result_indicator_description_narrative": [],
+ "location_name_narrative": [],
+ "location_description_narrative": [],
+ "activity_date_narrative": [],
+ "policy_marker_narrative": [],
+ "result_document_link_title_narrative": [],
+ "result_document_link_description_narrative": [],
+ "conditions_condition_narrative": [],
+ "recipient_region_narrative": [],
+ "planned_disbursement_provider_org_narrative": [],
+ "transaction_sector_narrative": [],
+ "transaction_recipient_country_narrative": [],
+ "usg_state_location_narrative": [],
+ "location_activity_description_narrative": [],
+ "planned_disbursement_receiver_org_narrative": [],
+ "usg_tec1_narrative": [],
+ "usg_duns_number_narrative": [],
+ "tag_narrative": [],
+ "transaction_recipient_region_narrative": [],
+ "result_indicator_document_link_title_narrative": [],
+ "humanitarian_scope_narrative": []
+ },
+ "c5ed3fbb17c63a6103206c27dfa8884a6413503a": {
+ "title_narrative": [
+ "Co engagement: Funding for test market of affordable nutritious food"
+ ],
+ "sector_narrative": [],
+ "description_narrative": [],
+ "reporting_org_narrative": [],
+ "participating_org_narrative": [],
+ "recipient_country_narrative": [],
+ "document_link_title_narrative": [],
+ "contact_info_job_title_narrative": [],
+ "contact_info_department_narrative": [],
+ "transaction_description_narrative": [],
+ "contact_info_person_name_narrative": [],
+ "transaction_receiver_org_narrative": [],
+ "contact_info_organisation_narrative": [],
+ "document_link_description_narrative": [],
+ "other_identifier_owner_org_narrative": [],
+ "contact_info_mailing_address_narrative": [],
+ "result_title_narrative": [],
+ "result_indicator_title_narrative": [],
+ "result_indicator_baseline_comment_narrative": [],
+ "result_indicator_period_actual_comment_narrative": [],
+ "result_indicator_period_target_comment_narrative": [],
+ "country_budget_items_budget_item_description_narrative": [],
+ "result_description_narrative": [],
+ "transaction_provider_org_narrative": [],
+ "result_indicator_description_narrative": [],
+ "location_name_narrative": [],
+ "location_description_narrative": [],
+ "activity_date_narrative": [],
+ "policy_marker_narrative": [],
+ "result_document_link_title_narrative": [],
+ "result_document_link_description_narrative": [],
+ "conditions_condition_narrative": [],
+ "recipient_region_narrative": [],
+ "planned_disbursement_provider_org_narrative": [],
+ "transaction_sector_narrative": [],
+ "transaction_recipient_country_narrative": [],
+ "usg_state_location_narrative": [],
+ "location_activity_description_narrative": [],
+ "planned_disbursement_receiver_org_narrative": [],
+ "usg_tec1_narrative": [],
+ "usg_duns_number_narrative": [],
+ "tag_narrative": [],
+ "transaction_recipient_region_narrative": [],
+ "result_indicator_document_link_title_narrative": [],
+ "humanitarian_scope_narrative": []
+ },
+ "3b0812dcf375d5cbbb44c92bc0aedbcd8705e7b3": {
+ "title_narrative": [
+ "Identifying who is acquiring HIV in the era of test and treat"
+ ],
+ "sector_narrative": [],
+ "description_narrative": [],
+ "reporting_org_narrative": [],
+ "participating_org_narrative": [],
+ "recipient_country_narrative": [],
+ "document_link_title_narrative": [],
+ "contact_info_job_title_narrative": [],
+ "contact_info_department_narrative": [],
+ "transaction_description_narrative": [],
+ "contact_info_person_name_narrative": [],
+ "transaction_receiver_org_narrative": [],
+ "contact_info_organisation_narrative": [],
+ "document_link_description_narrative": [],
+ "other_identifier_owner_org_narrative": [],
+ "contact_info_mailing_address_narrative": [],
+ "result_title_narrative": [],
+ "result_indicator_title_narrative": [],
+ "result_indicator_baseline_comment_narrative": [],
+ "result_indicator_period_actual_comment_narrative": [],
+ "result_indicator_period_target_comment_narrative": [],
+ "country_budget_items_budget_item_description_narrative": [],
+ "result_description_narrative": [],
+ "transaction_provider_org_narrative": [],
+ "result_indicator_description_narrative": [],
+ "location_name_narrative": [],
+ "location_description_narrative": [],
+ "activity_date_narrative": [],
+ "policy_marker_narrative": [],
+ "result_document_link_title_narrative": [],
+ "result_document_link_description_narrative": [],
+ "conditions_condition_narrative": [],
+ "recipient_region_narrative": [],
+ "planned_disbursement_provider_org_narrative": [],
+ "transaction_sector_narrative": [],
+ "transaction_recipient_country_narrative": [],
+ "usg_state_location_narrative": [],
+ "location_activity_description_narrative": [],
+ "planned_disbursement_receiver_org_narrative": [],
+ "usg_tec1_narrative": [],
+ "usg_duns_number_narrative": [],
+ "tag_narrative": [],
+ "transaction_recipient_region_narrative": [],
+ "result_indicator_document_link_title_narrative": [],
+ "humanitarian_scope_narrative": []
+ },
+ "4711d362f77530936ad88055ea9a9992c79abfe6": {
+ "title_narrative": [
+ "Working group and pilots to develop and test agency measures"
+ ],
+ "sector_narrative": [],
+ "description_narrative": [
+ "to develop, test and validate measures of women's agency for inclusion in large scale surveys"
+ ],
+ "reporting_org_narrative": [],
+ "participating_org_narrative": [],
+ "recipient_country_narrative": [],
+ "document_link_title_narrative": [],
+ "contact_info_job_title_narrative": [],
+ "contact_info_department_narrative": [],
+ "transaction_description_narrative": [],
+ "contact_info_person_name_narrative": [],
+ "transaction_receiver_org_narrative": [],
+ "contact_info_organisation_narrative": [],
+ "document_link_description_narrative": [],
+ "other_identifier_owner_org_narrative": [],
+ "contact_info_mailing_address_narrative": [],
+ "result_title_narrative": [],
+ "result_indicator_title_narrative": [],
+ "result_indicator_baseline_comment_narrative": [],
+ "result_indicator_period_actual_comment_narrative": [],
+ "result_indicator_period_target_comment_narrative": [],
+ "country_budget_items_budget_item_description_narrative": [],
+ "result_description_narrative": [],
+ "transaction_provider_org_narrative": [],
+ "result_indicator_description_narrative": [],
+ "location_name_narrative": [],
+ "location_description_narrative": [],
+ "activity_date_narrative": [],
+ "policy_marker_narrative": [],
+ "result_document_link_title_narrative": [],
+ "result_document_link_description_narrative": [],
+ "conditions_condition_narrative": [],
+ "recipient_region_narrative": [],
+ "planned_disbursement_provider_org_narrative": [],
+ "transaction_sector_narrative": [],
+ "transaction_recipient_country_narrative": [],
+ "usg_state_location_narrative": [],
+ "location_activity_description_narrative": [],
+ "planned_disbursement_receiver_org_narrative": [],
+ "usg_tec1_narrative": [],
+ "usg_duns_number_narrative": [],
+ "tag_narrative": [],
+ "transaction_recipient_region_narrative": [],
+ "result_indicator_document_link_title_narrative": [],
+ "humanitarian_scope_narrative": []
+ }
}
- }
}
diff --git a/cypress/fixtures/simple_q_test.json b/cypress/fixtures/simple_q_test.json
index 19db9f29..bcc99e7a 100644
--- a/cypress/fixtures/simple_q_test.json
+++ b/cypress/fixtures/simple_q_test.json
@@ -126,7 +126,9 @@
},
{
"iati_identifier": "41120-2678",
- "title_narrative": ["City Resilience Profiling Programme (Norway Funding)"],
+ "title_narrative": [
+ "City Resilience Profiling Programme (Norway Funding)"
+ ],
"description_narrative": [
"Urban planning, spatial and strategic development programmes, international aid organization programmes, international finance and private sector organizations currently focus the majority of their strategies on the basis of analysing specific risks, and investing in mitigation or reduction projects and programmes addressing those risks. While reasonably effective for specific threats, this approach is largely palliative, i.e. defining risk, and retro-fitting remedial measures to reduce it. However, there is no means to test the efficacy of these remedial efforts until another disaster occurs that meets or exceeds the original design limits.\r\nMany urban risk reduction initiatives address specific hazards. These are usually well-known (or at least well-publicized), and more recently since the ‘climate change agenda' has become a global, well-funded, and extremely well-articulated agenda including city strategies to cope with a range of climate-driven threats and mitigating their impact on the global climate. However, approaches often ignore other hazards including the largest killers such as earthquakes and tsunamis, as well as automobile accidents, fires and industrial or technological disasters, and social and political crisis.\r\nThe closest approximation of a tool for building resilience is the UN-ISDR's 10 point checklist associated with their Making Cities Resilient (MCR) global Campaign. However, recent testing of this framework reveals its primary weaknesses which derive from a framework of principles that are self-assessed by local governments, and self-driven with no clear standards that planners, engineers, architects, economists, and other experts who manage cities can target and use. The results are qualitative in nature, and while clearly a good foundation for advocating the resilience agenda globally, will demand further strategies and tools to ensure cities actually do become measurably more resilient.\r\nWhile some developments focusing on multi-hazard approaches, such as the one above, are emerging, to date there is no system for defining forward-looking, integrated, multi-hazard, multi-stakeholder urban systems approach to planning and developing urban settlements capacity to withstand and recover from crisis, i.e. achieving measurable resilience.\r\nThe URIP fills a significant sustainable development planning and implementation gap at a time when cities are assuming ever-increasing local, regional, national and global socio-economic significance."
],
diff --git a/cypress/integration/activity.spec.js b/cypress/integration/activity.spec.js
index 6dd256cf..5b28d482 100644
--- a/cypress/integration/activity.spec.js
+++ b/cypress/integration/activity.spec.js
@@ -5,11 +5,11 @@ describe('The single activity view', () => {
cy.fixture('activity_test').then((activity_test) => {
cy.intercept(
'https://dev-api.iatistandard.org/dss/activity/select?wt=json&sort=iati_identifier%20asc&fl=title_narrative,title_narrative_xml_lang,description_narrative,description_narrative_xml_lang,participating_org_narrative,participating_org_narrative_xml_lang,iati_identifier,last_updated_datetime,reporting_org_ref,reporting_org_narrative,reporting_org_narrative_xml_lang,activity_date*&rows=1&q=iati_identifier:%22XM-IATI-1%22',
- activity_test
+ activity_test,
);
cy.intercept(
'https://api.iatistandard.org/dss/activity/select?wt=json&sort=iati_identifier%20asc&fl=title_narrative,title_narrative_xml_lang,description_narrative,description_narrative_xml_lang,participating_org_narrative,participating_org_narrative_xml_lang,iati_identifier,last_updated_datetime,reporting_org_ref,reporting_org_narrative,reporting_org_narrative_xml_lang,activity_date*&rows=1&q=iati_identifier:%22XM-IATI-1%22',
- activity_test
+ activity_test,
);
});
cy.visit('/activity/XM-IATI-1');
@@ -21,16 +21,18 @@ describe('The single activity view', () => {
});
it('Activity page with blank fields renders with expected data', () => {
- cy.fixture('activity_blank_fields_test').then((activity_blank_fields_test) => {
- cy.intercept(
- 'https://dev-api.iatistandard.org/dss/activity/select?wt=json&sort=iati_identifier%20asc&fl=title_narrative,title_narrative_xml_lang,description_narrative,description_narrative_xml_lang,participating_org_narrative,participating_org_narrative_xml_lang,iati_identifier,last_updated_datetime,reporting_org_ref,reporting_org_narrative,reporting_org_narrative_xml_lang,activity_date*&rows=1&q=iati_identifier:%22XM-IATI-2%22',
- activity_blank_fields_test
- );
- cy.intercept(
- 'https://api.iatistandard.org/dss/activity/select?wt=json&sort=iati_identifier%20asc&fl=title_narrative,title_narrative_xml_lang,description_narrative,description_narrative_xml_lang,participating_org_narrative,participating_org_narrative_xml_lang,iati_identifier,last_updated_datetime,reporting_org_ref,reporting_org_narrative,reporting_org_narrative_xml_lang,activity_date*&rows=1&q=iati_identifier:%22XM-IATI-2%22',
- activity_blank_fields_test
- );
- });
+ cy.fixture('activity_blank_fields_test').then(
+ (activity_blank_fields_test) => {
+ cy.intercept(
+ 'https://dev-api.iatistandard.org/dss/activity/select?wt=json&sort=iati_identifier%20asc&fl=title_narrative,title_narrative_xml_lang,description_narrative,description_narrative_xml_lang,participating_org_narrative,participating_org_narrative_xml_lang,iati_identifier,last_updated_datetime,reporting_org_ref,reporting_org_narrative,reporting_org_narrative_xml_lang,activity_date*&rows=1&q=iati_identifier:%22XM-IATI-2%22',
+ activity_blank_fields_test,
+ );
+ cy.intercept(
+ 'https://api.iatistandard.org/dss/activity/select?wt=json&sort=iati_identifier%20asc&fl=title_narrative,title_narrative_xml_lang,description_narrative,description_narrative_xml_lang,participating_org_narrative,participating_org_narrative_xml_lang,iati_identifier,last_updated_datetime,reporting_org_ref,reporting_org_narrative,reporting_org_narrative_xml_lang,activity_date*&rows=1&q=iati_identifier:%22XM-IATI-2%22',
+ activity_blank_fields_test,
+ );
+ },
+ );
cy.visit('/activity/XM-IATI-2');
cy.contains('Title not provided');
cy.contains('Description not provided');
diff --git a/cypress/integration/advanced.spec.js b/cypress/integration/advanced.spec.js
index a4ef12cd..440369d2 100644
--- a/cypress/integration/advanced.spec.js
+++ b/cypress/integration/advanced.spec.js
@@ -2,12 +2,12 @@
describe('The advanced search', { testIsolation: false }, () => {
beforeEach(() => {
- cy.intercept('https://dev-api.iatistandard.org/dss/resources/filters?locale=en').as(
- 'getFilters'
- );
- cy.intercept('https://api.iatistandard.org/dss/resources/filters?locale=en').as(
- 'getFilters'
- );
+ cy.intercept(
+ 'https://dev-api.iatistandard.org/dss/resources/filters?locale=en',
+ ).as('getFilters');
+ cy.intercept(
+ 'https://api.iatistandard.org/dss/resources/filters?locale=en',
+ ).as('getFilters');
cy.visit('/');
cy.wait('@getFilters');
});
@@ -22,11 +22,11 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.fixture('simple_q_test').then((simple_q_test) => {
cy.intercept(
`https://dev-api.iatistandard.org/dss/activity/search?wt=json&fl=id%2Ctitle_narrative%2Ctitle_narrative_xml_lang%2Cdescription_narrative%2Cdescription_narrative_xml_lang%2Ciati_identifier%2Clast_updated_datetime%2Creporting_org_narrative%2Cactivity_date*&start=0&rows=10&hl=true&hl.method=unified&hl.fl=*_narrative&q=${query}&sort=score+desc`,
- simple_q_test
+ simple_q_test,
);
cy.intercept(
`https://api.iatistandard.org/dss/activity/search?wt=json&fl=id%2Ctitle_narrative%2Ctitle_narrative_xml_lang%2Cdescription_narrative%2Cdescription_narrative_xml_lang%2Ciati_identifier%2Clast_updated_datetime%2Creporting_org_narrative%2Cactivity_date*&start=0&rows=10&hl=true&hl.method=unified&hl.fl=*_narrative&q=${query}&sort=score+desc`,
- simple_q_test
+ simple_q_test,
);
});
});
@@ -62,7 +62,10 @@ describe('The advanced search', { testIsolation: false }, () => {
const validate = (value) => {
cy.get('[data-cy="advanced-search-results"]').click();
cy.get('[data-cy="field-selector"]').should('be.visible');
- cy.get('[data-cy="filter-text-input"]').should('have.value', value);
+ cy.get('[data-cy="filter-text-input"]').should(
+ 'have.value',
+ value,
+ );
};
validate(query);
@@ -96,31 +99,45 @@ describe('The advanced search', { testIsolation: false }, () => {
});
it('adds a group when you click the Add Group button', () => {
- cy.get('[data-cy="add-group"]').its('length').should('equal', 1);
+ cy.get('[data-cy="add-group"]')
+ .its('length')
+ .should('equal', 1);
cy.get('[data-cy="add-group"]').click();
- cy.get('[data-cy="add-group"]').its('length').should('equal', 2);
+ cy.get('[data-cy="add-group"]')
+ .its('length')
+ .should('equal', 2);
});
it('can remove a nested group', () => {
cy.get('[data-cy="add-group"]').click();
- cy.get('[data-cy="add-group"]').its('length').should('equal', 2);
+ cy.get('[data-cy="add-group"]')
+ .its('length')
+ .should('equal', 2);
cy.get('[data-cy="remove-group"]').click();
- cy.get('[data-cy="add-group"]').its('length').should('equal', 1);
+ cy.get('[data-cy="add-group"]')
+ .its('length')
+ .should('equal', 1);
});
it('has a reset feature that requires confirmation', () => {
cy.get('[data-cy="add-rule"]').click();
cy.get('[data-cy="add-rule"]').click();
- cy.get('[data-cy="field-selector"]').its('length').should('equal', 2);
+ cy.get('[data-cy="field-selector"]')
+ .its('length')
+ .should('equal', 2);
cy.get('[data-cy="reset-filters"]').click();
- cy.get('[data-cy="field-selector"]').its('length').should('equal', 2); // confirm that a single click cannot reset
+ cy.get('[data-cy="field-selector"]')
+ .its('length')
+ .should('equal', 2); // confirm that a single click cannot reset
});
it('clears filters when a reset is confirmed', () => {
cy.get('[data-cy="add-rule"]').click();
cy.get('[data-cy="add-rule"]').click();
- cy.get('[data-cy="field-selector"]').its('length').should('equal', 2);
+ cy.get('[data-cy="field-selector"]')
+ .its('length')
+ .should('equal', 2);
cy.get('[data-cy="reset-filters"]').dblclick();
cy.contains('Select field').should('not.exist');
@@ -135,7 +152,6 @@ describe('The advanced search', { testIsolation: false }, () => {
Cypress.config('baseUrl') === 'https://datastore.iatistandard.org'
? 'https://api.iatistandard.org/dss/activity/select'
: 'https://dev-api.iatistandard.org/dss/activity/select';
- const urlSuffix = '&sort=score desc';
const buildRouteMatcher = (query) => ({ url: `${baseUrl}*`, query });
beforeEach(() => {
@@ -148,15 +164,15 @@ describe('The advanced search', { testIsolation: false }, () => {
it('can add, validate & run boolean rules', () => {
cy.get('[data-cy="add-rule"]').click();
cy.contains('Select field').click();
- cy.wait(1000);
cy.contains('Humanitarian').click();
cy.get('[data-cy="run-filters"]').click();
cy.contains('Selection is required');
cy.get('button:contains("TRUE")').click();
cy.fixture('advanced_q_test').then((advanced_q_test) => {
- cy.intercept(buildRouteMatcher({ q: '(humanitarian:true)' }), advanced_q_test).as(
- 'booleanQuery'
- );
+ cy.intercept(
+ buildRouteMatcher({ q: '(humanitarian:true)' }),
+ advanced_q_test,
+ ).as('booleanQuery');
cy.get('[data-cy="run-filters"]').click();
cy.wait('@booleanQuery').then((interception) => {
cy.wrap(interception.response.statusCode).should('eq', 200);
@@ -169,7 +185,6 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.clock(now);
cy.get('[data-cy="add-rule"]').click();
cy.contains('Select field').click();
- cy.wait(1000);
cy.contains('Activity Date Iso Date').click();
cy.get('[data-cy="filter-date-input"]').click();
@@ -180,7 +195,7 @@ describe('The advanced search', { testIsolation: false }, () => {
buildRouteMatcher({
q: '(activity_date_iso_date:"2022-01-31T00:00:00Z")',
}),
- advanced_q_test
+ advanced_q_test,
).as('dateQuery');
cy.get('[data-cy="run-filters"]').click({ force: true });
@@ -195,7 +210,6 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.clock(now);
cy.get('[data-cy="add-rule"]').click();
cy.contains('Select field').click();
- cy.wait(1000);
cy.contains('Hierarchy').click();
cy.get('[data-cy="run-filters"]').click({ force: true });
cy.contains('Value is required');
@@ -203,9 +217,10 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.get('[data-cy="filter-number-input"]').type(1);
cy.fixture('advanced_q_test').then((advanced_q_test) => {
- cy.intercept(buildRouteMatcher({ q: '(hierarchy:"1")' }), advanced_q_test).as(
- 'integerQuery'
- );
+ cy.intercept(
+ buildRouteMatcher({ q: '(hierarchy:"1")' }),
+ advanced_q_test,
+ ).as('integerQuery');
cy.get('[data-cy="run-filters"]').click({ force: true });
cy.wait('@integerQuery').then((interception) => {
cy.wrap(interception.response.statusCode).should('eq', 200);
@@ -218,7 +233,6 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.clock(now);
cy.get('[data-cy="add-rule"]').click();
cy.contains('Select field').click();
- cy.wait(1000);
cy.contains('Sector Percentage').click();
cy.get('[data-cy="run-filters"]').click({ force: true });
cy.contains('Value is required');
@@ -228,7 +242,7 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.fixture('advanced_q_test').then((advanced_q_test) => {
cy.intercept(
buildRouteMatcher({ q: '(sector_percentage:"99.9")' }),
- advanced_q_test
+ advanced_q_test,
).as('numberQuery');
cy.get('[data-cy="run-filters"]').click({ force: true });
cy.wait('@numberQuery').then((interception) => {
@@ -242,17 +256,19 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.clock(now);
cy.get('[data-cy="add-rule"]').click();
cy.contains('Select field').click();
- cy.wait(1000);
cy.contains('Budget Type').click();
cy.get('[data-cy="run-filters"]').click({ force: true });
cy.contains('Selection is required');
- cy.get('[data-cy="filter-select-input"] select').select('2 - Revised');
+ cy.get('[data-cy="filter-select-input"] select').select(
+ '2 - Revised',
+ );
cy.fixture('advanced_q_test').then((advanced_q_test) => {
- cy.intercept(buildRouteMatcher({ q: '(budget_type:2)' }), advanced_q_test).as(
- 'selectQuery'
- );
+ cy.intercept(
+ buildRouteMatcher({ q: '(budget_type:2)' }),
+ advanced_q_test,
+ ).as('selectQuery');
cy.get('[data-cy="run-filters"]').click({ force: true });
cy.wait('@selectQuery').then((interception) => {
cy.wrap(interception.response.statusCode).should('eq', 200);
@@ -263,14 +279,13 @@ describe('The advanced search', { testIsolation: false }, () => {
it('can add, validate & run text rules', () => {
cy.get('[data-cy="add-rule"]').click();
cy.contains('Select field').click();
- cy.wait(1000);
cy.contains('Title Narrative').click();
cy.get('[data-cy="filter-text-input"]').type('Hello world');
cy.fixture('advanced_q_test').then((advanced_q_test) => {
cy.intercept(
buildRouteMatcher({ q: '(title_narrative:(Hello world))' }),
- advanced_q_test
+ advanced_q_test,
).as('textQuery');
cy.get('[data-cy="run-filters"]').click({ force: true });
cy.wait('@textQuery').then((interception) => {
@@ -288,7 +303,6 @@ describe('The advanced search', { testIsolation: false }, () => {
addRuleCount++;
cy.contains('Select field').click();
selectFieldCount++;
- cy.wait(1000);
cy.contains('Title Narrative').click();
cy.get('[data-cy="filter-text-input"]').type('Hello world');
@@ -297,7 +311,9 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.get('[data-cy="group-or"').eq(1).click({ force: true });
// add field to new group
- cy.get('[data-cy="add-rule"]').eq(addRuleCount).click({ force: true });
+ cy.get('[data-cy="add-rule"]')
+ .eq(addRuleCount)
+ .click({ force: true });
cy.contains('Select field').click({ force: true });
cy.get('[data-cy="field-selector"] input')
.eq(selectFieldCount)
@@ -306,7 +322,9 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.get('button:contains("TRUE")').click({ force: true });
// add field to new group
- cy.get('[data-cy="add-rule"]').eq(addRuleCount).click({ force: true });
+ cy.get('[data-cy="add-rule"]')
+ .eq(addRuleCount)
+ .click({ force: true });
addRuleCount++;
cy.contains('Select field').click({ force: true });
cy.get('[data-cy="field-selector"] input')
@@ -321,7 +339,7 @@ describe('The advanced search', { testIsolation: false }, () => {
buildRouteMatcher({
q: '(title_narrative:(Hello world) AND (humanitarian:true OR activity_date_iso_date:"2022-01-31T00:00:00Z"))',
}),
- advanced_q_test
+ advanced_q_test,
).as('groupQuery');
cy.get('[data-cy="run-filters"]').click({ force: true });
cy.wait('@groupQuery').then((interception) => {
@@ -335,15 +353,20 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.clock(now);
cy.get('[data-cy="add-rule"]').click();
cy.contains('Select field').click();
- cy.wait(1000);
- cy.get('[data-cy="field-selector"] input').type('Geospatial search{enter}');
+ cy.get('[data-cy="field-selector"]')
+ .contains('List is empty.')
+ .should('not.be.visible');
+ cy.get('[data-cy="field-selector"] input').type(
+ 'Geospatial search{enter}',
+ );
cy.get('button:contains("Open map")').click();
- cy.wait(1000);
cy.get('button:contains("Apply")').click();
cy.fixture('advanced_q_test').then((advanced_q_test) => {
cy.intercept(
- buildRouteMatcher({ q: '(location_point_latlon:[-31.7,-45.0 TO 31.7,45.0])' }),
+ buildRouteMatcher({
+ q: '(location_point_latlon:[-31.7,-45.0 TO 31.7,45.0])',
+ }),
advanced_q_test,
).as('spatialQuery');
cy.get('[data-cy="run-filters"]').click({ force: true });
@@ -358,14 +381,19 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.clock(now);
cy.get('[data-cy="add-rule"]').click();
cy.contains('Select field').click();
- cy.wait(1000);
- cy.get('[data-cy="field-selector"] input').type('Sector Code{enter}');
+ cy.get('[data-cy="field-selector"]')
+ .contains('List is empty.')
+ .should('not.be.visible');
+ cy.get('[data-cy="field-selector"] input').type(
+ 'Sector Code{enter}',
+ );
cy.get('[data-cy="filter-combo-input"] input').type('11110');
cy.fixture('advanced_q_test').then((advanced_q_test) => {
- cy.intercept(buildRouteMatcher({ q: '(sector_code:(11110))' }), advanced_q_test).as(
- 'comboQuery'
- );
+ cy.intercept(
+ buildRouteMatcher({ q: '(sector_code:(11110))' }),
+ advanced_q_test,
+ ).as('comboQuery');
cy.get('[data-cy="run-filters"]').click({ force: true });
cy.wait('@comboQuery').then((interception) => {
cy.wrap(interception.response.statusCode).should('eq', 200);
@@ -376,7 +404,6 @@ describe('The advanced search', { testIsolation: false }, () => {
it('can export and import filters', () => {
cy.get('[data-cy="add-rule"]').click();
cy.contains('Select field').click();
- cy.wait(1000);
cy.contains('Humanitarian').click();
cy.get('button:contains("TRUE")').click();
@@ -396,15 +423,19 @@ describe('The advanced search', { testIsolation: false }, () => {
mimeType: 'application/json',
});
cy.get('[data-cy="import-filters"]').click();
- cy.wait(1000);
cy.fixture('advanced_q_test').then((advanced_q_test) => {
cy.intercept(
buildRouteMatcher({ q: '(humanitarian:true)' }),
- advanced_q_test
+ advanced_q_test,
).as('eximQuery');
- cy.get('[data-cy="run-filters"]').click({ force: true });
+ cy.get('[data-cy="run-filters"]').click({
+ force: true,
+ });
cy.wait('@eximQuery').then((interception) => {
- cy.wrap(interception.response.statusCode).should('eq', 200);
+ cy.wrap(interception.response.statusCode).should(
+ 'eq',
+ 200,
+ );
});
});
});
@@ -418,14 +449,13 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.get('[data-cy="add-rule"]').click();
cy.contains('Select field').click();
- cy.wait(1000);
cy.contains('Title Narrative').click();
cy.get('[data-cy="filter-text-input"]').type('Hello world');
cy.fixture('advanced_q_test').then((advanced_q_test) => {
cy.intercept(
buildRouteMatcher({ q: '(title_narrative:(Hello world))' }),
- advanced_q_test
+ advanced_q_test,
).as('textQuery');
cy.get('[data-cy="run-filters"]').click({ force: true });
cy.wait('@textQuery').then((interception) => {
@@ -447,7 +477,9 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.get('[data-cy="add-rule"]').click();
cy.contains('Select field').click();
cy.get('[data-cy="field-selector"]').last().contains('Sector Code');
- cy.get('[data-cy="field-selector"]').last().type('Sector Code{enter}');
+ cy.get('[data-cy="field-selector"]')
+ .last()
+ .type('Sector Code{enter}');
cy.get('[data-cy="filter-combo-input"]').last().type('11120');
// Export
@@ -490,7 +522,9 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.get('[data-cy="add-rule"]').click();
cy.contains('Select field').click();
cy.get('[data-cy="field-selector"]').last().contains('Sector Code');
- cy.get('[data-cy="field-selector"]').last().type('Sector Code{enter}');
+ cy.get('[data-cy="field-selector"]')
+ .last()
+ .type('Sector Code{enter}');
cy.get('[data-cy="filter-combo-input"]').last().type('11120');
// Run the filter
@@ -520,9 +554,15 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.get('[data-cy="export-filters"]').should('be.visible');
// Assert that all three ORs are still set
- cy.get('[data-cy="group-or"]').eq(0).should('have.class', 'bg-blue-300');
- cy.get('[data-cy="group-or"]').eq(1).should('have.class', 'bg-blue-300');
- cy.get('[data-cy="group-or"]').eq(2).should('have.class', 'bg-blue-300');
+ cy.get('[data-cy="group-or"]')
+ .eq(0)
+ .should('have.class', 'bg-blue-300');
+ cy.get('[data-cy="group-or"]')
+ .eq(1)
+ .should('have.class', 'bg-blue-300');
+ cy.get('[data-cy="group-or"]')
+ .eq(2)
+ .should('have.class', 'bg-blue-300');
});
it('persists filters correctly after export (2)', () => {
@@ -542,9 +582,15 @@ describe('The advanced search', { testIsolation: false }, () => {
cy.get('[data-cy="export-filters"]').should('be.visible');
// Assert that all three ORs are still set
- cy.get('[data-cy="group-and"]').eq(0).should('have.class', 'bg-blue-300');
- cy.get('[data-cy="group-or"]').eq(1).should('have.class', 'bg-blue-300');
- cy.get('[data-cy="group-and"]').eq(2).should('have.class', 'bg-blue-300');
+ cy.get('[data-cy="group-and"]')
+ .eq(0)
+ .should('have.class', 'bg-blue-300');
+ cy.get('[data-cy="group-or"]')
+ .eq(1)
+ .should('have.class', 'bg-blue-300');
+ cy.get('[data-cy="group-and"]')
+ .eq(2)
+ .should('have.class', 'bg-blue-300');
});
});
});
diff --git a/cypress/integration/results.spec.js b/cypress/integration/results.spec.js
index adfcdeb9..8c2df51a 100644
--- a/cypress/integration/results.spec.js
+++ b/cypress/integration/results.spec.js
@@ -8,7 +8,10 @@ describe('The results view', () => {
});
it('has a visible button for showing the advanced search sidebar', () => {
cy.fixture('simple_q_test').then((simple_q_test) => {
- cy.intercept(`https://dev-api.iatistandard.org/dss/activity/search*`, simple_q_test);
+ cy.intercept(
+ `https://dev-api.iatistandard.org/dss/activity/search*`,
+ simple_q_test,
+ );
});
const query = 'test';
cy.visit(`/?q=${query}`);
@@ -23,11 +26,11 @@ describe('The results view', () => {
cy.fixture('simple_q_test').then((simple_q_test) => {
cy.intercept(
`https://dev-api.iatistandard.org/dss/activity/search?wt=json&fl=id%2Ctitle_narrative%2Ctitle_narrative_xml_lang%2Cdescription_narrative%2Cdescription_narrative_xml_lang%2Ciati_identifier%2Clast_updated_datetime%2Creporting_org_narrative%2Cactivity_date*&start=0&rows=10&hl=true&hl.method=unified&hl.fl=*_narrative&q=${query2}&sort=score+desc`,
- simple_q_test
+ simple_q_test,
);
cy.intercept(
`https://api.iatistandard.org/dss/activity/search?wt=json&fl=id%2Ctitle_narrative%2Ctitle_narrative_xml_lang%2Cdescription_narrative%2Cdescription_narrative_xml_lang%2Ciati_identifier%2Clast_updated_datetime%2Creporting_org_narrative%2Cactivity_date*&start=0&rows=10&hl=true&hl.method=unified&hl.fl=*_narrative&q=${query2}&sort=score+desc`,
- simple_q_test
+ simple_q_test,
);
});
cy.get('[data-cy="search-input"]').clear();
diff --git a/eslint.config.js b/eslint.config.js
new file mode 100644
index 00000000..9353c29c
--- /dev/null
+++ b/eslint.config.js
@@ -0,0 +1,27 @@
+import js from '@eslint/js';
+import gitignore from 'eslint-config-flat-gitignore';
+import globals from 'globals';
+import eslintPluginCypress from 'eslint-plugin-cypress/flat';
+import eslintConfigPrettier from 'eslint-config-prettier';
+import eslintPluginVue from 'eslint-plugin-vue';
+
+export default [
+ gitignore(),
+ {
+ languageOptions: {
+ globals: {
+ ...globals.node,
+ ...globals.browser,
+ },
+ parserOptions: {
+ ecmaVersion: 2020,
+ sourceType: 'module',
+ },
+ },
+ },
+ js.configs.recommended,
+ eslintPluginCypress.configs.globals,
+ eslintPluginCypress.configs.recommended,
+ ...eslintPluginVue.configs['flat/recommended'],
+ eslintConfigPrettier,
+];
diff --git a/locale/en/index.js b/locale/en/index.js
index 661238e0..3f9e0b72 100644
--- a/locale/en/index.js
+++ b/locale/en/index.js
@@ -190,7 +190,8 @@ export default {
true: 'TRUE',
false: 'FALSE',
select_from_codes: 'Select from %{name} codes',
- found_matching_iati_activities: 'Found %{count} matching IATI activities',
+ found_matching_iati_activities:
+ 'Found %{count} matching IATI activities',
sort: 'Sort',
no_match: 'No matching IATI Activities - please try a different search',
not_found: 'Not Found',
@@ -207,14 +208,16 @@ export default {
identifier: 'Identifier',
sort_identifier_label: 'Sort results by IATI identifier',
all_narratives: 'All Narratives',
- all_narratives_desc: 'Searches all IATI narrative fields, used by simple search',
+ all_narratives_desc:
+ 'Searches all IATI narrative fields, used by simple search',
boolean_grouping: 'Boolean Grouping',
boolean_grouping_desc:
'Parenthesis for grouping boolean queries. Ensure every opening parenthesis is matched with a closing parenthesis.',
special_fields: 'Special fields',
grouping: 'Grouping',
standard_fields: 'Standard fields',
- incompatible_file_error: 'Incompatible file detected. Please try a different file.',
+ incompatible_file_error:
+ 'Incompatible file detected. Please try a different file.',
incompatible_file_version:
'Deprecated file version. The query can be run, but cannot be edited.',
search_term_is_required: 'Search term is required',
@@ -228,7 +231,8 @@ export default {
'There was an error fetching your query. Please check how your query is constructed and try again.',
search_term: 'Search term',
spatial_search: 'Geospatial search',
- location_point_latlon_desc: 'Spatial search on location/point/pos latitude and longitude',
+ location_point_latlon_desc:
+ 'Spatial search on location/point/pos latitude and longitude',
latlon_placeholder: 'X1,Y1 TO X2,Y2',
use_map: 'Open map',
pan_and_zoom: 'Pan and zoom map to select bounds',
diff --git a/locale/fr/index.js b/locale/fr/index.js
index d6dcbf4a..58970916 100644
--- a/locale/fr/index.js
+++ b/locale/fr/index.js
@@ -19,7 +19,8 @@ export default {
contact: 'Contact',
twitter_aria: 'lien vers la page twitter de l’iita',
linkedin_aria: 'lien vers la page linkedin de l’iita',
- about_iati_datastore_search: 'À propos de la recherche dans la banque de données de l’IITA',
+ about_iati_datastore_search:
+ 'À propos de la recherche dans la banque de données de l’IITA',
about_para_1:
'\n L’Initiative internationale pour la transparence de l’aide (IITA) est une initiative mondiale visant à améliorer la transparence des ressources allouées au développement et à l’action humanitaire et de leurs résultats en matière de lutte contre les crises et la pauvreté. Elle propose une norme XML ouverte permettant à toute entité octroyant ou utilisant des ressources dans le domaine du développement international de publier des informations détaillées sur ses activités. La banque de données de l’IITA comprend toutes les données connues du registre de l’IITA en version 2.0 (ou ultérieure) et conformes au schéma de l’IITA pour les données XML. Les fichiers qui ne sont pas conformes au schéma de l’IITA pour les données XML sont indiqués comme non valides dans l’outil de validation de l’IITA. La recherche dans la banque de données permet à toute personne d’effectuer une recherche dans la banque de données de l’IITA, puis de télécharger les résultats aux formats JSON, CSV ou XML de l’IITA.',
about_para_2:
@@ -45,7 +46,8 @@ export default {
download_confirmation_5a: 'éléments de base au format %{format} ?',
download_confirmation_5b:
'\n éléments de base au format CSV optimisé pour Excel* ?
* L’ouverture du fichier Excel s’effectuera avec un encodage et un formatage corrects, mais les cellules de plus de 32 700 caractères seront tronquées.\n',
- download_confirmation_5c: 'dans un document d’activités de l’IITA au format XML ?',
+ download_confirmation_5c:
+ 'dans un document d’activités de l’IITA au format XML ?',
cancel: 'Annuler',
view: 'Afficher',
view_on: 'Afficher sur',
@@ -66,7 +68,8 @@ export default {
'\n La page de filtre avancé n’est malheureusement pas prise en charge par les appareils dont l’écran est trop petit.',
advanced_unavailable_para2:
'\n Veuillez effectuer une recherche simple ou utiliser un appareil doté d’un écran plus grand.',
- run_aria: 'Exécuter la requête de recherche avec les filtres sélectionnés',
+ run_aria:
+ 'Exécuter la requête de recherche avec les filtres sélectionnés',
run: 'Exécuter',
export_aria: 'Exporter les filtres vers le fichier',
export: 'Exporter',
@@ -77,7 +80,8 @@ export default {
add_filter: 'Ajouter un filtre',
import_filters: 'Importer des filtres',
export_filters: 'Exporter des filtres',
- export_para1: 'Exporter les filtres actuellement sélectionnés vers le fichier ?',
+ export_para1:
+ 'Exporter les filtres actuellement sélectionnés vers le fichier ?',
export_para2:
'\n Cette action vous permettra de les importer ultérieurement pour exécuter la même requête ou pour les partager avec d’autres utilisateurs.',
import_para1: 'Importer les filtres à partir du fichier ?',
@@ -105,7 +109,8 @@ export default {
identifier: 'Identifiant',
sort_identifier_label: 'Trier les résultats par identifiant de l’IITA',
all_narratives: 'All Narratives',
- all_narratives_desc: 'Searches all IATI narrative fields, used by simple search',
+ all_narratives_desc:
+ 'Searches all IATI narrative fields, used by simple search',
boolean_grouping: 'Boolean Grouping',
boolean_grouping_desc:
'Parenthesis for grouping boolean queries. Ensure every opening parenthesis is matched with a closing parenthesis',
@@ -120,13 +125,15 @@ export default {
date_is_required: 'La date est obligatoire.',
is_not_allowed:
'%{bad} n’est pas autorisé pour les requêtes de recherche dans la banque de données.',
- percentage_validation: 'Le pourcentage doit être compris entre 0 et 100.',
+ percentage_validation:
+ 'Le pourcentage doit être compris entre 0 et 100.',
integer_validation: 'La valeur doit être un nombre entier.',
fetch_error:
'Une erreur s’est produite lors du traitement de votre requête. Veuillez vérifier la formulation de votre requête puis essayez à nouveau.',
search_term: 'Terme de recherche',
spatial_search: 'Geospatial search',
- location_point_latlon_desc: 'Spatial search on location/point/pos latitude and longitude',
+ location_point_latlon_desc:
+ 'Spatial search on location/point/pos latitude and longitude',
latlon_placeholder: 'X1,Y1 À X2,Y2',
use_map: 'Ouvrir la carte',
pan_and_zoom:
diff --git a/package-lock.json b/package-lock.json
index 01a469d7..b2afca2e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -35,19 +35,24 @@
"cypress": "^13.16.0",
"cypress-file-upload": "^5.0.8",
"eslint": "^8.57.0",
+ "eslint-config-flat-gitignore": "^0.1.5",
"eslint-config-prettier": "^9.1.0",
+ "eslint-plugin-cypress": "^3.5.0",
"eslint-plugin-vue": "^9.32.0",
+ "globals": "^15.11.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"postcss": "^8.4.49",
"prettier": "3.4.2",
"serve": "^14.2.4",
"tailwindcss": "^3.4.16",
+ "typescript": ">=4.7.4 <5.6.0",
+ "typescript-eslint": "^8.9.0",
"vite": "^3.2.5"
},
"engines": {
- "node": ">=16 <17",
- "npm": ">=8"
+ "node": "20.x.x",
+ "npm": "10.x.x"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@@ -60,9 +65,9 @@
}
},
"node_modules/@achrinza/node-ipc": {
- "version": "9.2.5",
- "resolved": "https://registry.npmjs.org/@achrinza/node-ipc/-/node-ipc-9.2.5.tgz",
- "integrity": "sha512-kBX7Ay911iXZ3VZ1pYltj3Rfu7Ow9H7sK4H4RSfWIfWR2JKNB40K808wppoRIEzE2j2hXLU+r6TJgCAliCGhyQ==",
+ "version": "9.2.9",
+ "resolved": "https://registry.npmjs.org/@achrinza/node-ipc/-/node-ipc-9.2.9.tgz",
+ "integrity": "sha512-7s0VcTwiK/0tNOVdSX9FWMeFdOEcsAOz9HesBldXxFMaGvIak7KC2z9tV9EgsQXn6KUsWsfIkViMNuIo0GoZDQ==",
"dev": true,
"dependencies": {
"@node-ipc/js-queue": "2.0.3",
@@ -70,7 +75,7 @@
"js-message": "1.0.7"
},
"engines": {
- "node": "8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18"
+ "node": "8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18 || 19 || 20 || 21 || 22"
}
},
"node_modules/@alloc/quick-lru": {
@@ -414,6 +419,16 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/traverse/node_modules/globals": {
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "dev": true,
+ "peer": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/@babel/types": {
"version": "7.25.6",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz",
@@ -533,9 +548,9 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.6.2",
- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz",
- "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==",
+ "version": "4.12.1",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz",
+ "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==",
"dev": true,
"engines": {
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
@@ -1339,6 +1354,226 @@
"@types/node": "*"
}
},
+ "node_modules/@typescript-eslint/eslint-plugin": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.0.tgz",
+ "integrity": "sha512-NR2yS7qUqCL7AIxdJUQf2MKKNDVNaig/dEB0GBLU7D+ZdHgK1NoH/3wsgO3OnPVipn51tG3MAwaODEGil70WEw==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/regexpp": "^4.10.0",
+ "@typescript-eslint/scope-manager": "8.18.0",
+ "@typescript-eslint/type-utils": "8.18.0",
+ "@typescript-eslint/utils": "8.18.0",
+ "@typescript-eslint/visitor-keys": "8.18.0",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.3.1",
+ "natural-compare": "^1.4.0",
+ "ts-api-utils": "^1.3.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0",
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.8.0"
+ }
+ },
+ "node_modules/@typescript-eslint/parser": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.0.tgz",
+ "integrity": "sha512-hgUZ3kTEpVzKaK3uNibExUYm6SKKOmTU2BOxBSvOYwtJEPdVQ70kZJpPjstlnhCHcuc2WGfSbpKlb/69ttyN5Q==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "8.18.0",
+ "@typescript-eslint/types": "8.18.0",
+ "@typescript-eslint/typescript-estree": "8.18.0",
+ "@typescript-eslint/visitor-keys": "8.18.0",
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.8.0"
+ }
+ },
+ "node_modules/@typescript-eslint/scope-manager": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.0.tgz",
+ "integrity": "sha512-PNGcHop0jkK2WVYGotk/hxj+UFLhXtGPiGtiaWgVBVP1jhMoMCHlTyJA+hEj4rszoSdLTK3fN4oOatrL0Cp+Xw==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "8.18.0",
+ "@typescript-eslint/visitor-keys": "8.18.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/type-utils": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.0.tgz",
+ "integrity": "sha512-er224jRepVAVLnMF2Q7MZJCq5CsdH2oqjP4dT7K6ij09Kyd+R21r7UVJrF0buMVdZS5QRhDzpvzAxHxabQadow==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/typescript-estree": "8.18.0",
+ "@typescript-eslint/utils": "8.18.0",
+ "debug": "^4.3.4",
+ "ts-api-utils": "^1.3.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.8.0"
+ }
+ },
+ "node_modules/@typescript-eslint/types": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.0.tgz",
+ "integrity": "sha512-FNYxgyTCAnFwTrzpBGq+zrnoTO4x0c1CKYY5MuUTzpScqmY5fmsh2o3+57lqdI3NZucBDCzDgdEbIaNfAjAHQA==",
+ "dev": true,
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.0.tgz",
+ "integrity": "sha512-rqQgFRu6yPkauz+ms3nQpohwejS8bvgbPyIDq13cgEDbkXt4LH4OkDMT0/fN1RUtzG8e8AKJyDBoocuQh8qNeg==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "8.18.0",
+ "@typescript-eslint/visitor-keys": "8.18.0",
+ "debug": "^4.3.4",
+ "fast-glob": "^3.3.2",
+ "is-glob": "^4.0.3",
+ "minimatch": "^9.0.4",
+ "semver": "^7.6.0",
+ "ts-api-utils": "^1.3.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <5.8.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
+ "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "dev": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
+ "dev": true,
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@typescript-eslint/utils": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.0.tgz",
+ "integrity": "sha512-p6GLdY383i7h5b0Qrfbix3Vc3+J2k6QWw6UMUeY5JGfm3C5LbZ4QIZzJNoNOfgyRe0uuYKjvVOsO/jD4SJO+xg==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.4.0",
+ "@typescript-eslint/scope-manager": "8.18.0",
+ "@typescript-eslint/types": "8.18.0",
+ "@typescript-eslint/typescript-estree": "8.18.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.8.0"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.0.tgz",
+ "integrity": "sha512-pCh/qEA8Lb1wVIqNvBke8UaRjJ6wrAWkJO5yyIbs8Yx6TNGYyfNjOo61tLv+WwLvoLPp4BQ8B7AHKijl8NGUfw==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "8.18.0",
+ "eslint-visitor-keys": "^4.2.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
+ "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
+ "dev": true,
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
"node_modules/@ungap/structured-clone": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
@@ -5137,6 +5372,19 @@
"url": "https://opencollective.com/eslint"
}
},
+ "node_modules/eslint-config-flat-gitignore": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/eslint-config-flat-gitignore/-/eslint-config-flat-gitignore-0.1.8.tgz",
+ "integrity": "sha512-OEUbS2wzzYtUfshjOqzFo4Bl4lHykXUdM08TCnYNl7ki+niW4Q1R0j0FDFDr0vjVsI5ZFOz5LvluxOP+Ew+dYw==",
+ "dev": true,
+ "dependencies": {
+ "find-up-simple": "^1.0.0",
+ "parse-gitignore": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
"node_modules/eslint-config-prettier": {
"version": "9.1.0",
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz",
@@ -5149,6 +5397,45 @@
"eslint": ">=7.0.0"
}
},
+ "node_modules/eslint-plugin-cypress": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-3.6.0.tgz",
+ "integrity": "sha512-7IAMcBbTVu5LpWeZRn5a9mQ30y4hKp3AfTz+6nSD/x/7YyLMoBI6X7XjDLYI6zFvuy4Q4QVGl563AGEXGW/aSA==",
+ "dev": true,
+ "dependencies": {
+ "globals": "^13.20.0"
+ },
+ "peerDependencies": {
+ "eslint": ">=7"
+ }
+ },
+ "node_modules/eslint-plugin-cypress/node_modules/globals": {
+ "version": "13.24.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
+ "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^0.20.2"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint-plugin-cypress/node_modules/type-fest": {
+ "version": "0.20.2",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/eslint-plugin-vue": {
"version": "9.32.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.32.0.tgz",
@@ -5969,6 +6256,18 @@
"node": ">=8"
}
},
+ "node_modules/find-up-simple": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.0.tgz",
+ "integrity": "sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==",
+ "dev": true,
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/flat-cache": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz",
@@ -6265,13 +6564,15 @@
}
},
"node_modules/globals": {
- "version": "11.12.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
- "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "version": "15.13.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-15.13.0.tgz",
+ "integrity": "sha512-49TewVEz0UxZjr1WYYsWpPrhyC/B/pA8Bq0fUmet2n+eR7yn0IvNzNaoBwnK6mdkzcN+se7Ez9zUgULTz2QH4g==",
"dev": true,
- "peer": true,
"engines": {
- "node": ">=4"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/globby": {
@@ -6710,9 +7011,9 @@
]
},
"node_modules/ignore": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
- "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==",
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
+ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
"dev": true,
"engines": {
"node": ">= 4"
@@ -8940,6 +9241,15 @@
"node": ">=6"
}
},
+ "node_modules/parse-gitignore": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/parse-gitignore/-/parse-gitignore-2.0.0.tgz",
+ "integrity": "sha512-RmVuCHWsfu0QPNW+mraxh/xjQVw/lhUCUru8Zni3Ctq3AoMhpDTq0OVdKS6iesd6Kqb7viCV3isAL43dciOSog==",
+ "dev": true,
+ "engines": {
+ "node": ">=14"
+ }
+ },
"node_modules/parse-json": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
@@ -11931,6 +12241,18 @@
"tree-kill": "cli.js"
}
},
+ "node_modules/ts-api-utils": {
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz",
+ "integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==",
+ "dev": true,
+ "engines": {
+ "node": ">=16"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.2.0"
+ }
+ },
"node_modules/ts-interface-checker": {
"version": "0.1.13",
"resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
@@ -11999,6 +12321,41 @@
"node": ">= 0.6"
}
},
+ "node_modules/typescript": {
+ "version": "5.5.4",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz",
+ "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==",
+ "devOptional": true,
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/typescript-eslint": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.18.0.tgz",
+ "integrity": "sha512-Xq2rRjn6tzVpAyHr3+nmSg1/9k9aIHnJ2iZeOH7cfGOWqTkXTm3kwpQglEuLGdNrYvPF+2gtAs+/KF5rjVo+WQ==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/eslint-plugin": "8.18.0",
+ "@typescript-eslint/parser": "8.18.0",
+ "@typescript-eslint/utils": "8.18.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.8.0"
+ }
+ },
"node_modules/universalify": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
@@ -13305,9 +13662,9 @@
"dev": true
},
"@achrinza/node-ipc": {
- "version": "9.2.5",
- "resolved": "https://registry.npmjs.org/@achrinza/node-ipc/-/node-ipc-9.2.5.tgz",
- "integrity": "sha512-kBX7Ay911iXZ3VZ1pYltj3Rfu7Ow9H7sK4H4RSfWIfWR2JKNB40K808wppoRIEzE2j2hXLU+r6TJgCAliCGhyQ==",
+ "version": "9.2.9",
+ "resolved": "https://registry.npmjs.org/@achrinza/node-ipc/-/node-ipc-9.2.9.tgz",
+ "integrity": "sha512-7s0VcTwiK/0tNOVdSX9FWMeFdOEcsAOz9HesBldXxFMaGvIak7KC2z9tV9EgsQXn6KUsWsfIkViMNuIo0GoZDQ==",
"dev": true,
"requires": {
"@node-ipc/js-queue": "2.0.3",
@@ -13571,6 +13928,15 @@
"@babel/types": "^7.18.4",
"debug": "^4.1.0",
"globals": "^11.1.0"
+ },
+ "dependencies": {
+ "globals": {
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "dev": true,
+ "peer": true
+ }
}
},
"@babel/types": {
@@ -13661,9 +14027,9 @@
}
},
"@eslint-community/regexpp": {
- "version": "4.6.2",
- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz",
- "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==",
+ "version": "4.12.1",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz",
+ "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==",
"dev": true
},
"@eslint/eslintrc": {
@@ -14329,6 +14695,136 @@
"@types/node": "*"
}
},
+ "@typescript-eslint/eslint-plugin": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.0.tgz",
+ "integrity": "sha512-NR2yS7qUqCL7AIxdJUQf2MKKNDVNaig/dEB0GBLU7D+ZdHgK1NoH/3wsgO3OnPVipn51tG3MAwaODEGil70WEw==",
+ "dev": true,
+ "requires": {
+ "@eslint-community/regexpp": "^4.10.0",
+ "@typescript-eslint/scope-manager": "8.18.0",
+ "@typescript-eslint/type-utils": "8.18.0",
+ "@typescript-eslint/utils": "8.18.0",
+ "@typescript-eslint/visitor-keys": "8.18.0",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.3.1",
+ "natural-compare": "^1.4.0",
+ "ts-api-utils": "^1.3.0"
+ }
+ },
+ "@typescript-eslint/parser": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.0.tgz",
+ "integrity": "sha512-hgUZ3kTEpVzKaK3uNibExUYm6SKKOmTU2BOxBSvOYwtJEPdVQ70kZJpPjstlnhCHcuc2WGfSbpKlb/69ttyN5Q==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/scope-manager": "8.18.0",
+ "@typescript-eslint/types": "8.18.0",
+ "@typescript-eslint/typescript-estree": "8.18.0",
+ "@typescript-eslint/visitor-keys": "8.18.0",
+ "debug": "^4.3.4"
+ }
+ },
+ "@typescript-eslint/scope-manager": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.0.tgz",
+ "integrity": "sha512-PNGcHop0jkK2WVYGotk/hxj+UFLhXtGPiGtiaWgVBVP1jhMoMCHlTyJA+hEj4rszoSdLTK3fN4oOatrL0Cp+Xw==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/types": "8.18.0",
+ "@typescript-eslint/visitor-keys": "8.18.0"
+ }
+ },
+ "@typescript-eslint/type-utils": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.0.tgz",
+ "integrity": "sha512-er224jRepVAVLnMF2Q7MZJCq5CsdH2oqjP4dT7K6ij09Kyd+R21r7UVJrF0buMVdZS5QRhDzpvzAxHxabQadow==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/typescript-estree": "8.18.0",
+ "@typescript-eslint/utils": "8.18.0",
+ "debug": "^4.3.4",
+ "ts-api-utils": "^1.3.0"
+ }
+ },
+ "@typescript-eslint/types": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.0.tgz",
+ "integrity": "sha512-FNYxgyTCAnFwTrzpBGq+zrnoTO4x0c1CKYY5MuUTzpScqmY5fmsh2o3+57lqdI3NZucBDCzDgdEbIaNfAjAHQA==",
+ "dev": true
+ },
+ "@typescript-eslint/typescript-estree": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.0.tgz",
+ "integrity": "sha512-rqQgFRu6yPkauz+ms3nQpohwejS8bvgbPyIDq13cgEDbkXt4LH4OkDMT0/fN1RUtzG8e8AKJyDBoocuQh8qNeg==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/types": "8.18.0",
+ "@typescript-eslint/visitor-keys": "8.18.0",
+ "debug": "^4.3.4",
+ "fast-glob": "^3.3.2",
+ "is-glob": "^4.0.3",
+ "minimatch": "^9.0.4",
+ "semver": "^7.6.0",
+ "ts-api-utils": "^1.3.0"
+ },
+ "dependencies": {
+ "brace-expansion": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
+ "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "dev": true,
+ "requires": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "minimatch": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
+ "dev": true,
+ "requires": {
+ "brace-expansion": "^2.0.1"
+ }
+ },
+ "semver": {
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
+ "dev": true
+ }
+ }
+ },
+ "@typescript-eslint/utils": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.0.tgz",
+ "integrity": "sha512-p6GLdY383i7h5b0Qrfbix3Vc3+J2k6QWw6UMUeY5JGfm3C5LbZ4QIZzJNoNOfgyRe0uuYKjvVOsO/jD4SJO+xg==",
+ "dev": true,
+ "requires": {
+ "@eslint-community/eslint-utils": "^4.4.0",
+ "@typescript-eslint/scope-manager": "8.18.0",
+ "@typescript-eslint/types": "8.18.0",
+ "@typescript-eslint/typescript-estree": "8.18.0"
+ }
+ },
+ "@typescript-eslint/visitor-keys": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.0.tgz",
+ "integrity": "sha512-pCh/qEA8Lb1wVIqNvBke8UaRjJ6wrAWkJO5yyIbs8Yx6TNGYyfNjOo61tLv+WwLvoLPp4BQ8B7AHKijl8NGUfw==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/types": "8.18.0",
+ "eslint-visitor-keys": "^4.2.0"
+ },
+ "dependencies": {
+ "eslint-visitor-keys": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
+ "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
+ "dev": true
+ }
+ }
+ },
"@ungap/structured-clone": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
@@ -17201,6 +17697,16 @@
}
}
},
+ "eslint-config-flat-gitignore": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/eslint-config-flat-gitignore/-/eslint-config-flat-gitignore-0.1.8.tgz",
+ "integrity": "sha512-OEUbS2wzzYtUfshjOqzFo4Bl4lHykXUdM08TCnYNl7ki+niW4Q1R0j0FDFDr0vjVsI5ZFOz5LvluxOP+Ew+dYw==",
+ "dev": true,
+ "requires": {
+ "find-up-simple": "^1.0.0",
+ "parse-gitignore": "^2.0.0"
+ }
+ },
"eslint-config-prettier": {
"version": "9.1.0",
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz",
@@ -17208,6 +17714,32 @@
"dev": true,
"requires": {}
},
+ "eslint-plugin-cypress": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-3.6.0.tgz",
+ "integrity": "sha512-7IAMcBbTVu5LpWeZRn5a9mQ30y4hKp3AfTz+6nSD/x/7YyLMoBI6X7XjDLYI6zFvuy4Q4QVGl563AGEXGW/aSA==",
+ "dev": true,
+ "requires": {
+ "globals": "^13.20.0"
+ },
+ "dependencies": {
+ "globals": {
+ "version": "13.24.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
+ "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
+ "dev": true,
+ "requires": {
+ "type-fest": "^0.20.2"
+ }
+ },
+ "type-fest": {
+ "version": "0.20.2",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
+ "dev": true
+ }
+ }
+ },
"eslint-plugin-vue": {
"version": "9.32.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.32.0.tgz",
@@ -17707,6 +18239,12 @@
"path-exists": "^4.0.0"
}
},
+ "find-up-simple": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.0.tgz",
+ "integrity": "sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==",
+ "dev": true
+ },
"flat-cache": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz",
@@ -17914,11 +18452,10 @@
}
},
"globals": {
- "version": "11.12.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
- "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
- "dev": true,
- "peer": true
+ "version": "15.13.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-15.13.0.tgz",
+ "integrity": "sha512-49TewVEz0UxZjr1WYYsWpPrhyC/B/pA8Bq0fUmet2n+eR7yn0IvNzNaoBwnK6mdkzcN+se7Ez9zUgULTz2QH4g==",
+ "dev": true
},
"globby": {
"version": "11.1.0",
@@ -18238,9 +18775,9 @@
"dev": true
},
"ignore": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
- "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==",
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
+ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
"dev": true
},
"import-fresh": {
@@ -19863,6 +20400,12 @@
"callsites": "^3.0.0"
}
},
+ "parse-gitignore": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/parse-gitignore/-/parse-gitignore-2.0.0.tgz",
+ "integrity": "sha512-RmVuCHWsfu0QPNW+mraxh/xjQVw/lhUCUru8Zni3Ctq3AoMhpDTq0OVdKS6iesd6Kqb7viCV3isAL43dciOSog==",
+ "dev": true
+ },
"parse-json": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
@@ -22053,6 +22596,13 @@
"integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
"dev": true
},
+ "ts-api-utils": {
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz",
+ "integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==",
+ "dev": true,
+ "requires": {}
+ },
"ts-interface-checker": {
"version": "0.1.13",
"resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
@@ -22106,6 +22656,23 @@
"mime-types": "~2.1.24"
}
},
+ "typescript": {
+ "version": "5.5.4",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz",
+ "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==",
+ "devOptional": true
+ },
+ "typescript-eslint": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.18.0.tgz",
+ "integrity": "sha512-Xq2rRjn6tzVpAyHr3+nmSg1/9k9aIHnJ2iZeOH7cfGOWqTkXTm3kwpQglEuLGdNrYvPF+2gtAs+/KF5rjVo+WQ==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/eslint-plugin": "8.18.0",
+ "@typescript-eslint/parser": "8.18.0",
+ "@typescript-eslint/utils": "8.18.0"
+ }
+ },
"universalify": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
diff --git a/package.json b/package.json
index 6c55d595..b0f91034 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,9 @@
"cy:run-ci": "cypress run --config-file cypress.config.ci.js",
"cy:run-dev": "cypress run --config-file cypress.config.dev.js",
"cy:run-prod": "cypress run --config-file cypress.config.prod.js",
- "lint": "eslint --ext .js,.vue --fix src",
+ "lint": "npm run lint:eslint && npm run lint:prettier",
+ "lint:eslint": "eslint .",
+ "lint:prettier": "prettier . --check",
"format": "prettier . --write",
"prepare": "husky install",
"savepo": "node locale/po/js2po.js",
@@ -52,22 +54,26 @@
"cypress": "^13.16.0",
"cypress-file-upload": "^5.0.8",
"eslint": "^8.57.0",
+ "eslint-config-flat-gitignore": "^0.1.5",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-vue": "^9.32.0",
+ "eslint-plugin-cypress": "^3.5.0",
+ "globals": "^15.11.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"postcss": "^8.4.49",
"prettier": "3.4.2",
"serve": "^14.2.4",
"tailwindcss": "^3.4.16",
+ "typescript": ">=4.7.4 <5.6.0",
+ "typescript-eslint": "^8.9.0",
"vite": "^3.2.5"
},
"lint-staged": {
- "*.{js,vue}": "eslint --cache --fix",
- "*.{js,css,md,vue}": "prettier --write"
+ "*": "npm run format"
},
"engines": {
- "node": ">=16 <17",
- "npm": ">=8"
+ "node": "20.x.x",
+ "npm": "10.x.x"
}
}
diff --git a/plugins/plausible.js b/plugins/plausible.js
index fdbf24e8..608d45e2 100644
--- a/plugins/plausible.js
+++ b/plugins/plausible.js
@@ -2,7 +2,8 @@ import Plausible from 'plausible-tracker';
export default {
install: (app, options) => {
- const { enableAutoPageviews, enableAutoOutboundTracking } = Plausible(options);
+ const { enableAutoPageviews, enableAutoOutboundTracking } =
+ Plausible(options);
enableAutoPageviews();
enableAutoOutboundTracking();
diff --git a/prettier.config.js b/prettier.config.js
new file mode 100644
index 00000000..498dd6ab
--- /dev/null
+++ b/prettier.config.js
@@ -0,0 +1,7 @@
+/** @type {import("prettier").Config} */
+const config = {
+ // printWidth: 120,
+ // vueIndentScriptAndStyle: true,
+};
+
+export default config;
diff --git a/src/App.vue b/src/App.vue
index a7782ed6..b048973e 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -30,7 +30,8 @@ export default {
mounted() {
const { trackEvent } = Plausible();
- const responseStart = performance.getEntriesByType('navigation')[0].responseStart;
+ const responseStart =
+ performance.getEntriesByType('navigation')[0].responseStart;
trackEvent('TTFB', {
props: {
event_category: 'PageSpeed',
diff --git a/src/components/ActivityResult.vue b/src/components/ActivityResult.vue
index a93c8d06..dd1a3e09 100644
--- a/src/components/ActivityResult.vue
+++ b/src/components/ActivityResult.vue
@@ -48,147 +48,199 @@ const requestData = () => {
].join(',');
const baseUrl = `${domain}/dss/activity/select?wt=json&sort=iati_identifier asc&fl=${fields}*&rows=1&q=`;
- axios.get(baseUrl + 'iati_identifier:"' + id + '"', axiosConfig).then(({ data }) => {
- if (data.response.numFound === 0) {
- router.push({ name: 'NotFound' });
- } else {
- activity.value = data.response.docs[0];
+ axios
+ .get(baseUrl + 'iati_identifier:"' + id + '"', axiosConfig)
+ .then(({ data }) => {
+ if (data.response.numFound === 0) {
+ router.push({ name: 'NotFound' });
+ } else {
+ activity.value = data.response.docs[0];
- if ('description_narrative' in activity.value) {
- if ('description_narrative_xml_lang' in activity.value) {
- for (const narrativeKey in activity.value.description_narrative_xml_lang) {
- if (
- activity.value.description_narrative_xml_lang[narrativeKey] ===
- global.state.language
- ) {
- const langDescriptionNarrative =
- activity.value.description_narrative[narrativeKey];
- activity.value.description_narrative.splice(narrativeKey, 1);
- activity.value.description_narrative.unshift(langDescriptionNarrative);
- break;
+ if ('description_narrative' in activity.value) {
+ if ('description_narrative_xml_lang' in activity.value) {
+ for (const narrativeKey in activity.value
+ .description_narrative_xml_lang) {
+ if (
+ activity.value.description_narrative_xml_lang[
+ narrativeKey
+ ] === global.state.language
+ ) {
+ const langDescriptionNarrative =
+ activity.value.description_narrative[
+ narrativeKey
+ ];
+ activity.value.description_narrative.splice(
+ narrativeKey,
+ 1,
+ );
+ activity.value.description_narrative.unshift(
+ langDescriptionNarrative,
+ );
+ break;
+ }
}
}
+ activity.value.description_narrative =
+ activity.value.description_narrative[0];
+ } else {
+ activity.value.description_narrative = t(
+ 'message.description_not_provided',
+ );
}
- activity.value.description_narrative = activity.value.description_narrative[0];
- } else {
- activity.value.description_narrative = t('message.description_not_provided');
- }
- if ('title_narrative' in activity.value) {
- if ('title_narrative_xml_lang' in activity.value) {
- for (const narrativeKey in activity.value.title_narrative_xml_lang) {
- if (
- activity.value.title_narrative_xml_lang[narrativeKey] ===
- global.state.language
- ) {
- const langTitleNarrative = activity.value.title_narrative[narrativeKey];
- activity.value.title_narrative.splice(narrativeKey, 1);
- activity.value.title_narrative.unshift(langTitleNarrative);
- break;
+ if ('title_narrative' in activity.value) {
+ if ('title_narrative_xml_lang' in activity.value) {
+ for (const narrativeKey in activity.value
+ .title_narrative_xml_lang) {
+ if (
+ activity.value.title_narrative_xml_lang[
+ narrativeKey
+ ] === global.state.language
+ ) {
+ const langTitleNarrative =
+ activity.value.title_narrative[
+ narrativeKey
+ ];
+ activity.value.title_narrative.splice(
+ narrativeKey,
+ 1,
+ );
+ activity.value.title_narrative.unshift(
+ langTitleNarrative,
+ );
+ break;
+ }
}
}
+ activity.value.title_narrative =
+ activity.value.title_narrative[0];
+ } else {
+ activity.value.title_narrative = t(
+ 'message.title_not_provided',
+ );
}
- activity.value.title_narrative = activity.value.title_narrative[0];
- } else {
- activity.value.title_narrative = t('message.title_not_provided');
- }
- if ('reporting_org_narrative' in activity.value) {
- if ('reporting_org_narrative_xml_lang' in activity.value) {
- for (const narrativeKey in activity.value.reporting_org_narrative_xml_lang) {
- if (
- activity.value.reporting_org_narrative_xml_lang[narrativeKey] ===
- global.state.language
- ) {
- const langReportingOrgNarrative =
- activity.value.reporting_org_narrative[narrativeKey];
- activity.value.reporting_org_narrative.splice(narrativeKey, 1);
- activity.value.reporting_org_narrative.unshift(
- langReportingOrgNarrative
- );
- break;
+ if ('reporting_org_narrative' in activity.value) {
+ if ('reporting_org_narrative_xml_lang' in activity.value) {
+ for (const narrativeKey in activity.value
+ .reporting_org_narrative_xml_lang) {
+ if (
+ activity.value.reporting_org_narrative_xml_lang[
+ narrativeKey
+ ] === global.state.language
+ ) {
+ const langReportingOrgNarrative =
+ activity.value.reporting_org_narrative[
+ narrativeKey
+ ];
+ activity.value.reporting_org_narrative.splice(
+ narrativeKey,
+ 1,
+ );
+ activity.value.reporting_org_narrative.unshift(
+ langReportingOrgNarrative,
+ );
+ break;
+ }
}
}
+ activity.value.reporting_org_narrative =
+ activity.value.reporting_org_narrative[0];
+ } else {
+ activity.value.reporting_org_narrative = t(
+ 'message.name_not_provided',
+ );
}
- activity.value.reporting_org_narrative = activity.value.reporting_org_narrative[0];
- } else {
- activity.value.reporting_org_narrative = t('message.name_not_provided');
- }
- if ('participating_org_narrative' in activity.value) {
- if ('participating_org_narrative_xml_lang' in activity.value) {
- let orderedParticipatingOrgs = [];
- for (const narrativeKey in activity.value
- .participating_org_narrative_xml_lang) {
- if (
- activity.value.participating_org_narrative_xml_lang[narrativeKey] ===
- global.state.language
- ) {
- orderedParticipatingOrgs.push(
- activity.value.participating_org_narrative[narrativeKey]
- );
+ if ('participating_org_narrative' in activity.value) {
+ if (
+ 'participating_org_narrative_xml_lang' in activity.value
+ ) {
+ let orderedParticipatingOrgs = [];
+ for (const narrativeKey in activity.value
+ .participating_org_narrative_xml_lang) {
+ if (
+ activity.value
+ .participating_org_narrative_xml_lang[
+ narrativeKey
+ ] === global.state.language
+ ) {
+ orderedParticipatingOrgs.push(
+ activity.value.participating_org_narrative[
+ narrativeKey
+ ],
+ );
+ }
}
- }
- for (const narrativeKey in activity.value
- .participating_org_narrative_xml_lang) {
- if (
- activity.value.participating_org_narrative_xml_lang[narrativeKey] !==
- global.state.language
- ) {
- orderedParticipatingOrgs.push(
- activity.value.participating_org_narrative[narrativeKey]
- );
+ for (const narrativeKey in activity.value
+ .participating_org_narrative_xml_lang) {
+ if (
+ activity.value
+ .participating_org_narrative_xml_lang[
+ narrativeKey
+ ] !== global.state.language
+ ) {
+ orderedParticipatingOrgs.push(
+ activity.value.participating_org_narrative[
+ narrativeKey
+ ],
+ );
+ }
}
+ activity.value.participating_org_narrative =
+ orderedParticipatingOrgs;
}
- activity.value.participating_org_narrative = orderedParticipatingOrgs;
+ } else {
+ activity.value.participating_org_narrative = [
+ t('message.not_provided'),
+ ];
}
- } else {
- activity.value.participating_org_narrative = [t('message.not_provided')];
- }
- dates.value = {
- plannedStart: null,
- actualStart: null,
- plannedEnd: null,
- actualEnd: null,
- };
+ dates.value = {
+ plannedStart: null,
+ actualStart: null,
+ plannedEnd: null,
+ actualEnd: null,
+ };
- const activityDateTypes = {
- planned_start: '1',
- actual_start: '2',
- planned_end: '3',
- actual_end: '4',
- };
+ const activityDateTypes = {
+ planned_start: '1',
+ actual_start: '2',
+ planned_end: '3',
+ actual_end: '4',
+ };
- for (const key in activity.value['activity_date_type']) {
- const dt = activity.value['activity_date_iso_date'][key];
+ for (const key in activity.value['activity_date_type']) {
+ const dt = activity.value['activity_date_iso_date'][key];
- switch (activity.value['activity_date_type'][key]) {
- case activityDateTypes.planned_start:
- dates.value['plannedStart'] = dt;
- break;
- case activityDateTypes.actual_start:
- dates.value['actualStart'] = dt;
- break;
- case activityDateTypes.planned_end:
- dates.value['plannedEnd'] = dt;
- break;
- case activityDateTypes.actual_end:
- dates.value['actualEnd'] = dt;
- break;
+ switch (activity.value['activity_date_type'][key]) {
+ case activityDateTypes.planned_start:
+ dates.value['plannedStart'] = dt;
+ break;
+ case activityDateTypes.actual_start:
+ dates.value['actualStart'] = dt;
+ break;
+ case activityDateTypes.planned_end:
+ dates.value['plannedEnd'] = dt;
+ break;
+ case activityDateTypes.actual_end:
+ dates.value['actualEnd'] = dt;
+ break;
+ }
}
- }
- const titleEl = document.querySelector('head title');
- titleEl.textContent = `${activity.value.title_narrative} - IATI Datastore Search`;
+ const titleEl = document.querySelector('head title');
+ titleEl.textContent = `${activity.value.title_narrative} - IATI Datastore Search`;
- const descEl = document.querySelector('head meta[name="description"]');
- descEl.setAttribute(
- 'content',
- `IATI identifier: ${activity.value.iati_identifier}, ` +
- `Publisher: ${activity.value.reporting_org_narrative}, ` +
- `Description: ${activity.value.description_narrative}, ` +
- `Participating organisations: ${activity.value.participating_org_narrative}`
- );
- }
- });
+ const descEl = document.querySelector(
+ 'head meta[name="description"]',
+ );
+ descEl.setAttribute(
+ 'content',
+ `IATI identifier: ${activity.value.iati_identifier}, ` +
+ `Publisher: ${activity.value.reporting_org_narrative}, ` +
+ `Description: ${activity.value.description_narrative}, ` +
+ `Participating organisations: ${activity.value.participating_org_narrative}`,
+ );
+ }
+ });
};
const prettyDate = (dt) => {
@@ -224,25 +276,34 @@ onBeforeMount(() => {
-
+
{{ $t('message.back_to_results') }}
{{ $t('message.overview_of_iati_activity') }}
-