@stevenkellner/team-conduct-api 2.0.15 → 2.0.16
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.
|
@@ -1,40 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UserRegisterFunction } from '.';
|
|
2
2
|
export declare const firebaseFunctionsContext: {
|
|
3
|
-
team: {
|
|
4
|
-
new: import("@stevenkellner/firebase-function").FirebaseFunctionContext<TeamNewFunction.Parameters, import("..").User>;
|
|
5
|
-
};
|
|
6
3
|
user: {
|
|
7
4
|
login: import("@stevenkellner/firebase-function").FirebaseFunctionContext<null, import("..").User>;
|
|
8
5
|
register: import("@stevenkellner/firebase-function").FirebaseFunctionContext<UserRegisterFunction.Parameters, import("..").User>;
|
|
9
6
|
};
|
|
10
|
-
paypalMe: {
|
|
11
|
-
edit: import("@stevenkellner/firebase-function").FirebaseFunctionContext<PaypalMeEditFunction.Parameters, void>;
|
|
12
|
-
};
|
|
13
|
-
notification: {
|
|
14
|
-
register: import("@stevenkellner/firebase-function").FirebaseFunctionContext<NotificationRegisterFunction.Parameters, void>;
|
|
15
|
-
subscribe: import("@stevenkellner/firebase-function").FirebaseFunctionContext<NotificationSubscribeFunction.Parameters, void>;
|
|
16
|
-
};
|
|
17
|
-
invitation: {
|
|
18
|
-
invite: import("@stevenkellner/firebase-function").FirebaseFunctionContext<import("..").Invitation, import("@stevenkellner/typescript-common-functionality").Tagged<string, "invitation">>;
|
|
19
|
-
withdraw: import("@stevenkellner/firebase-function").FirebaseFunctionContext<import("..").Invitation, void>;
|
|
20
|
-
getInvitation: import("@stevenkellner/firebase-function").FirebaseFunctionContext<import("@stevenkellner/typescript-common-functionality").Tagged<string, "invitation">, InvitationGetInvitationFunction.ReturnType>;
|
|
21
|
-
register: import("@stevenkellner/firebase-function").FirebaseFunctionContext<InvitationRegisterFunction.Parameters, import("..").User>;
|
|
22
|
-
};
|
|
23
|
-
person: {
|
|
24
|
-
add: import("@stevenkellner/firebase-function").FirebaseFunctionContext<PersonAddFunction.Parameters, void>;
|
|
25
|
-
update: import("@stevenkellner/firebase-function").FirebaseFunctionContext<PersonUpdateFunction.Parameters, void>;
|
|
26
|
-
delete: import("@stevenkellner/firebase-function").FirebaseFunctionContext<PersonDeleteFunction.Parameters, void>;
|
|
27
|
-
kickout: import("@stevenkellner/firebase-function").FirebaseFunctionContext<UserKickoutFunction.Parameters, void>;
|
|
28
|
-
roleEdit: import("@stevenkellner/firebase-function").FirebaseFunctionContext<UserRoleEditFunction.Parameters, void>;
|
|
29
|
-
};
|
|
30
|
-
fineTemplate: {
|
|
31
|
-
add: import("@stevenkellner/firebase-function").FirebaseFunctionContext<FineTemplateAddFunction.Parameters, void>;
|
|
32
|
-
update: import("@stevenkellner/firebase-function").FirebaseFunctionContext<FineTemplateUpdateFunction.Parameters, void>;
|
|
33
|
-
delete: import("@stevenkellner/firebase-function").FirebaseFunctionContext<FineTemplateDeleteFunction.Parameters, void>;
|
|
34
|
-
};
|
|
35
|
-
fine: {
|
|
36
|
-
add: import("@stevenkellner/firebase-function").FirebaseFunctionContext<FineAddFunction.Parameters, void>;
|
|
37
|
-
update: import("@stevenkellner/firebase-function").FirebaseFunctionContext<FineUpdateFunction.Parameters, void>;
|
|
38
|
-
delete: import("@stevenkellner/firebase-function").FirebaseFunctionContext<FineDeleteFunction.Parameters, void>;
|
|
39
|
-
};
|
|
40
7
|
};
|
|
@@ -4,41 +4,41 @@ exports.firebaseFunctionsContext = void 0;
|
|
|
4
4
|
const firebase_function_1 = require("@stevenkellner/firebase-function");
|
|
5
5
|
const _1 = require(".");
|
|
6
6
|
exports.firebaseFunctionsContext = firebase_function_1.FirebaseFunctionsContext.build(builder => ({
|
|
7
|
-
team: {
|
|
8
|
-
|
|
9
|
-
},
|
|
7
|
+
// team: {
|
|
8
|
+
// new: builder.function(TeamNewFunction)
|
|
9
|
+
// },
|
|
10
10
|
user: {
|
|
11
11
|
login: builder.function(_1.UserLoginFunction),
|
|
12
12
|
register: builder.function(_1.UserRegisterFunction)
|
|
13
|
-
},
|
|
14
|
-
paypalMe: {
|
|
15
|
-
edit: builder.function(_1.PaypalMeEditFunction)
|
|
16
|
-
},
|
|
17
|
-
notification: {
|
|
18
|
-
register: builder.function(_1.NotificationRegisterFunction),
|
|
19
|
-
subscribe: builder.function(_1.NotificationSubscribeFunction)
|
|
20
|
-
},
|
|
21
|
-
invitation: {
|
|
22
|
-
invite: builder.function(_1.InvitationInviteFunction),
|
|
23
|
-
withdraw: builder.function(_1.InvitationWithdrawFunction),
|
|
24
|
-
getInvitation: builder.function(_1.InvitationGetInvitationFunction),
|
|
25
|
-
register: builder.function(_1.InvitationRegisterFunction)
|
|
26
|
-
},
|
|
27
|
-
person: {
|
|
28
|
-
add: builder.function(_1.PersonAddFunction),
|
|
29
|
-
update: builder.function(_1.PersonUpdateFunction),
|
|
30
|
-
delete: builder.function(_1.PersonDeleteFunction),
|
|
31
|
-
kickout: builder.function(_1.UserKickoutFunction),
|
|
32
|
-
roleEdit: builder.function(_1.UserRoleEditFunction)
|
|
33
|
-
},
|
|
34
|
-
fineTemplate: {
|
|
35
|
-
add: builder.function(_1.FineTemplateAddFunction),
|
|
36
|
-
update: builder.function(_1.FineTemplateUpdateFunction),
|
|
37
|
-
delete: builder.function(_1.FineTemplateDeleteFunction)
|
|
38
|
-
},
|
|
39
|
-
fine: {
|
|
40
|
-
add: builder.function(_1.FineAddFunction),
|
|
41
|
-
update: builder.function(_1.FineUpdateFunction),
|
|
42
|
-
delete: builder.function(_1.FineDeleteFunction)
|
|
43
13
|
}
|
|
14
|
+
// paypalMe: {
|
|
15
|
+
// edit: builder.function(PaypalMeEditFunction)
|
|
16
|
+
// },
|
|
17
|
+
// notification: {
|
|
18
|
+
// register: builder.function(NotificationRegisterFunction),
|
|
19
|
+
// subscribe: builder.function(NotificationSubscribeFunction)
|
|
20
|
+
// },
|
|
21
|
+
// invitation: {
|
|
22
|
+
// invite: builder.function(InvitationInviteFunction),
|
|
23
|
+
// withdraw: builder.function(InvitationWithdrawFunction),
|
|
24
|
+
// getInvitation: builder.function(InvitationGetInvitationFunction),
|
|
25
|
+
// register: builder.function(InvitationRegisterFunction)
|
|
26
|
+
// },
|
|
27
|
+
// person: {
|
|
28
|
+
// add: builder.function(PersonAddFunction),
|
|
29
|
+
// update: builder.function(PersonUpdateFunction),
|
|
30
|
+
// delete: builder.function(PersonDeleteFunction),
|
|
31
|
+
// kickout: builder.function(UserKickoutFunction),
|
|
32
|
+
// roleEdit: builder.function(UserRoleEditFunction)
|
|
33
|
+
// },
|
|
34
|
+
// fineTemplate: {
|
|
35
|
+
// add: builder.function(FineTemplateAddFunction),
|
|
36
|
+
// update: builder.function(FineTemplateUpdateFunction),
|
|
37
|
+
// delete: builder.function(FineTemplateDeleteFunction)
|
|
38
|
+
// },
|
|
39
|
+
// fine: {
|
|
40
|
+
// add: builder.function(FineAddFunction),
|
|
41
|
+
// update: builder.function(FineUpdateFunction),
|
|
42
|
+
// delete: builder.function(FineDeleteFunction)
|
|
43
|
+
// }
|
|
44
44
|
}));
|
package/package.json
CHANGED
|
@@ -1,49 +1,50 @@
|
|
|
1
1
|
import { FirebaseFunctionsContext } from '@stevenkellner/firebase-function';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import {
|
|
3
|
+
// TeamNewFunction,
|
|
4
|
+
UserLoginFunction, UserRegisterFunction
|
|
5
|
+
// PaypalMeEditFunction, NotificationRegisterFunction, NotificationSubscribeFunction,
|
|
6
|
+
// InvitationInviteFunction, InvitationWithdrawFunction, InvitationGetInvitationFunction, InvitationRegisterFunction,
|
|
7
|
+
// PersonAddFunction, PersonDeleteFunction, PersonUpdateFunction, UserKickoutFunction, UserRoleEditFunction,
|
|
8
|
+
// FineTemplateAddFunction, FineTemplateDeleteFunction, FineTemplateUpdateFunction,
|
|
9
|
+
// FineAddFunction, FineDeleteFunction, FineUpdateFunction
|
|
9
10
|
} from '.';
|
|
10
11
|
|
|
11
12
|
export const firebaseFunctionsContext = FirebaseFunctionsContext.build(builder => ({
|
|
12
|
-
team: {
|
|
13
|
-
|
|
14
|
-
},
|
|
13
|
+
// team: {
|
|
14
|
+
// new: builder.function(TeamNewFunction)
|
|
15
|
+
// },
|
|
15
16
|
user: {
|
|
16
17
|
login: builder.function(UserLoginFunction),
|
|
17
18
|
register: builder.function(UserRegisterFunction)
|
|
18
|
-
},
|
|
19
|
-
paypalMe: {
|
|
20
|
-
edit: builder.function(PaypalMeEditFunction)
|
|
21
|
-
},
|
|
22
|
-
notification: {
|
|
23
|
-
register: builder.function(NotificationRegisterFunction),
|
|
24
|
-
subscribe: builder.function(NotificationSubscribeFunction)
|
|
25
|
-
},
|
|
26
|
-
invitation: {
|
|
27
|
-
invite: builder.function(InvitationInviteFunction),
|
|
28
|
-
withdraw: builder.function(InvitationWithdrawFunction),
|
|
29
|
-
getInvitation: builder.function(InvitationGetInvitationFunction),
|
|
30
|
-
register: builder.function(InvitationRegisterFunction)
|
|
31
|
-
},
|
|
32
|
-
person: {
|
|
33
|
-
add: builder.function(PersonAddFunction),
|
|
34
|
-
update: builder.function(PersonUpdateFunction),
|
|
35
|
-
delete: builder.function(PersonDeleteFunction),
|
|
36
|
-
kickout: builder.function(UserKickoutFunction),
|
|
37
|
-
roleEdit: builder.function(UserRoleEditFunction)
|
|
38
|
-
},
|
|
39
|
-
fineTemplate: {
|
|
40
|
-
add: builder.function(FineTemplateAddFunction),
|
|
41
|
-
update: builder.function(FineTemplateUpdateFunction),
|
|
42
|
-
delete: builder.function(FineTemplateDeleteFunction)
|
|
43
|
-
},
|
|
44
|
-
fine: {
|
|
45
|
-
add: builder.function(FineAddFunction),
|
|
46
|
-
update: builder.function(FineUpdateFunction),
|
|
47
|
-
delete: builder.function(FineDeleteFunction)
|
|
48
19
|
}
|
|
20
|
+
// paypalMe: {
|
|
21
|
+
// edit: builder.function(PaypalMeEditFunction)
|
|
22
|
+
// },
|
|
23
|
+
// notification: {
|
|
24
|
+
// register: builder.function(NotificationRegisterFunction),
|
|
25
|
+
// subscribe: builder.function(NotificationSubscribeFunction)
|
|
26
|
+
// },
|
|
27
|
+
// invitation: {
|
|
28
|
+
// invite: builder.function(InvitationInviteFunction),
|
|
29
|
+
// withdraw: builder.function(InvitationWithdrawFunction),
|
|
30
|
+
// getInvitation: builder.function(InvitationGetInvitationFunction),
|
|
31
|
+
// register: builder.function(InvitationRegisterFunction)
|
|
32
|
+
// },
|
|
33
|
+
// person: {
|
|
34
|
+
// add: builder.function(PersonAddFunction),
|
|
35
|
+
// update: builder.function(PersonUpdateFunction),
|
|
36
|
+
// delete: builder.function(PersonDeleteFunction),
|
|
37
|
+
// kickout: builder.function(UserKickoutFunction),
|
|
38
|
+
// roleEdit: builder.function(UserRoleEditFunction)
|
|
39
|
+
// },
|
|
40
|
+
// fineTemplate: {
|
|
41
|
+
// add: builder.function(FineTemplateAddFunction),
|
|
42
|
+
// update: builder.function(FineTemplateUpdateFunction),
|
|
43
|
+
// delete: builder.function(FineTemplateDeleteFunction)
|
|
44
|
+
// },
|
|
45
|
+
// fine: {
|
|
46
|
+
// add: builder.function(FineAddFunction),
|
|
47
|
+
// update: builder.function(FineUpdateFunction),
|
|
48
|
+
// delete: builder.function(FineDeleteFunction)
|
|
49
|
+
// }
|
|
49
50
|
}));
|