File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -246,26 +246,6 @@ export {
246246 runBasicExamples ,
247247} ;
248248
249- // Helper functions for creating common objects
250- export function createUserSubject ( id : string , properties ?: Record < string , any > ) : Subject {
251- return { type : 'user' , id, ...( properties && { properties } ) } ;
252- }
253-
254- export function createDocumentResource ( id : string , properties ?: Record < string , any > ) : Resource {
255- return { type : 'document' , id, ...( properties && { properties } ) } ;
256- }
257-
258- export function createAction ( name : string , properties ?: Record < string , any > ) : Action {
259- return { name, ...( properties && { properties } ) } ;
260- }
261-
262- export function createContextWithTimestamp ( additionalContext ?: Record < string , any > ) : Context {
263- return {
264- time : new Date ( ) . toISOString ( ) ,
265- ...additionalContext ,
266- } ;
267- }
268-
269249// Run examples if this file is executed directly
270250if ( require . main === module ) {
271251 runBasicExamples ( ) . catch ( console . error ) ;
You can’t perform that action at this time.
0 commit comments