@fraym/proto 0.28.2 → 0.29.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.
- package/freym/auth/management/migration.d.ts +46 -98
- package/freym/auth/management/migration.js +199 -172
- package/freym/auth/management/role_delete.d.ts +31 -0
- package/freym/auth/management/{delete_role.js → role_delete.js} +30 -13
- package/freym/auth/management/role_upsert.d.ts +33 -0
- package/freym/auth/management/{upsert_role.js → role_upsert.js} +39 -21
- package/freym/auth/management/roles_get.d.ts +35 -0
- package/freym/auth/management/{get_roles.js → roles_get.js} +25 -24
- package/freym/auth/management/service.d.ts +60 -74
- package/freym/auth/management/service.js +65 -74
- package/freym/auth/management/shared.d.ts +33 -0
- package/freym/auth/management/shared.js +176 -0
- package/freym/auth/management/user_create.d.ts +39 -0
- package/freym/auth/management/{create_user.js → user_create.js} +47 -29
- package/freym/auth/management/user_delete.d.ts +31 -0
- package/freym/auth/management/{delete_user.js → user_delete.js} +30 -13
- package/freym/auth/management/user_update.d.ts +38 -0
- package/freym/auth/management/{update_user.js → user_update.js} +45 -28
- package/freym/auth/management/users_get.d.ts +41 -0
- package/freym/auth/management/{get_users.js → users_get.js} +36 -36
- package/freym/auth/management.d.ts +9 -9
- package/freym/auth/management.js +37 -35
- package/freym/crud/delivery/clone.d.ts +58 -0
- package/freym/crud/delivery/{clone_entry.js → clone.js} +80 -69
- package/freym/crud/delivery/create.d.ts +57 -0
- package/freym/crud/delivery/{update_entry.js → create.js} +78 -68
- package/freym/crud/delivery/delete.d.ts +34 -0
- package/freym/crud/delivery/{delete_entries.js → delete.js} +34 -39
- package/freym/crud/delivery/get_data.d.ts +74 -0
- package/freym/crud/delivery/{get_entries.js → get_data.js} +247 -232
- package/freym/crud/delivery/service.d.ts +65 -66
- package/freym/crud/delivery/service.js +41 -41
- package/freym/crud/delivery/shared.d.ts +17 -49
- package/freym/crud/delivery/shared.js +86 -44
- package/freym/crud/delivery/update.d.ts +57 -0
- package/freym/crud/delivery/{create_entry.js → update.js} +78 -68
- package/freym/crud/delivery.d.ts +5 -5
- package/freym/crud/delivery.js +31 -29
- package/freym/crud/management/migration.d.ts +68 -181
- package/freym/crud/management/migration.js +503 -629
- package/freym/crud/management/service.d.ts +41 -55
- package/freym/crud/management/service.js +24 -33
- package/freym/crud/management.d.ts +1 -1
- package/freym/crud/management.js +11 -14
- package/freym/migrations/management/confirm.d.ts +28 -0
- package/freym/migrations/management/confirm.js +97 -0
- package/freym/migrations/management/create.d.ts +88 -0
- package/freym/migrations/management/{register.js → create.js} +362 -213
- package/freym/migrations/management/deployment.d.ts +34 -0
- package/freym/migrations/management/deployment.js +186 -0
- package/freym/migrations/management/rollback.d.ts +14 -20
- package/freym/migrations/management/rollback.js +29 -31
- package/freym/migrations/management/service.d.ts +45 -74
- package/freym/migrations/management/service.js +27 -47
- package/freym/migrations/management.d.ts +4 -6
- package/freym/migrations/management.js +21 -32
- package/freym/projections/delivery/delete.d.ts +34 -0
- package/freym/projections/delivery/{delete_projection_data.js → delete.js} +34 -39
- package/freym/projections/delivery/get_data.d.ts +58 -0
- package/freym/projections/delivery/{get_projection_data.js → get_data.js} +188 -320
- package/freym/projections/delivery/get_view_data.d.ts +18 -63
- package/freym/projections/delivery/get_view_data.js +109 -246
- package/freym/projections/delivery/service.d.ts +39 -40
- package/freym/projections/delivery/service.js +23 -23
- package/freym/projections/delivery/shared.d.ts +29 -57
- package/freym/projections/delivery/shared.js +236 -50
- package/freym/projections/delivery/upsert.d.ts +58 -0
- package/freym/projections/delivery/{upsert_projection_data.js → upsert.js} +80 -68
- package/freym/projections/delivery.d.ts +5 -5
- package/freym/projections/delivery.js +23 -25
- package/freym/projections/management/migration.d.ts +75 -214
- package/freym/projections/management/migration.js +577 -868
- package/freym/projections/management/service.d.ts +41 -55
- package/freym/projections/management/service.js +24 -33
- package/freym/projections/management.d.ts +1 -1
- package/freym/projections/management.js +12 -15
- package/freym/streams/management/backchannel.d.ts +12 -30
- package/freym/streams/management/backchannel.js +32 -94
- package/freym/streams/management/event.d.ts +19 -73
- package/freym/streams/management/event.js +110 -77
- package/freym/streams/management/gdpr.d.ts +15 -33
- package/freym/streams/management/gdpr.js +63 -28
- package/freym/streams/management/paginate.d.ts +17 -69
- package/freym/streams/management/paginate.js +99 -144
- package/freym/streams/management/publish.d.ts +27 -36
- package/freym/streams/management/publish.js +210 -46
- package/freym/streams/management/service.d.ts +1 -2
- package/freym/streams/management/snapshot.d.ts +12 -17
- package/freym/streams/management/snapshot.js +42 -18
- package/freym/streams/management/stream.d.ts +11 -17
- package/freym/streams/management/stream.js +15 -14
- package/freym/streams/management/subscribe.d.ts +17 -57
- package/freym/streams/management/subscribe.js +110 -69
- package/freym/streams/management.d.ts +3 -3
- package/freym/streams/management.js +6 -5
- package/freym/sync/management/lease.d.ts +17 -65
- package/freym/sync/management/lease.js +61 -47
- package/freym/sync/management/lock.d.ts +17 -65
- package/freym/sync/management/lock.js +53 -42
- package/freym/sync/management/peer_nodes.d.ts +11 -17
- package/freym/sync/management/peer_nodes.js +11 -12
- package/freym/sync/management/service.d.ts +1 -2
- package/package.json +6 -6
- package/freym/auth/management/create_user.d.ts +0 -43
- package/freym/auth/management/delete_role.d.ts +0 -35
- package/freym/auth/management/delete_user.d.ts +0 -35
- package/freym/auth/management/get_roles.d.ts +0 -48
- package/freym/auth/management/get_users.d.ts +0 -54
- package/freym/auth/management/role_scope.d.ts +0 -25
- package/freym/auth/management/role_scope.js +0 -78
- package/freym/auth/management/update_user.d.ts +0 -42
- package/freym/auth/management/upsert_role.d.ts +0 -38
- package/freym/crud/delivery/clone_entry.d.ts +0 -85
- package/freym/crud/delivery/create_entry.d.ts +0 -84
- package/freym/crud/delivery/delete_entries.d.ts +0 -40
- package/freym/crud/delivery/get_entries.d.ts +0 -122
- package/freym/crud/delivery/update_entry.d.ts +0 -84
- package/freym/migrations/management/apply.d.ts +0 -34
- package/freym/migrations/management/apply.js +0 -99
- package/freym/migrations/management/cleanup.d.ts +0 -49
- package/freym/migrations/management/cleanup.js +0 -212
- package/freym/migrations/management/register.d.ts +0 -118
- package/freym/migrations/management/start.d.ts +0 -137
- package/freym/migrations/management/start.js +0 -723
- package/freym/migrations/management/status.d.ts +0 -37
- package/freym/migrations/management/status.js +0 -143
- package/freym/projections/delivery/delete_projection_data.d.ts +0 -40
- package/freym/projections/delivery/get_projection_data.d.ts +0 -110
- package/freym/projections/delivery/upsert_projection_data.d.ts +0 -85
|
@@ -1,112 +1,52 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "freym.auth.management";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export
|
|
3
|
+
export declare const DeploymentTarget: {
|
|
4
|
+
readonly DEPLOYMENT_TARGET_BLUE: "DEPLOYMENT_TARGET_BLUE";
|
|
5
|
+
readonly DEPLOYMENT_TARGET_GREEN: "DEPLOYMENT_TARGET_GREEN";
|
|
6
|
+
};
|
|
7
|
+
export type DeploymentTarget = typeof DeploymentTarget[keyof typeof DeploymentTarget];
|
|
8
|
+
export declare namespace DeploymentTarget {
|
|
9
|
+
type DEPLOYMENT_TARGET_BLUE = typeof DeploymentTarget.DEPLOYMENT_TARGET_BLUE;
|
|
10
|
+
type DEPLOYMENT_TARGET_GREEN = typeof DeploymentTarget.DEPLOYMENT_TARGET_GREEN;
|
|
8
11
|
}
|
|
9
|
-
export
|
|
12
|
+
export declare function deploymentTargetFromJSON(object: any): DeploymentTarget;
|
|
13
|
+
export declare function deploymentTargetToJSON(object: DeploymentTarget): string;
|
|
14
|
+
export declare function deploymentTargetToNumber(object: DeploymentTarget): number;
|
|
15
|
+
export interface DeploySchemaRequest {
|
|
10
16
|
namespace: string;
|
|
17
|
+
permissions: string[];
|
|
18
|
+
options: DeploymentOptions | undefined;
|
|
11
19
|
}
|
|
12
|
-
export interface
|
|
20
|
+
export interface DeploySchemaResponse {
|
|
13
21
|
}
|
|
14
|
-
export interface
|
|
15
|
-
|
|
22
|
+
export interface ConfirmSchemaRequest {
|
|
23
|
+
deploymentId: string;
|
|
16
24
|
}
|
|
17
|
-
export interface
|
|
25
|
+
export interface ConfirmSchemaResponse {
|
|
18
26
|
}
|
|
19
|
-
export interface
|
|
20
|
-
|
|
27
|
+
export interface RollbackSchemaRequest {
|
|
28
|
+
deploymentId: string;
|
|
21
29
|
}
|
|
22
|
-
export interface
|
|
30
|
+
export interface RollbackSchemaResponse {
|
|
23
31
|
}
|
|
24
|
-
export interface
|
|
25
|
-
|
|
32
|
+
export interface GetSchemaDeploymentRequest {
|
|
33
|
+
deploymentId: string;
|
|
26
34
|
}
|
|
27
|
-
export interface
|
|
28
|
-
|
|
35
|
+
export interface GetSchemaDeploymentResponse {
|
|
36
|
+
progress: number;
|
|
29
37
|
}
|
|
30
|
-
export
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
export declare const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
toJSON(_: RegisterMigrationResponse): unknown;
|
|
43
|
-
create(base?: DeepPartial<RegisterMigrationResponse>): RegisterMigrationResponse;
|
|
44
|
-
fromPartial(_: DeepPartial<RegisterMigrationResponse>): RegisterMigrationResponse;
|
|
45
|
-
};
|
|
46
|
-
export declare const ApplyMigrationRequest: {
|
|
47
|
-
encode(message: ApplyMigrationRequest, writer?: _m0.Writer): _m0.Writer;
|
|
48
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ApplyMigrationRequest;
|
|
49
|
-
fromJSON(object: any): ApplyMigrationRequest;
|
|
50
|
-
toJSON(message: ApplyMigrationRequest): unknown;
|
|
51
|
-
create(base?: DeepPartial<ApplyMigrationRequest>): ApplyMigrationRequest;
|
|
52
|
-
fromPartial(object: DeepPartial<ApplyMigrationRequest>): ApplyMigrationRequest;
|
|
53
|
-
};
|
|
54
|
-
export declare const ApplyMigrationResponse: {
|
|
55
|
-
encode(_: ApplyMigrationResponse, writer?: _m0.Writer): _m0.Writer;
|
|
56
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ApplyMigrationResponse;
|
|
57
|
-
fromJSON(_: any): ApplyMigrationResponse;
|
|
58
|
-
toJSON(_: ApplyMigrationResponse): unknown;
|
|
59
|
-
create(base?: DeepPartial<ApplyMigrationResponse>): ApplyMigrationResponse;
|
|
60
|
-
fromPartial(_: DeepPartial<ApplyMigrationResponse>): ApplyMigrationResponse;
|
|
61
|
-
};
|
|
62
|
-
export declare const CleanupMigrationRequest: {
|
|
63
|
-
encode(message: CleanupMigrationRequest, writer?: _m0.Writer): _m0.Writer;
|
|
64
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): CleanupMigrationRequest;
|
|
65
|
-
fromJSON(object: any): CleanupMigrationRequest;
|
|
66
|
-
toJSON(message: CleanupMigrationRequest): unknown;
|
|
67
|
-
create(base?: DeepPartial<CleanupMigrationRequest>): CleanupMigrationRequest;
|
|
68
|
-
fromPartial(object: DeepPartial<CleanupMigrationRequest>): CleanupMigrationRequest;
|
|
69
|
-
};
|
|
70
|
-
export declare const CleanupMigrationResponse: {
|
|
71
|
-
encode(_: CleanupMigrationResponse, writer?: _m0.Writer): _m0.Writer;
|
|
72
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): CleanupMigrationResponse;
|
|
73
|
-
fromJSON(_: any): CleanupMigrationResponse;
|
|
74
|
-
toJSON(_: CleanupMigrationResponse): unknown;
|
|
75
|
-
create(base?: DeepPartial<CleanupMigrationResponse>): CleanupMigrationResponse;
|
|
76
|
-
fromPartial(_: DeepPartial<CleanupMigrationResponse>): CleanupMigrationResponse;
|
|
77
|
-
};
|
|
78
|
-
export declare const RollbackMigrationRequest: {
|
|
79
|
-
encode(message: RollbackMigrationRequest, writer?: _m0.Writer): _m0.Writer;
|
|
80
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RollbackMigrationRequest;
|
|
81
|
-
fromJSON(object: any): RollbackMigrationRequest;
|
|
82
|
-
toJSON(message: RollbackMigrationRequest): unknown;
|
|
83
|
-
create(base?: DeepPartial<RollbackMigrationRequest>): RollbackMigrationRequest;
|
|
84
|
-
fromPartial(object: DeepPartial<RollbackMigrationRequest>): RollbackMigrationRequest;
|
|
85
|
-
};
|
|
86
|
-
export declare const RollbackMigrationResponse: {
|
|
87
|
-
encode(_: RollbackMigrationResponse, writer?: _m0.Writer): _m0.Writer;
|
|
88
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RollbackMigrationResponse;
|
|
89
|
-
fromJSON(_: any): RollbackMigrationResponse;
|
|
90
|
-
toJSON(_: RollbackMigrationResponse): unknown;
|
|
91
|
-
create(base?: DeepPartial<RollbackMigrationResponse>): RollbackMigrationResponse;
|
|
92
|
-
fromPartial(_: DeepPartial<RollbackMigrationResponse>): RollbackMigrationResponse;
|
|
93
|
-
};
|
|
94
|
-
export declare const GetMigrationStatusRequest: {
|
|
95
|
-
encode(message: GetMigrationStatusRequest, writer?: _m0.Writer): _m0.Writer;
|
|
96
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetMigrationStatusRequest;
|
|
97
|
-
fromJSON(object: any): GetMigrationStatusRequest;
|
|
98
|
-
toJSON(message: GetMigrationStatusRequest): unknown;
|
|
99
|
-
create(base?: DeepPartial<GetMigrationStatusRequest>): GetMigrationStatusRequest;
|
|
100
|
-
fromPartial(object: DeepPartial<GetMigrationStatusRequest>): GetMigrationStatusRequest;
|
|
101
|
-
};
|
|
102
|
-
export declare const GetMigrationStatusResponse: {
|
|
103
|
-
encode(message: GetMigrationStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
|
104
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetMigrationStatusResponse;
|
|
105
|
-
fromJSON(object: any): GetMigrationStatusResponse;
|
|
106
|
-
toJSON(message: GetMigrationStatusResponse): unknown;
|
|
107
|
-
create(base?: DeepPartial<GetMigrationStatusResponse>): GetMigrationStatusResponse;
|
|
108
|
-
fromPartial(object: DeepPartial<GetMigrationStatusResponse>): GetMigrationStatusResponse;
|
|
109
|
-
};
|
|
38
|
+
export interface DeploymentOptions {
|
|
39
|
+
target: DeploymentTarget;
|
|
40
|
+
}
|
|
41
|
+
export declare const DeploySchemaRequest: MessageFns<DeploySchemaRequest>;
|
|
42
|
+
export declare const DeploySchemaResponse: MessageFns<DeploySchemaResponse>;
|
|
43
|
+
export declare const ConfirmSchemaRequest: MessageFns<ConfirmSchemaRequest>;
|
|
44
|
+
export declare const ConfirmSchemaResponse: MessageFns<ConfirmSchemaResponse>;
|
|
45
|
+
export declare const RollbackSchemaRequest: MessageFns<RollbackSchemaRequest>;
|
|
46
|
+
export declare const RollbackSchemaResponse: MessageFns<RollbackSchemaResponse>;
|
|
47
|
+
export declare const GetSchemaDeploymentRequest: MessageFns<GetSchemaDeploymentRequest>;
|
|
48
|
+
export declare const GetSchemaDeploymentResponse: MessageFns<GetSchemaDeploymentResponse>;
|
|
49
|
+
export declare const DeploymentOptions: MessageFns<DeploymentOptions>;
|
|
110
50
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
111
51
|
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
112
52
|
$case: string;
|
|
@@ -117,4 +57,12 @@ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<
|
|
|
117
57
|
} : T extends {} ? {
|
|
118
58
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
119
59
|
} : Partial<T>;
|
|
60
|
+
export interface MessageFns<T> {
|
|
61
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
62
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
63
|
+
fromJSON(object: any): T;
|
|
64
|
+
toJSON(message: T): unknown;
|
|
65
|
+
create(base?: DeepPartial<T>): T;
|
|
66
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
67
|
+
}
|
|
120
68
|
export {};
|