@roadmanjs/couchset 0.1.1 → 1.0.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/couchbase.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"couchbase.js","sourceRoot":"","sources":["../src/couchbase.ts"],"names":[],"mappings":";;;;;;AAAA,4BAA0B;AAC1B,yBAAuB;AACvB,kDAA0B;AAC1B,0CAA+D;AAC/D,yCAA0C;AAE1C;;;;GAIG;AACI,MAAM,eAAe,GAAY,KAAK,EAAE,IAAkB,EAAyB,EAAE;IACxF,MAAM,CAAC,aAAa,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,cAAO,EAAC,IAAA,yBAAc,GAAE,CAAC,CAAC;IACjE,IAAI,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"couchbase.js","sourceRoot":"","sources":["../src/couchbase.ts"],"names":[],"mappings":";;;;;;AAAA,4BAA0B;AAC1B,yBAAuB;AACvB,kDAA0B;AAC1B,0CAA+D;AAC/D,yCAA0C;AAE1C;;;;GAIG;AACI,MAAM,eAAe,GAAY,KAAK,EAAE,IAAkB,EAAyB,EAAE;IACxF,MAAM,CAAC,aAAa,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,cAAO,EAAC,IAAA,yBAAc,GAAE,CAAC,CAAC;IACjE,IAAI,OAAO,EAAE,CAAC;QACV,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,eAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC;QAC9D,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,MAAM,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;AAChF,CAAC,CAAC;AAPW,QAAA,eAAe,mBAO1B"}
|
|
@@ -25,7 +25,7 @@ interface CreateUpdate {
|
|
|
25
25
|
owner?: string;
|
|
26
26
|
data: any;
|
|
27
27
|
}
|
|
28
|
-
export declare const createUpdate: <T>(args: CreateUpdate) => Promise<T>;
|
|
28
|
+
export declare const createUpdate: <T>(args: CreateUpdate) => Promise<T | null>;
|
|
29
29
|
/**
|
|
30
30
|
* Creates a [className]Pagination ObjectType
|
|
31
31
|
* @param c class
|
|
@@ -14,6 +14,7 @@ const type_graphql_1 = require("type-graphql");
|
|
|
14
14
|
const graphql_type_json_1 = __importDefault(require("graphql-type-json"));
|
|
15
15
|
let CommonType = class CommonType {
|
|
16
16
|
};
|
|
17
|
+
exports.CommonType = CommonType;
|
|
17
18
|
__decorate([
|
|
18
19
|
(0, type_graphql_1.Field)(() => String, { nullable: true })
|
|
19
20
|
], CommonType.prototype, "id", void 0);
|
|
@@ -32,10 +33,9 @@ __decorate([
|
|
|
32
33
|
__decorate([
|
|
33
34
|
(0, type_graphql_1.Field)(() => Boolean, { nullable: true })
|
|
34
35
|
], CommonType.prototype, "deleted", void 0);
|
|
35
|
-
CommonType = __decorate([
|
|
36
|
+
exports.CommonType = CommonType = __decorate([
|
|
36
37
|
(0, type_graphql_1.ObjectType)()
|
|
37
38
|
], CommonType);
|
|
38
|
-
exports.CommonType = CommonType;
|
|
39
39
|
exports.CommonSchema = {
|
|
40
40
|
id: String,
|
|
41
41
|
env: String,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.model.js","sourceRoot":"","sources":["../../src/shared/common.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+C;AAE/C,0EAA4C;AASrC,IAAM,UAAU,GAAhB,MAAM,UAAU;CAkBtB,CAAA;
|
|
1
|
+
{"version":3,"file":"common.model.js","sourceRoot":"","sources":["../../src/shared/common.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+C;AAE/C,0EAA4C;AASrC,IAAM,UAAU,GAAhB,MAAM,UAAU;CAkBtB,CAAA;AAlBY,gCAAU;AAEnB;IADC,IAAA,oBAAK,EAAC,GAAG,EAAE,CAAC,M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AAO,KAAK,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,sBAAsB,KAAK,CAAC,cAAc,EAAE,EAAE,KAAK,CAAC,CAAC;QACnE,OAAO,IAAI,CAAC;IAChB,CAAC;AACL,CAAC,CAAC;AAfW,QAAA,YAAY,gBAevB;AAEF;;;;GAIG;AACI,MAAM,aAAa,GAAG,CAAI,CAAI,EAAO,EAAE;IAE1C,IAAM,UAAU,GAAhB,MAAM,UAAU;KASf,CAAA;IAPG;QADC,IAAA,oBAAK,EAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;6CACjB;IAGlB;QADC,IAAA,oBAAK,EAAC,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;+CACN;IAGlB;QADC,IAAA,oBAAK,EAAC,GAAG,EAAE,CAAC,2BAAW,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;8CAC9B;IARX,UAAU;QADf,IAAA,yBAAU,EAAC,GAAI,CAAS,CAAC,IAAI,YAAY,CAAC;OACrC,UAAU,CASf;IACD,OAAO,UAAU,CAAC;AACtB,CAAC,CAAC;AAbW,QAAA,aAAa,iBAaxB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roadmanjs/couchset",
|
|
3
|
-
"version": "0.1.1",
|
|
4
3
|
"description": "A Couchbase roadman using CouchSet",
|
|
5
4
|
"main": "dist/index.js",
|
|
6
5
|
"types": "dist/index.d.ts",
|
|
@@ -28,7 +27,7 @@
|
|
|
28
27
|
"private": false,
|
|
29
28
|
"scripts": {
|
|
30
29
|
"lint": "tslint \"src/**/*.ts\" --project tsconfig.json",
|
|
31
|
-
"build": "rimraf dist &&
|
|
30
|
+
"build": "rimraf dist && tsc --skipLibCheck",
|
|
32
31
|
"test": "mocha src/*test.ts --exit",
|
|
33
32
|
"prepublishOnly": "npm run build",
|
|
34
33
|
"eslint": "eslint ./src --fix --ext=ts"
|
|
@@ -43,45 +42,11 @@
|
|
|
43
42
|
"pre-commit": "lint-staged"
|
|
44
43
|
}
|
|
45
44
|
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"@types/chai": "^4.2.14",
|
|
48
|
-
"@types/chalk": "^2.2.0",
|
|
49
|
-
"@types/debug": "^4.1.5",
|
|
50
|
-
"@types/dotenv": "^8.2.0",
|
|
51
|
-
"@types/lodash": "^4.14.168",
|
|
52
|
-
"@types/mocha": "^8.2.0",
|
|
53
|
-
"@types/node": "^10.0.3",
|
|
54
|
-
"@types/source-map-support": "^0.4.0",
|
|
55
|
-
"@typescript-eslint/eslint-plugin": "^3.4.0",
|
|
56
|
-
"@typescript-eslint/parser": "^3.4.0",
|
|
57
|
-
"chai": "^4.2.0",
|
|
58
|
-
"eslint": "7.32.0",
|
|
59
|
-
"eslint-config-prettier": "^6.11.0",
|
|
60
|
-
"eslint-loader": "^4.0.2",
|
|
61
|
-
"eslint-plugin-import": "^2.20.2",
|
|
62
|
-
"eslint-plugin-json": "^2.1.1",
|
|
63
|
-
"eslint-plugin-prettier": "^3.1.4",
|
|
64
|
-
"eslint-plugin-simple-import-sort": "^5.0.2",
|
|
65
|
-
"eslint-plugin-typescript": "^0.14.0",
|
|
66
|
-
"husky": "^4.2.5",
|
|
67
|
-
"lint-staged": "^10.1.7",
|
|
68
|
-
"mocha": "^9.2.0",
|
|
69
|
-
"prettier": "^2.0.5",
|
|
70
|
-
"rimraf": "^2.5.4",
|
|
71
|
-
"ts-node": "^9.1.1",
|
|
72
|
-
"tslint": "^5.11.0",
|
|
73
|
-
"tslint-config-standard": "^8.0.1",
|
|
74
|
-
"typescript": "^4.4.3"
|
|
75
|
-
},
|
|
76
|
-
"peerDependencies": {
|
|
77
|
-
"typescript": ">=2.0"
|
|
78
|
-
},
|
|
79
45
|
"dependencies": {
|
|
80
|
-
"@roadmanjs/core": "
|
|
81
|
-
"
|
|
82
|
-
"couchset": "^0.0.18",
|
|
46
|
+
"@roadmanjs/core": "*",
|
|
47
|
+
"couchset": "^0.2.0",
|
|
83
48
|
"debug": "^4.3.1",
|
|
84
|
-
"dotenv": "^8.2.0",
|
|
85
49
|
"lodash": "^4.17.20"
|
|
86
|
-
}
|
|
50
|
+
},
|
|
51
|
+
"version": "1.0.2"
|
|
87
52
|
}
|