need4deed-sdk 0.0.163 → 0.0.165

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.
@@ -101,6 +101,8 @@ interface AgentGetList {
101
101
  email: string;
102
102
  numOpportunities: number;
103
103
  unclaimed: boolean;
104
+ lat: number | null;
105
+ lon: number | null;
104
106
  }
105
107
  export type ApiAgentGetList = VoidableProps<AgentGetList, "district">;
106
108
  interface AgentGet extends AgentGetList {
@@ -20,6 +20,7 @@ export * from "./person";
20
20
  export * from "./profile";
21
21
  export * from "./testimonial";
22
22
  export * from "./time";
23
+ export * from "./translation";
23
24
  export * from "./trusted-domain";
24
25
  export * from "./user";
25
26
  export * from "./volunteer";
@@ -36,6 +36,7 @@ __exportStar(require("./person"), exports);
36
36
  __exportStar(require("./profile"), exports);
37
37
  __exportStar(require("./testimonial"), exports);
38
38
  __exportStar(require("./time"), exports);
39
+ __exportStar(require("./translation"), exports);
39
40
  __exportStar(require("./trusted-domain"), exports);
40
41
  __exportStar(require("./user"), exports);
41
42
  __exportStar(require("./volunteer"), exports);
@@ -0,0 +1,10 @@
1
+ export declare enum TranslationOrigin {
2
+ REFERENCE = "reference",
3
+ MACHINE = "machine",
4
+ HUMAN = "human"
5
+ }
6
+ export declare enum TranslationStatus {
7
+ PENDING = "pending",
8
+ DONE = "done",
9
+ FAILED = "failed"
10
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // Machine translation of user-entered content (be#1064). Each
3
+ // field_translation row records where its text came from and, for machine
4
+ // rows, where it is in the translation queue.
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TranslationStatus = exports.TranslationOrigin = void 0;
7
+ var TranslationOrigin;
8
+ (function (TranslationOrigin) {
9
+ // Seeded, pre-translated reference data (skills, activities, languages, ...).
10
+ TranslationOrigin["REFERENCE"] = "reference";
11
+ // Produced by the machine-translation worker.
12
+ TranslationOrigin["MACHINE"] = "machine";
13
+ // Written or confirmed by a person. Never overwritten by MT while the
14
+ // source text is unchanged.
15
+ TranslationOrigin["HUMAN"] = "human";
16
+ })(TranslationOrigin || (exports.TranslationOrigin = TranslationOrigin = {}));
17
+ var TranslationStatus;
18
+ (function (TranslationStatus) {
19
+ // Queued for the machine-translation worker; no usable text yet.
20
+ TranslationStatus["PENDING"] = "pending";
21
+ TranslationStatus["DONE"] = "done";
22
+ // Gave up (retries exhausted or output failed validation); readers fall
23
+ // back to the original text.
24
+ TranslationStatus["FAILED"] = "failed";
25
+ })(TranslationStatus || (exports.TranslationStatus = TranslationStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.163",
3
+ "version": "0.0.165",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",