@twin.org/immutable-proof-models 0.0.1-next.12 → 0.0.1-next.14
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/cjs/index.cjs +14 -0
- package/dist/esm/index.mjs +14 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/models/eventBus/IImmutableProofEventBusProofCreated.d.ts +9 -0
- package/dist/types/models/immutableProofTopics.d.ts +13 -0
- package/docs/changelog.md +1 -1
- package/docs/reference/index.md +3 -0
- package/docs/reference/interfaces/IImmutableProofEventBusProofCreated.md +11 -0
- package/docs/reference/type-aliases/ImmutableProofTopics.md +5 -0
- package/docs/reference/variables/ImmutableProofTopics.md +13 -0
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -141,6 +141,20 @@ const ImmutableProofFailure = {
|
|
|
141
141
|
SignatureMismatch: "signatureMismatch"
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
+
// Copyright 2024 IOTA Stiftung.
|
|
145
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
146
|
+
/**
|
|
147
|
+
* The topics for immutable proof event bus notifications.
|
|
148
|
+
*/
|
|
149
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
150
|
+
const ImmutableProofTopics = {
|
|
151
|
+
/**
|
|
152
|
+
* A proof was created.
|
|
153
|
+
*/
|
|
154
|
+
ProofCreated: "immutable-proof:proof-created"
|
|
155
|
+
};
|
|
156
|
+
|
|
144
157
|
exports.ImmutableProofDataTypes = ImmutableProofDataTypes;
|
|
145
158
|
exports.ImmutableProofFailure = ImmutableProofFailure;
|
|
159
|
+
exports.ImmutableProofTopics = ImmutableProofTopics;
|
|
146
160
|
exports.ImmutableProofTypes = ImmutableProofTypes;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -139,4 +139,17 @@ const ImmutableProofFailure = {
|
|
|
139
139
|
SignatureMismatch: "signatureMismatch"
|
|
140
140
|
};
|
|
141
141
|
|
|
142
|
-
|
|
142
|
+
// Copyright 2024 IOTA Stiftung.
|
|
143
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
144
|
+
/**
|
|
145
|
+
* The topics for immutable proof event bus notifications.
|
|
146
|
+
*/
|
|
147
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
148
|
+
const ImmutableProofTopics = {
|
|
149
|
+
/**
|
|
150
|
+
* A proof was created.
|
|
151
|
+
*/
|
|
152
|
+
ProofCreated: "immutable-proof:proof-created"
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
export { ImmutableProofDataTypes, ImmutableProofFailure, ImmutableProofTopics, ImmutableProofTypes };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,8 +4,10 @@ export * from "./models/api/IImmutableProofGetRequest";
|
|
|
4
4
|
export * from "./models/api/IImmutableProofGetResponse";
|
|
5
5
|
export * from "./models/api/IImmutableProofVerifyRequest";
|
|
6
6
|
export * from "./models/api/IImmutableProofVerifyResponse";
|
|
7
|
+
export * from "./models/eventBus/IImmutableProofEventBusProofCreated";
|
|
7
8
|
export * from "./models/IImmutableProof";
|
|
8
|
-
export * from "./models/IImmutableProofVerification";
|
|
9
9
|
export * from "./models/IImmutableProofComponent";
|
|
10
|
+
export * from "./models/IImmutableProofVerification";
|
|
10
11
|
export * from "./models/immutableProofFailure";
|
|
12
|
+
export * from "./models/immutableProofTopics";
|
|
11
13
|
export * from "./models/immutableProofTypes";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The topics for immutable proof event bus notifications.
|
|
3
|
+
*/
|
|
4
|
+
export declare const ImmutableProofTopics: {
|
|
5
|
+
/**
|
|
6
|
+
* A proof was created.
|
|
7
|
+
*/
|
|
8
|
+
readonly ProofCreated: "immutable-proof:proof-created";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* The topics for immutable proof event bus notifications.
|
|
12
|
+
*/
|
|
13
|
+
export type ImmutableProofTopics = (typeof ImmutableProofTopics)[keyof typeof ImmutableProofTopics];
|
package/docs/changelog.md
CHANGED
package/docs/reference/index.md
CHANGED
|
@@ -14,13 +14,16 @@
|
|
|
14
14
|
- [IImmutableProofGetResponse](interfaces/IImmutableProofGetResponse.md)
|
|
15
15
|
- [IImmutableProofVerifyRequest](interfaces/IImmutableProofVerifyRequest.md)
|
|
16
16
|
- [IImmutableProofVerifyResponse](interfaces/IImmutableProofVerifyResponse.md)
|
|
17
|
+
- [IImmutableProofEventBusProofCreated](interfaces/IImmutableProofEventBusProofCreated.md)
|
|
17
18
|
|
|
18
19
|
## Type Aliases
|
|
19
20
|
|
|
20
21
|
- [ImmutableProofFailure](type-aliases/ImmutableProofFailure.md)
|
|
22
|
+
- [ImmutableProofTopics](type-aliases/ImmutableProofTopics.md)
|
|
21
23
|
- [ImmutableProofTypes](type-aliases/ImmutableProofTypes.md)
|
|
22
24
|
|
|
23
25
|
## Variables
|
|
24
26
|
|
|
25
27
|
- [ImmutableProofFailure](variables/ImmutableProofFailure.md)
|
|
28
|
+
- [ImmutableProofTopics](variables/ImmutableProofTopics.md)
|
|
26
29
|
- [ImmutableProofTypes](variables/ImmutableProofTypes.md)
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Type Alias: ImmutableProofTopics
|
|
2
|
+
|
|
3
|
+
> **ImmutableProofTopics**: *typeof* [`ImmutableProofTopics`](../variables/ImmutableProofTopics.md)\[keyof *typeof* [`ImmutableProofTopics`](../variables/ImmutableProofTopics.md)\]
|
|
4
|
+
|
|
5
|
+
The topics for immutable proof event bus notifications.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Variable: ImmutableProofTopics
|
|
2
|
+
|
|
3
|
+
> `const` **ImmutableProofTopics**: `object`
|
|
4
|
+
|
|
5
|
+
The topics for immutable proof event bus notifications.
|
|
6
|
+
|
|
7
|
+
## Type declaration
|
|
8
|
+
|
|
9
|
+
### ProofCreated
|
|
10
|
+
|
|
11
|
+
> `readonly` **ProofCreated**: `"immutable-proof:proof-created"` = `"immutable-proof:proof-created"`
|
|
12
|
+
|
|
13
|
+
A proof was created.
|
package/package.json
CHANGED