@pdc/sdk 0.22.1 → 0.22.2
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/dist/types/BaseFieldLocalization.d.ts +1 -1
- package/dist/types/DataProvider.d.ts +2 -2
- package/dist/types/Funder.d.ts +1 -1
- package/dist/types/Proposal.d.ts +2 -0
- package/dist/types/ProposalFieldValue.d.ts +1 -1
- package/dist/types/Source.d.ts +0 -1
- package/dist/types/UserDataProviderPermission.d.ts +1 -1
- package/dist/types/UserGroupChangemakerPermission.d.ts +1 -1
- package/dist/types/UserGroupDataProviderPermission.d.ts +1 -1
- package/package.json +1 -1
- package/src/types/BaseFieldLocalization.ts +1 -1
- package/src/types/DataProvider.ts +2 -2
- package/src/types/Funder.ts +1 -1
- package/src/types/Proposal.ts +4 -0
- package/src/types/ProposalFieldValue.ts +1 -1
- package/src/types/Source.ts +0 -1
- package/src/types/UserDataProviderPermission.ts +1 -1
- package/src/types/UserGroupChangemakerPermission.ts +1 -1
- package/src/types/UserGroupDataProviderPermission.ts +1 -1
|
@@ -3,7 +3,7 @@ export interface BaseFieldLocalization {
|
|
|
3
3
|
baseFieldShortCode: string;
|
|
4
4
|
readonly language: string;
|
|
5
5
|
label: string;
|
|
6
|
-
description
|
|
6
|
+
description: string;
|
|
7
7
|
createdAt?: string;
|
|
8
8
|
}
|
|
9
9
|
export type WritableBaseFieldLocalization = Writable<BaseFieldLocalization>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Writable } from './Writable';
|
|
2
2
|
export interface DataProvider {
|
|
3
|
-
shortCode
|
|
3
|
+
shortCode: string;
|
|
4
4
|
name: string;
|
|
5
|
-
keycloakOrganizationId
|
|
5
|
+
keycloakOrganizationId: string;
|
|
6
6
|
readonly createdAt: string;
|
|
7
7
|
}
|
|
8
8
|
export type WritableDataProvider = Writable<DataProvider>;
|
package/dist/types/Funder.d.ts
CHANGED
package/dist/types/Proposal.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { Opportunity } from './Opportunity';
|
|
1
2
|
import { ProposalVersion } from './ProposalVersion';
|
|
2
3
|
import { Writable } from './Writable';
|
|
3
4
|
export interface Proposal {
|
|
4
5
|
readonly id: number;
|
|
5
6
|
opportunityId: number;
|
|
7
|
+
readonly opportunity?: Opportunity;
|
|
6
8
|
externalId: string;
|
|
7
9
|
versions: Array<ProposalVersion>;
|
|
8
10
|
readonly createdAt: string;
|
package/dist/types/Source.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Permission } from './Permission';
|
|
2
2
|
import { Writable } from './Writable';
|
|
3
3
|
export interface UserDataProviderPermission {
|
|
4
|
-
readonly permission
|
|
4
|
+
readonly permission: Permission;
|
|
5
5
|
dataProviderShortCode: string;
|
|
6
6
|
readonly userKeycloakUserId: string;
|
|
7
7
|
readonly createdBy: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Permission } from './Permission';
|
|
2
2
|
import { Writable } from './Writable';
|
|
3
3
|
export interface UserGroupChangemakerPermission {
|
|
4
|
-
readonly permission
|
|
4
|
+
readonly permission: Permission;
|
|
5
5
|
readonly changemakerId: number;
|
|
6
6
|
readonly keycloakOrganizationId: string;
|
|
7
7
|
readonly createdBy: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Permission } from './Permission';
|
|
2
2
|
import { Writable } from './Writable';
|
|
3
3
|
export interface UserGroupDataProviderPermission {
|
|
4
|
-
readonly permission
|
|
4
|
+
readonly permission: Permission;
|
|
5
5
|
dataProviderShortCode: string;
|
|
6
6
|
readonly keycloakOrganizationId: string;
|
|
7
7
|
readonly createdBy: string;
|
package/package.json
CHANGED
package/src/types/Funder.ts
CHANGED
package/src/types/Proposal.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Opportunity,
|
|
3
|
+
} from './Opportunity';
|
|
1
4
|
import {
|
|
2
5
|
ProposalVersion,
|
|
3
6
|
} from './ProposalVersion';
|
|
@@ -6,6 +9,7 @@ import { Writable } from './Writable';
|
|
|
6
9
|
export interface Proposal {
|
|
7
10
|
readonly id: number;
|
|
8
11
|
opportunityId: number;
|
|
12
|
+
readonly opportunity?: Opportunity;
|
|
9
13
|
externalId: string;
|
|
10
14
|
versions: Array<ProposalVersion>;
|
|
11
15
|
readonly createdAt: string;
|
package/src/types/Source.ts
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import { Writable } from './Writable';
|
|
5
5
|
|
|
6
6
|
export interface UserDataProviderPermission {
|
|
7
|
-
readonly permission
|
|
7
|
+
readonly permission: Permission;
|
|
8
8
|
dataProviderShortCode: string;
|
|
9
9
|
readonly userKeycloakUserId: string;
|
|
10
10
|
readonly createdBy: string;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import { Writable } from './Writable';
|
|
5
5
|
|
|
6
6
|
export interface UserGroupChangemakerPermission {
|
|
7
|
-
readonly permission
|
|
7
|
+
readonly permission: Permission;
|
|
8
8
|
readonly changemakerId: number;
|
|
9
9
|
readonly keycloakOrganizationId: string;
|
|
10
10
|
readonly createdBy: string;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import { Writable } from './Writable';
|
|
5
5
|
|
|
6
6
|
export interface UserGroupDataProviderPermission {
|
|
7
|
-
readonly permission
|
|
7
|
+
readonly permission: Permission;
|
|
8
8
|
dataProviderShortCode: string;
|
|
9
9
|
readonly keycloakOrganizationId: string;
|
|
10
10
|
readonly createdBy: string;
|