@spinajs/queue-orm-transport 2.0.179 → 2.0.181
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/lib/cjs/config/queueOrmTransport.js +1 -1
- package/lib/cjs/index.js +54 -54
- package/lib/cjs/migrations/OrmEventTransportInitial_2022_06_28_01_13_00.d.ts +5 -5
- package/lib/cjs/migrations/OrmEventTransportInitial_2022_06_28_01_13_00.js +46 -46
- package/lib/cjs/migrations/OrmEventTransportInitial_2022_06_28_01_13_00.js.map +1 -1
- package/lib/cjs/models/Event.d.ts +13 -13
- package/lib/cjs/models/Event.js +38 -38
- package/lib/cjs/models/Event.js.map +1 -1
- package/lib/cjs/models/Queue.d.ts +13 -13
- package/lib/cjs/models/Queue.js +33 -33
- package/lib/cjs/models/Queue.js.map +1 -1
- package/lib/cjs/models/Subscriber.d.ts +12 -12
- package/lib/cjs/models/Subscriber.js +39 -39
- package/lib/cjs/models/Subscriber.js.map +1 -1
- package/lib/mjs/config/queueOrmTransport.d.ts +1 -1
- package/lib/mjs/config/queueOrmTransport.js +2 -2
- package/lib/mjs/index.d.ts +1 -1
- package/lib/mjs/index.js +55 -55
- package/lib/mjs/migrations/OrmEventTransportInitial_2022_06_28_01_13_00.d.ts +5 -5
- package/lib/mjs/migrations/OrmEventTransportInitial_2022_06_28_01_13_00.js +43 -43
- package/lib/mjs/migrations/OrmEventTransportInitial_2022_06_28_01_13_00.js.map +1 -1
- package/lib/mjs/models/Event.d.ts +13 -13
- package/lib/mjs/models/Event.js +35 -35
- package/lib/mjs/models/Event.js.map +1 -1
- package/lib/mjs/models/Queue.d.ts +13 -13
- package/lib/mjs/models/Queue.js +30 -30
- package/lib/mjs/models/Queue.js.map +1 -1
- package/lib/mjs/models/Subscriber.d.ts +12 -12
- package/lib/mjs/models/Subscriber.js +36 -36
- package/lib/mjs/models/Subscriber.js.map +1 -1
- package/lib/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/tsconfig.mjs.tsbuildinfo +1 -1
- package/package.json +6 -6
package/lib/mjs/index.js
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
// import { Message, QueueClient } from '@spinajs/queue';
|
|
2
|
-
// import { Event } from './models/event';
|
|
3
|
-
// import { Subscriber } from './models/Subscriber';
|
|
4
|
-
// import { Config } from '@spinajs/configuration';
|
|
5
|
-
// import { Queue } from './models/Queue';
|
|
6
|
-
// import { ILog, Logger } from '@spinajs/log';
|
|
7
|
-
export {};
|
|
8
|
-
// interface QueueOrmTransportConfig {
|
|
9
|
-
// TickInterval: number;
|
|
10
|
-
// }
|
|
11
|
-
// export class QueueOrmTransport extends QueueClient {
|
|
12
|
-
// @Logger('QueueOrmTransport')
|
|
13
|
-
// protected Log: ILog;
|
|
14
|
-
// @Config('queue.orm_transport')
|
|
15
|
-
// protected Config: QueueOrmTransportConfig;
|
|
16
|
-
// protected Subscriber: Subscriber;
|
|
17
|
-
// public async resolve(): Promise<void> {
|
|
18
|
-
// this.Subscriber = await Subscriber.where('Name', this.Options.name).first();
|
|
19
|
-
// if (!this.Subscriber) {
|
|
20
|
-
// this.Subscriber = new Subscriber({
|
|
21
|
-
// Name: this.Options.name,
|
|
22
|
-
// });
|
|
23
|
-
// await this.Subscriber.insert();
|
|
24
|
-
// this.Log.success(`Added ${this.Options.name} subscriber to queue`);
|
|
25
|
-
// }
|
|
26
|
-
// }
|
|
27
|
-
// public async dispatch(event: Message): Promise<boolean> {
|
|
28
|
-
// try {
|
|
29
|
-
// const e = new Event({
|
|
30
|
-
// Channel: event.Queue,
|
|
31
|
-
// Value: event.toJSON(),
|
|
32
|
-
// });
|
|
33
|
-
// const subscriber = await Subscriber.getOrCreate(null, {
|
|
34
|
-
// Name: this.Options.name,
|
|
35
|
-
// });
|
|
36
|
-
// await e.insert();
|
|
37
|
-
// await subscriber.Events.add(e);
|
|
38
|
-
// } catch (err) {
|
|
39
|
-
// return false;
|
|
40
|
-
// }
|
|
41
|
-
// return true;
|
|
42
|
-
// }
|
|
43
|
-
// public async subscribe(callback: (message: Message) => void) {
|
|
44
|
-
// setInterval(async () => {
|
|
45
|
-
// for (const e of sub.Events) {
|
|
46
|
-
// try {
|
|
47
|
-
// callback(e.Value as Message);
|
|
48
|
-
// await Queue.update({ Ack: true }).where('Id', e.Id);
|
|
49
|
-
// } catch (err) {
|
|
50
|
-
// this.Log.warn(`Cannot execute event ${e.constructor.name}, reason: ${JSON.stringify(err)}`);
|
|
51
|
-
// }
|
|
52
|
-
// }
|
|
53
|
-
// }, this.Config.TickInterval || 1000);
|
|
54
|
-
// }
|
|
55
|
-
// }
|
|
1
|
+
// import { Message, QueueClient } from '@spinajs/queue';
|
|
2
|
+
// import { Event } from './models/event';
|
|
3
|
+
// import { Subscriber } from './models/Subscriber';
|
|
4
|
+
// import { Config } from '@spinajs/configuration';
|
|
5
|
+
// import { Queue } from './models/Queue';
|
|
6
|
+
// import { ILog, Logger } from '@spinajs/log';
|
|
7
|
+
export {};
|
|
8
|
+
// interface QueueOrmTransportConfig {
|
|
9
|
+
// TickInterval: number;
|
|
10
|
+
// }
|
|
11
|
+
// export class QueueOrmTransport extends QueueClient {
|
|
12
|
+
// @Logger('QueueOrmTransport')
|
|
13
|
+
// protected Log: ILog;
|
|
14
|
+
// @Config('queue.orm_transport')
|
|
15
|
+
// protected Config: QueueOrmTransportConfig;
|
|
16
|
+
// protected Subscriber: Subscriber;
|
|
17
|
+
// public async resolve(): Promise<void> {
|
|
18
|
+
// this.Subscriber = await Subscriber.where('Name', this.Options.name).first();
|
|
19
|
+
// if (!this.Subscriber) {
|
|
20
|
+
// this.Subscriber = new Subscriber({
|
|
21
|
+
// Name: this.Options.name,
|
|
22
|
+
// });
|
|
23
|
+
// await this.Subscriber.insert();
|
|
24
|
+
// this.Log.success(`Added ${this.Options.name} subscriber to queue`);
|
|
25
|
+
// }
|
|
26
|
+
// }
|
|
27
|
+
// public async dispatch(event: Message): Promise<boolean> {
|
|
28
|
+
// try {
|
|
29
|
+
// const e = new Event({
|
|
30
|
+
// Channel: event.Queue,
|
|
31
|
+
// Value: event.toJSON(),
|
|
32
|
+
// });
|
|
33
|
+
// const subscriber = await Subscriber.getOrCreate(null, {
|
|
34
|
+
// Name: this.Options.name,
|
|
35
|
+
// });
|
|
36
|
+
// await e.insert();
|
|
37
|
+
// await subscriber.Events.add(e);
|
|
38
|
+
// } catch (err) {
|
|
39
|
+
// return false;
|
|
40
|
+
// }
|
|
41
|
+
// return true;
|
|
42
|
+
// }
|
|
43
|
+
// public async subscribe(callback: (message: Message) => void) {
|
|
44
|
+
// setInterval(async () => {
|
|
45
|
+
// for (const e of sub.Events) {
|
|
46
|
+
// try {
|
|
47
|
+
// callback(e.Value as Message);
|
|
48
|
+
// await Queue.update({ Ack: true }).where('Id', e.Id);
|
|
49
|
+
// } catch (err) {
|
|
50
|
+
// this.Log.warn(`Cannot execute event ${e.constructor.name}, reason: ${JSON.stringify(err)}`);
|
|
51
|
+
// }
|
|
52
|
+
// }
|
|
53
|
+
// }, this.Config.TickInterval || 1000);
|
|
54
|
+
// }
|
|
55
|
+
// }
|
|
56
56
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OrmMigration, OrmDriver } from '@spinajs/orm';
|
|
2
|
-
export declare class OrmEventTransportInitial_2022_06_28_01_13_00 extends OrmMigration {
|
|
3
|
-
up(connection: OrmDriver): Promise<void>;
|
|
4
|
-
down(_connection: OrmDriver): Promise<void>;
|
|
5
|
-
}
|
|
1
|
+
import { OrmMigration, OrmDriver } from '@spinajs/orm';
|
|
2
|
+
export declare class OrmEventTransportInitial_2022_06_28_01_13_00 extends OrmMigration {
|
|
3
|
+
up(connection: OrmDriver): Promise<void>;
|
|
4
|
+
down(_connection: OrmDriver): Promise<void>;
|
|
5
|
+
}
|
|
6
6
|
//# sourceMappingURL=OrmEventTransportInitial_2022_06_28_01_13_00.d.ts.map
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
8
|
-
import { OrmMigration, Migration } from '@spinajs/orm';
|
|
9
|
-
let OrmEventTransportInitial_2022_06_28_01_13_00 = class OrmEventTransportInitial_2022_06_28_01_13_00 extends OrmMigration {
|
|
10
|
-
async up(connection) {
|
|
11
|
-
await connection.schema().createTable('orm_event_transport__event', (table) => {
|
|
12
|
-
table.int('Id').primaryKey().autoIncrement();
|
|
13
|
-
table.string('Type').notNull();
|
|
14
|
-
table.dateTime('CreatedAt').default().dateTime();
|
|
15
|
-
table.text('Value');
|
|
16
|
-
});
|
|
17
|
-
await connection.schema().createTable('orm_event_transport__subscribers', (table) => {
|
|
18
|
-
table.int('Id').primaryKey().autoIncrement();
|
|
19
|
-
table.string('Name', 32).notNull().unique();
|
|
20
|
-
table.dateTime('LastAck').notNull().default().dateTime();
|
|
21
|
-
});
|
|
22
|
-
await connection.schema().createTable('orm_event_transport__queue', (table) => {
|
|
23
|
-
table.int('orm_event_transport__subscribers_Id');
|
|
24
|
-
table.int('orm_event_transport__event_Id');
|
|
25
|
-
table.dateTime('Ack');
|
|
26
|
-
});
|
|
27
|
-
await connection.schema().createTable('orm_event_transport__job', (table) => {
|
|
28
|
-
table.int('Id').primaryKey().autoIncrement();
|
|
29
|
-
table.string('Type').notNull();
|
|
30
|
-
table.text('Value').notNull();
|
|
31
|
-
table.text('Result');
|
|
32
|
-
table.dateTime('CreatedAt').notNull().default().dateTime();
|
|
33
|
-
table.dateTime('FinishedAt').notNull().default().dateTime();
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
// tslint:disable-next-line: no-empty
|
|
37
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
38
|
-
async down(_connection) { }
|
|
39
|
-
};
|
|
40
|
-
OrmEventTransportInitial_2022_06_28_01_13_00 = __decorate([
|
|
41
|
-
Migration('orm-event-transport')
|
|
42
|
-
], OrmEventTransportInitial_2022_06_28_01_13_00);
|
|
43
|
-
export { OrmEventTransportInitial_2022_06_28_01_13_00 };
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
8
|
+
import { OrmMigration, Migration } from '@spinajs/orm';
|
|
9
|
+
let OrmEventTransportInitial_2022_06_28_01_13_00 = class OrmEventTransportInitial_2022_06_28_01_13_00 extends OrmMigration {
|
|
10
|
+
async up(connection) {
|
|
11
|
+
await connection.schema().createTable('orm_event_transport__event', (table) => {
|
|
12
|
+
table.int('Id').primaryKey().autoIncrement();
|
|
13
|
+
table.string('Type').notNull();
|
|
14
|
+
table.dateTime('CreatedAt').default().dateTime();
|
|
15
|
+
table.text('Value');
|
|
16
|
+
});
|
|
17
|
+
await connection.schema().createTable('orm_event_transport__subscribers', (table) => {
|
|
18
|
+
table.int('Id').primaryKey().autoIncrement();
|
|
19
|
+
table.string('Name', 32).notNull().unique();
|
|
20
|
+
table.dateTime('LastAck').notNull().default().dateTime();
|
|
21
|
+
});
|
|
22
|
+
await connection.schema().createTable('orm_event_transport__queue', (table) => {
|
|
23
|
+
table.int('orm_event_transport__subscribers_Id');
|
|
24
|
+
table.int('orm_event_transport__event_Id');
|
|
25
|
+
table.dateTime('Ack');
|
|
26
|
+
});
|
|
27
|
+
await connection.schema().createTable('orm_event_transport__job', (table) => {
|
|
28
|
+
table.int('Id').primaryKey().autoIncrement();
|
|
29
|
+
table.string('Type').notNull();
|
|
30
|
+
table.text('Value').notNull();
|
|
31
|
+
table.text('Result');
|
|
32
|
+
table.dateTime('CreatedAt').notNull().default().dateTime();
|
|
33
|
+
table.dateTime('FinishedAt').notNull().default().dateTime();
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
// tslint:disable-next-line: no-empty
|
|
37
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
38
|
+
async down(_connection) { }
|
|
39
|
+
};
|
|
40
|
+
OrmEventTransportInitial_2022_06_28_01_13_00 = __decorate([
|
|
41
|
+
Migration('orm-event-transport')
|
|
42
|
+
], OrmEventTransportInitial_2022_06_28_01_13_00);
|
|
43
|
+
export { OrmEventTransportInitial_2022_06_28_01_13_00 };
|
|
44
44
|
//# sourceMappingURL=OrmEventTransportInitial_2022_06_28_01_13_00.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrmEventTransportInitial_2022_06_28_01_13_00.js","sourceRoot":"","sources":["../../../src/migrations/OrmEventTransportInitial_2022_06_28_01_13_00.ts"],"names":[],"mappings":";;;;;;AAAA,sDAAsD;AACtD,OAAO,EAAE,YAAY,EAAa,SAAS,EAAE,MAAM,cAAc,CAAC;AAG3D,IAAM,4CAA4C,GAAlD,MAAM,4CAA6C,SAAQ,YAAY;IACrE,KAAK,CAAC,EAAE,CAAC,UAAqB;QACnC,MAAM,UAAU,CAAC,MAAM,EAAE,CAAC,WAAW,CAAC,4BA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AC,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC;QAC9D,CAAC,CAAC,CAAC;IACL,CAAC;IAED,qCAAqC;IACrC,gEAAgE;IACzD,KAAK,CAAC,IAAI,CAAC,WAAsB,IAAkB,CAAC;CAC5D,CAAA;AAlCY,4CAA4C;IADxD,SAAS,CAAC,qBAAqB,CAAC;GACpB,4CAA4C,CAkCxD"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { DateTime } from 'luxon';
|
|
2
|
-
import { ModelBase } from '@spinajs/orm';
|
|
3
|
-
/**
|
|
4
|
-
* Base model for users used by auth and ACL system
|
|
5
|
-
*
|
|
6
|
-
* To add / extend fields simply extend this model and register as default user model in ACL service
|
|
7
|
-
*/
|
|
8
|
-
export declare class Event extends ModelBase {
|
|
9
|
-
Id: number;
|
|
10
|
-
Channel: string;
|
|
11
|
-
CreatedAt: DateTime;
|
|
12
|
-
Value: unknown;
|
|
13
|
-
}
|
|
1
|
+
import { DateTime } from 'luxon';
|
|
2
|
+
import { ModelBase } from '@spinajs/orm';
|
|
3
|
+
/**
|
|
4
|
+
* Base model for users used by auth and ACL system
|
|
5
|
+
*
|
|
6
|
+
* To add / extend fields simply extend this model and register as default user model in ACL service
|
|
7
|
+
*/
|
|
8
|
+
export declare class Event extends ModelBase {
|
|
9
|
+
Id: number;
|
|
10
|
+
Channel: string;
|
|
11
|
+
CreatedAt: DateTime;
|
|
12
|
+
Value: unknown;
|
|
13
|
+
}
|
|
14
14
|
//# sourceMappingURL=Event.d.ts.map
|
package/lib/mjs/models/Event.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { DateTime } from 'luxon';
|
|
11
|
-
import { ModelBase, Primary, Connection, Model, CreatedAt, Json } from '@spinajs/orm';
|
|
12
|
-
/**
|
|
13
|
-
* Base model for users used by auth and ACL system
|
|
14
|
-
*
|
|
15
|
-
* To add / extend fields simply extend this model and register as default user model in ACL service
|
|
16
|
-
*/
|
|
17
|
-
let Event = class Event extends ModelBase {
|
|
18
|
-
};
|
|
19
|
-
__decorate([
|
|
20
|
-
Primary(),
|
|
21
|
-
__metadata("design:type", Number)
|
|
22
|
-
], Event.prototype, "Id", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
CreatedAt(),
|
|
25
|
-
__metadata("design:type", DateTime)
|
|
26
|
-
], Event.prototype, "CreatedAt", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
Json(),
|
|
29
|
-
__metadata("design:type", Object)
|
|
30
|
-
], Event.prototype, "Value", void 0);
|
|
31
|
-
Event = __decorate([
|
|
32
|
-
Connection('orm-event-transport'),
|
|
33
|
-
Model('orm_event_transport__event')
|
|
34
|
-
], Event);
|
|
35
|
-
export { Event };
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { DateTime } from 'luxon';
|
|
11
|
+
import { ModelBase, Primary, Connection, Model, CreatedAt, Json } from '@spinajs/orm';
|
|
12
|
+
/**
|
|
13
|
+
* Base model for users used by auth and ACL system
|
|
14
|
+
*
|
|
15
|
+
* To add / extend fields simply extend this model and register as default user model in ACL service
|
|
16
|
+
*/
|
|
17
|
+
let Event = class Event extends ModelBase {
|
|
18
|
+
};
|
|
19
|
+
__decorate([
|
|
20
|
+
Primary(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], Event.prototype, "Id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
CreatedAt(),
|
|
25
|
+
__metadata("design:type", DateTime)
|
|
26
|
+
], Event.prototype, "CreatedAt", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
Json(),
|
|
29
|
+
__metadata("design:type", Object)
|
|
30
|
+
], Event.prototype, "Value", void 0);
|
|
31
|
+
Event = __decorate([
|
|
32
|
+
Connection('orm-event-transport'),
|
|
33
|
+
Model('orm_event_transport__event')
|
|
34
|
+
], Event);
|
|
35
|
+
export { Event };
|
|
36
36
|
//# sourceMappingURL=Event.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Event.js","sourceRoot":"","sources":["../../../src/models/Event.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEtF;;;;GAIG;AAGI,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,SAAS;CAWnC,CAAA;
|
|
1
|
+
{"version":3,"file":"Event.js","sourceRoot":"","sources":["../../../src/models/Event.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEtF;;;;GAIG;AAGI,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,SAAS;CAWnC,CAAA;AATQ;IADN,OAAO,EAAE;;iCACQ;AAKX;IADN,SAAS,EAAE;8BACM,QAAQ;wCAAC;AAGpB;IADN,IAAI,EAAE;;oCACe;AAVX,KAAK;IAFjB,UAAU,CAAC,qBAAqB,CAAC;IACjC,KAAK,CAAC,4BAA4B,CAAC;GACvB,KAAK,CAWjB"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Subscriber } from './Subscriber.js';
|
|
2
|
-
import { ModelBase, SingleRelation } from '@spinajs/orm';
|
|
3
|
-
import type { Event } from './Event.js';
|
|
4
|
-
/**
|
|
5
|
-
* Base model for users used by auth and ACL system
|
|
6
|
-
*
|
|
7
|
-
* To add / extend fields simply extend this model and register as default user model in ACL service
|
|
8
|
-
*/
|
|
9
|
-
export declare class Queue extends ModelBase {
|
|
10
|
-
Event: SingleRelation<Event>;
|
|
11
|
-
Subscriber: SingleRelation<Subscriber>;
|
|
12
|
-
Ack: boolean;
|
|
13
|
-
}
|
|
1
|
+
import { Subscriber } from './Subscriber.js';
|
|
2
|
+
import { ModelBase, SingleRelation } from '@spinajs/orm';
|
|
3
|
+
import type { Event } from './Event.js';
|
|
4
|
+
/**
|
|
5
|
+
* Base model for users used by auth and ACL system
|
|
6
|
+
*
|
|
7
|
+
* To add / extend fields simply extend this model and register as default user model in ACL service
|
|
8
|
+
*/
|
|
9
|
+
export declare class Queue extends ModelBase {
|
|
10
|
+
Event: SingleRelation<Event>;
|
|
11
|
+
Subscriber: SingleRelation<Subscriber>;
|
|
12
|
+
Ack: boolean;
|
|
13
|
+
}
|
|
14
14
|
//# sourceMappingURL=Queue.d.ts.map
|
package/lib/mjs/models/Queue.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { ModelBase, Connection, Model, BelongsTo, SingleRelation } from '@spinajs/orm';
|
|
11
|
-
/**
|
|
12
|
-
* Base model for users used by auth and ACL system
|
|
13
|
-
*
|
|
14
|
-
* To add / extend fields simply extend this model and register as default user model in ACL service
|
|
15
|
-
*/
|
|
16
|
-
let Queue = class Queue extends ModelBase {
|
|
17
|
-
};
|
|
18
|
-
__decorate([
|
|
19
|
-
BelongsTo('Event', 'orm_event_transport__event_Id', 'Id'),
|
|
20
|
-
__metadata("design:type", SingleRelation)
|
|
21
|
-
], Queue.prototype, "Event", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
BelongsTo('Subscriber', 'orm_event_transport__subscribers_Id', 'Id'),
|
|
24
|
-
__metadata("design:type", SingleRelation)
|
|
25
|
-
], Queue.prototype, "Subscriber", void 0);
|
|
26
|
-
Queue = __decorate([
|
|
27
|
-
Connection('orm-event-transport'),
|
|
28
|
-
Model('orm_event_transport__queue')
|
|
29
|
-
], Queue);
|
|
30
|
-
export { Queue };
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ModelBase, Connection, Model, BelongsTo, SingleRelation } from '@spinajs/orm';
|
|
11
|
+
/**
|
|
12
|
+
* Base model for users used by auth and ACL system
|
|
13
|
+
*
|
|
14
|
+
* To add / extend fields simply extend this model and register as default user model in ACL service
|
|
15
|
+
*/
|
|
16
|
+
let Queue = class Queue extends ModelBase {
|
|
17
|
+
};
|
|
18
|
+
__decorate([
|
|
19
|
+
BelongsTo('Event', 'orm_event_transport__event_Id', 'Id'),
|
|
20
|
+
__metadata("design:type", SingleRelation)
|
|
21
|
+
], Queue.prototype, "Event", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
BelongsTo('Subscriber', 'orm_event_transport__subscribers_Id', 'Id'),
|
|
24
|
+
__metadata("design:type", SingleRelation)
|
|
25
|
+
], Queue.prototype, "Subscriber", void 0);
|
|
26
|
+
Queue = __decorate([
|
|
27
|
+
Connection('orm-event-transport'),
|
|
28
|
+
Model('orm_event_transport__queue')
|
|
29
|
+
], Queue);
|
|
30
|
+
export { Queue };
|
|
31
31
|
//# sourceMappingURL=Queue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Queue.js","sourceRoot":"","sources":["../../../src/models/Queue.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEvF;;;;GAIG;AAGI,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,SAAS;CAQnC,CAAA;
|
|
1
|
+
{"version":3,"file":"Queue.js","sourceRoot":"","sources":["../../../src/models/Queue.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEvF;;;;GAIG;AAGI,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,SAAS;CAQnC,CAAA;AANQ;IADN,SAAS,CAAC,OAAO,EAAE,+BAA+B,EAAE,IAAI,CAAC;8BAC5C,cAAc;oCAAQ;AAG7B;IADN,SAAS,CAAC,YAAY,EAAE,qCAAqC,EAAE,IAAI,CAAC;8BAClD,cAAc;yCAAa;AALnC,KAAK;IAFjB,UAAU,CAAC,qBAAqB,CAAC;IACjC,KAAK,CAAC,4BAA4B,CAAC;GACvB,KAAK,CAQjB"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Event } from './Event.js';
|
|
2
|
-
import { ModelBase, ManyToManyRelationList } from '@spinajs/orm';
|
|
3
|
-
/**
|
|
4
|
-
* Base model for users used by auth and ACL system
|
|
5
|
-
*
|
|
6
|
-
* To add / extend fields simply extend this model and register as default user model in ACL service
|
|
7
|
-
*/
|
|
8
|
-
export declare class Subscriber extends ModelBase {
|
|
9
|
-
Id: number;
|
|
10
|
-
Name: string;
|
|
11
|
-
Events: ManyToManyRelationList<Event, Subscriber>;
|
|
12
|
-
}
|
|
1
|
+
import { Event } from './Event.js';
|
|
2
|
+
import { ModelBase, ManyToManyRelationList } from '@spinajs/orm';
|
|
3
|
+
/**
|
|
4
|
+
* Base model for users used by auth and ACL system
|
|
5
|
+
*
|
|
6
|
+
* To add / extend fields simply extend this model and register as default user model in ACL service
|
|
7
|
+
*/
|
|
8
|
+
export declare class Subscriber extends ModelBase {
|
|
9
|
+
Id: number;
|
|
10
|
+
Name: string;
|
|
11
|
+
Events: ManyToManyRelationList<Event, Subscriber>;
|
|
12
|
+
}
|
|
13
13
|
//# sourceMappingURL=Subscriber.d.ts.map
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Queue } from './Queue.js';
|
|
11
|
-
import { Event } from './Event.js';
|
|
12
|
-
import { ModelBase, Primary, Connection, Model, HasManyToMany, ManyToManyRelationList } from '@spinajs/orm';
|
|
13
|
-
/**
|
|
14
|
-
* Base model for users used by auth and ACL system
|
|
15
|
-
*
|
|
16
|
-
* To add / extend fields simply extend this model and register as default user model in ACL service
|
|
17
|
-
*/
|
|
18
|
-
let Subscriber = class Subscriber extends ModelBase {
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
Primary(),
|
|
22
|
-
__metadata("design:type", Number)
|
|
23
|
-
], Subscriber.prototype, "Id", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
Primary(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], Subscriber.prototype, "Name", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
HasManyToMany(Queue, Event, 'Id', 'Id', 'orm_event_transport__event_Id', 'orm_event_transport__subscribers_Id'),
|
|
30
|
-
__metadata("design:type", ManyToManyRelationList)
|
|
31
|
-
], Subscriber.prototype, "Events", void 0);
|
|
32
|
-
Subscriber = __decorate([
|
|
33
|
-
Connection('orm-event-transport'),
|
|
34
|
-
Model('orm_event_transport__subscribers')
|
|
35
|
-
], Subscriber);
|
|
36
|
-
export { Subscriber };
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { Queue } from './Queue.js';
|
|
11
|
+
import { Event } from './Event.js';
|
|
12
|
+
import { ModelBase, Primary, Connection, Model, HasManyToMany, ManyToManyRelationList } from '@spinajs/orm';
|
|
13
|
+
/**
|
|
14
|
+
* Base model for users used by auth and ACL system
|
|
15
|
+
*
|
|
16
|
+
* To add / extend fields simply extend this model and register as default user model in ACL service
|
|
17
|
+
*/
|
|
18
|
+
let Subscriber = class Subscriber extends ModelBase {
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
Primary(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], Subscriber.prototype, "Id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
Primary(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Subscriber.prototype, "Name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
HasManyToMany(Queue, Event, 'Id', 'Id', 'orm_event_transport__event_Id', 'orm_event_transport__subscribers_Id'),
|
|
30
|
+
__metadata("design:type", ManyToManyRelationList)
|
|
31
|
+
], Subscriber.prototype, "Events", void 0);
|
|
32
|
+
Subscriber = __decorate([
|
|
33
|
+
Connection('orm-event-transport'),
|
|
34
|
+
Model('orm_event_transport__subscribers')
|
|
35
|
+
], Subscriber);
|
|
36
|
+
export { Subscriber };
|
|
37
37
|
//# sourceMappingURL=Subscriber.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subscriber.js","sourceRoot":"","sources":["../../../src/models/Subscriber.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAE5G;;;;GAIG;AAGI,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,SAAS;CASxC,CAAA;
|
|
1
|
+
{"version":3,"file":"Subscriber.js","sourceRoot":"","sources":["../../../src/models/Subscriber.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAE5G;;;;GAIG;AAGI,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,SAAS;CASxC,CAAA;AAPQ;IADN,OAAO,EAAE;;sCACQ;AAGX;IADN,OAAO,EAAE;;wCACU;AAGb;IADN,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,+BAA+B,EAAE,qCAAqC,CAAC;8BACjG,sBAAsB;0CAAoB;AAR9C,UAAU;IAFtB,UAAU,CAAC,qBAAqB,CAAC;IACjC,KAAK,CAAC,kCAAkC,CAAC;GAC7B,UAAU,CAStB"}
|