@openfn/language-arcgis 0.0.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.
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "properties": {},
4
+ "type": "object",
5
+ "additionalProperties": true,
6
+ "required": []
7
+ }
package/dist/index.cjs ADDED
@@ -0,0 +1,90 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/index.js
20
+ var src_exports = {};
21
+ __export(src_exports, {
22
+ as: () => import_language_common.as,
23
+ combine: () => import_language_common.combine,
24
+ cursor: () => import_language_common.cursor,
25
+ dataPath: () => import_language_common.dataPath,
26
+ dataValue: () => import_language_common.dataValue,
27
+ dateFns: () => import_language_common.dateFns,
28
+ default: () => src_default,
29
+ each: () => import_language_common.each,
30
+ field: () => import_language_common.field,
31
+ fields: () => import_language_common.fields,
32
+ fn: () => import_language_common.fn,
33
+ fnIf: () => import_language_common.fnIf,
34
+ group: () => import_language_common.group,
35
+ lastReferenceValue: () => import_language_common.lastReferenceValue,
36
+ map: () => import_language_common.map,
37
+ merge: () => import_language_common.merge,
38
+ scrubEmojis: () => import_language_common.scrubEmojis,
39
+ sourceValue: () => import_language_common.sourceValue,
40
+ util: () => import_language_common.util
41
+ });
42
+ module.exports = __toCommonJS(src_exports);
43
+
44
+ // src/Adaptor.js
45
+ var Adaptor_exports = {};
46
+ __export(Adaptor_exports, {
47
+ as: () => import_language_common.as,
48
+ combine: () => import_language_common.combine,
49
+ cursor: () => import_language_common.cursor,
50
+ dataPath: () => import_language_common.dataPath,
51
+ dataValue: () => import_language_common.dataValue,
52
+ dateFns: () => import_language_common.dateFns,
53
+ each: () => import_language_common.each,
54
+ field: () => import_language_common.field,
55
+ fields: () => import_language_common.fields,
56
+ fn: () => import_language_common.fn,
57
+ fnIf: () => import_language_common.fnIf,
58
+ group: () => import_language_common.group,
59
+ lastReferenceValue: () => import_language_common.lastReferenceValue,
60
+ map: () => import_language_common.map,
61
+ merge: () => import_language_common.merge,
62
+ scrubEmojis: () => import_language_common.scrubEmojis,
63
+ sourceValue: () => import_language_common.sourceValue,
64
+ util: () => import_language_common.util
65
+ });
66
+ var import_language_common = require("@openfn/language-common");
67
+
68
+ // src/index.js
69
+ var src_default = Adaptor_exports;
70
+ // Annotate the CommonJS export names for ESM import in node:
71
+ 0 && (module.exports = {
72
+ as,
73
+ combine,
74
+ cursor,
75
+ dataPath,
76
+ dataValue,
77
+ dateFns,
78
+ each,
79
+ field,
80
+ fields,
81
+ fn,
82
+ fnIf,
83
+ group,
84
+ lastReferenceValue,
85
+ map,
86
+ merge,
87
+ scrubEmojis,
88
+ sourceValue,
89
+ util
90
+ });
package/dist/index.js ADDED
@@ -0,0 +1,72 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
7
+ // src/Adaptor.js
8
+ var Adaptor_exports = {};
9
+ __export(Adaptor_exports, {
10
+ as: () => as,
11
+ combine: () => combine,
12
+ cursor: () => cursor,
13
+ dataPath: () => dataPath,
14
+ dataValue: () => dataValue,
15
+ dateFns: () => dateFns,
16
+ each: () => each,
17
+ field: () => field,
18
+ fields: () => fields,
19
+ fn: () => fn,
20
+ fnIf: () => fnIf,
21
+ group: () => group,
22
+ lastReferenceValue: () => lastReferenceValue,
23
+ map: () => map,
24
+ merge: () => merge,
25
+ scrubEmojis: () => scrubEmojis,
26
+ sourceValue: () => sourceValue,
27
+ util: () => util
28
+ });
29
+ import {
30
+ as,
31
+ combine,
32
+ cursor,
33
+ dataPath,
34
+ dataValue,
35
+ dateFns,
36
+ each,
37
+ field,
38
+ fields,
39
+ fn,
40
+ fnIf,
41
+ group,
42
+ lastReferenceValue,
43
+ map,
44
+ merge,
45
+ scrubEmojis,
46
+ sourceValue,
47
+ util
48
+ } from "@openfn/language-common";
49
+
50
+ // src/index.js
51
+ var src_default = Adaptor_exports;
52
+ export {
53
+ as,
54
+ combine,
55
+ cursor,
56
+ dataPath,
57
+ dataValue,
58
+ dateFns,
59
+ src_default as default,
60
+ each,
61
+ field,
62
+ fields,
63
+ fn,
64
+ fnIf,
65
+ group,
66
+ lastReferenceValue,
67
+ map,
68
+ merge,
69
+ scrubEmojis,
70
+ sourceValue,
71
+ util
72
+ };
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@openfn/language-arcgis",
3
+ "version": "0.0.1",
4
+ "description": "OpenFn arcgis adaptor",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./dist/index.js",
9
+ "types": "./types/index.d.ts",
10
+ "require": "./dist/index.cjs"
11
+ },
12
+ "./package.json": "./package.json"
13
+ },
14
+ "author": "Open Function Group",
15
+ "license": "LGPLv3",
16
+ "files": [
17
+ "dist/",
18
+ "types/",
19
+ "ast.json",
20
+ "configuration-schema.json"
21
+ ],
22
+ "dependencies": {
23
+ "@openfn/language-common": "3.1.0"
24
+ },
25
+ "devDependencies": {
26
+ "assertion-error": "2.0.0",
27
+ "chai": "4.3.6",
28
+ "deep-eql": "4.1.1",
29
+ "mocha": "^10.7.3",
30
+ "rimraf": "3.0.2",
31
+ "undici": "^5.22.1"
32
+ },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "https://github.com/openfn/adaptors.git"
36
+ },
37
+ "types": "types/index.d.ts",
38
+ "main": "dist/index.cjs",
39
+ "scripts": {
40
+ "build": "pnpm clean && build-adaptor arcgis",
41
+ "test": "mocha --experimental-specifier-resolution=node --no-warnings",
42
+ "test:watch": "mocha -w --experimental-specifier-resolution=node --no-warnings",
43
+ "clean": "rimraf dist types docs",
44
+ "pack": "pnpm pack --pack-destination ../../dist",
45
+ "lint": "eslint src"
46
+ }
47
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * State object
3
+ */
4
+ export type HttpState = {
5
+ /**
6
+ * - the parsed response body
7
+ */
8
+ data: any;
9
+ /**
10
+ * - the response from the HTTP server, including headers, statusCode, body, etc
11
+ */
12
+ response: any;
13
+ /**
14
+ * - an array of all previous data objects used in the Job
15
+ */
16
+ references: any;
17
+ };
18
+ export { as, combine, cursor, dataPath, dataValue, dateFns, each, field, fields, fn, fnIf, group, lastReferenceValue, map, merge, scrubEmojis, sourceValue, util } from "@openfn/language-common";
@@ -0,0 +1,3 @@
1
+ export default Adaptor;
2
+ export * from "./Adaptor";
3
+ import * as Adaptor from "./Adaptor";