@pdc/sdk 0.4.1 → 0.6.1
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/ApplicationFormBundle.d.ts +6 -0
- package/dist/types/ApplicationFormBundle.js +2 -0
- package/dist/types/ApplicationFormField.d.ts +2 -0
- package/dist/types/OrganizationProposal.d.ts +12 -0
- package/dist/types/OrganizationProposal.js +2 -0
- package/dist/types/OrganizationProposalBundle.d.ts +6 -0
- package/dist/types/OrganizationProposalBundle.js +2 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +3 -0
- package/package.json +1 -1
- package/src/types/ApplicationFormBundle.ts +15 -0
- package/src/types/ApplicationFormField.ts +4 -0
- package/src/types/OrganizationProposal.ts +20 -0
- package/src/types/OrganizationProposalBundle.ts +15 -0
- package/src/types/index.ts +3 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { BaseField } from './BaseField';
|
|
1
2
|
import { Writable } from './Writable';
|
|
2
3
|
export interface ApplicationFormField {
|
|
3
4
|
readonly id: number;
|
|
4
5
|
readonly applicationFormId: number;
|
|
5
6
|
baseFieldId: number;
|
|
7
|
+
baseField?: BaseField;
|
|
6
8
|
position: number;
|
|
7
9
|
label: string;
|
|
8
10
|
readonly createdAt: Date;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Organization } from './Organization';
|
|
2
|
+
import { Proposal } from './Proposal';
|
|
3
|
+
import { Writable } from './Writable';
|
|
4
|
+
export interface OrganizationProposal {
|
|
5
|
+
readonly id: number;
|
|
6
|
+
organizationId: number;
|
|
7
|
+
organization?: Organization & any;
|
|
8
|
+
proposalId: number;
|
|
9
|
+
proposal?: Proposal & any;
|
|
10
|
+
readonly createdAt: Date;
|
|
11
|
+
}
|
|
12
|
+
export type WritableOrganizationProposal = Writable<OrganizationProposal>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { OrganizationProposal } from './OrganizationProposal';
|
|
2
|
+
import { Writable } from './Writable';
|
|
3
|
+
export interface OrganizationProposalBundle {
|
|
4
|
+
entries: Array<OrganizationProposal>;
|
|
5
|
+
}
|
|
6
|
+
export type WritableOrganizationProposalBundle = Writable<OrganizationProposalBundle>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './ApplicationForm';
|
|
2
|
+
export * from './ApplicationFormBundle';
|
|
2
3
|
export * from './ApplicationFormField';
|
|
3
4
|
export * from './BaseField';
|
|
4
5
|
export * from './BulkUpload';
|
|
@@ -6,6 +7,8 @@ export * from './Bundle';
|
|
|
6
7
|
export * from './Opportunity';
|
|
7
8
|
export * from './Organization';
|
|
8
9
|
export * from './OrganizationBundle';
|
|
10
|
+
export * from './OrganizationProposal';
|
|
11
|
+
export * from './OrganizationProposalBundle';
|
|
9
12
|
export * from './PdcError';
|
|
10
13
|
export * from './PlatformProviderResponse';
|
|
11
14
|
export * from './PresignedPostRequest';
|
package/dist/types/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ApplicationForm"), exports);
|
|
18
|
+
__exportStar(require("./ApplicationFormBundle"), exports);
|
|
18
19
|
__exportStar(require("./ApplicationFormField"), exports);
|
|
19
20
|
__exportStar(require("./BaseField"), exports);
|
|
20
21
|
__exportStar(require("./BulkUpload"), exports);
|
|
@@ -22,6 +23,8 @@ __exportStar(require("./Bundle"), exports);
|
|
|
22
23
|
__exportStar(require("./Opportunity"), exports);
|
|
23
24
|
__exportStar(require("./Organization"), exports);
|
|
24
25
|
__exportStar(require("./OrganizationBundle"), exports);
|
|
26
|
+
__exportStar(require("./OrganizationProposal"), exports);
|
|
27
|
+
__exportStar(require("./OrganizationProposalBundle"), exports);
|
|
25
28
|
__exportStar(require("./PdcError"), exports);
|
|
26
29
|
__exportStar(require("./PlatformProviderResponse"), exports);
|
|
27
30
|
__exportStar(require("./PresignedPostRequest"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ApplicationForm,
|
|
3
|
+
} from './ApplicationForm';
|
|
4
|
+
import {
|
|
5
|
+
Bundle,
|
|
6
|
+
} from './Bundle';
|
|
7
|
+
import { Writable } from './Writable';
|
|
8
|
+
|
|
9
|
+
export interface ApplicationFormBundle {
|
|
10
|
+
entries: Array<ApplicationForm>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type WritableApplicationFormBundle = Writable<ApplicationFormBundle>
|
|
14
|
+
|
|
15
|
+
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BaseField,
|
|
3
|
+
} from './BaseField';
|
|
1
4
|
import { Writable } from './Writable';
|
|
2
5
|
|
|
3
6
|
export interface ApplicationFormField {
|
|
4
7
|
readonly id: number;
|
|
5
8
|
readonly applicationFormId: number;
|
|
6
9
|
baseFieldId: number;
|
|
10
|
+
baseField?: BaseField;
|
|
7
11
|
position: number;
|
|
8
12
|
label: string;
|
|
9
13
|
readonly createdAt: Date;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Organization,
|
|
3
|
+
} from './Organization';
|
|
4
|
+
import {
|
|
5
|
+
Proposal,
|
|
6
|
+
} from './Proposal';
|
|
7
|
+
import { Writable } from './Writable';
|
|
8
|
+
|
|
9
|
+
export interface OrganizationProposal {
|
|
10
|
+
readonly id: number;
|
|
11
|
+
organizationId: number;
|
|
12
|
+
organization?: Organization & any;
|
|
13
|
+
proposalId: number;
|
|
14
|
+
proposal?: Proposal & any;
|
|
15
|
+
readonly createdAt: Date;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export type WritableOrganizationProposal = Writable<OrganizationProposal>
|
|
19
|
+
|
|
20
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Bundle,
|
|
3
|
+
} from './Bundle';
|
|
4
|
+
import {
|
|
5
|
+
OrganizationProposal,
|
|
6
|
+
} from './OrganizationProposal';
|
|
7
|
+
import { Writable } from './Writable';
|
|
8
|
+
|
|
9
|
+
export interface OrganizationProposalBundle {
|
|
10
|
+
entries: Array<OrganizationProposal>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type WritableOrganizationProposalBundle = Writable<OrganizationProposalBundle>
|
|
14
|
+
|
|
15
|
+
|
package/src/types/index.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './ApplicationForm';
|
|
2
|
+
export * from './ApplicationFormBundle';
|
|
2
3
|
export * from './ApplicationFormField';
|
|
3
4
|
export * from './BaseField';
|
|
4
5
|
export * from './BulkUpload';
|
|
@@ -6,6 +7,8 @@ export * from './Bundle';
|
|
|
6
7
|
export * from './Opportunity';
|
|
7
8
|
export * from './Organization';
|
|
8
9
|
export * from './OrganizationBundle';
|
|
10
|
+
export * from './OrganizationProposal';
|
|
11
|
+
export * from './OrganizationProposalBundle';
|
|
9
12
|
export * from './PdcError';
|
|
10
13
|
export * from './PlatformProviderResponse';
|
|
11
14
|
export * from './PresignedPostRequest';
|