@studyportals/domain-client 7.6.2 → 7.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@studyportals/domain-client",
|
|
3
|
-
"version": "7.6.
|
|
4
|
-
"description": "Responsible for fetching data from the Domain API",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"module": "index.js",
|
|
8
|
-
"types": "index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./index.d.ts",
|
|
12
|
-
"require": "./index.js",
|
|
13
|
-
"import": "./index.js",
|
|
14
|
-
"default": "./index.js"
|
|
15
|
-
},
|
|
16
|
-
"./protobuf": {
|
|
17
|
-
"types": "./protobuf/index.d.ts",
|
|
18
|
-
"require": "./protobuf/index.js",
|
|
19
|
-
"import": "./protobuf/index.js",
|
|
20
|
-
"default": "./protobuf/index.js"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"author": "StudyPortals B.V.",
|
|
24
|
-
"sideEffects": false,
|
|
25
|
-
"contributors": [
|
|
26
|
-
"braaibander <danny@studyportals.com>"
|
|
27
|
-
],
|
|
28
|
-
"license": "BSD-3-Clause",
|
|
29
|
-
"scripts": {
|
|
30
|
-
"build": "tsc",
|
|
31
|
-
"test": "vitest run",
|
|
32
|
-
"test:watch": "vitest",
|
|
33
|
-
"coverage": "vitest run --coverage",
|
|
34
|
-
"lint": "eslint . --ext .ts --max-warnings=0",
|
|
35
|
-
"lint:fix": "eslint . --ext .ts --fix",
|
|
36
|
-
"pre-push": "npm run test && npm run coverage && npm run lint",
|
|
37
|
-
"prepare-dist": "npm run test && rm -fR bin && npx tsc && npx tsc-alias -p tsconfig.json --outDir bin -f && cp package.json bin/package.json && rm -fR bin/tests",
|
|
38
|
-
"publish-beta": "npm version prerelease --preid=beta && npm run prepare-dist && npm publish ./bin --tag beta",
|
|
39
|
-
"publish-major": "npm version major && npm run prepare-dist && npm publish ./bin",
|
|
40
|
-
"publish-minor": "npm version minor && npm run prepare-dist && npm publish ./bin",
|
|
41
|
-
"publish-patch": "npm version patch && npm run prepare-dist && npm publish ./bin",
|
|
42
|
-
"publish-current": "npm run prepare-dist && npm publish ./bin"
|
|
43
|
-
},
|
|
44
|
-
"husky": {
|
|
45
|
-
"hooks": {
|
|
46
|
-
"pre-push": "npm run pre-push"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@studyportals/code-style": "^2.0.4",
|
|
51
|
-
"@types/node": "^24.2.1",
|
|
52
|
-
"@types/reflect-metadata": "^0.1.0",
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "^4.8.1",
|
|
54
|
-
"@typescript-eslint/parser": "^4.8.1",
|
|
55
|
-
"@vitest/coverage-v8": "^3.2.4",
|
|
56
|
-
"eslint": "^7.13.0",
|
|
57
|
-
"eslint-plugin-import": "^2.22.1",
|
|
58
|
-
"eslint-plugin-mocha": "^10.1.0",
|
|
59
|
-
"husky": "^4.3.0",
|
|
60
|
-
"nyc": "^15.1.0",
|
|
61
|
-
"source-map-support": "^0.5.19",
|
|
62
|
-
"tsc-alias": "^1.8.16",
|
|
63
|
-
"tslint": "^6.1.3",
|
|
64
|
-
"typemoq": "^2.1.0",
|
|
65
|
-
"typescript": "^5.9.2",
|
|
66
|
-
"vitest": "^3.2.4"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@studyportals/domain-client",
|
|
3
|
+
"version": "7.6.7",
|
|
4
|
+
"description": "Responsible for fetching data from the Domain API",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"module": "index.js",
|
|
8
|
+
"types": "index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./index.d.ts",
|
|
12
|
+
"require": "./index.js",
|
|
13
|
+
"import": "./index.js",
|
|
14
|
+
"default": "./index.js"
|
|
15
|
+
},
|
|
16
|
+
"./protobuf": {
|
|
17
|
+
"types": "./protobuf/index.d.ts",
|
|
18
|
+
"require": "./protobuf/index.js",
|
|
19
|
+
"import": "./protobuf/index.js",
|
|
20
|
+
"default": "./protobuf/index.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"author": "StudyPortals B.V.",
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"contributors": [
|
|
26
|
+
"braaibander <danny@studyportals.com>"
|
|
27
|
+
],
|
|
28
|
+
"license": "BSD-3-Clause",
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "tsc",
|
|
31
|
+
"test": "vitest run",
|
|
32
|
+
"test:watch": "vitest",
|
|
33
|
+
"coverage": "vitest run --coverage",
|
|
34
|
+
"lint": "eslint . --ext .ts --max-warnings=0",
|
|
35
|
+
"lint:fix": "eslint . --ext .ts --fix",
|
|
36
|
+
"pre-push": "npm run test && npm run coverage && npm run lint",
|
|
37
|
+
"prepare-dist": "npm run test && rm -fR bin && npx tsc && npx tsc-alias -p tsconfig.json --outDir bin -f && cp package.json bin/package.json && rm -fR bin/tests",
|
|
38
|
+
"publish-beta": "npm version prerelease --preid=beta && npm run prepare-dist && npm publish ./bin --tag beta",
|
|
39
|
+
"publish-major": "npm version major && npm run prepare-dist && npm publish ./bin",
|
|
40
|
+
"publish-minor": "npm version minor && npm run prepare-dist && npm publish ./bin",
|
|
41
|
+
"publish-patch": "npm version patch && npm run prepare-dist && npm publish ./bin",
|
|
42
|
+
"publish-current": "npm run prepare-dist && npm publish ./bin"
|
|
43
|
+
},
|
|
44
|
+
"husky": {
|
|
45
|
+
"hooks": {
|
|
46
|
+
"pre-push": "npm run pre-push"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@studyportals/code-style": "^2.0.4",
|
|
51
|
+
"@types/node": "^24.2.1",
|
|
52
|
+
"@types/reflect-metadata": "^0.1.0",
|
|
53
|
+
"@typescript-eslint/eslint-plugin": "^4.8.1",
|
|
54
|
+
"@typescript-eslint/parser": "^4.8.1",
|
|
55
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
56
|
+
"eslint": "^7.13.0",
|
|
57
|
+
"eslint-plugin-import": "^2.22.1",
|
|
58
|
+
"eslint-plugin-mocha": "^10.1.0",
|
|
59
|
+
"husky": "^4.3.0",
|
|
60
|
+
"nyc": "^15.1.0",
|
|
61
|
+
"source-map-support": "^0.5.19",
|
|
62
|
+
"tsc-alias": "^1.8.16",
|
|
63
|
+
"tslint": "^6.1.3",
|
|
64
|
+
"typemoq": "^2.1.0",
|
|
65
|
+
"typescript": "^5.9.2",
|
|
66
|
+
"vitest": "^3.2.4"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -47,6 +47,12 @@ export interface IOrganisationSearchDocument {
|
|
|
47
47
|
* @return number
|
|
48
48
|
*/
|
|
49
49
|
getOrganisationId(): number;
|
|
50
|
+
/**
|
|
51
|
+
* Gets the name of the organisation.
|
|
52
|
+
*
|
|
53
|
+
* @return string | null
|
|
54
|
+
*/
|
|
55
|
+
getOrganisationName(): string | null;
|
|
50
56
|
/**
|
|
51
57
|
* Gets the premium type of the organisation
|
|
52
58
|
*
|