go-mokapi 0.9.0 → 0.9.1

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.
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "go-mokapi",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Easy and flexible API mocking",
5
5
  "homepage": "https://mokapi.io",
6
6
  "repository": {
package/types/mokapi.d.ts CHANGED
@@ -100,10 +100,12 @@ declare interface Url {
100
100
  }
101
101
 
102
102
  declare interface DateArgs {
103
- layout?: string
103
+ layout?: DateLayout
104
104
  timestamp?: number
105
105
  }
106
106
 
107
+ declare type DateLayout = 'DateTime' | 'DateOnly' | 'TimeOnly' | 'UnixDate' | 'RFC882' | 'RFC822Z' | 'RFC850' | 'RFC1123' | 'RFC1123Z' | 'RFC3339' | 'RFC3339Nano'
108
+
107
109
  declare interface EventArgs {
108
110
  /**
109
111
  * Adds or overrides existing tags used in dashboard