@stevenkellner/team-conduct-api 1.0.12 → 1.0.13
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/index.ts +1 -4
- package/lib/index.d.ts +1 -4
- package/lib/index.js +1 -4
- package/lib/src/firebaseFunctionsContext.d.ts +1 -14
- package/lib/src/firebaseFunctionsContext.js +19 -36
- package/lib/src/functions/index.d.ts +18 -0
- package/lib/src/functions/index.js +34 -0
- package/lib/src/index.d.ts +8 -0
- package/lib/src/index.js +24 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/firebaseFunctionsContext.ts +7 -18
- package/src/functions/index.ts +19 -0
- package/src/index.ts +8 -0
package/index.ts
CHANGED
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -14,7 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src
|
|
18
|
-
__exportStar(require("./src/firebaseFunctionsContext"), exports);
|
|
19
|
-
__exportStar(require("./src/FirestoreScheme"), exports);
|
|
20
|
-
__exportStar(require("./src/firebase/FirebaseConfiguration"), exports);
|
|
17
|
+
__exportStar(require("./src"), exports);
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import { TeamNewFunction } from './functions
|
|
2
|
-
import { UserRoleEditFunction } from './functions/user/roleEdit';
|
|
3
|
-
import { PaypalMeEditFunction } from './functions/paypalMe/edit';
|
|
4
|
-
import { NotificationRegisterFunction } from './functions/notification/register';
|
|
5
|
-
import { NotificationSubscribeFunction } from './functions/notification/subscribe';
|
|
6
|
-
import { PersonAddFunction } from './functions/person/add';
|
|
7
|
-
import { PersonUpdateFunction } from './functions/person/update';
|
|
8
|
-
import { PersonDeleteFunction } from './functions/person/delete';
|
|
9
|
-
import { FineAddFunction } from './functions/fine/add';
|
|
10
|
-
import { FineUpdateFunction } from './functions/fine/update';
|
|
11
|
-
import { FineDeleteFunction } from './functions/fine/delete';
|
|
12
|
-
import { FineTemplateAddFunction } from './functions/fineTemplate/add';
|
|
13
|
-
import { FineTemplateUpdateFunction } from './functions/fineTemplate/update';
|
|
14
|
-
import { FineTemplateDeleteFunction } from './functions/fineTemplate/delete';
|
|
1
|
+
import { TeamNewFunction, UserRoleEditFunction, PaypalMeEditFunction, NotificationRegisterFunction, NotificationSubscribeFunction, PersonAddFunction, PersonDeleteFunction, PersonUpdateFunction, FineTemplateAddFunction, FineTemplateDeleteFunction, FineTemplateUpdateFunction, FineAddFunction, FineDeleteFunction, FineUpdateFunction } from './functions';
|
|
15
2
|
export declare const firebaseFunctionsContext: {
|
|
16
3
|
team: {
|
|
17
4
|
new: import("@stevenkellner/firebase-function").FirebaseFunctionContext<TeamNewFunction.Parameters, import("./types").User>;
|
|
@@ -2,57 +2,40 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.firebaseFunctionsContext = void 0;
|
|
4
4
|
const firebase_function_1 = require("@stevenkellner/firebase-function");
|
|
5
|
-
const
|
|
6
|
-
const login_1 = require("./functions/user/login");
|
|
7
|
-
const roleEdit_1 = require("./functions/user/roleEdit");
|
|
8
|
-
const edit_1 = require("./functions/paypalMe/edit");
|
|
9
|
-
const register_1 = require("./functions/notification/register");
|
|
10
|
-
const subscribe_1 = require("./functions/notification/subscribe");
|
|
11
|
-
const invite_1 = require("./functions/invitation/invite");
|
|
12
|
-
const withdraw_1 = require("./functions/invitation/withdraw");
|
|
13
|
-
const register_2 = require("./functions/invitation/register");
|
|
14
|
-
const add_1 = require("./functions/person/add");
|
|
15
|
-
const update_1 = require("./functions/person/update");
|
|
16
|
-
const delete_1 = require("./functions/person/delete");
|
|
17
|
-
const add_2 = require("./functions/fine/add");
|
|
18
|
-
const update_2 = require("./functions/fine/update");
|
|
19
|
-
const delete_2 = require("./functions/fine/delete");
|
|
20
|
-
const add_3 = require("./functions/fineTemplate/add");
|
|
21
|
-
const update_3 = require("./functions/fineTemplate/update");
|
|
22
|
-
const delete_3 = require("./functions/fineTemplate/delete");
|
|
5
|
+
const functions_1 = require("./functions");
|
|
23
6
|
exports.firebaseFunctionsContext = firebase_function_1.FirebaseFunctionsContext.build(builder => ({
|
|
24
7
|
team: {
|
|
25
|
-
new: builder.function(
|
|
8
|
+
new: builder.function(functions_1.TeamNewFunction)
|
|
26
9
|
},
|
|
27
10
|
user: {
|
|
28
|
-
login: builder.function(
|
|
29
|
-
roleEdit: builder.function(
|
|
11
|
+
login: builder.function(functions_1.UserLoginFunction),
|
|
12
|
+
roleEdit: builder.function(functions_1.UserRoleEditFunction)
|
|
30
13
|
},
|
|
31
14
|
paypalMe: {
|
|
32
|
-
edit: builder.function(
|
|
15
|
+
edit: builder.function(functions_1.PaypalMeEditFunction)
|
|
33
16
|
},
|
|
34
17
|
notification: {
|
|
35
|
-
register: builder.function(
|
|
36
|
-
subscribe: builder.function(
|
|
18
|
+
register: builder.function(functions_1.NotificationRegisterFunction),
|
|
19
|
+
subscribe: builder.function(functions_1.NotificationSubscribeFunction)
|
|
37
20
|
},
|
|
38
21
|
invitation: {
|
|
39
|
-
invite: builder.function(
|
|
40
|
-
withdraw: builder.function(
|
|
41
|
-
register: builder.function(
|
|
22
|
+
invite: builder.function(functions_1.InvitationInviteFunction),
|
|
23
|
+
withdraw: builder.function(functions_1.InvitationWithdrawFunction),
|
|
24
|
+
register: builder.function(functions_1.InvitationRegisterFunction)
|
|
42
25
|
},
|
|
43
26
|
person: {
|
|
44
|
-
add: builder.function(
|
|
45
|
-
update: builder.function(
|
|
46
|
-
delete: builder.function(
|
|
27
|
+
add: builder.function(functions_1.PersonAddFunction),
|
|
28
|
+
update: builder.function(functions_1.PersonUpdateFunction),
|
|
29
|
+
delete: builder.function(functions_1.PersonDeleteFunction)
|
|
47
30
|
},
|
|
48
31
|
fineTemplate: {
|
|
49
|
-
add: builder.function(
|
|
50
|
-
update: builder.function(
|
|
51
|
-
delete: builder.function(
|
|
32
|
+
add: builder.function(functions_1.FineTemplateAddFunction),
|
|
33
|
+
update: builder.function(functions_1.FineTemplateUpdateFunction),
|
|
34
|
+
delete: builder.function(functions_1.FineTemplateDeleteFunction)
|
|
52
35
|
},
|
|
53
36
|
fine: {
|
|
54
|
-
add: builder.function(
|
|
55
|
-
update: builder.function(
|
|
56
|
-
delete: builder.function(
|
|
37
|
+
add: builder.function(functions_1.FineAddFunction),
|
|
38
|
+
update: builder.function(functions_1.FineUpdateFunction),
|
|
39
|
+
delete: builder.function(functions_1.FineDeleteFunction)
|
|
57
40
|
}
|
|
58
41
|
}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from './team/new';
|
|
2
|
+
export * from './user/login';
|
|
3
|
+
export * from './user/roleEdit';
|
|
4
|
+
export * from './paypalMe/edit';
|
|
5
|
+
export * from './notification/register';
|
|
6
|
+
export * from './notification/subscribe';
|
|
7
|
+
export * from './invitation/invite';
|
|
8
|
+
export * from './invitation/withdraw';
|
|
9
|
+
export * from './invitation/register';
|
|
10
|
+
export * from './person/add';
|
|
11
|
+
export * from './person/update';
|
|
12
|
+
export * from './person/delete';
|
|
13
|
+
export * from './fine/add';
|
|
14
|
+
export * from './fine/update';
|
|
15
|
+
export * from './fine/delete';
|
|
16
|
+
export * from './fineTemplate/add';
|
|
17
|
+
export * from './fineTemplate/update';
|
|
18
|
+
export * from './fineTemplate/delete';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./team/new"), exports);
|
|
18
|
+
__exportStar(require("./user/login"), exports);
|
|
19
|
+
__exportStar(require("./user/roleEdit"), exports);
|
|
20
|
+
__exportStar(require("./paypalMe/edit"), exports);
|
|
21
|
+
__exportStar(require("./notification/register"), exports);
|
|
22
|
+
__exportStar(require("./notification/subscribe"), exports);
|
|
23
|
+
__exportStar(require("./invitation/invite"), exports);
|
|
24
|
+
__exportStar(require("./invitation/withdraw"), exports);
|
|
25
|
+
__exportStar(require("./invitation/register"), exports);
|
|
26
|
+
__exportStar(require("./person/add"), exports);
|
|
27
|
+
__exportStar(require("./person/update"), exports);
|
|
28
|
+
__exportStar(require("./person/delete"), exports);
|
|
29
|
+
__exportStar(require("./fine/add"), exports);
|
|
30
|
+
__exportStar(require("./fine/update"), exports);
|
|
31
|
+
__exportStar(require("./fine/delete"), exports);
|
|
32
|
+
__exportStar(require("./fineTemplate/add"), exports);
|
|
33
|
+
__exportStar(require("./fineTemplate/update"), exports);
|
|
34
|
+
__exportStar(require("./fineTemplate/delete"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './firebase';
|
|
2
|
+
export * from './functions';
|
|
3
|
+
export * from './types';
|
|
4
|
+
export * from './checkAuthentication';
|
|
5
|
+
export * from './firebaseFunctionsContext';
|
|
6
|
+
export * from './Firestore';
|
|
7
|
+
export * from './FirestoreScheme';
|
|
8
|
+
export * from './pushNotification';
|
package/lib/src/index.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./firebase"), exports);
|
|
18
|
+
__exportStar(require("./functions"), exports);
|
|
19
|
+
__exportStar(require("./types"), exports);
|
|
20
|
+
__exportStar(require("./checkAuthentication"), exports);
|
|
21
|
+
__exportStar(require("./firebaseFunctionsContext"), exports);
|
|
22
|
+
__exportStar(require("./Firestore"), exports);
|
|
23
|
+
__exportStar(require("./FirestoreScheme"), exports);
|
|
24
|
+
__exportStar(require("./pushNotification"), exports);
|
package/lib/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../index.ts","../src/Firestore.ts","../src/FirestoreScheme.ts","../src/checkAuthentication.ts","../src/firebaseFunctionsContext.ts","../src/pushNotification.ts","../src/firebase/FirebaseConfiguration.ts","../src/firebase/Messaging.ts","../src/firebase/index.ts","../src/functions/fine/add.ts","../src/functions/fine/delete.ts","../src/functions/fine/update.ts","../src/functions/fineTemplate/add.ts","../src/functions/fineTemplate/delete.ts","../src/functions/fineTemplate/update.ts","../src/functions/invitation/invite.ts","../src/functions/invitation/register.ts","../src/functions/invitation/withdraw.ts","../src/functions/notification/register.ts","../src/functions/notification/subscribe.ts","../src/functions/paypalMe/edit.ts","../src/functions/person/add.ts","../src/functions/person/delete.ts","../src/functions/person/update.ts","../src/functions/team/new.ts","../src/functions/user/login.ts","../src/functions/user/roleEdit.ts","../src/types/Configuration.ts","../src/types/Fine.ts","../src/types/FineAmount.ts","../src/types/FineTemplate.ts","../src/types/FineTemplateRepetition.ts","../src/types/Invitation.ts","../src/types/MoneyAmount.ts","../src/types/NotificationProperties.ts","../src/types/PayedState.ts","../src/types/Person.ts","../src/types/PersonPrivateProperties.ts","../src/types/PersonSignInProperties.ts","../src/types/Team.ts","../src/types/User.ts","../src/types/UserRole.ts","../src/types/index.ts"],"version":"5.8.3"}
|
|
1
|
+
{"root":["../index.ts","../src/Firestore.ts","../src/FirestoreScheme.ts","../src/checkAuthentication.ts","../src/firebaseFunctionsContext.ts","../src/index.ts","../src/pushNotification.ts","../src/firebase/FirebaseConfiguration.ts","../src/firebase/Messaging.ts","../src/firebase/index.ts","../src/functions/index.ts","../src/functions/fine/add.ts","../src/functions/fine/delete.ts","../src/functions/fine/update.ts","../src/functions/fineTemplate/add.ts","../src/functions/fineTemplate/delete.ts","../src/functions/fineTemplate/update.ts","../src/functions/invitation/invite.ts","../src/functions/invitation/register.ts","../src/functions/invitation/withdraw.ts","../src/functions/notification/register.ts","../src/functions/notification/subscribe.ts","../src/functions/paypalMe/edit.ts","../src/functions/person/add.ts","../src/functions/person/delete.ts","../src/functions/person/update.ts","../src/functions/team/new.ts","../src/functions/user/login.ts","../src/functions/user/roleEdit.ts","../src/types/Configuration.ts","../src/types/Fine.ts","../src/types/FineAmount.ts","../src/types/FineTemplate.ts","../src/types/FineTemplateRepetition.ts","../src/types/Invitation.ts","../src/types/MoneyAmount.ts","../src/types/NotificationProperties.ts","../src/types/PayedState.ts","../src/types/Person.ts","../src/types/PersonPrivateProperties.ts","../src/types/PersonSignInProperties.ts","../src/types/Team.ts","../src/types/User.ts","../src/types/UserRole.ts","../src/types/index.ts"],"version":"5.8.3"}
|
package/package.json
CHANGED
|
@@ -1,22 +1,11 @@
|
|
|
1
1
|
import { FirebaseFunctionsContext } from '@stevenkellner/firebase-function';
|
|
2
|
-
import { TeamNewFunction
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { InvitationWithdrawFunction } from './functions/invitation/withdraw';
|
|
10
|
-
import { InvitationRegisterFunction } from './functions/invitation/register';
|
|
11
|
-
import { PersonAddFunction } from './functions/person/add';
|
|
12
|
-
import { PersonUpdateFunction } from './functions/person/update';
|
|
13
|
-
import { PersonDeleteFunction } from './functions/person/delete';
|
|
14
|
-
import { FineAddFunction } from './functions/fine/add';
|
|
15
|
-
import { FineUpdateFunction } from './functions/fine/update';
|
|
16
|
-
import { FineDeleteFunction } from './functions/fine/delete';
|
|
17
|
-
import { FineTemplateAddFunction } from './functions/fineTemplate/add';
|
|
18
|
-
import { FineTemplateUpdateFunction } from './functions/fineTemplate/update';
|
|
19
|
-
import { FineTemplateDeleteFunction } from './functions/fineTemplate/delete';
|
|
2
|
+
import { TeamNewFunction, UserLoginFunction, UserRoleEditFunction,
|
|
3
|
+
PaypalMeEditFunction, NotificationRegisterFunction, NotificationSubscribeFunction,
|
|
4
|
+
InvitationInviteFunction, InvitationRegisterFunction, InvitationWithdrawFunction,
|
|
5
|
+
PersonAddFunction, PersonDeleteFunction, PersonUpdateFunction,
|
|
6
|
+
FineTemplateAddFunction, FineTemplateDeleteFunction, FineTemplateUpdateFunction,
|
|
7
|
+
FineAddFunction, FineDeleteFunction, FineUpdateFunction
|
|
8
|
+
} from './functions';
|
|
20
9
|
|
|
21
10
|
export const firebaseFunctionsContext = FirebaseFunctionsContext.build(builder => ({
|
|
22
11
|
team: {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
export * from './team/new';
|
|
3
|
+
export * from './user/login';
|
|
4
|
+
export * from './user/roleEdit';
|
|
5
|
+
export * from './paypalMe/edit';
|
|
6
|
+
export * from './notification/register';
|
|
7
|
+
export * from './notification/subscribe';
|
|
8
|
+
export * from './invitation/invite';
|
|
9
|
+
export * from './invitation/withdraw';
|
|
10
|
+
export * from './invitation/register';
|
|
11
|
+
export * from './person/add';
|
|
12
|
+
export * from './person/update';
|
|
13
|
+
export * from './person/delete';
|
|
14
|
+
export * from './fine/add';
|
|
15
|
+
export * from './fine/update';
|
|
16
|
+
export * from './fine/delete';
|
|
17
|
+
export * from './fineTemplate/add';
|
|
18
|
+
export * from './fineTemplate/update';
|
|
19
|
+
export * from './fineTemplate/delete';
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './firebase';
|
|
2
|
+
export * from './functions';
|
|
3
|
+
export * from './types';
|
|
4
|
+
export * from './checkAuthentication';
|
|
5
|
+
export * from './firebaseFunctionsContext';
|
|
6
|
+
export * from './Firestore';
|
|
7
|
+
export * from './FirestoreScheme';
|
|
8
|
+
export * from './pushNotification';
|