@polyester/sdk 0.4.0 → 0.4.2
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/CHANGELOG.md +16 -0
- package/dist/_virtual/_rolldown/runtime.js +1 -15
- package/dist/catalogs/snapshot-validation.js +63 -63
- package/dist/catalogs/snapshot-validation.js.map +1 -1
- package/dist/core-client.d.ts +9 -0
- package/dist/core-client.d.ts.map +1 -1
- package/dist/core-client.js +21 -0
- package/dist/core-client.js.map +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts +124 -0
- package/dist/gen/fees/v1/fees_pb.d.ts.map +1 -0
- package/dist/gen/fees/v1/fees_pb.js +39 -0
- package/dist/gen/fees/v1/fees_pb.js.map +1 -0
- package/dist/gen/index.d.ts +4 -1
- package/dist/gen/index.js +4 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +223 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts.map +1 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.js +86 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -0
- package/dist/gen/vip/v1/vip_pb.d.ts +277 -0
- package/dist/gen/vip/v1/vip_pb.d.ts.map +1 -0
- package/dist/gen/vip/v1/vip_pb.js +60 -0
- package/dist/gen/vip/v1/vip_pb.js.map +1 -0
- package/dist/index.d.ts +8 -1
- package/dist/services/accounts/accounts.js +1 -1
- package/dist/services/accounts/accounts.js.map +1 -1
- package/dist/services/accounts/accounts.schemas.d.ts +13 -13
- package/dist/services/accounts/accounts.schemas.d.ts.map +1 -1
- package/dist/services/accounts/accounts.schemas.js +11 -11
- package/dist/services/accounts/accounts.schemas.js.map +1 -1
- package/dist/services/address-book/address-book.js.map +1 -1
- package/dist/services/address-book/address-book.schemas.d.ts +751 -751
- package/dist/services/address-book/address-book.schemas.d.ts.map +1 -1
- package/dist/services/address-book/address-book.schemas.js +160 -159
- package/dist/services/address-book/address-book.schemas.js.map +1 -1
- package/dist/services/api-keys/api-keys.d.ts +6 -6
- package/dist/services/api-keys/api-keys.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.js.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.d.ts +62 -62
- package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.js +34 -34
- package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
- package/dist/services/auth/auth.d.ts +39 -39
- package/dist/services/auth/auth.d.ts.map +1 -1
- package/dist/services/auth/auth.js +19 -18
- package/dist/services/auth/auth.js.map +1 -1
- package/dist/services/auth/profile/profile.d.ts +2 -2
- package/dist/services/auth/profile/profile.d.ts.map +1 -1
- package/dist/services/auth/profile/profile.js +3 -2
- package/dist/services/auth/profile/profile.js.map +1 -1
- package/dist/services/auth/profile/profile.schemas.d.ts +41 -41
- package/dist/services/auth/profile/profile.schemas.d.ts.map +1 -1
- package/dist/services/auth/profile/profile.schemas.js +27 -27
- package/dist/services/auth/profile/profile.schemas.js.map +1 -1
- package/dist/services/auth/session.schemas.js +17 -17
- package/dist/services/auth/session.schemas.js.map +1 -1
- package/dist/services/balances/balances.d.ts.map +1 -1
- package/dist/services/balances/balances.js +3 -2
- package/dist/services/balances/balances.js.map +1 -1
- package/dist/services/balances/balances.schemas.d.ts +95 -95
- package/dist/services/balances/balances.schemas.d.ts.map +1 -1
- package/dist/services/balances/balances.schemas.js +61 -61
- package/dist/services/balances/balances.schemas.js.map +1 -1
- package/dist/services/candles/candles.d.ts.map +1 -1
- package/dist/services/candles/candles.js +5 -4
- package/dist/services/candles/candles.js.map +1 -1
- package/dist/services/candles/candles.schemas.d.ts +64 -64
- package/dist/services/candles/candles.schemas.d.ts.map +1 -1
- package/dist/services/candles/candles.schemas.js +47 -47
- package/dist/services/candles/candles.schemas.js.map +1 -1
- package/dist/services/chain-analytics/chain-analytics.js.map +1 -1
- package/dist/services/chain-analytics/chain-analytics.schemas.d.ts +68 -68
- package/dist/services/chain-analytics/chain-analytics.schemas.d.ts.map +1 -1
- package/dist/services/chain-analytics/chain-analytics.schemas.js +29 -29
- package/dist/services/chain-analytics/chain-analytics.schemas.js.map +1 -1
- package/dist/services/deposit/deposit.js.map +1 -1
- package/dist/services/deposit/deposit.schemas.d.ts +17 -17
- package/dist/services/deposit/deposit.schemas.d.ts.map +1 -1
- package/dist/services/deposit/deposit.schemas.js +11 -11
- package/dist/services/deposit/deposit.schemas.js.map +1 -1
- package/dist/services/fees/fees.d.ts +19 -0
- package/dist/services/fees/fees.d.ts.map +1 -0
- package/dist/services/fees/fees.js +32 -0
- package/dist/services/fees/fees.js.map +1 -0
- package/dist/services/fees/fees.schemas.d.ts +28 -0
- package/dist/services/fees/fees.schemas.d.ts.map +1 -0
- package/dist/services/fees/fees.schemas.js +25 -0
- package/dist/services/fees/fees.schemas.js.map +1 -0
- package/dist/services/fees/fees.types.d.ts +2 -0
- package/dist/services/fees/index.d.ts +3 -0
- package/dist/services/guard-signer/guard-signer.js.map +1 -1
- package/dist/services/guard-signer/guard-signer.schemas.d.ts +75 -75
- package/dist/services/guard-signer/guard-signer.schemas.d.ts.map +1 -1
- package/dist/services/guard-signer/guard-signer.schemas.js +42 -42
- package/dist/services/guard-signer/guard-signer.schemas.js.map +1 -1
- package/dist/services/heatmap/heatmap.d.ts.map +1 -1
- package/dist/services/heatmap/heatmap.js +5 -4
- package/dist/services/heatmap/heatmap.js.map +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +138 -138
- package/dist/services/heatmap/heatmap.schemas.d.ts.map +1 -1
- package/dist/services/heatmap/heatmap.schemas.js +47 -47
- package/dist/services/heatmap/heatmap.schemas.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +53 -53
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.js +27 -27
- package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.js +3 -2
- package/dist/services/lifecycle/lifecycle.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +614 -614
- package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.js +146 -146
- package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.d.ts.map +1 -1
- package/dist/services/market-data/market-data.js +4 -3
- package/dist/services/market-data/market-data.js.map +1 -1
- package/dist/services/market-data/market-data.schemas.d.ts +19 -19
- package/dist/services/market-data/market-data.schemas.d.ts.map +1 -1
- package/dist/services/market-data/market-data.schemas.js +50 -50
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/market-overview/market-overview.d.ts.map +1 -1
- package/dist/services/market-overview/market-overview.js +3 -2
- package/dist/services/market-overview/market-overview.js.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.d.ts +37 -37
- package/dist/services/market-overview/market-overview.schemas.d.ts.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.js +33 -33
- package/dist/services/market-overview/market-overview.schemas.js.map +1 -1
- package/dist/services/mfa/mfa.js +1 -1
- package/dist/services/mfa/mfa.js.map +1 -1
- package/dist/services/mfa/mfa.schemas.d.ts +206 -206
- package/dist/services/mfa/mfa.schemas.d.ts.map +1 -1
- package/dist/services/mfa/mfa.schemas.js +83 -83
- package/dist/services/mfa/mfa.schemas.js.map +1 -1
- package/dist/services/orderbook/orderbook.d.ts +2 -2
- package/dist/services/orderbook/orderbook.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.js +3 -2
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +23 -23
- package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.js +15 -15
- package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +18 -18
- package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
- package/dist/services/orders/order-errors.schemas.js +8 -8
- package/dist/services/orders/order-errors.schemas.js.map +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +492 -492
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +117 -117
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-identifiers.schemas.js +5 -5
- package/dist/services/orders/orders-identifiers.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +648 -648
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +95 -95
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-modify.schemas.d.ts +351 -351
- package/dist/services/orders/orders-modify.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-modify.schemas.js +44 -44
- package/dist/services/orders/orders-modify.schemas.js.map +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +179 -179
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +49 -49
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/orders/orders-risk.schemas.d.ts +226 -226
- package/dist/services/orders/orders-risk.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-risk.schemas.js +69 -69
- package/dist/services/orders/orders-risk.schemas.js.map +1 -1
- package/dist/services/orders/orders.d.ts +6 -6
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +4 -3
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.d.ts +6 -6
- package/dist/services/policies/api-key-policies/api-key-policies.d.ts.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +105 -105
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +49 -49
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js.map +1 -1
- package/dist/services/policies/shared.d.ts +5 -5
- package/dist/services/policies/shared.d.ts.map +1 -1
- package/dist/services/policies/shared.js +10 -10
- package/dist/services/policies/shared.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts +6 -6
- package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.js +3 -2
- package/dist/services/policies/subaccount-policies/subaccount-policies.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +124 -124
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +75 -75
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
- package/dist/services/rate-limits/index.d.ts +4 -0
- package/dist/services/rate-limits/rate-limits.codecs.d.ts +6 -0
- package/dist/services/rate-limits/rate-limits.codecs.d.ts.map +1 -0
- package/dist/services/rate-limits/rate-limits.codecs.js +11 -0
- package/dist/services/rate-limits/rate-limits.codecs.js.map +1 -0
- package/dist/services/rate-limits/rate-limits.d.ts +24 -0
- package/dist/services/rate-limits/rate-limits.d.ts.map +1 -0
- package/dist/services/rate-limits/rate-limits.js +40 -0
- package/dist/services/rate-limits/rate-limits.js.map +1 -0
- package/dist/services/rate-limits/rate-limits.schemas.d.ts +58 -0
- package/dist/services/rate-limits/rate-limits.schemas.d.ts.map +1 -0
- package/dist/services/rate-limits/rate-limits.schemas.js +30 -0
- package/dist/services/rate-limits/rate-limits.schemas.js.map +1 -0
- package/dist/services/rate-limits/rate-limits.types.d.ts +3 -0
- package/dist/services/shared.js +11 -11
- package/dist/services/shared.js.map +1 -1
- package/dist/services/social-verification/social-verification.d.ts +3 -3
- package/dist/services/social-verification/social-verification.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.js.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.d.ts +54 -54
- package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +28 -28
- package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.d.ts +14 -14
- package/dist/services/subaccounts/subaccounts.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +9 -8
- package/dist/services/subaccounts/subaccounts.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +137 -137
- package/dist/services/subaccounts/subaccounts.schemas.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.js +72 -72
- package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -1
- package/dist/services/trades/trades.d.ts +2 -2
- package/dist/services/trades/trades.d.ts.map +1 -1
- package/dist/services/trades/trades.js +3 -2
- package/dist/services/trades/trades.js.map +1 -1
- package/dist/services/trades/trades.schemas.d.ts +31 -31
- package/dist/services/trades/trades.schemas.d.ts.map +1 -1
- package/dist/services/trades/trades.schemas.js +24 -24
- package/dist/services/trades/trades.schemas.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +45 -45
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +36 -36
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
- package/dist/services/transfers/transfers.d.ts.map +1 -1
- package/dist/services/transfers/transfers.js +3 -2
- package/dist/services/transfers/transfers.js.map +1 -1
- package/dist/services/transfers/transfers.schemas.d.ts +42 -42
- package/dist/services/transfers/transfers.schemas.d.ts.map +1 -1
- package/dist/services/transfers/transfers.schemas.js +30 -30
- package/dist/services/transfers/transfers.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js +23 -23
- package/dist/services/triggers/trigger-child-order.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +226 -226
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +53 -53
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +218 -218
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +152 -152
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/triggers/triggers.d.ts.map +1 -1
- package/dist/services/triggers/triggers.js +4 -3
- package/dist/services/triggers/triggers.js.map +1 -1
- package/dist/services/vip/index.d.ts +3 -0
- package/dist/services/vip/vip.d.ts +22 -0
- package/dist/services/vip/vip.d.ts.map +1 -0
- package/dist/services/vip/vip.js +35 -0
- package/dist/services/vip/vip.js.map +1 -0
- package/dist/services/vip/vip.schemas.d.ts +90 -0
- package/dist/services/vip/vip.schemas.d.ts.map +1 -0
- package/dist/services/vip/vip.schemas.js +47 -0
- package/dist/services/vip/vip.schemas.js.map +1 -0
- package/dist/services/vip/vip.types.d.ts +2 -0
- package/dist/services/whiteboard/whiteboard.js.map +1 -1
- package/dist/services/whiteboard/whiteboard.schemas.d.ts +379 -379
- package/dist/services/whiteboard/whiteboard.schemas.d.ts.map +1 -1
- package/dist/services/whiteboard/whiteboard.schemas.js +71 -71
- package/dist/services/whiteboard/whiteboard.schemas.js.map +1 -1
- package/dist/services/zipper/zipper.js.map +1 -1
- package/dist/services/zipper/zipper.schemas.d.ts +1 -1
- package/dist/services/zipper/zipper.schemas.js +54 -54
- package/dist/services/zipper/zipper.schemas.js.map +1 -1
- package/dist/shared/account-scope.d.ts +6 -6
- package/dist/shared/account-scope.d.ts.map +1 -1
- package/dist/shared/account-scope.js +3 -3
- package/dist/shared/account-scope.js.map +1 -1
- package/dist/shared/connect-error-mapping.js +2 -2
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +12 -12
- package/dist/shared/rate-limit.schemas.d.ts.map +1 -1
- package/dist/shared/rate-limit.schemas.js +7 -7
- package/dist/shared/rate-limit.schemas.js.map +1 -1
- package/dist/shared/schemas.js +26 -26
- package/dist/shared/schemas.js.map +1 -1
- package/dist/shared/validation.js +1 -6
- package/dist/shared/validation.js.map +1 -1
- package/dist/utils/connect-order-errors.js +2 -2
- package/dist/utils/connect-order-errors.js.map +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +6 -0
- package/dist/wired-services.js.map +1 -1
- package/package.json +3 -3
- package/dist/shared/validation.d.ts +0 -14
- package/dist/shared/validation.d.ts.map +0 -1
|
@@ -1,143 +1,143 @@
|
|
|
1
|
-
import { validation_d_exports } from "../../shared/validation.js";
|
|
2
1
|
import { BoardAclSubjectType, BoardAudience, BoardRole } from "../../gen/collab/v1/whiteboard_pb.js";
|
|
2
|
+
import * as v from "valibot";
|
|
3
3
|
//#region src/services/whiteboard/whiteboard.schemas.d.ts
|
|
4
|
-
declare const WhiteboardAudienceSchema:
|
|
5
|
-
type WhiteboardAudience =
|
|
6
|
-
declare const WhiteboardWritableRoleSchema:
|
|
7
|
-
type WhiteboardWritableRole =
|
|
8
|
-
declare const WhiteboardResolvedRoleSchema:
|
|
9
|
-
type WhiteboardResolvedRole =
|
|
10
|
-
declare const WhiteboardAclSubjectTypeSchema:
|
|
11
|
-
type WhiteboardAclSubjectType =
|
|
12
|
-
declare const WhiteboardSnapshotSchema:
|
|
13
|
-
type WhiteboardSnapshot =
|
|
14
|
-
declare const WhiteboardAclEntryInputSchema:
|
|
15
|
-
readonly subjectType:
|
|
16
|
-
readonly subjectId:
|
|
17
|
-
readonly role:
|
|
4
|
+
declare const WhiteboardAudienceSchema: v.PicklistSchema<readonly ["private", "public", "followers"], undefined>;
|
|
5
|
+
type WhiteboardAudience = v.InferOutput<typeof WhiteboardAudienceSchema>;
|
|
6
|
+
declare const WhiteboardWritableRoleSchema: v.PicklistSchema<readonly ["viewer", "editor"], undefined>;
|
|
7
|
+
type WhiteboardWritableRole = v.InferOutput<typeof WhiteboardWritableRoleSchema>;
|
|
8
|
+
declare const WhiteboardResolvedRoleSchema: v.PicklistSchema<readonly ["none", "viewer", "editor", "owner"], undefined>;
|
|
9
|
+
type WhiteboardResolvedRole = v.InferOutput<typeof WhiteboardResolvedRoleSchema>;
|
|
10
|
+
declare const WhiteboardAclSubjectTypeSchema: v.PicklistSchema<readonly ["user", "group"], undefined>;
|
|
11
|
+
type WhiteboardAclSubjectType = v.InferOutput<typeof WhiteboardAclSubjectTypeSchema>;
|
|
12
|
+
declare const WhiteboardSnapshotSchema: v.CustomSchema<import("@bufbuild/protobuf").JsonObject, undefined>;
|
|
13
|
+
type WhiteboardSnapshot = v.InferOutput<typeof WhiteboardSnapshotSchema>;
|
|
14
|
+
declare const WhiteboardAclEntryInputSchema: v.StrictObjectSchema<{
|
|
15
|
+
readonly subjectType: v.SchemaWithPipe<readonly [v.PicklistSchema<readonly ["user", "group"], undefined>, v.TransformAction<"user" | "group", BoardAclSubjectType.USER_SUBJECT | BoardAclSubjectType.GROUP_SUBJECT>]>;
|
|
16
|
+
readonly subjectId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.TransformAction<string, bigint>]>;
|
|
17
|
+
readonly role: v.SchemaWithPipe<readonly [v.PicklistSchema<readonly ["viewer", "editor"], undefined>, v.TransformAction<"viewer" | "editor", BoardRole.VIEWER | BoardRole.EDITOR>]>;
|
|
18
18
|
}, undefined>;
|
|
19
|
-
type WhiteboardAclEntryInput =
|
|
20
|
-
declare const CreateWhiteboardBoardInputSchema:
|
|
21
|
-
readonly title:
|
|
22
|
-
readonly audience:
|
|
23
|
-
readonly defaultRole:
|
|
24
|
-
readonly aclEntries:
|
|
25
|
-
readonly subjectType:
|
|
26
|
-
readonly subjectId:
|
|
27
|
-
readonly role:
|
|
28
|
-
}, undefined>, undefined>,
|
|
19
|
+
type WhiteboardAclEntryInput = v.InferInput<typeof WhiteboardAclEntryInputSchema>;
|
|
20
|
+
declare const CreateWhiteboardBoardInputSchema: v.StrictObjectSchema<{
|
|
21
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
22
|
+
readonly audience: v.SchemaWithPipe<readonly [v.PicklistSchema<readonly ["private", "public", "followers"], undefined>, v.TransformAction<"private" | "public" | "followers", BoardAudience.PRIVATE | BoardAudience.PUBLIC | BoardAudience.FOLLOWERS>]>;
|
|
23
|
+
readonly defaultRole: v.SchemaWithPipe<readonly [v.PicklistSchema<readonly ["viewer", "editor"], undefined>, v.TransformAction<"viewer" | "editor", BoardRole.VIEWER | BoardRole.EDITOR>]>;
|
|
24
|
+
readonly aclEntries: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
25
|
+
readonly subjectType: v.SchemaWithPipe<readonly [v.PicklistSchema<readonly ["user", "group"], undefined>, v.TransformAction<"user" | "group", BoardAclSubjectType.USER_SUBJECT | BoardAclSubjectType.GROUP_SUBJECT>]>;
|
|
26
|
+
readonly subjectId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.TransformAction<string, bigint>]>;
|
|
27
|
+
readonly role: v.SchemaWithPipe<readonly [v.PicklistSchema<readonly ["viewer", "editor"], undefined>, v.TransformAction<"viewer" | "editor", BoardRole.VIEWER | BoardRole.EDITOR>]>;
|
|
28
|
+
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
29
29
|
subjectType: BoardAclSubjectType.USER_SUBJECT | BoardAclSubjectType.GROUP_SUBJECT;
|
|
30
30
|
subjectId: bigint;
|
|
31
31
|
role: BoardRole.VIEWER | BoardRole.EDITOR;
|
|
32
|
-
}[], 256, undefined>,
|
|
32
|
+
}[], 256, undefined>, v.CheckAction<{
|
|
33
33
|
subjectType: BoardAclSubjectType.USER_SUBJECT | BoardAclSubjectType.GROUP_SUBJECT;
|
|
34
34
|
subjectId: bigint;
|
|
35
35
|
role: BoardRole.VIEWER | BoardRole.EDITOR;
|
|
36
36
|
}[], "aclEntries must not contain duplicate subjects">]>, readonly []>;
|
|
37
|
-
readonly initialSnapshot:
|
|
37
|
+
readonly initialSnapshot: v.OptionalSchema<v.CustomSchema<import("@bufbuild/protobuf").JsonObject, undefined>, undefined>;
|
|
38
38
|
}, undefined>;
|
|
39
|
-
type CreateWhiteboardBoardInput =
|
|
40
|
-
declare const GetWhiteboardBoardInputSchema:
|
|
41
|
-
readonly boardId:
|
|
39
|
+
type CreateWhiteboardBoardInput = v.InferInput<typeof CreateWhiteboardBoardInputSchema>;
|
|
40
|
+
declare const GetWhiteboardBoardInputSchema: v.ObjectSchema<{
|
|
41
|
+
readonly boardId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
42
42
|
}, undefined>;
|
|
43
|
-
type GetWhiteboardBoardInput =
|
|
44
|
-
declare const ListWhiteboardBoardsInputSchema:
|
|
45
|
-
readonly includeArchived:
|
|
46
|
-
readonly limit:
|
|
47
|
-
readonly pageToken:
|
|
43
|
+
type GetWhiteboardBoardInput = v.InferInput<typeof GetWhiteboardBoardInputSchema>;
|
|
44
|
+
declare const ListWhiteboardBoardsInputSchema: v.ObjectSchema<{
|
|
45
|
+
readonly includeArchived: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
46
|
+
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 500, undefined>]>, undefined>;
|
|
47
|
+
readonly pageToken: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, "">;
|
|
48
48
|
}, undefined>;
|
|
49
|
-
type ListWhiteboardBoardsInput =
|
|
50
|
-
declare const UpdateWhiteboardBoardInputSchema:
|
|
51
|
-
readonly boardId:
|
|
52
|
-
readonly title:
|
|
53
|
-
readonly audience:
|
|
54
|
-
readonly defaultRole:
|
|
55
|
-
readonly initialSnapshot:
|
|
56
|
-
}, undefined>,
|
|
49
|
+
type ListWhiteboardBoardsInput = v.InferInput<typeof ListWhiteboardBoardsInputSchema>;
|
|
50
|
+
declare const UpdateWhiteboardBoardInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
51
|
+
readonly boardId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
52
|
+
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
53
|
+
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<readonly ["private", "public", "followers"], undefined>, v.TransformAction<"private" | "public" | "followers", BoardAudience.PRIVATE | BoardAudience.PUBLIC | BoardAudience.FOLLOWERS>]>, undefined>;
|
|
54
|
+
readonly defaultRole: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<readonly ["viewer", "editor"], undefined>, v.TransformAction<"viewer" | "editor", BoardRole.VIEWER | BoardRole.EDITOR>]>, undefined>;
|
|
55
|
+
readonly initialSnapshot: v.OptionalSchema<v.CustomSchema<import("@bufbuild/protobuf").JsonObject, undefined>, undefined>;
|
|
56
|
+
}, undefined>, v.CheckAction<{
|
|
57
57
|
boardId: string;
|
|
58
58
|
title?: string | undefined;
|
|
59
59
|
audience?: BoardAudience.PRIVATE | BoardAudience.PUBLIC | BoardAudience.FOLLOWERS | undefined;
|
|
60
60
|
defaultRole?: BoardRole.VIEWER | BoardRole.EDITOR | undefined;
|
|
61
61
|
initialSnapshot?: import("@bufbuild/protobuf").JsonObject | undefined;
|
|
62
62
|
}, "At least one mutable board field is required">]>;
|
|
63
|
-
type UpdateWhiteboardBoardInput =
|
|
64
|
-
declare const UpdateWhiteboardBoardAclInputSchema:
|
|
65
|
-
readonly boardId:
|
|
66
|
-
readonly aclEntries:
|
|
67
|
-
readonly subjectType:
|
|
68
|
-
readonly subjectId:
|
|
69
|
-
readonly role:
|
|
70
|
-
}, undefined>, undefined>,
|
|
63
|
+
type UpdateWhiteboardBoardInput = v.InferInput<typeof UpdateWhiteboardBoardInputSchema>;
|
|
64
|
+
declare const UpdateWhiteboardBoardAclInputSchema: v.StrictObjectSchema<{
|
|
65
|
+
readonly boardId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
66
|
+
readonly aclEntries: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
67
|
+
readonly subjectType: v.SchemaWithPipe<readonly [v.PicklistSchema<readonly ["user", "group"], undefined>, v.TransformAction<"user" | "group", BoardAclSubjectType.USER_SUBJECT | BoardAclSubjectType.GROUP_SUBJECT>]>;
|
|
68
|
+
readonly subjectId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.TransformAction<string, bigint>]>;
|
|
69
|
+
readonly role: v.SchemaWithPipe<readonly [v.PicklistSchema<readonly ["viewer", "editor"], undefined>, v.TransformAction<"viewer" | "editor", BoardRole.VIEWER | BoardRole.EDITOR>]>;
|
|
70
|
+
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
71
71
|
subjectType: BoardAclSubjectType.USER_SUBJECT | BoardAclSubjectType.GROUP_SUBJECT;
|
|
72
72
|
subjectId: bigint;
|
|
73
73
|
role: BoardRole.VIEWER | BoardRole.EDITOR;
|
|
74
|
-
}[], 256, undefined>,
|
|
74
|
+
}[], 256, undefined>, v.CheckAction<{
|
|
75
75
|
subjectType: BoardAclSubjectType.USER_SUBJECT | BoardAclSubjectType.GROUP_SUBJECT;
|
|
76
76
|
subjectId: bigint;
|
|
77
77
|
role: BoardRole.VIEWER | BoardRole.EDITOR;
|
|
78
78
|
}[], "aclEntries must not contain duplicate subjects">]>;
|
|
79
79
|
}, undefined>;
|
|
80
|
-
type UpdateWhiteboardBoardAclInput =
|
|
81
|
-
declare const ArchiveWhiteboardBoardInputSchema:
|
|
82
|
-
readonly boardId:
|
|
83
|
-
readonly archived:
|
|
80
|
+
type UpdateWhiteboardBoardAclInput = v.InferInput<typeof UpdateWhiteboardBoardAclInputSchema>;
|
|
81
|
+
declare const ArchiveWhiteboardBoardInputSchema: v.StrictObjectSchema<{
|
|
82
|
+
readonly boardId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
83
|
+
readonly archived: v.BooleanSchema<undefined>;
|
|
84
84
|
}, undefined>;
|
|
85
|
-
type ArchiveWhiteboardBoardInput =
|
|
86
|
-
declare const MintWhiteboardJoinTokenInputSchema:
|
|
87
|
-
readonly boardId:
|
|
85
|
+
type ArchiveWhiteboardBoardInput = v.InferInput<typeof ArchiveWhiteboardBoardInputSchema>;
|
|
86
|
+
declare const MintWhiteboardJoinTokenInputSchema: v.StrictObjectSchema<{
|
|
87
|
+
readonly boardId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
88
88
|
}, undefined>;
|
|
89
|
-
type MintWhiteboardJoinTokenInput =
|
|
90
|
-
declare const WhiteboardPermissionsSchema:
|
|
91
|
-
readonly canView:
|
|
92
|
-
readonly canEdit:
|
|
93
|
-
readonly canManage:
|
|
89
|
+
type MintWhiteboardJoinTokenInput = v.InferInput<typeof MintWhiteboardJoinTokenInputSchema>;
|
|
90
|
+
declare const WhiteboardPermissionsSchema: v.ObjectSchema<{
|
|
91
|
+
readonly canView: v.BooleanSchema<undefined>;
|
|
92
|
+
readonly canEdit: v.BooleanSchema<undefined>;
|
|
93
|
+
readonly canManage: v.BooleanSchema<undefined>;
|
|
94
94
|
}, undefined>;
|
|
95
|
-
type WhiteboardPermissions =
|
|
96
|
-
declare const WhiteboardAccessSchema:
|
|
97
|
-
readonly role:
|
|
98
|
-
readonly permissions:
|
|
99
|
-
readonly canView:
|
|
100
|
-
readonly canEdit:
|
|
101
|
-
readonly canManage:
|
|
95
|
+
type WhiteboardPermissions = v.InferOutput<typeof WhiteboardPermissionsSchema>;
|
|
96
|
+
declare const WhiteboardAccessSchema: v.ObjectSchema<{
|
|
97
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
98
|
+
readonly permissions: v.OptionalSchema<v.ObjectSchema<{
|
|
99
|
+
readonly canView: v.BooleanSchema<undefined>;
|
|
100
|
+
readonly canEdit: v.BooleanSchema<undefined>;
|
|
101
|
+
readonly canManage: v.BooleanSchema<undefined>;
|
|
102
102
|
}, undefined>, undefined>;
|
|
103
103
|
}, undefined>;
|
|
104
|
-
type WhiteboardAccess =
|
|
105
|
-
declare const WhiteboardAclEntrySchema:
|
|
106
|
-
readonly subjectType:
|
|
107
|
-
readonly subjectId:
|
|
108
|
-
readonly role:
|
|
104
|
+
type WhiteboardAccess = v.InferOutput<typeof WhiteboardAccessSchema>;
|
|
105
|
+
declare const WhiteboardAclEntrySchema: v.ObjectSchema<{
|
|
106
|
+
readonly subjectType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAclSubjectType, undefined>, v.TransformAction<BoardAclSubjectType, "unspecified" | "user" | "group">]>;
|
|
107
|
+
readonly subjectId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
108
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
109
109
|
}, undefined>;
|
|
110
|
-
type WhiteboardAclEntry =
|
|
111
|
-
declare const WhiteboardBoardSchema:
|
|
112
|
-
readonly boardId:
|
|
113
|
-
readonly ownerAccountId:
|
|
114
|
-
readonly title:
|
|
115
|
-
readonly audience:
|
|
116
|
-
readonly defaultRole:
|
|
117
|
-
readonly accessVersion:
|
|
118
|
-
readonly initialSnapshot:
|
|
119
|
-
readonly createdAt:
|
|
120
|
-
readonly seconds:
|
|
121
|
-
readonly nanos:
|
|
122
|
-
}, undefined>, undefined>,
|
|
110
|
+
type WhiteboardAclEntry = v.InferOutput<typeof WhiteboardAclEntrySchema>;
|
|
111
|
+
declare const WhiteboardBoardSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
112
|
+
readonly boardId: v.StringSchema<undefined>;
|
|
113
|
+
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
114
|
+
readonly title: v.StringSchema<undefined>;
|
|
115
|
+
readonly audience: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAudience, undefined>, v.TransformAction<BoardAudience, "unspecified" | "private" | "public" | "followers">]>;
|
|
116
|
+
readonly defaultRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
117
|
+
readonly accessVersion: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
118
|
+
readonly initialSnapshot: v.OptionalSchema<v.CustomSchema<import("@bufbuild/protobuf").JsonObject, undefined>, undefined>;
|
|
119
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
120
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
121
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
122
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
123
123
|
seconds: bigint;
|
|
124
124
|
nanos: number;
|
|
125
125
|
} | undefined, number | undefined>]>;
|
|
126
|
-
readonly updatedAt:
|
|
127
|
-
readonly seconds:
|
|
128
|
-
readonly nanos:
|
|
129
|
-
}, undefined>, undefined>,
|
|
126
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
127
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
128
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
129
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
130
130
|
seconds: bigint;
|
|
131
131
|
nanos: number;
|
|
132
132
|
} | undefined, number | undefined>]>;
|
|
133
|
-
readonly archivedAt:
|
|
134
|
-
readonly seconds:
|
|
135
|
-
readonly nanos:
|
|
136
|
-
}, undefined>, undefined>,
|
|
133
|
+
readonly archivedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
134
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
135
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
136
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
137
137
|
seconds: bigint;
|
|
138
138
|
nanos: number;
|
|
139
139
|
} | undefined, number | undefined>]>;
|
|
140
|
-
}, undefined>,
|
|
140
|
+
}, undefined>, v.TransformAction<{
|
|
141
141
|
boardId: string;
|
|
142
142
|
ownerAccountId: string;
|
|
143
143
|
title: string;
|
|
@@ -160,38 +160,38 @@ declare const WhiteboardBoardSchema: validation_d_exports.SchemaWithPipe<readonl
|
|
|
160
160
|
accessVersion: string;
|
|
161
161
|
initialSnapshot?: import("@bufbuild/protobuf").JsonObject | undefined;
|
|
162
162
|
}>]>;
|
|
163
|
-
type WhiteboardBoard =
|
|
164
|
-
declare const WhiteboardBoardListItemSchema:
|
|
165
|
-
readonly board:
|
|
166
|
-
readonly boardId:
|
|
167
|
-
readonly ownerAccountId:
|
|
168
|
-
readonly title:
|
|
169
|
-
readonly audience:
|
|
170
|
-
readonly defaultRole:
|
|
171
|
-
readonly accessVersion:
|
|
172
|
-
readonly initialSnapshot:
|
|
173
|
-
readonly createdAt:
|
|
174
|
-
readonly seconds:
|
|
175
|
-
readonly nanos:
|
|
176
|
-
}, undefined>, undefined>,
|
|
163
|
+
type WhiteboardBoard = v.InferOutput<typeof WhiteboardBoardSchema>;
|
|
164
|
+
declare const WhiteboardBoardListItemSchema: v.ObjectSchema<{
|
|
165
|
+
readonly board: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
166
|
+
readonly boardId: v.StringSchema<undefined>;
|
|
167
|
+
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
168
|
+
readonly title: v.StringSchema<undefined>;
|
|
169
|
+
readonly audience: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAudience, undefined>, v.TransformAction<BoardAudience, "unspecified" | "private" | "public" | "followers">]>;
|
|
170
|
+
readonly defaultRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
171
|
+
readonly accessVersion: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
172
|
+
readonly initialSnapshot: v.OptionalSchema<v.CustomSchema<import("@bufbuild/protobuf").JsonObject, undefined>, undefined>;
|
|
173
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
174
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
175
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
176
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
177
177
|
seconds: bigint;
|
|
178
178
|
nanos: number;
|
|
179
179
|
} | undefined, number | undefined>]>;
|
|
180
|
-
readonly updatedAt:
|
|
181
|
-
readonly seconds:
|
|
182
|
-
readonly nanos:
|
|
183
|
-
}, undefined>, undefined>,
|
|
180
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
181
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
182
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
183
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
184
184
|
seconds: bigint;
|
|
185
185
|
nanos: number;
|
|
186
186
|
} | undefined, number | undefined>]>;
|
|
187
|
-
readonly archivedAt:
|
|
188
|
-
readonly seconds:
|
|
189
|
-
readonly nanos:
|
|
190
|
-
}, undefined>, undefined>,
|
|
187
|
+
readonly archivedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
188
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
189
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
190
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
191
191
|
seconds: bigint;
|
|
192
192
|
nanos: number;
|
|
193
193
|
} | undefined, number | undefined>]>;
|
|
194
|
-
}, undefined>,
|
|
194
|
+
}, undefined>, v.TransformAction<{
|
|
195
195
|
boardId: string;
|
|
196
196
|
ownerAccountId: string;
|
|
197
197
|
title: string;
|
|
@@ -214,47 +214,47 @@ declare const WhiteboardBoardListItemSchema: validation_d_exports.ObjectSchema<{
|
|
|
214
214
|
accessVersion: string;
|
|
215
215
|
initialSnapshot?: import("@bufbuild/protobuf").JsonObject | undefined;
|
|
216
216
|
}>]>;
|
|
217
|
-
readonly access:
|
|
218
|
-
readonly role:
|
|
219
|
-
readonly permissions:
|
|
220
|
-
readonly canView:
|
|
221
|
-
readonly canEdit:
|
|
222
|
-
readonly canManage:
|
|
217
|
+
readonly access: v.OptionalSchema<v.ObjectSchema<{
|
|
218
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
219
|
+
readonly permissions: v.OptionalSchema<v.ObjectSchema<{
|
|
220
|
+
readonly canView: v.BooleanSchema<undefined>;
|
|
221
|
+
readonly canEdit: v.BooleanSchema<undefined>;
|
|
222
|
+
readonly canManage: v.BooleanSchema<undefined>;
|
|
223
223
|
}, undefined>, undefined>;
|
|
224
224
|
}, undefined>, undefined>;
|
|
225
225
|
}, undefined>;
|
|
226
|
-
type WhiteboardBoardListItem =
|
|
227
|
-
declare const WhiteboardBoardDetailsSchema:
|
|
228
|
-
readonly board:
|
|
229
|
-
readonly boardId:
|
|
230
|
-
readonly ownerAccountId:
|
|
231
|
-
readonly title:
|
|
232
|
-
readonly audience:
|
|
233
|
-
readonly defaultRole:
|
|
234
|
-
readonly accessVersion:
|
|
235
|
-
readonly initialSnapshot:
|
|
236
|
-
readonly createdAt:
|
|
237
|
-
readonly seconds:
|
|
238
|
-
readonly nanos:
|
|
239
|
-
}, undefined>, undefined>,
|
|
226
|
+
type WhiteboardBoardListItem = v.InferOutput<typeof WhiteboardBoardListItemSchema>;
|
|
227
|
+
declare const WhiteboardBoardDetailsSchema: v.ObjectSchema<{
|
|
228
|
+
readonly board: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
229
|
+
readonly boardId: v.StringSchema<undefined>;
|
|
230
|
+
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
231
|
+
readonly title: v.StringSchema<undefined>;
|
|
232
|
+
readonly audience: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAudience, undefined>, v.TransformAction<BoardAudience, "unspecified" | "private" | "public" | "followers">]>;
|
|
233
|
+
readonly defaultRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
234
|
+
readonly accessVersion: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
235
|
+
readonly initialSnapshot: v.OptionalSchema<v.CustomSchema<import("@bufbuild/protobuf").JsonObject, undefined>, undefined>;
|
|
236
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
237
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
238
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
239
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
240
240
|
seconds: bigint;
|
|
241
241
|
nanos: number;
|
|
242
242
|
} | undefined, number | undefined>]>;
|
|
243
|
-
readonly updatedAt:
|
|
244
|
-
readonly seconds:
|
|
245
|
-
readonly nanos:
|
|
246
|
-
}, undefined>, undefined>,
|
|
243
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
244
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
245
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
246
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
247
247
|
seconds: bigint;
|
|
248
248
|
nanos: number;
|
|
249
249
|
} | undefined, number | undefined>]>;
|
|
250
|
-
readonly archivedAt:
|
|
251
|
-
readonly seconds:
|
|
252
|
-
readonly nanos:
|
|
253
|
-
}, undefined>, undefined>,
|
|
250
|
+
readonly archivedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
251
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
252
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
253
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
254
254
|
seconds: bigint;
|
|
255
255
|
nanos: number;
|
|
256
256
|
} | undefined, number | undefined>]>;
|
|
257
|
-
}, undefined>,
|
|
257
|
+
}, undefined>, v.TransformAction<{
|
|
258
258
|
boardId: string;
|
|
259
259
|
ownerAccountId: string;
|
|
260
260
|
title: string;
|
|
@@ -277,52 +277,52 @@ declare const WhiteboardBoardDetailsSchema: validation_d_exports.ObjectSchema<{
|
|
|
277
277
|
accessVersion: string;
|
|
278
278
|
initialSnapshot?: import("@bufbuild/protobuf").JsonObject | undefined;
|
|
279
279
|
}>]>;
|
|
280
|
-
readonly aclEntries:
|
|
281
|
-
readonly subjectType:
|
|
282
|
-
readonly subjectId:
|
|
283
|
-
readonly role:
|
|
280
|
+
readonly aclEntries: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
281
|
+
readonly subjectType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAclSubjectType, undefined>, v.TransformAction<BoardAclSubjectType, "unspecified" | "user" | "group">]>;
|
|
282
|
+
readonly subjectId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
283
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
284
284
|
}, undefined>, undefined>, readonly []>;
|
|
285
|
-
readonly access:
|
|
286
|
-
readonly role:
|
|
287
|
-
readonly permissions:
|
|
288
|
-
readonly canView:
|
|
289
|
-
readonly canEdit:
|
|
290
|
-
readonly canManage:
|
|
285
|
+
readonly access: v.OptionalSchema<v.ObjectSchema<{
|
|
286
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
287
|
+
readonly permissions: v.OptionalSchema<v.ObjectSchema<{
|
|
288
|
+
readonly canView: v.BooleanSchema<undefined>;
|
|
289
|
+
readonly canEdit: v.BooleanSchema<undefined>;
|
|
290
|
+
readonly canManage: v.BooleanSchema<undefined>;
|
|
291
291
|
}, undefined>, undefined>;
|
|
292
292
|
}, undefined>, undefined>;
|
|
293
293
|
}, undefined>;
|
|
294
|
-
type WhiteboardBoardDetails =
|
|
295
|
-
declare const CreateWhiteboardBoardResultSchema:
|
|
296
|
-
readonly board:
|
|
297
|
-
readonly boardId:
|
|
298
|
-
readonly ownerAccountId:
|
|
299
|
-
readonly title:
|
|
300
|
-
readonly audience:
|
|
301
|
-
readonly defaultRole:
|
|
302
|
-
readonly accessVersion:
|
|
303
|
-
readonly initialSnapshot:
|
|
304
|
-
readonly createdAt:
|
|
305
|
-
readonly seconds:
|
|
306
|
-
readonly nanos:
|
|
307
|
-
}, undefined>, undefined>,
|
|
294
|
+
type WhiteboardBoardDetails = v.InferOutput<typeof WhiteboardBoardDetailsSchema>;
|
|
295
|
+
declare const CreateWhiteboardBoardResultSchema: v.ObjectSchema<{
|
|
296
|
+
readonly board: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
297
|
+
readonly boardId: v.StringSchema<undefined>;
|
|
298
|
+
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
299
|
+
readonly title: v.StringSchema<undefined>;
|
|
300
|
+
readonly audience: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAudience, undefined>, v.TransformAction<BoardAudience, "unspecified" | "private" | "public" | "followers">]>;
|
|
301
|
+
readonly defaultRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
302
|
+
readonly accessVersion: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
303
|
+
readonly initialSnapshot: v.OptionalSchema<v.CustomSchema<import("@bufbuild/protobuf").JsonObject, undefined>, undefined>;
|
|
304
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
305
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
306
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
307
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
308
308
|
seconds: bigint;
|
|
309
309
|
nanos: number;
|
|
310
310
|
} | undefined, number | undefined>]>;
|
|
311
|
-
readonly updatedAt:
|
|
312
|
-
readonly seconds:
|
|
313
|
-
readonly nanos:
|
|
314
|
-
}, undefined>, undefined>,
|
|
311
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
312
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
313
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
314
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
315
315
|
seconds: bigint;
|
|
316
316
|
nanos: number;
|
|
317
317
|
} | undefined, number | undefined>]>;
|
|
318
|
-
readonly archivedAt:
|
|
319
|
-
readonly seconds:
|
|
320
|
-
readonly nanos:
|
|
321
|
-
}, undefined>, undefined>,
|
|
318
|
+
readonly archivedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
319
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
320
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
321
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
322
322
|
seconds: bigint;
|
|
323
323
|
nanos: number;
|
|
324
324
|
} | undefined, number | undefined>]>;
|
|
325
|
-
}, undefined>,
|
|
325
|
+
}, undefined>, v.TransformAction<{
|
|
326
326
|
boardId: string;
|
|
327
327
|
ownerAccountId: string;
|
|
328
328
|
title: string;
|
|
@@ -345,52 +345,52 @@ declare const CreateWhiteboardBoardResultSchema: validation_d_exports.ObjectSche
|
|
|
345
345
|
accessVersion: string;
|
|
346
346
|
initialSnapshot?: import("@bufbuild/protobuf").JsonObject | undefined;
|
|
347
347
|
}>]>;
|
|
348
|
-
readonly aclEntries:
|
|
349
|
-
readonly subjectType:
|
|
350
|
-
readonly subjectId:
|
|
351
|
-
readonly role:
|
|
348
|
+
readonly aclEntries: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
349
|
+
readonly subjectType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAclSubjectType, undefined>, v.TransformAction<BoardAclSubjectType, "unspecified" | "user" | "group">]>;
|
|
350
|
+
readonly subjectId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
351
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
352
352
|
}, undefined>, undefined>, readonly []>;
|
|
353
|
-
readonly access:
|
|
354
|
-
readonly role:
|
|
355
|
-
readonly permissions:
|
|
356
|
-
readonly canView:
|
|
357
|
-
readonly canEdit:
|
|
358
|
-
readonly canManage:
|
|
353
|
+
readonly access: v.OptionalSchema<v.ObjectSchema<{
|
|
354
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
355
|
+
readonly permissions: v.OptionalSchema<v.ObjectSchema<{
|
|
356
|
+
readonly canView: v.BooleanSchema<undefined>;
|
|
357
|
+
readonly canEdit: v.BooleanSchema<undefined>;
|
|
358
|
+
readonly canManage: v.BooleanSchema<undefined>;
|
|
359
359
|
}, undefined>, undefined>;
|
|
360
360
|
}, undefined>, undefined>;
|
|
361
361
|
}, undefined>;
|
|
362
|
-
type CreateWhiteboardBoardResult =
|
|
363
|
-
declare const GetWhiteboardBoardResultSchema:
|
|
364
|
-
readonly board:
|
|
365
|
-
readonly boardId:
|
|
366
|
-
readonly ownerAccountId:
|
|
367
|
-
readonly title:
|
|
368
|
-
readonly audience:
|
|
369
|
-
readonly defaultRole:
|
|
370
|
-
readonly accessVersion:
|
|
371
|
-
readonly initialSnapshot:
|
|
372
|
-
readonly createdAt:
|
|
373
|
-
readonly seconds:
|
|
374
|
-
readonly nanos:
|
|
375
|
-
}, undefined>, undefined>,
|
|
362
|
+
type CreateWhiteboardBoardResult = v.InferOutput<typeof CreateWhiteboardBoardResultSchema>;
|
|
363
|
+
declare const GetWhiteboardBoardResultSchema: v.ObjectSchema<{
|
|
364
|
+
readonly board: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
365
|
+
readonly boardId: v.StringSchema<undefined>;
|
|
366
|
+
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
367
|
+
readonly title: v.StringSchema<undefined>;
|
|
368
|
+
readonly audience: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAudience, undefined>, v.TransformAction<BoardAudience, "unspecified" | "private" | "public" | "followers">]>;
|
|
369
|
+
readonly defaultRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
370
|
+
readonly accessVersion: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
371
|
+
readonly initialSnapshot: v.OptionalSchema<v.CustomSchema<import("@bufbuild/protobuf").JsonObject, undefined>, undefined>;
|
|
372
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
373
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
374
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
375
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
376
376
|
seconds: bigint;
|
|
377
377
|
nanos: number;
|
|
378
378
|
} | undefined, number | undefined>]>;
|
|
379
|
-
readonly updatedAt:
|
|
380
|
-
readonly seconds:
|
|
381
|
-
readonly nanos:
|
|
382
|
-
}, undefined>, undefined>,
|
|
379
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
380
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
381
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
382
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
383
383
|
seconds: bigint;
|
|
384
384
|
nanos: number;
|
|
385
385
|
} | undefined, number | undefined>]>;
|
|
386
|
-
readonly archivedAt:
|
|
387
|
-
readonly seconds:
|
|
388
|
-
readonly nanos:
|
|
389
|
-
}, undefined>, undefined>,
|
|
386
|
+
readonly archivedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
387
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
388
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
389
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
390
390
|
seconds: bigint;
|
|
391
391
|
nanos: number;
|
|
392
392
|
} | undefined, number | undefined>]>;
|
|
393
|
-
}, undefined>,
|
|
393
|
+
}, undefined>, v.TransformAction<{
|
|
394
394
|
boardId: string;
|
|
395
395
|
ownerAccountId: string;
|
|
396
396
|
title: string;
|
|
@@ -413,52 +413,52 @@ declare const GetWhiteboardBoardResultSchema: validation_d_exports.ObjectSchema<
|
|
|
413
413
|
accessVersion: string;
|
|
414
414
|
initialSnapshot?: import("@bufbuild/protobuf").JsonObject | undefined;
|
|
415
415
|
}>]>;
|
|
416
|
-
readonly aclEntries:
|
|
417
|
-
readonly subjectType:
|
|
418
|
-
readonly subjectId:
|
|
419
|
-
readonly role:
|
|
416
|
+
readonly aclEntries: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
417
|
+
readonly subjectType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAclSubjectType, undefined>, v.TransformAction<BoardAclSubjectType, "unspecified" | "user" | "group">]>;
|
|
418
|
+
readonly subjectId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
419
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
420
420
|
}, undefined>, undefined>, readonly []>;
|
|
421
|
-
readonly access:
|
|
422
|
-
readonly role:
|
|
423
|
-
readonly permissions:
|
|
424
|
-
readonly canView:
|
|
425
|
-
readonly canEdit:
|
|
426
|
-
readonly canManage:
|
|
421
|
+
readonly access: v.OptionalSchema<v.ObjectSchema<{
|
|
422
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
423
|
+
readonly permissions: v.OptionalSchema<v.ObjectSchema<{
|
|
424
|
+
readonly canView: v.BooleanSchema<undefined>;
|
|
425
|
+
readonly canEdit: v.BooleanSchema<undefined>;
|
|
426
|
+
readonly canManage: v.BooleanSchema<undefined>;
|
|
427
427
|
}, undefined>, undefined>;
|
|
428
428
|
}, undefined>, undefined>;
|
|
429
429
|
}, undefined>;
|
|
430
|
-
type GetWhiteboardBoardResult =
|
|
431
|
-
declare const UpdateWhiteboardBoardResultSchema:
|
|
432
|
-
readonly board:
|
|
433
|
-
readonly boardId:
|
|
434
|
-
readonly ownerAccountId:
|
|
435
|
-
readonly title:
|
|
436
|
-
readonly audience:
|
|
437
|
-
readonly defaultRole:
|
|
438
|
-
readonly accessVersion:
|
|
439
|
-
readonly initialSnapshot:
|
|
440
|
-
readonly createdAt:
|
|
441
|
-
readonly seconds:
|
|
442
|
-
readonly nanos:
|
|
443
|
-
}, undefined>, undefined>,
|
|
430
|
+
type GetWhiteboardBoardResult = v.InferOutput<typeof GetWhiteboardBoardResultSchema>;
|
|
431
|
+
declare const UpdateWhiteboardBoardResultSchema: v.ObjectSchema<{
|
|
432
|
+
readonly board: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
433
|
+
readonly boardId: v.StringSchema<undefined>;
|
|
434
|
+
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
435
|
+
readonly title: v.StringSchema<undefined>;
|
|
436
|
+
readonly audience: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAudience, undefined>, v.TransformAction<BoardAudience, "unspecified" | "private" | "public" | "followers">]>;
|
|
437
|
+
readonly defaultRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
438
|
+
readonly accessVersion: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
439
|
+
readonly initialSnapshot: v.OptionalSchema<v.CustomSchema<import("@bufbuild/protobuf").JsonObject, undefined>, undefined>;
|
|
440
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
441
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
442
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
443
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
444
444
|
seconds: bigint;
|
|
445
445
|
nanos: number;
|
|
446
446
|
} | undefined, number | undefined>]>;
|
|
447
|
-
readonly updatedAt:
|
|
448
|
-
readonly seconds:
|
|
449
|
-
readonly nanos:
|
|
450
|
-
}, undefined>, undefined>,
|
|
447
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
448
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
449
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
450
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
451
451
|
seconds: bigint;
|
|
452
452
|
nanos: number;
|
|
453
453
|
} | undefined, number | undefined>]>;
|
|
454
|
-
readonly archivedAt:
|
|
455
|
-
readonly seconds:
|
|
456
|
-
readonly nanos:
|
|
457
|
-
}, undefined>, undefined>,
|
|
454
|
+
readonly archivedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
455
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
456
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
457
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
458
458
|
seconds: bigint;
|
|
459
459
|
nanos: number;
|
|
460
460
|
} | undefined, number | undefined>]>;
|
|
461
|
-
}, undefined>,
|
|
461
|
+
}, undefined>, v.TransformAction<{
|
|
462
462
|
boardId: string;
|
|
463
463
|
ownerAccountId: string;
|
|
464
464
|
title: string;
|
|
@@ -481,52 +481,52 @@ declare const UpdateWhiteboardBoardResultSchema: validation_d_exports.ObjectSche
|
|
|
481
481
|
accessVersion: string;
|
|
482
482
|
initialSnapshot?: import("@bufbuild/protobuf").JsonObject | undefined;
|
|
483
483
|
}>]>;
|
|
484
|
-
readonly aclEntries:
|
|
485
|
-
readonly subjectType:
|
|
486
|
-
readonly subjectId:
|
|
487
|
-
readonly role:
|
|
484
|
+
readonly aclEntries: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
485
|
+
readonly subjectType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAclSubjectType, undefined>, v.TransformAction<BoardAclSubjectType, "unspecified" | "user" | "group">]>;
|
|
486
|
+
readonly subjectId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
487
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
488
488
|
}, undefined>, undefined>, readonly []>;
|
|
489
|
-
readonly access:
|
|
490
|
-
readonly role:
|
|
491
|
-
readonly permissions:
|
|
492
|
-
readonly canView:
|
|
493
|
-
readonly canEdit:
|
|
494
|
-
readonly canManage:
|
|
489
|
+
readonly access: v.OptionalSchema<v.ObjectSchema<{
|
|
490
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
491
|
+
readonly permissions: v.OptionalSchema<v.ObjectSchema<{
|
|
492
|
+
readonly canView: v.BooleanSchema<undefined>;
|
|
493
|
+
readonly canEdit: v.BooleanSchema<undefined>;
|
|
494
|
+
readonly canManage: v.BooleanSchema<undefined>;
|
|
495
495
|
}, undefined>, undefined>;
|
|
496
496
|
}, undefined>, undefined>;
|
|
497
497
|
}, undefined>;
|
|
498
|
-
type UpdateWhiteboardBoardResult =
|
|
499
|
-
declare const UpdateWhiteboardBoardAclResultSchema:
|
|
500
|
-
readonly board:
|
|
501
|
-
readonly boardId:
|
|
502
|
-
readonly ownerAccountId:
|
|
503
|
-
readonly title:
|
|
504
|
-
readonly audience:
|
|
505
|
-
readonly defaultRole:
|
|
506
|
-
readonly accessVersion:
|
|
507
|
-
readonly initialSnapshot:
|
|
508
|
-
readonly createdAt:
|
|
509
|
-
readonly seconds:
|
|
510
|
-
readonly nanos:
|
|
511
|
-
}, undefined>, undefined>,
|
|
498
|
+
type UpdateWhiteboardBoardResult = v.InferOutput<typeof UpdateWhiteboardBoardResultSchema>;
|
|
499
|
+
declare const UpdateWhiteboardBoardAclResultSchema: v.ObjectSchema<{
|
|
500
|
+
readonly board: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
501
|
+
readonly boardId: v.StringSchema<undefined>;
|
|
502
|
+
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
503
|
+
readonly title: v.StringSchema<undefined>;
|
|
504
|
+
readonly audience: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAudience, undefined>, v.TransformAction<BoardAudience, "unspecified" | "private" | "public" | "followers">]>;
|
|
505
|
+
readonly defaultRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
506
|
+
readonly accessVersion: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
507
|
+
readonly initialSnapshot: v.OptionalSchema<v.CustomSchema<import("@bufbuild/protobuf").JsonObject, undefined>, undefined>;
|
|
508
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
509
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
510
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
511
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
512
512
|
seconds: bigint;
|
|
513
513
|
nanos: number;
|
|
514
514
|
} | undefined, number | undefined>]>;
|
|
515
|
-
readonly updatedAt:
|
|
516
|
-
readonly seconds:
|
|
517
|
-
readonly nanos:
|
|
518
|
-
}, undefined>, undefined>,
|
|
515
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
516
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
517
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
518
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
519
519
|
seconds: bigint;
|
|
520
520
|
nanos: number;
|
|
521
521
|
} | undefined, number | undefined>]>;
|
|
522
|
-
readonly archivedAt:
|
|
523
|
-
readonly seconds:
|
|
524
|
-
readonly nanos:
|
|
525
|
-
}, undefined>, undefined>,
|
|
522
|
+
readonly archivedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
523
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
524
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
525
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
526
526
|
seconds: bigint;
|
|
527
527
|
nanos: number;
|
|
528
528
|
} | undefined, number | undefined>]>;
|
|
529
|
-
}, undefined>,
|
|
529
|
+
}, undefined>, v.TransformAction<{
|
|
530
530
|
boardId: string;
|
|
531
531
|
ownerAccountId: string;
|
|
532
532
|
title: string;
|
|
@@ -549,53 +549,53 @@ declare const UpdateWhiteboardBoardAclResultSchema: validation_d_exports.ObjectS
|
|
|
549
549
|
accessVersion: string;
|
|
550
550
|
initialSnapshot?: import("@bufbuild/protobuf").JsonObject | undefined;
|
|
551
551
|
}>]>;
|
|
552
|
-
readonly aclEntries:
|
|
553
|
-
readonly subjectType:
|
|
554
|
-
readonly subjectId:
|
|
555
|
-
readonly role:
|
|
552
|
+
readonly aclEntries: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
553
|
+
readonly subjectType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAclSubjectType, undefined>, v.TransformAction<BoardAclSubjectType, "unspecified" | "user" | "group">]>;
|
|
554
|
+
readonly subjectId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
555
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
556
556
|
}, undefined>, undefined>, readonly []>;
|
|
557
|
-
readonly access:
|
|
558
|
-
readonly role:
|
|
559
|
-
readonly permissions:
|
|
560
|
-
readonly canView:
|
|
561
|
-
readonly canEdit:
|
|
562
|
-
readonly canManage:
|
|
557
|
+
readonly access: v.OptionalSchema<v.ObjectSchema<{
|
|
558
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
559
|
+
readonly permissions: v.OptionalSchema<v.ObjectSchema<{
|
|
560
|
+
readonly canView: v.BooleanSchema<undefined>;
|
|
561
|
+
readonly canEdit: v.BooleanSchema<undefined>;
|
|
562
|
+
readonly canManage: v.BooleanSchema<undefined>;
|
|
563
563
|
}, undefined>, undefined>;
|
|
564
564
|
}, undefined>, undefined>;
|
|
565
565
|
}, undefined>;
|
|
566
|
-
type UpdateWhiteboardBoardAclResult =
|
|
567
|
-
declare const ListWhiteboardBoardsResultSchema:
|
|
568
|
-
readonly boards:
|
|
569
|
-
readonly board:
|
|
570
|
-
readonly boardId:
|
|
571
|
-
readonly ownerAccountId:
|
|
572
|
-
readonly title:
|
|
573
|
-
readonly audience:
|
|
574
|
-
readonly defaultRole:
|
|
575
|
-
readonly accessVersion:
|
|
576
|
-
readonly initialSnapshot:
|
|
577
|
-
readonly createdAt:
|
|
578
|
-
readonly seconds:
|
|
579
|
-
readonly nanos:
|
|
580
|
-
}, undefined>, undefined>,
|
|
566
|
+
type UpdateWhiteboardBoardAclResult = v.InferOutput<typeof UpdateWhiteboardBoardAclResultSchema>;
|
|
567
|
+
declare const ListWhiteboardBoardsResultSchema: v.ObjectSchema<{
|
|
568
|
+
readonly boards: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
569
|
+
readonly board: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
570
|
+
readonly boardId: v.StringSchema<undefined>;
|
|
571
|
+
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
572
|
+
readonly title: v.StringSchema<undefined>;
|
|
573
|
+
readonly audience: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAudience, undefined>, v.TransformAction<BoardAudience, "unspecified" | "private" | "public" | "followers">]>;
|
|
574
|
+
readonly defaultRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
575
|
+
readonly accessVersion: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
576
|
+
readonly initialSnapshot: v.OptionalSchema<v.CustomSchema<import("@bufbuild/protobuf").JsonObject, undefined>, undefined>;
|
|
577
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
578
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
579
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
580
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
581
581
|
seconds: bigint;
|
|
582
582
|
nanos: number;
|
|
583
583
|
} | undefined, number | undefined>]>;
|
|
584
|
-
readonly updatedAt:
|
|
585
|
-
readonly seconds:
|
|
586
|
-
readonly nanos:
|
|
587
|
-
}, undefined>, undefined>,
|
|
584
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
585
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
586
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
587
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
588
588
|
seconds: bigint;
|
|
589
589
|
nanos: number;
|
|
590
590
|
} | undefined, number | undefined>]>;
|
|
591
|
-
readonly archivedAt:
|
|
592
|
-
readonly seconds:
|
|
593
|
-
readonly nanos:
|
|
594
|
-
}, undefined>, undefined>,
|
|
591
|
+
readonly archivedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
592
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
593
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
594
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
595
595
|
seconds: bigint;
|
|
596
596
|
nanos: number;
|
|
597
597
|
} | undefined, number | undefined>]>;
|
|
598
|
-
}, undefined>,
|
|
598
|
+
}, undefined>, v.TransformAction<{
|
|
599
599
|
boardId: string;
|
|
600
600
|
ownerAccountId: string;
|
|
601
601
|
title: string;
|
|
@@ -618,49 +618,49 @@ declare const ListWhiteboardBoardsResultSchema: validation_d_exports.ObjectSchem
|
|
|
618
618
|
accessVersion: string;
|
|
619
619
|
initialSnapshot?: import("@bufbuild/protobuf").JsonObject | undefined;
|
|
620
620
|
}>]>;
|
|
621
|
-
readonly access:
|
|
622
|
-
readonly role:
|
|
623
|
-
readonly permissions:
|
|
624
|
-
readonly canView:
|
|
625
|
-
readonly canEdit:
|
|
626
|
-
readonly canManage:
|
|
621
|
+
readonly access: v.OptionalSchema<v.ObjectSchema<{
|
|
622
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
623
|
+
readonly permissions: v.OptionalSchema<v.ObjectSchema<{
|
|
624
|
+
readonly canView: v.BooleanSchema<undefined>;
|
|
625
|
+
readonly canEdit: v.BooleanSchema<undefined>;
|
|
626
|
+
readonly canManage: v.BooleanSchema<undefined>;
|
|
627
627
|
}, undefined>, undefined>;
|
|
628
628
|
}, undefined>, undefined>;
|
|
629
629
|
}, undefined>, undefined>, readonly []>;
|
|
630
|
-
readonly nextPageToken:
|
|
630
|
+
readonly nextPageToken: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
631
631
|
}, undefined>;
|
|
632
|
-
type ListWhiteboardBoardsResult =
|
|
633
|
-
declare const ArchiveWhiteboardBoardResultSchema:
|
|
634
|
-
readonly board:
|
|
635
|
-
readonly boardId:
|
|
636
|
-
readonly ownerAccountId:
|
|
637
|
-
readonly title:
|
|
638
|
-
readonly audience:
|
|
639
|
-
readonly defaultRole:
|
|
640
|
-
readonly accessVersion:
|
|
641
|
-
readonly initialSnapshot:
|
|
642
|
-
readonly createdAt:
|
|
643
|
-
readonly seconds:
|
|
644
|
-
readonly nanos:
|
|
645
|
-
}, undefined>, undefined>,
|
|
632
|
+
type ListWhiteboardBoardsResult = v.InferOutput<typeof ListWhiteboardBoardsResultSchema>;
|
|
633
|
+
declare const ArchiveWhiteboardBoardResultSchema: v.ObjectSchema<{
|
|
634
|
+
readonly board: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
635
|
+
readonly boardId: v.StringSchema<undefined>;
|
|
636
|
+
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
637
|
+
readonly title: v.StringSchema<undefined>;
|
|
638
|
+
readonly audience: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardAudience, undefined>, v.TransformAction<BoardAudience, "unspecified" | "private" | "public" | "followers">]>;
|
|
639
|
+
readonly defaultRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
640
|
+
readonly accessVersion: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
641
|
+
readonly initialSnapshot: v.OptionalSchema<v.CustomSchema<import("@bufbuild/protobuf").JsonObject, undefined>, undefined>;
|
|
642
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
643
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
644
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
645
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
646
646
|
seconds: bigint;
|
|
647
647
|
nanos: number;
|
|
648
648
|
} | undefined, number | undefined>]>;
|
|
649
|
-
readonly updatedAt:
|
|
650
|
-
readonly seconds:
|
|
651
|
-
readonly nanos:
|
|
652
|
-
}, undefined>, undefined>,
|
|
649
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
650
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
651
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
652
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
653
653
|
seconds: bigint;
|
|
654
654
|
nanos: number;
|
|
655
655
|
} | undefined, number | undefined>]>;
|
|
656
|
-
readonly archivedAt:
|
|
657
|
-
readonly seconds:
|
|
658
|
-
readonly nanos:
|
|
659
|
-
}, undefined>, undefined>,
|
|
656
|
+
readonly archivedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
657
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
658
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
659
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
660
660
|
seconds: bigint;
|
|
661
661
|
nanos: number;
|
|
662
662
|
} | undefined, number | undefined>]>;
|
|
663
|
-
}, undefined>,
|
|
663
|
+
}, undefined>, v.TransformAction<{
|
|
664
664
|
boardId: string;
|
|
665
665
|
ownerAccountId: string;
|
|
666
666
|
title: string;
|
|
@@ -683,48 +683,48 @@ declare const ArchiveWhiteboardBoardResultSchema: validation_d_exports.ObjectSch
|
|
|
683
683
|
accessVersion: string;
|
|
684
684
|
initialSnapshot?: import("@bufbuild/protobuf").JsonObject | undefined;
|
|
685
685
|
}>]>, undefined>;
|
|
686
|
-
readonly access:
|
|
687
|
-
readonly role:
|
|
688
|
-
readonly permissions:
|
|
689
|
-
readonly canView:
|
|
690
|
-
readonly canEdit:
|
|
691
|
-
readonly canManage:
|
|
686
|
+
readonly access: v.OptionalSchema<v.ObjectSchema<{
|
|
687
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
688
|
+
readonly permissions: v.OptionalSchema<v.ObjectSchema<{
|
|
689
|
+
readonly canView: v.BooleanSchema<undefined>;
|
|
690
|
+
readonly canEdit: v.BooleanSchema<undefined>;
|
|
691
|
+
readonly canManage: v.BooleanSchema<undefined>;
|
|
692
692
|
}, undefined>, undefined>;
|
|
693
693
|
}, undefined>, undefined>;
|
|
694
694
|
}, undefined>;
|
|
695
|
-
type ArchiveWhiteboardBoardResult =
|
|
696
|
-
declare const WhiteboardPresencePayloadSchema:
|
|
697
|
-
readonly accountId:
|
|
698
|
-
readonly role:
|
|
695
|
+
type ArchiveWhiteboardBoardResult = v.InferOutput<typeof ArchiveWhiteboardBoardResultSchema>;
|
|
696
|
+
declare const WhiteboardPresencePayloadSchema: v.ObjectSchema<{
|
|
697
|
+
readonly accountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
698
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
699
699
|
}, undefined>;
|
|
700
|
-
type WhiteboardPresencePayload =
|
|
701
|
-
declare const WhiteboardJoinTokenResultSchema:
|
|
702
|
-
readonly boardId:
|
|
703
|
-
readonly access:
|
|
704
|
-
readonly role:
|
|
705
|
-
readonly permissions:
|
|
706
|
-
readonly canView:
|
|
707
|
-
readonly canEdit:
|
|
708
|
-
readonly canManage:
|
|
700
|
+
type WhiteboardPresencePayload = v.InferOutput<typeof WhiteboardPresencePayloadSchema>;
|
|
701
|
+
declare const WhiteboardJoinTokenResultSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
702
|
+
readonly boardId: v.StringSchema<undefined>;
|
|
703
|
+
readonly access: v.OptionalSchema<v.ObjectSchema<{
|
|
704
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
705
|
+
readonly permissions: v.OptionalSchema<v.ObjectSchema<{
|
|
706
|
+
readonly canView: v.BooleanSchema<undefined>;
|
|
707
|
+
readonly canEdit: v.BooleanSchema<undefined>;
|
|
708
|
+
readonly canManage: v.BooleanSchema<undefined>;
|
|
709
709
|
}, undefined>, undefined>;
|
|
710
710
|
}, undefined>, undefined>;
|
|
711
|
-
readonly expiresAt:
|
|
712
|
-
readonly seconds:
|
|
713
|
-
readonly nanos:
|
|
714
|
-
}, undefined>, undefined>,
|
|
711
|
+
readonly expiresAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
712
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
713
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
714
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
715
715
|
seconds: bigint;
|
|
716
716
|
nanos: number;
|
|
717
717
|
} | undefined, number | undefined>]>;
|
|
718
|
-
readonly token:
|
|
719
|
-
readonly roomId:
|
|
720
|
-
readonly connectionId:
|
|
721
|
-
readonly socketPath:
|
|
722
|
-
readonly presence:
|
|
723
|
-
readonly accountId:
|
|
724
|
-
readonly role:
|
|
718
|
+
readonly token: v.StringSchema<undefined>;
|
|
719
|
+
readonly roomId: v.StringSchema<undefined>;
|
|
720
|
+
readonly connectionId: v.StringSchema<undefined>;
|
|
721
|
+
readonly socketPath: v.StringSchema<undefined>;
|
|
722
|
+
readonly presence: v.OptionalSchema<v.ObjectSchema<{
|
|
723
|
+
readonly accountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
724
|
+
readonly role: v.SchemaWithPipe<readonly [v.EnumSchema<typeof BoardRole, undefined>, v.TransformAction<BoardRole, "unspecified" | "owner" | "viewer" | "editor">]>;
|
|
725
725
|
}, undefined>, undefined>;
|
|
726
|
-
readonly accessVersion:
|
|
727
|
-
}, undefined>,
|
|
726
|
+
readonly accessVersion: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
727
|
+
}, undefined>, v.TransformAction<{
|
|
728
728
|
boardId: string;
|
|
729
729
|
access?: {
|
|
730
730
|
role: "unspecified" | "owner" | "viewer" | "editor";
|
|
@@ -765,7 +765,7 @@ declare const WhiteboardJoinTokenResultSchema: validation_d_exports.SchemaWithPi
|
|
|
765
765
|
} | undefined;
|
|
766
766
|
accessVersion: string;
|
|
767
767
|
}>]>;
|
|
768
|
-
type WhiteboardJoinTokenResult =
|
|
768
|
+
type WhiteboardJoinTokenResult = v.InferOutput<typeof WhiteboardJoinTokenResultSchema>;
|
|
769
769
|
//#endregion
|
|
770
770
|
export { ArchiveWhiteboardBoardInput, ArchiveWhiteboardBoardInputSchema, ArchiveWhiteboardBoardResult, ArchiveWhiteboardBoardResultSchema, CreateWhiteboardBoardInput, CreateWhiteboardBoardInputSchema, CreateWhiteboardBoardResult, CreateWhiteboardBoardResultSchema, GetWhiteboardBoardInput, GetWhiteboardBoardInputSchema, GetWhiteboardBoardResult, GetWhiteboardBoardResultSchema, ListWhiteboardBoardsInput, ListWhiteboardBoardsInputSchema, ListWhiteboardBoardsResult, ListWhiteboardBoardsResultSchema, MintWhiteboardJoinTokenInput, MintWhiteboardJoinTokenInputSchema, UpdateWhiteboardBoardAclInput, UpdateWhiteboardBoardAclInputSchema, UpdateWhiteboardBoardAclResult, UpdateWhiteboardBoardAclResultSchema, UpdateWhiteboardBoardInput, UpdateWhiteboardBoardInputSchema, UpdateWhiteboardBoardResult, UpdateWhiteboardBoardResultSchema, WhiteboardAccess, WhiteboardAccessSchema, WhiteboardAclEntry, WhiteboardAclEntryInput, WhiteboardAclEntryInputSchema, WhiteboardAclEntrySchema, WhiteboardAclSubjectType, WhiteboardAclSubjectTypeSchema, WhiteboardAudience, WhiteboardAudienceSchema, WhiteboardBoard, WhiteboardBoardDetails, WhiteboardBoardDetailsSchema, WhiteboardBoardListItem, WhiteboardBoardListItemSchema, WhiteboardBoardSchema, WhiteboardJoinTokenResult, WhiteboardJoinTokenResultSchema, WhiteboardPermissions, WhiteboardPermissionsSchema, WhiteboardPresencePayload, WhiteboardPresencePayloadSchema, WhiteboardResolvedRole, WhiteboardResolvedRoleSchema, WhiteboardSnapshot, WhiteboardSnapshotSchema, WhiteboardWritableRole, WhiteboardWritableRoleSchema };
|
|
771
771
|
//# sourceMappingURL=whiteboard.schemas.d.ts.map
|