How to use the @phenyl/utils.randomStringWithTimeStamp function in @phenyl/utils

To help you get started, we’ve selected a few @phenyl/utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github phenyl / phenyl / modules / redux / src / action-creator.ts View on Github external
follow>(
    entityName: EN,
    entity: ResponseEntityOf,
    versionId: string
  ): FollowActionOf {
    return {
      type: "phenyl/follow",
      payload: {
        entityName,
        entity,
        versionId
      },
      tag: randomStringWithTimeStamp()
    };
  }
github phenyl / phenyl / modules / redux / src / action-creator.ts View on Github external
logout>(
    payload: LogoutCommandOf
  ): LogoutActionOf {
    return {
      type: "phenyl/logout",
      payload,
      tag: randomStringWithTimeStamp()
    };
  }
github phenyl / phenyl / modules / redux / src / phenyl-redux-module.ts View on Github external
static commitAndPush>(
    command: IdUpdateCommand
  ): CommitAndPushAction {
    return {
      type: "phenyl/commitAndPush",
      payload: command,
      tag: randomStringWithTimeStamp()
    };
  }
github phenyl / phenyl / modules / redux / src / phenyl-redux-module.ts View on Github external
static assign(ops: GeneralUpdateOperation[]): AssignAction {
    return {
      type: "phenyl/assign",
      payload: ops,
      tag: randomStringWithTimeStamp()
    };
  }
github phenyl / phenyl / modules / redux / src / phenyl-redux-module.ts View on Github external
static follow>(
    entityName: EN,
    entity: Entity,
    versionId: Id
  ): FollowAction {
    return {
      type: "phenyl/follow",
      payload: {
        entityName,
        entity,
        versionId
      },
      tag: randomStringWithTimeStamp()
    };
  }
github phenyl / phenyl / modules / redux / src / action-creator.ts View on Github external
delete>(
    payload: IdDeleteCommandOf
  ): DeleteActionOf {
    return {
      type: "phenyl/delete",
      payload,
      tag: randomStringWithTimeStamp()
    };
  }
github phenyl / phenyl / modules / redux / src / phenyl-redux-module.ts View on Github external
static useEntities>(
    entityNames: EN[]
  ): UseEntitiesAction {
    return {
      type: "phenyl/useEntities",
      payload: entityNames,
      tag: randomStringWithTimeStamp()
    };
  }
github phenyl / phenyl / modules / redux / src / action-creator.ts View on Github external
pushAndCommit>(
    payload: PushAndCommitActionPayloadOf
  ): PushAndCommitActionOf {
    return {
      type: "phenyl/pushAndCommit",
      payload,
      tag: randomStringWithTimeStamp()
    };
  }
github phenyl / phenyl / modules / redux / src / action-creator.ts View on Github external
followAll>(
    entityName: EN,
    entities: ResponseEntityOf[],
    versionsById: {
      [entityId: string]: string;
    }
  ): FollowAllActionOf {
    return {
      type: "phenyl/followAll",
      payload: {
        entityName,
        entities,
        versionsById
      },
      tag: randomStringWithTimeStamp()
    };
  }
github phenyl / phenyl / modules / redux / src / action-creator.ts View on Github external
repush(): RePushAction {
    return {
      type: "phenyl/repush",
      tag: randomStringWithTimeStamp()
    };
  }