@sellout/models 0.0.138 → 0.0.139
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/graphql/mutations/publishEvent.mutation.js +1 -0
- package/.dist/graphql/mutations/publishEvent.mutation.js.map +1 -1
- package/.dist/graphql/mutations/updateEvent.mutation.js +1 -0
- package/.dist/graphql/mutations/updateEvent.mutation.js.map +1 -1
- package/.dist/schemas/Organization.d.ts +1 -1
- package/.dist/schemas/Organization.js +5 -5
- package/.dist/schemas/Organization.js.map +1 -1
- package/.dist/sellout-proto.js +44 -0
- package/package.json +3 -3
- package/src/graphql/mutations/publishEvent.mutation.ts +1 -0
- package/src/graphql/mutations/updateEvent.mutation.ts +1 -0
- package/src/proto/event.proto +2 -0
- package/src/schemas/Organization.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publishEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/publishEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA
|
|
1
|
+
{"version":3,"file":"publishEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/publishEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6DhB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,WAAW;IAC3B,wBAAK,CAAC,SAAS,CAAC,KAAK;IACrB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,UAAU;IAC1B,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,IAAI;IACpB,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,aAAa;IAC7B,wBAAK,CAAC,SAAS,CAAC,SAAS;CAC5B,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA
|
|
1
|
+
{"version":3,"file":"updateEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmDhB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,WAAW;IAC3B,wBAAK,CAAC,SAAS,CAAC,KAAK;IACrB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,UAAU;IAC1B,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,IAAI;IACpB,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,aAAa;IAC7B,wBAAK,CAAC,SAAS,CAAC,SAAS;CAC5B,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -33,11 +33,11 @@ exports.default = {
|
|
|
33
33
|
required: false,
|
|
34
34
|
default: null,
|
|
35
35
|
},
|
|
36
|
-
orgUrls:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
orgUrls: {
|
|
37
|
+
type: [String],
|
|
38
|
+
required: false,
|
|
39
|
+
default: null,
|
|
40
|
+
},
|
|
41
41
|
orgLogoUrl: {
|
|
42
42
|
type: String,
|
|
43
43
|
required: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../src/schemas/Organization.ts"],"names":[],"mappings":";;;;;AAAA,sDAA8B;AAC9B,wDAAgC;AAEhC,kBAAe;IACb,GAAG,EAAE;QACH,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,iBAAO,CAAC,QAAQ;KAC1B;IACD,MAAM,EAAE;QACN,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACf;IACD,SAAS,EAAE;QACT,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACf;IACD,OAAO,EAAE;QACP,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,OAAO,EAAE;QACP,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../src/schemas/Organization.ts"],"names":[],"mappings":";;;;;AAAA,sDAA8B;AAC9B,wDAAgC;AAEhC,kBAAe;IACb,GAAG,EAAE;QACH,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,iBAAO,CAAC,QAAQ;KAC1B;IACD,MAAM,EAA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-34666,6 +34666,8 @@ $root.PublicEventDetails = (function() {
|
|
|
34666
34666
|
* @property {boolean|null} [taxDeduction] PublicEventDetails taxDeduction
|
|
34667
34667
|
* @property {IOrganization|null} [organization] PublicEventDetails organization
|
|
34668
34668
|
* @property {IVenue|null} [venue] PublicEventDetails venue
|
|
34669
|
+
* @property {string|null} [status] PublicEventDetails status
|
|
34670
|
+
* @property {number|null} [remainingQty] PublicEventDetails remainingQty
|
|
34669
34671
|
*/
|
|
34670
34672
|
|
|
34671
34673
|
/**
|
|
@@ -34892,6 +34894,22 @@ $root.PublicEventDetails = (function() {
|
|
|
34892
34894
|
*/
|
|
34893
34895
|
PublicEventDetails.prototype.venue = null;
|
|
34894
34896
|
|
|
34897
|
+
/**
|
|
34898
|
+
* PublicEventDetails status.
|
|
34899
|
+
* @member {string} status
|
|
34900
|
+
* @memberof PublicEventDetails
|
|
34901
|
+
* @instance
|
|
34902
|
+
*/
|
|
34903
|
+
PublicEventDetails.prototype.status = "";
|
|
34904
|
+
|
|
34905
|
+
/**
|
|
34906
|
+
* PublicEventDetails remainingQty.
|
|
34907
|
+
* @member {number} remainingQty
|
|
34908
|
+
* @memberof PublicEventDetails
|
|
34909
|
+
* @instance
|
|
34910
|
+
*/
|
|
34911
|
+
PublicEventDetails.prototype.remainingQty = 0;
|
|
34912
|
+
|
|
34895
34913
|
/**
|
|
34896
34914
|
* Creates a new PublicEventDetails instance using the specified properties.
|
|
34897
34915
|
* @function create
|
|
@@ -34969,6 +34987,10 @@ $root.PublicEventDetails = (function() {
|
|
|
34969
34987
|
$root.Organization.encode(message.organization, writer.uint32(/* id 25, wireType 2 =*/202).fork()).ldelim();
|
|
34970
34988
|
if (message.venue != null && Object.hasOwnProperty.call(message, "venue"))
|
|
34971
34989
|
$root.Venue.encode(message.venue, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim();
|
|
34990
|
+
if (message.status != null && Object.hasOwnProperty.call(message, "status"))
|
|
34991
|
+
writer.uint32(/* id 27, wireType 2 =*/218).string(message.status);
|
|
34992
|
+
if (message.remainingQty != null && Object.hasOwnProperty.call(message, "remainingQty"))
|
|
34993
|
+
writer.uint32(/* id 28, wireType 0 =*/224).int32(message.remainingQty);
|
|
34972
34994
|
return writer;
|
|
34973
34995
|
};
|
|
34974
34996
|
|
|
@@ -35083,6 +35105,12 @@ $root.PublicEventDetails = (function() {
|
|
|
35083
35105
|
case 26:
|
|
35084
35106
|
message.venue = $root.Venue.decode(reader, reader.uint32());
|
|
35085
35107
|
break;
|
|
35108
|
+
case 27:
|
|
35109
|
+
message.status = reader.string();
|
|
35110
|
+
break;
|
|
35111
|
+
case 28:
|
|
35112
|
+
message.remainingQty = reader.int32();
|
|
35113
|
+
break;
|
|
35086
35114
|
default:
|
|
35087
35115
|
reader.skipType(tag & 7);
|
|
35088
35116
|
break;
|
|
@@ -35210,6 +35238,12 @@ $root.PublicEventDetails = (function() {
|
|
|
35210
35238
|
if (error)
|
|
35211
35239
|
return "venue." + error;
|
|
35212
35240
|
}
|
|
35241
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
35242
|
+
if (!$util.isString(message.status))
|
|
35243
|
+
return "status: string expected";
|
|
35244
|
+
if (message.remainingQty != null && message.hasOwnProperty("remainingQty"))
|
|
35245
|
+
if (!$util.isInteger(message.remainingQty))
|
|
35246
|
+
return "remainingQty: integer expected";
|
|
35213
35247
|
return null;
|
|
35214
35248
|
};
|
|
35215
35249
|
|
|
@@ -35297,6 +35331,10 @@ $root.PublicEventDetails = (function() {
|
|
|
35297
35331
|
throw TypeError(".PublicEventDetails.venue: object expected");
|
|
35298
35332
|
message.venue = $root.Venue.fromObject(object.venue);
|
|
35299
35333
|
}
|
|
35334
|
+
if (object.status != null)
|
|
35335
|
+
message.status = String(object.status);
|
|
35336
|
+
if (object.remainingQty != null)
|
|
35337
|
+
message.remainingQty = object.remainingQty | 0;
|
|
35300
35338
|
return message;
|
|
35301
35339
|
};
|
|
35302
35340
|
|
|
@@ -35341,6 +35379,8 @@ $root.PublicEventDetails = (function() {
|
|
|
35341
35379
|
object.taxDeduction = false;
|
|
35342
35380
|
object.organization = null;
|
|
35343
35381
|
object.venue = null;
|
|
35382
|
+
object.status = "";
|
|
35383
|
+
object.remainingQty = 0;
|
|
35344
35384
|
}
|
|
35345
35385
|
if (message._id != null && message.hasOwnProperty("_id"))
|
|
35346
35386
|
object._id = message._id;
|
|
@@ -35397,6 +35437,10 @@ $root.PublicEventDetails = (function() {
|
|
|
35397
35437
|
object.organization = $root.Organization.toObject(message.organization, options);
|
|
35398
35438
|
if (message.venue != null && message.hasOwnProperty("venue"))
|
|
35399
35439
|
object.venue = $root.Venue.toObject(message.venue, options);
|
|
35440
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
35441
|
+
object.status = message.status;
|
|
35442
|
+
if (message.remainingQty != null && message.hasOwnProperty("remainingQty"))
|
|
35443
|
+
object.remainingQty = message.remainingQty;
|
|
35400
35444
|
return object;
|
|
35401
35445
|
};
|
|
35402
35446
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.139",
|
|
4
4
|
"description": "Sellout.io models",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@hapi/joi": "^16.1.7",
|
|
20
|
-
"@sellout/utils": "^0.0.
|
|
20
|
+
"@sellout/utils": "^0.0.139",
|
|
21
21
|
"@types/hapi__joi": "^16.0.1",
|
|
22
22
|
"@types/shortid": "^0.0.29",
|
|
23
23
|
"apollo-link-debounce": "^2.1.0",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"protobufjs": "^6.11.2",
|
|
32
32
|
"typescript": "^4.4.2"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "f81cf5adeef7e76090f7bbcae0f26377a0be3d41"
|
|
35
35
|
}
|
package/src/proto/event.proto
CHANGED