@ibiliaze/global-vars 1.260.0 → 1.262.0
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.
|
@@ -277,7 +277,6 @@ export interface FlowBase<Id, TDate> {
|
|
|
277
277
|
_id?: Id;
|
|
278
278
|
name: string;
|
|
279
279
|
description?: string;
|
|
280
|
-
paymentTypes: PSPType[];
|
|
281
280
|
type: (typeof flows)[number];
|
|
282
281
|
createdAt?: TDate;
|
|
283
282
|
updatedAt?: TDate;
|
|
@@ -603,6 +602,7 @@ export interface RoleBase<Id, TDate> {
|
|
|
603
602
|
_id?: Id;
|
|
604
603
|
name: string;
|
|
605
604
|
description?: string;
|
|
605
|
+
paymentTypes?: PSPType[];
|
|
606
606
|
permissions?: string[];
|
|
607
607
|
pages?: string[];
|
|
608
608
|
createdAt?: TDate;
|
|
@@ -629,6 +629,10 @@ export interface ItemBase<Id, TDate> {
|
|
|
629
629
|
export type ItemWithFlow<Id, TDate> = Omit<ItemBase<Id, TDate>, 'flowId'> & {
|
|
630
630
|
flowId: FlowBase<Id, TDate>;
|
|
631
631
|
};
|
|
632
|
+
export type ItemWithEventSeason<Id, TDate> = Omit<ItemBase<Id, TDate>, 'eventId' | 'seasonId'> & {
|
|
633
|
+
eventId: EventBase<Id, TDate>;
|
|
634
|
+
seasonId: SeasonBase<Id, TDate>;
|
|
635
|
+
};
|
|
632
636
|
export interface SaleBase<Id, TDate> {
|
|
633
637
|
_id?: Id;
|
|
634
638
|
subscription: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiliaze/global-vars",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.262.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "tsc",
|
|
24
24
|
"pub": "npm publish --access public",
|
|
25
|
-
"git": "git add .; git commit -m 'changes'; git tag -a v1.
|
|
25
|
+
"git": "git add .; git commit -m 'changes'; git tag -a v1.262.0 -m 'v1.262.0'; git push origin v1.262.0; git push",
|
|
26
26
|
"push": "npm run build; npm run git; npm run pub"
|
|
27
27
|
},
|
|
28
28
|
"author": "Ibi Hasanli",
|