Skip to content

Commit ae7c395

Browse files
committed
cleanup commented code.
1 parent 2be86a1 commit ae7c395

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

src/types.ts

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,6 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14-
// export interface NitricEvent<
15-
// T extends Record<string, any> = Record<string, any>
16-
// > {
17-
// /**
18-
// * Uniquely identifies the event.
19-
// *
20-
// * Within your app you must ensure the ID is unique.
21-
// * Subscribers can assume events with the same ID are duplicates and avoid reprocessing them
22-
// */
23-
// id?: string;
24-
// /**
25-
// * An optional description of the event type.
26-
// *
27-
// * Can be useful for de-serialization, routing or observability. The format of this value is determined by the producer.
28-
// */
29-
// payloadType?: string;
30-
// /**
31-
// * The event's payload data, with details of the event.
32-
// */
33-
// payload: T;
34-
// }
3514

3615
export class NitricEvent<T extends Record<string, any> = Record<string, any>> {
3716
public readonly payload: T;
@@ -65,31 +44,6 @@ export class NitricTask<T extends Record<string, any> = Record<string, any>> {
6544
}
6645
}
6746

68-
// export interface Task<T extends Record<string, any> = Record<string, any>> {
69-
// /**
70-
// * Uniquely identifies the task.
71-
// *
72-
// * Within your app you must ensure the ID is unique.
73-
// */
74-
// id?: string;
75-
// /**
76-
// * The ID for the current lease of this task.
77-
// *
78-
// * A task may be leased multiple times, resulting in new lease IDs.
79-
// */
80-
// leaseId?: string;
81-
// /**
82-
// * An optional description of the task type.
83-
// *
84-
// * Can be useful for de-serialization, routing or observability. The format of this value is determined by the producer.
85-
// */
86-
// payloadType?: string;
87-
// /**
88-
// * The task's payload data, with details of the task or work to be done.
89-
// */
90-
// payload?: Record<string, any>;
91-
// }
92-
9347
export type WhereQueryOperator =
9448
| '<'
9549
| '<='

0 commit comments

Comments
 (0)