Skip to content

Commit

Permalink
cleanup commented code.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjholm committed May 1, 2023
1 parent 2be86a1 commit ae7c395
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// export interface NitricEvent<
// T extends Record<string, any> = Record<string, any>
// > {
// /**
// * Uniquely identifies the event.
// *
// * Within your app you must ensure the ID is unique.
// * Subscribers can assume events with the same ID are duplicates and avoid reprocessing them
// */
// id?: string;
// /**
// * An optional description of the event type.
// *
// * Can be useful for de-serialization, routing or observability. The format of this value is determined by the producer.
// */
// payloadType?: string;
// /**
// * The event's payload data, with details of the event.
// */
// payload: T;
// }

export class NitricEvent<T extends Record<string, any> = Record<string, any>> {
public readonly payload: T;
Expand Down Expand Up @@ -65,31 +44,6 @@ export class NitricTask<T extends Record<string, any> = Record<string, any>> {
}
}

// export interface Task<T extends Record<string, any> = Record<string, any>> {
// /**
// * Uniquely identifies the task.
// *
// * Within your app you must ensure the ID is unique.
// */
// id?: string;
// /**
// * The ID for the current lease of this task.
// *
// * A task may be leased multiple times, resulting in new lease IDs.
// */
// leaseId?: string;
// /**
// * An optional description of the task type.
// *
// * Can be useful for de-serialization, routing or observability. The format of this value is determined by the producer.
// */
// payloadType?: string;
// /**
// * The task's payload data, with details of the task or work to be done.
// */
// payload?: Record<string, any>;
// }

export type WhereQueryOperator =
| '<'
| '<='
Expand Down

0 comments on commit ae7c395

Please sign in to comment.