need4deed-sdk 0.0.93 → 0.0.95

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/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export * from "./constants";
2
- export * from "./core";
3
2
  export * from "./types";
package/dist/index.js CHANGED
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./constants"), exports);
18
- __exportStar(require("./core"), exports);
19
18
  __exportStar(require("./types"), exports);
@@ -26,3 +26,5 @@ export interface EventN4D {
26
26
  additionalInfo?: string[];
27
27
  outro?: string;
28
28
  }
29
+ export interface ApiEventN4DGet extends EventN4D {
30
+ }
@@ -124,16 +124,16 @@ export interface ApiOpportunityGetList {
124
124
  volunteerType: VolunteerStateTypeType;
125
125
  statusOpportunity: OpportunityStatusType;
126
126
  statusMatch: OpportunityMatchStatusType;
127
+ numberOfVolunteers: number;
127
128
  createdAt: Date;
128
129
  activities: OptionById[];
129
130
  languages: ApiLanguage[];
130
131
  availability: ApiAvailability[];
131
132
  location: OptionById[];
132
133
  accompanyingDetails: ApiOpportunityAccompanyingDetails;
134
+ agentTitle: string;
133
135
  }
134
136
  export interface ApiOpportunityGet extends ApiOpportunityGetList {
135
- createdAt: Date;
136
- numberOfVolunteers: number;
137
137
  description: string;
138
138
  skills: OptionById[];
139
139
  comments: ApiComment[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.93",
3
+ "version": "0.0.95",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",
@@ -18,9 +18,8 @@
18
18
  },
19
19
  "scripts": {
20
20
  "what": "node -e 'console.log(require(\"./package.json\").version)'",
21
- "build:copy-assets": "mkdir -p dist/styles && cp src/styles/*.css dist/styles/",
22
21
  "build:tsc": "tsc",
23
- "build": "yarn build:tsc && yarn build:copy-assets",
22
+ "build": "yarn build:tsc",
24
23
  "watch": "tsc --watch --project tsconfig.cjs.json",
25
24
  "prepublishOnly": "yarn build",
26
25
  "publish": "yarn publish --non-interactive",