@spytecgps/nova-orm 1.4.286 → 1.4.287
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.
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* identifier can repeat across locations (e.g. an ASIN sold via Amazon FBA US
|
|
14
14
|
* and FBA CA), so uniqueness is scoped to (platform, identifier, location).
|
|
15
15
|
*/
|
|
16
|
-
declare const platformArray: readonly ["amazon", "walmart", "ebay", "best_buy"];
|
|
16
|
+
declare const platformArray: readonly ["amazon", "walmart", "ebay", "best_buy", "tiktok"];
|
|
17
17
|
export type MarketplacePlatform = (typeof platformArray)[number];
|
|
18
18
|
export declare class AcumaticaMarketplaceProduct {
|
|
19
19
|
id: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../node_modules/tslib/tslib.es6.js"),t=require("typeorm"),a=require("../utils/boolToNumberTransformer.js");exports.AcumaticaMarketplaceProduct=class AcumaticaMarketplaceProduct{id;platform;location;sku;identifier;name;reviewUrl;productUrl;isPrepaid;prepaidDurationMonths},e.__decorate([t.PrimaryGeneratedColumn({type:"bigint",name:"id"}),e.__metadata("design:type",Number)],exports.AcumaticaMarketplaceProduct.prototype,"id",void 0),e.__decorate([t.Column("enum",{name:"platform",enum:["amazon","walmart","ebay","best_buy"]}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"platform",void 0),e.__decorate([t.Column("varchar",{name:"location",length:50}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"location",void 0),e.__decorate([t.Column("varchar",{name:"sku",length:50}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"sku",void 0),e.__decorate([t.Column("varchar",{name:"identifier",length:50}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"identifier",void 0),e.__decorate([t.Column("varchar",{name:"name",nullable:!0,length:500}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"name",void 0),e.__decorate([t.Column("varchar",{name:"reviewUrl",nullable:!0,length:1e3}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"reviewUrl",void 0),e.__decorate([t.Column("varchar",{name:"productUrl",nullable:!0,length:1e3}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"productUrl",void 0),e.__decorate([t.Column("tinyint",{name:"isPrepaid",width:1,default:()=>"'0'",transformer:new a.BoolToNumberTransformer}),e.__metadata("design:type",Boolean)],exports.AcumaticaMarketplaceProduct.prototype,"isPrepaid",void 0),e.__decorate([t.Column("int",{name:"prepaidDurationMonths",nullable:!0}),e.__metadata("design:type",Number)],exports.AcumaticaMarketplaceProduct.prototype,"prepaidDurationMonths",void 0),exports.AcumaticaMarketplaceProduct=e.__decorate([t.Index("uxAcumaticaMarketplaceProductPlatformIdentifierLocation",["platform","identifier","location"],{unique:!0}),t.Entity("acumaticaMarketplaceProduct",{schema:"nova"})],exports.AcumaticaMarketplaceProduct);
|
|
1
|
+
"use strict";var e=require("../node_modules/tslib/tslib.es6.js"),t=require("typeorm"),a=require("../utils/boolToNumberTransformer.js");exports.AcumaticaMarketplaceProduct=class AcumaticaMarketplaceProduct{id;platform;location;sku;identifier;name;reviewUrl;productUrl;isPrepaid;prepaidDurationMonths},e.__decorate([t.PrimaryGeneratedColumn({type:"bigint",name:"id"}),e.__metadata("design:type",Number)],exports.AcumaticaMarketplaceProduct.prototype,"id",void 0),e.__decorate([t.Column("enum",{name:"platform",enum:["amazon","walmart","ebay","best_buy","tiktok"]}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"platform",void 0),e.__decorate([t.Column("varchar",{name:"location",length:50}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"location",void 0),e.__decorate([t.Column("varchar",{name:"sku",length:50}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"sku",void 0),e.__decorate([t.Column("varchar",{name:"identifier",length:50}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"identifier",void 0),e.__decorate([t.Column("varchar",{name:"name",nullable:!0,length:500}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"name",void 0),e.__decorate([t.Column("varchar",{name:"reviewUrl",nullable:!0,length:1e3}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"reviewUrl",void 0),e.__decorate([t.Column("varchar",{name:"productUrl",nullable:!0,length:1e3}),e.__metadata("design:type",String)],exports.AcumaticaMarketplaceProduct.prototype,"productUrl",void 0),e.__decorate([t.Column("tinyint",{name:"isPrepaid",width:1,default:()=>"'0'",transformer:new a.BoolToNumberTransformer}),e.__metadata("design:type",Boolean)],exports.AcumaticaMarketplaceProduct.prototype,"isPrepaid",void 0),e.__decorate([t.Column("int",{name:"prepaidDurationMonths",nullable:!0}),e.__metadata("design:type",Number)],exports.AcumaticaMarketplaceProduct.prototype,"prepaidDurationMonths",void 0),exports.AcumaticaMarketplaceProduct=e.__decorate([t.Index("uxAcumaticaMarketplaceProductPlatformIdentifierLocation",["platform","identifier","location"],{unique:!0}),t.Entity("acumaticaMarketplaceProduct",{schema:"nova"})],exports.AcumaticaMarketplaceProduct);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
|
|
4
3
|
var _1684483704434AddLowerCaseIndex = require('../1684483704434-addLowerCaseIndex.js');
|
|
5
|
-
var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
|
|
6
4
|
var _1746434400000AddQuickSearchFulltextIndexes = require('../1746434400000-addQuickSearchFulltextIndexes.js');
|
|
5
|
+
var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
|
|
6
|
+
var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
|
|
11
10
|
exports.addLowerCaseIndex1684483704434 = _1684483704434AddLowerCaseIndex.addLowerCaseIndex1684483704434;
|
|
12
|
-
exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
|
|
13
11
|
exports.addQuickSearchFulltextIndexes1746434400000 = _1746434400000AddQuickSearchFulltextIndexes.addQuickSearchFulltextIndexes1746434400000;
|
|
12
|
+
exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
|
|
13
|
+
exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
|
package/package.json
CHANGED
package/schema.sql
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
-- nova-orm-schema-checksum:
|
|
1
|
+
-- nova-orm-schema-checksum: fa00eafdff7546533ac3cf668fe060a4
|
|
2
2
|
-- Nova ORM Schema Dump
|
|
3
|
-
-- Generated at: 2026-08-
|
|
3
|
+
-- Generated at: 2026-08-12T21:52:59.335Z
|
|
4
4
|
|
|
5
5
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
6
6
|
|
|
@@ -44,7 +44,7 @@ CREATE TABLE `acumaticaImeiIccidData` (
|
|
|
44
44
|
DROP TABLE IF EXISTS `acumaticaMarketplaceProduct`;
|
|
45
45
|
CREATE TABLE `acumaticaMarketplaceProduct` (
|
|
46
46
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
47
|
-
`platform` enum('amazon','walmart','ebay','best_buy') NOT NULL,
|
|
47
|
+
`platform` enum('amazon','walmart','ebay','best_buy','tiktok') NOT NULL,
|
|
48
48
|
`location` varchar(50) NOT NULL,
|
|
49
49
|
`sku` varchar(50) NOT NULL,
|
|
50
50
|
`identifier` varchar(50) NOT NULL,
|