@tinycloud/sdk-core 2.11.0-beta.10 → 2.11.0-beta.12
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/dist/{capability-BjzXwtNw.d.cts → capability-BA49Uboq.d.cts} +1 -1
- package/dist/{capability-BjzXwtNw.d.ts → capability-BA49Uboq.d.ts} +1 -1
- package/dist/delegations/index.cjs +620 -221
- package/dist/delegations/index.cjs.map +1 -1
- package/dist/delegations/index.d.cts +8 -8
- package/dist/delegations/index.d.ts +8 -8
- package/dist/delegations/index.js +621 -222
- package/dist/delegations/index.js.map +1 -1
- package/dist/index.cjs +1576 -762
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -15
- package/dist/index.d.ts +15 -15
- package/dist/index.js +1548 -732
- package/dist/index.js.map +1 -1
- package/dist/policy/index.cjs +867 -175
- package/dist/policy/index.cjs.map +1 -1
- package/dist/policy/index.d.cts +5 -4
- package/dist/policy/index.d.ts +5 -4
- package/dist/policy/index.js +867 -175
- package/dist/policy/index.js.map +1 -1
- package/dist/{recipient-types.schema-D5pDlIqn.d.cts → recipient-types.schema-CuDpskPd.d.cts} +172 -115
- package/dist/{recipient-types.schema-D5pDlIqn.d.ts → recipient-types.schema-CuDpskPd.d.ts} +172 -115
- package/dist/requester/index.d.cts +1 -1
- package/dist/requester/index.d.ts +1 -1
- package/dist/unified-DbySI5wW.d.cts +429 -0
- package/dist/unified-tCGtc-Wx.d.ts +429 -0
- package/package.json +5 -5
- package/dist/signed-object-C6mWbTbB.d.ts +0 -149
- package/dist/signed-object-IMAm5a32.d.cts +0 -149
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as ICapabilityKeyRegistry, D as DelegationManager, R as Result, a as DelegationError } from '../recipient-types.schema-
|
|
2
|
-
export { A as AccountDelegationPage, b as AccountDelegationQueryOptions, c as AccountDelegationRecord, d as AccountDelegationResource, C as CapabilityEntry, e as CreateDelegationParams, f as CreateDelegationWasmParams, g as CreateDelegationWasmResult, h as CreateOwnerDelegationParams, i as DelegateReceivedShareParams, j as DelegatedResource, k as DelegatedShareAccess, l as DelegatedShareKey, m as Delegation, n as DelegationApiResponse, o as DelegationChain, p as DelegationChainV2, q as DelegationDirection, r as DelegationErrorCode, s as DelegationErrorCodes, t as DelegationFilters, u as DelegationManagerConfig, v as DelegationRecord, w as DelegationRevocationReceipt, x as DelegationStatus, E as EncodedShareData, G as GenerateShareParams, y as ISharingService, z as IngestOptions, J as JWK, K as KeyInfo, B as KeyProvider, F as KeyType, M as MAX_CONTENT_BYTES, H as MAX_SEALED_SHARE_CONTENT_BYTES, L as MAX_SHARE_ARTIFACT_BYTES, N as MAX_SHARE_CONTENT_BYTES, O as MemorySenderShareKeyStorage, P as MemorySenderShareRecordStorage, Q as MemoryShareCache, S as OwnerDelegationPermission, T as OwnerDelegationReceipt, U as OwnerShareAction, V as OwnerShareDecryption, W as OwnerShareMatcher, X as OwnerSharePolicyRegistration, Y as OwnerSharePolicyRegistrationReceipt, Z as OwnerSharePolicyV2, _ as
|
|
1
|
+
import { I as ICapabilityKeyRegistry, D as DelegationManager, R as Result, a as DelegationError } from '../recipient-types.schema-CuDpskPd.cjs';
|
|
2
|
+
export { A as AccountDelegationPage, b as AccountDelegationQueryOptions, c as AccountDelegationRecord, d as AccountDelegationResource, C as CapabilityEntry, e as CreateDelegationParams, f as CreateDelegationWasmParams, g as CreateDelegationWasmResult, h as CreateOwnerDelegationParams, i as DelegateReceivedShareParams, j as DelegatedResource, k as DelegatedShareAccess, l as DelegatedShareKey, m as Delegation, n as DelegationApiResponse, o as DelegationChain, p as DelegationChainV2, q as DelegationDirection, r as DelegationErrorCode, s as DelegationErrorCodes, t as DelegationFilters, u as DelegationManagerConfig, v as DelegationRecord, w as DelegationRevocationReceipt, x as DelegationStatus, E as EncodedShareData, G as GenerateShareParams, y as ISharingService, z as IngestOptions, J as JWK, K as KeyInfo, B as KeyProvider, F as KeyType, M as MAX_CONTENT_BYTES, H as MAX_SEALED_SHARE_CONTENT_BYTES, L as MAX_SHARE_ARTIFACT_BYTES, N as MAX_SHARE_CONTENT_BYTES, O as MemorySenderShareKeyStorage, P as MemorySenderShareRecordStorage, Q as MemoryShareCache, S as OwnerDelegationPermission, T as OwnerDelegationReceipt, U as OwnerShareAction, V as OwnerShareDecryption, W as OwnerShareMatcher, X as OwnerSharePolicyRegistration, Y as OwnerSharePolicyRegistrationReceipt, Z as OwnerSharePolicyV2, _ as PortableDelegationImportReceipt, $ as ReceiveOptions, a0 as RegisterOwnerSharePolicyParams, a1 as SHARE_DELIVERY_AUTHORIZATION_DOMAIN, a2 as SenderShareKeyStorage, a3 as SenderShareRecord, a4 as SenderShareRecordStorage, a5 as SenderShareRevocationScope, a6 as SenderShareStore, a7 as ShareAccess, a8 as ShareAccessError, a9 as ShareAccessV2, aa as ShareAction, ab as ShareActionSchema, ac as ShareAddressedDelegationEnvelopeV2, ad as ShareAddressedDelegationEnvelopeV2Schema, ae as ShareAddressedDelegationRequestV2, af as ShareAddressedDelegationRequestV2Schema, ag as ShareAddressedDelegationResponseV2, ah as ShareAddressedDelegationResponseV2Schema, ai as ShareAddressedRecipientMatcher, aj as ShareArtifactInput, ak as ShareArtifactResult, al as ShareArtifactV2, am as ShareCache, an as ShareCacheEntry, ao as ShareCacheKey, ap as ShareCacheMetadata, aq as ShareCapabilityLike, ar as ShareConflict, as as ShareContentMetadata, at as ShareContentSource, au as ShareDeliveryAuthorization, av as ShareDeliveryAuthorizationReceipt, aw as ShareDeliveryAuthorizationRequest, ax as ShareDetachedProof, ay as ShareEnvelopeError, az as ShareEnvelopeV2, aA as ShareExpiryBounds, aB as ShareKvContentSource, aC as ShareLink, aD as ShareLinkData, aE as ShareLinkLocation, aF as ShareListEntry, aG as ShareListResult, aH as ShareNativeAction, aI as ShareNativeInvokeEnvelopeV1, aJ as ShareNativeInvokeErrorResult, aK as ShareNativeInvokeInput, aL as ShareNativeInvokeResult, aM as ShareNativeInvokeSuccessResult, aN as ShareNativeResponse, aO as ShareNativeResponseSchema, aP as SharePolicy, aQ as SharePolicyBinding, aR as SharePolicySession, aS as SharePolicySessionV1, aT as SharePolicySessionWireV1, aU as SharePortableDelegation, aV as ShareReadInvocationV1, aW as ShareReadResult, aX as ShareRecipientClient, aY as ShareRecipientClientOptions, aZ as ShareRecipientClientOptionsSchema, a_ as ShareRecipientPolicy, a$ as ShareRecipientPolicySchema, b0 as ShareRecipientResult, b1 as ShareRecipientTarget, b2 as ShareRecipientTargetSchema, b3 as ShareResource, b4 as ShareResourceSchema, b5 as ShareSaveOptions, b6 as ShareSchema, b7 as ShareSqlContentSource, b8 as ShareWireAction, b9 as SharingService, ba as SharingServiceConfig, bb as SignedDelegation, bc as SpaceInfo, bd as SpaceOwnership, be as ValidateShareDeliveryAuthorizationExpected, bf as VerifyShareEnvelopeOptions, bg as canonicalOwnerSharePolicy, bh as computeOwnerShareRegistrationCid, bi as computeShareCid, bj as createDelegatedShareKey, bk as createPolicyEnforcementDelegation, bl as createShareArtifact, bm as createShareArtifactAsync, bn as createSharePolicy, bo as createSharingService, bp as decryptShareBytesAsync, bq as delegatePortablePolicySession, br as encodeInlineShareUrl, bs as encodeShareArtifact, bt as encodeShareUrl, bu as encryptShareBytes, bv as encryptShareBytesAsync, bw as importPortableDelegation, bx as intersectShareCapabilities, by as isV2ShareLink, bz as normalizeShareActions, bA as normalizeShareRecipientTarget, bB as normalizeShareResource, bC as parsePortableDelegation, bD as parseShareArtifact, bE as parseShareUrl, bF as restoreDelegatedShareKey, bG as serializePortableDelegation, bH as shareCapabilityAllows, bI as shareDeliveryTrustedKid, bJ as signShareEnvelope, bK as validateOwnerSharePolicyRegistration, bL as validateOwnerSharePolicyRegistrationBytes, bM as validateShareDeliveryAuthorizationBytes, bN as verifyShareCid, bO as verifyShareEnvelope } from '../recipient-types.schema-CuDpskPd.cjs';
|
|
3
3
|
export { EncryptedSenderShareHistory, EncryptedShareHistoryStorage, LegacyMigrationResult, LegacyShareReader, MemoryEncryptedShareHistoryStorage, ShareAuthorizationAdapter, ShareAuthorizationDenied, ShareAuthorizationMethod, ShareAuthorizationReady, ShareAuthorizationRequired, ShareAuthorizationResult, ShareDeliveryAdapter, ShareErrorCode, ShareErrorInfo, ShareFetchOptions, ShareHistoryView, ShareInspection, ShareMetadata, ShareNotifyResult, ShareNotifyState, SharePolicyPublishAdapter, ShareReceiveError, ShareReceiveResult, ShareRevocationAdapter, ShareRevocationResult, ShareTarget, TargetPublishAdapter, TargetPublishInput, TargetPublishOutcome, VerifyBearerEnvelopeOptions, authorizationMethodForTarget, authorizeShare, claimShare, inspectShare, isLegacyShareLink, listShares, migrateShare, notifyShare, publishPolicyShare, publishTargetShare, receiveLegacyShare, receiveShare, resumeShareAuthorization, revokeShare, showShare, toShareErrorInfo, verifyBearerEnvelope } from '@tinycloud/share-sdk';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { ServiceSession, InvokeFunction, FetchFunction, IKVService } from '@tinycloud/sdk-services';
|
|
@@ -35,6 +35,7 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
35
35
|
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
kty: string;
|
|
38
|
+
alg?: string | undefined;
|
|
38
39
|
crv?: string | undefined;
|
|
39
40
|
x?: string | undefined;
|
|
40
41
|
y?: string | undefined;
|
|
@@ -42,11 +43,11 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
42
43
|
e?: string | undefined;
|
|
43
44
|
n?: string | undefined;
|
|
44
45
|
kid?: string | undefined;
|
|
45
|
-
alg?: string | undefined;
|
|
46
46
|
use?: string | undefined;
|
|
47
47
|
key_ops?: string[] | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
kty: string;
|
|
50
|
+
alg?: string | undefined;
|
|
50
51
|
crv?: string | undefined;
|
|
51
52
|
x?: string | undefined;
|
|
52
53
|
y?: string | undefined;
|
|
@@ -54,11 +55,11 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
54
55
|
e?: string | undefined;
|
|
55
56
|
n?: string | undefined;
|
|
56
57
|
kid?: string | undefined;
|
|
57
|
-
alg?: string | undefined;
|
|
58
58
|
use?: string | undefined;
|
|
59
59
|
key_ops?: string[] | undefined;
|
|
60
60
|
}>, {
|
|
61
61
|
kty: string;
|
|
62
|
+
alg?: string | undefined;
|
|
62
63
|
crv?: string | undefined;
|
|
63
64
|
x?: string | undefined;
|
|
64
65
|
y?: string | undefined;
|
|
@@ -66,11 +67,11 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
66
67
|
e?: string | undefined;
|
|
67
68
|
n?: string | undefined;
|
|
68
69
|
kid?: string | undefined;
|
|
69
|
-
alg?: string | undefined;
|
|
70
70
|
use?: string | undefined;
|
|
71
71
|
key_ops?: string[] | undefined;
|
|
72
72
|
}, {
|
|
73
73
|
kty: string;
|
|
74
|
+
alg?: string | undefined;
|
|
74
75
|
crv?: string | undefined;
|
|
75
76
|
x?: string | undefined;
|
|
76
77
|
y?: string | undefined;
|
|
@@ -78,7 +79,6 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
78
79
|
e?: string | undefined;
|
|
79
80
|
n?: string | undefined;
|
|
80
81
|
kid?: string | undefined;
|
|
81
|
-
alg?: string | undefined;
|
|
82
82
|
use?: string | undefined;
|
|
83
83
|
key_ops?: string[] | undefined;
|
|
84
84
|
}>;
|
|
@@ -155,6 +155,7 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
155
155
|
};
|
|
156
156
|
key: {
|
|
157
157
|
kty: string;
|
|
158
|
+
alg?: string | undefined;
|
|
158
159
|
crv?: string | undefined;
|
|
159
160
|
x?: string | undefined;
|
|
160
161
|
y?: string | undefined;
|
|
@@ -162,7 +163,6 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
162
163
|
e?: string | undefined;
|
|
163
164
|
n?: string | undefined;
|
|
164
165
|
kid?: string | undefined;
|
|
165
|
-
alg?: string | undefined;
|
|
166
166
|
use?: string | undefined;
|
|
167
167
|
key_ops?: string[] | undefined;
|
|
168
168
|
};
|
|
@@ -189,6 +189,7 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
189
189
|
};
|
|
190
190
|
key: {
|
|
191
191
|
kty: string;
|
|
192
|
+
alg?: string | undefined;
|
|
192
193
|
crv?: string | undefined;
|
|
193
194
|
x?: string | undefined;
|
|
194
195
|
y?: string | undefined;
|
|
@@ -196,7 +197,6 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
196
197
|
e?: string | undefined;
|
|
197
198
|
n?: string | undefined;
|
|
198
199
|
kid?: string | undefined;
|
|
199
|
-
alg?: string | undefined;
|
|
200
200
|
use?: string | undefined;
|
|
201
201
|
key_ops?: string[] | undefined;
|
|
202
202
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as ICapabilityKeyRegistry, D as DelegationManager, R as Result, a as DelegationError } from '../recipient-types.schema-
|
|
2
|
-
export { A as AccountDelegationPage, b as AccountDelegationQueryOptions, c as AccountDelegationRecord, d as AccountDelegationResource, C as CapabilityEntry, e as CreateDelegationParams, f as CreateDelegationWasmParams, g as CreateDelegationWasmResult, h as CreateOwnerDelegationParams, i as DelegateReceivedShareParams, j as DelegatedResource, k as DelegatedShareAccess, l as DelegatedShareKey, m as Delegation, n as DelegationApiResponse, o as DelegationChain, p as DelegationChainV2, q as DelegationDirection, r as DelegationErrorCode, s as DelegationErrorCodes, t as DelegationFilters, u as DelegationManagerConfig, v as DelegationRecord, w as DelegationRevocationReceipt, x as DelegationStatus, E as EncodedShareData, G as GenerateShareParams, y as ISharingService, z as IngestOptions, J as JWK, K as KeyInfo, B as KeyProvider, F as KeyType, M as MAX_CONTENT_BYTES, H as MAX_SEALED_SHARE_CONTENT_BYTES, L as MAX_SHARE_ARTIFACT_BYTES, N as MAX_SHARE_CONTENT_BYTES, O as MemorySenderShareKeyStorage, P as MemorySenderShareRecordStorage, Q as MemoryShareCache, S as OwnerDelegationPermission, T as OwnerDelegationReceipt, U as OwnerShareAction, V as OwnerShareDecryption, W as OwnerShareMatcher, X as OwnerSharePolicyRegistration, Y as OwnerSharePolicyRegistrationReceipt, Z as OwnerSharePolicyV2, _ as
|
|
1
|
+
import { I as ICapabilityKeyRegistry, D as DelegationManager, R as Result, a as DelegationError } from '../recipient-types.schema-CuDpskPd.js';
|
|
2
|
+
export { A as AccountDelegationPage, b as AccountDelegationQueryOptions, c as AccountDelegationRecord, d as AccountDelegationResource, C as CapabilityEntry, e as CreateDelegationParams, f as CreateDelegationWasmParams, g as CreateDelegationWasmResult, h as CreateOwnerDelegationParams, i as DelegateReceivedShareParams, j as DelegatedResource, k as DelegatedShareAccess, l as DelegatedShareKey, m as Delegation, n as DelegationApiResponse, o as DelegationChain, p as DelegationChainV2, q as DelegationDirection, r as DelegationErrorCode, s as DelegationErrorCodes, t as DelegationFilters, u as DelegationManagerConfig, v as DelegationRecord, w as DelegationRevocationReceipt, x as DelegationStatus, E as EncodedShareData, G as GenerateShareParams, y as ISharingService, z as IngestOptions, J as JWK, K as KeyInfo, B as KeyProvider, F as KeyType, M as MAX_CONTENT_BYTES, H as MAX_SEALED_SHARE_CONTENT_BYTES, L as MAX_SHARE_ARTIFACT_BYTES, N as MAX_SHARE_CONTENT_BYTES, O as MemorySenderShareKeyStorage, P as MemorySenderShareRecordStorage, Q as MemoryShareCache, S as OwnerDelegationPermission, T as OwnerDelegationReceipt, U as OwnerShareAction, V as OwnerShareDecryption, W as OwnerShareMatcher, X as OwnerSharePolicyRegistration, Y as OwnerSharePolicyRegistrationReceipt, Z as OwnerSharePolicyV2, _ as PortableDelegationImportReceipt, $ as ReceiveOptions, a0 as RegisterOwnerSharePolicyParams, a1 as SHARE_DELIVERY_AUTHORIZATION_DOMAIN, a2 as SenderShareKeyStorage, a3 as SenderShareRecord, a4 as SenderShareRecordStorage, a5 as SenderShareRevocationScope, a6 as SenderShareStore, a7 as ShareAccess, a8 as ShareAccessError, a9 as ShareAccessV2, aa as ShareAction, ab as ShareActionSchema, ac as ShareAddressedDelegationEnvelopeV2, ad as ShareAddressedDelegationEnvelopeV2Schema, ae as ShareAddressedDelegationRequestV2, af as ShareAddressedDelegationRequestV2Schema, ag as ShareAddressedDelegationResponseV2, ah as ShareAddressedDelegationResponseV2Schema, ai as ShareAddressedRecipientMatcher, aj as ShareArtifactInput, ak as ShareArtifactResult, al as ShareArtifactV2, am as ShareCache, an as ShareCacheEntry, ao as ShareCacheKey, ap as ShareCacheMetadata, aq as ShareCapabilityLike, ar as ShareConflict, as as ShareContentMetadata, at as ShareContentSource, au as ShareDeliveryAuthorization, av as ShareDeliveryAuthorizationReceipt, aw as ShareDeliveryAuthorizationRequest, ax as ShareDetachedProof, ay as ShareEnvelopeError, az as ShareEnvelopeV2, aA as ShareExpiryBounds, aB as ShareKvContentSource, aC as ShareLink, aD as ShareLinkData, aE as ShareLinkLocation, aF as ShareListEntry, aG as ShareListResult, aH as ShareNativeAction, aI as ShareNativeInvokeEnvelopeV1, aJ as ShareNativeInvokeErrorResult, aK as ShareNativeInvokeInput, aL as ShareNativeInvokeResult, aM as ShareNativeInvokeSuccessResult, aN as ShareNativeResponse, aO as ShareNativeResponseSchema, aP as SharePolicy, aQ as SharePolicyBinding, aR as SharePolicySession, aS as SharePolicySessionV1, aT as SharePolicySessionWireV1, aU as SharePortableDelegation, aV as ShareReadInvocationV1, aW as ShareReadResult, aX as ShareRecipientClient, aY as ShareRecipientClientOptions, aZ as ShareRecipientClientOptionsSchema, a_ as ShareRecipientPolicy, a$ as ShareRecipientPolicySchema, b0 as ShareRecipientResult, b1 as ShareRecipientTarget, b2 as ShareRecipientTargetSchema, b3 as ShareResource, b4 as ShareResourceSchema, b5 as ShareSaveOptions, b6 as ShareSchema, b7 as ShareSqlContentSource, b8 as ShareWireAction, b9 as SharingService, ba as SharingServiceConfig, bb as SignedDelegation, bc as SpaceInfo, bd as SpaceOwnership, be as ValidateShareDeliveryAuthorizationExpected, bf as VerifyShareEnvelopeOptions, bg as canonicalOwnerSharePolicy, bh as computeOwnerShareRegistrationCid, bi as computeShareCid, bj as createDelegatedShareKey, bk as createPolicyEnforcementDelegation, bl as createShareArtifact, bm as createShareArtifactAsync, bn as createSharePolicy, bo as createSharingService, bp as decryptShareBytesAsync, bq as delegatePortablePolicySession, br as encodeInlineShareUrl, bs as encodeShareArtifact, bt as encodeShareUrl, bu as encryptShareBytes, bv as encryptShareBytesAsync, bw as importPortableDelegation, bx as intersectShareCapabilities, by as isV2ShareLink, bz as normalizeShareActions, bA as normalizeShareRecipientTarget, bB as normalizeShareResource, bC as parsePortableDelegation, bD as parseShareArtifact, bE as parseShareUrl, bF as restoreDelegatedShareKey, bG as serializePortableDelegation, bH as shareCapabilityAllows, bI as shareDeliveryTrustedKid, bJ as signShareEnvelope, bK as validateOwnerSharePolicyRegistration, bL as validateOwnerSharePolicyRegistrationBytes, bM as validateShareDeliveryAuthorizationBytes, bN as verifyShareCid, bO as verifyShareEnvelope } from '../recipient-types.schema-CuDpskPd.js';
|
|
3
3
|
export { EncryptedSenderShareHistory, EncryptedShareHistoryStorage, LegacyMigrationResult, LegacyShareReader, MemoryEncryptedShareHistoryStorage, ShareAuthorizationAdapter, ShareAuthorizationDenied, ShareAuthorizationMethod, ShareAuthorizationReady, ShareAuthorizationRequired, ShareAuthorizationResult, ShareDeliveryAdapter, ShareErrorCode, ShareErrorInfo, ShareFetchOptions, ShareHistoryView, ShareInspection, ShareMetadata, ShareNotifyResult, ShareNotifyState, SharePolicyPublishAdapter, ShareReceiveError, ShareReceiveResult, ShareRevocationAdapter, ShareRevocationResult, ShareTarget, TargetPublishAdapter, TargetPublishInput, TargetPublishOutcome, VerifyBearerEnvelopeOptions, authorizationMethodForTarget, authorizeShare, claimShare, inspectShare, isLegacyShareLink, listShares, migrateShare, notifyShare, publishPolicyShare, publishTargetShare, receiveLegacyShare, receiveShare, resumeShareAuthorization, revokeShare, showShare, toShareErrorInfo, verifyBearerEnvelope } from '@tinycloud/share-sdk';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { ServiceSession, InvokeFunction, FetchFunction, IKVService } from '@tinycloud/sdk-services';
|
|
@@ -35,6 +35,7 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
35
35
|
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
kty: string;
|
|
38
|
+
alg?: string | undefined;
|
|
38
39
|
crv?: string | undefined;
|
|
39
40
|
x?: string | undefined;
|
|
40
41
|
y?: string | undefined;
|
|
@@ -42,11 +43,11 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
42
43
|
e?: string | undefined;
|
|
43
44
|
n?: string | undefined;
|
|
44
45
|
kid?: string | undefined;
|
|
45
|
-
alg?: string | undefined;
|
|
46
46
|
use?: string | undefined;
|
|
47
47
|
key_ops?: string[] | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
kty: string;
|
|
50
|
+
alg?: string | undefined;
|
|
50
51
|
crv?: string | undefined;
|
|
51
52
|
x?: string | undefined;
|
|
52
53
|
y?: string | undefined;
|
|
@@ -54,11 +55,11 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
54
55
|
e?: string | undefined;
|
|
55
56
|
n?: string | undefined;
|
|
56
57
|
kid?: string | undefined;
|
|
57
|
-
alg?: string | undefined;
|
|
58
58
|
use?: string | undefined;
|
|
59
59
|
key_ops?: string[] | undefined;
|
|
60
60
|
}>, {
|
|
61
61
|
kty: string;
|
|
62
|
+
alg?: string | undefined;
|
|
62
63
|
crv?: string | undefined;
|
|
63
64
|
x?: string | undefined;
|
|
64
65
|
y?: string | undefined;
|
|
@@ -66,11 +67,11 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
66
67
|
e?: string | undefined;
|
|
67
68
|
n?: string | undefined;
|
|
68
69
|
kid?: string | undefined;
|
|
69
|
-
alg?: string | undefined;
|
|
70
70
|
use?: string | undefined;
|
|
71
71
|
key_ops?: string[] | undefined;
|
|
72
72
|
}, {
|
|
73
73
|
kty: string;
|
|
74
|
+
alg?: string | undefined;
|
|
74
75
|
crv?: string | undefined;
|
|
75
76
|
x?: string | undefined;
|
|
76
77
|
y?: string | undefined;
|
|
@@ -78,7 +79,6 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
78
79
|
e?: string | undefined;
|
|
79
80
|
n?: string | undefined;
|
|
80
81
|
kid?: string | undefined;
|
|
81
|
-
alg?: string | undefined;
|
|
82
82
|
use?: string | undefined;
|
|
83
83
|
key_ops?: string[] | undefined;
|
|
84
84
|
}>;
|
|
@@ -155,6 +155,7 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
155
155
|
};
|
|
156
156
|
key: {
|
|
157
157
|
kty: string;
|
|
158
|
+
alg?: string | undefined;
|
|
158
159
|
crv?: string | undefined;
|
|
159
160
|
x?: string | undefined;
|
|
160
161
|
y?: string | undefined;
|
|
@@ -162,7 +163,6 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
162
163
|
e?: string | undefined;
|
|
163
164
|
n?: string | undefined;
|
|
164
165
|
kid?: string | undefined;
|
|
165
|
-
alg?: string | undefined;
|
|
166
166
|
use?: string | undefined;
|
|
167
167
|
key_ops?: string[] | undefined;
|
|
168
168
|
};
|
|
@@ -189,6 +189,7 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
189
189
|
};
|
|
190
190
|
key: {
|
|
191
191
|
kty: string;
|
|
192
|
+
alg?: string | undefined;
|
|
192
193
|
crv?: string | undefined;
|
|
193
194
|
x?: string | undefined;
|
|
194
195
|
y?: string | undefined;
|
|
@@ -196,7 +197,6 @@ declare const EncodedShareDataSchema: z.ZodObject<{
|
|
|
196
197
|
e?: string | undefined;
|
|
197
198
|
n?: string | undefined;
|
|
198
199
|
kid?: string | undefined;
|
|
199
|
-
alg?: string | undefined;
|
|
200
200
|
use?: string | undefined;
|
|
201
201
|
key_ops?: string[] | undefined;
|
|
202
202
|
};
|