make-mp-data 2.0.1 → 2.0.12

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.
Files changed (44) hide show
  1. package/dungeons/adspend.js +96 -0
  2. package/dungeons/anon.js +104 -0
  3. package/dungeons/big.js +224 -0
  4. package/dungeons/business.js +327 -0
  5. package/dungeons/complex.js +396 -0
  6. package/dungeons/experiments.js +124 -0
  7. package/dungeons/foobar.js +241 -0
  8. package/dungeons/funnels.js +272 -0
  9. package/dungeons/gaming.js +315 -0
  10. package/dungeons/mirror.js +129 -0
  11. package/dungeons/sanity.js +118 -0
  12. package/dungeons/scd.js +205 -0
  13. package/dungeons/simple.js +150 -0
  14. package/dungeons/userAgent.js +190 -0
  15. package/index.js +5 -1
  16. package/package.json +10 -1
  17. package/.claude/settings.local.json +0 -21
  18. package/.gcloudignore +0 -18
  19. package/.gitattributes +0 -2
  20. package/.prettierrc +0 -0
  21. package/.vscode/launch.json +0 -80
  22. package/.vscode/settings.json +0 -69
  23. package/.vscode/tasks.json +0 -12
  24. package/dungeons/customers/.gitkeep +0 -0
  25. package/env.yaml +0 -1
  26. package/scratch.mjs +0 -62
  27. package/scripts/dana.mjs +0 -137
  28. package/scripts/deploy.sh +0 -15
  29. package/scripts/jsdoctest.js +0 -5
  30. package/scripts/new-dungeon.sh +0 -98
  31. package/scripts/new-project.mjs +0 -14
  32. package/scripts/run-index.sh +0 -2
  33. package/scripts/update-deps.sh +0 -5
  34. package/tests/benchmark/concurrency.mjs +0 -52
  35. package/tests/cli.test.js +0 -124
  36. package/tests/coverage/.gitkeep +0 -0
  37. package/tests/e2e.test.js +0 -379
  38. package/tests/int.test.js +0 -715
  39. package/tests/testCases.mjs +0 -229
  40. package/tests/testSoup.mjs +0 -28
  41. package/tests/unit.test.js +0 -910
  42. package/tmp/.gitkeep +0 -0
  43. package/tsconfig.json +0 -18
  44. package/vitest.config.js +0 -47
@@ -0,0 +1,241 @@
1
+ /**
2
+ * This is the default configuration file for the data generator in SIMPLE mode
3
+ * notice how the config object is structured, and see it's type definition in ./types.d.ts
4
+ * feel free to modify this file to customize the data you generate
5
+ * see helper functions in utils.js for more ways to generate data
6
+ */
7
+
8
+
9
+
10
+
11
+ function integer(min = 1, max = 100) {
12
+ // If min equals max, just return the value
13
+ if (min === max) {
14
+ return min;
15
+ }
16
+
17
+ // Swap min and max if min is greater than max
18
+ if (min > max) {
19
+ [min, max] = [max, min];
20
+ }
21
+
22
+ // Generate a random integer between min and max (inclusive)
23
+ return Math.floor(Math.random() * (max - min + 1)) + min;
24
+ }
25
+
26
+
27
+ const dates = [
28
+ "2024-09-18T21:48:28.173Z",
29
+ "2024-12-09T03:17:46.661Z",
30
+ "2024-02-26T07:52:14.943Z",
31
+ "2024-04-22T08:35:17.647Z",
32
+ "2024-11-25T17:03:58.061Z",
33
+ "2024-01-14T21:46:58.982Z",
34
+ "2024-06-20T12:47:25.687Z",
35
+ "2024-08-13T22:18:08.665Z",
36
+ "2024-08-09T07:47:18.321Z",
37
+ "2024-06-21T19:04:43.432Z",
38
+ "2024-03-09T00:18:37.705Z",
39
+ "2024-08-02T09:23:41.699Z",
40
+ "2024-11-26T13:25:08.673Z",
41
+ "2024-05-23T11:51:34.238Z",
42
+ "2024-10-24T20:14:05.106Z",
43
+ "2024-10-01T18:52:32.463Z",
44
+ "2024-10-15T19:22:40.675Z",
45
+ "2024-06-13T21:29:11.962Z",
46
+ "2024-08-29T12:02:48.632Z",
47
+ "2024-12-22T12:11:40.809Z",
48
+ "2024-01-03T03:39:19.446Z",
49
+ "2024-06-28T10:05:43.908Z",
50
+ "2024-12-01T18:49:00.447Z",
51
+ "2024-12-30T05:44:23.418Z",
52
+ "2024-03-14T22:38:40.833Z",
53
+ "2024-12-28T06:45:31.946Z",
54
+ "2024-07-20T21:40:19.498Z",
55
+ "2024-12-26T06:44:41.982Z",
56
+ "2024-10-28T13:45:35.409Z",
57
+ "2024-02-28T00:11:54.916Z",
58
+ "2024-07-08T10:01:57.834Z",
59
+ "2024-02-23T08:00:59.386Z",
60
+ "2024-08-20T05:23:33.024Z",
61
+ "2024-02-10T20:52:46.564Z",
62
+ "2024-08-24T21:32:15.202Z",
63
+ "2024-06-17T03:51:35.142Z",
64
+ "2024-04-09T13:13:45.218Z",
65
+ "2024-07-26T16:31:51.091Z",
66
+ "2024-05-26T04:06:33.013Z",
67
+ "2024-11-05T17:15:37.412Z",
68
+ "2024-10-20T17:01:38.205Z",
69
+ "2024-01-08T05:09:18.692Z",
70
+ "2024-08-24T13:52:14.774Z",
71
+ "2024-06-26T13:47:07.276Z",
72
+ "2024-06-19T15:05:53.246Z",
73
+ "2024-05-01T04:06:52.028Z",
74
+ "2024-05-26T22:45:59.626Z",
75
+ "2024-04-17T20:50:58.460Z",
76
+ "2024-07-28T04:32:04.578Z",
77
+ "2024-01-29T05:31:48.744Z",
78
+ "2024-08-06T18:47:29.190Z",
79
+ "2024-04-03T23:12:20.415Z",
80
+ "2024-09-13T08:47:35.938Z",
81
+ "2024-07-27T15:12:15.145Z",
82
+ "2024-10-24T00:39:21.835Z",
83
+ "2024-10-08T16:50:36.591Z",
84
+ "2024-02-27T15:53:19.204Z",
85
+ "2024-04-21T08:24:05.883Z",
86
+ "2024-03-08T10:07:46.720Z",
87
+ "2024-01-10T08:36:19.554Z",
88
+ "2024-02-17T12:56:00.562Z",
89
+ "2024-10-03T07:54:46.486Z",
90
+ "2024-05-29T10:18:36.289Z",
91
+ "2024-05-06T23:27:07.145Z",
92
+ "2024-05-27T08:41:47.787Z",
93
+ "2024-09-16T12:22:09.573Z",
94
+ "2024-05-03T00:31:06.036Z",
95
+ "2024-11-24T19:38:43.380Z",
96
+ "2024-06-03T04:01:56.328Z",
97
+ "2024-05-04T02:25:25.455Z",
98
+ "2024-12-19T18:35:25.052Z",
99
+ "2024-05-07T21:54:28.113Z",
100
+ "2024-11-24T09:58:08.766Z",
101
+ "2024-03-17T02:46:20.903Z",
102
+ "2024-09-04T09:20:24.930Z",
103
+ "2024-02-04T10:23:33.624Z",
104
+ "2024-01-26T02:42:06.668Z",
105
+ "2024-08-11T02:26:21.969Z",
106
+ "2024-07-11T13:34:51.283Z",
107
+ "2024-12-20T00:09:10.080Z",
108
+ "2024-05-28T00:20:07.079Z",
109
+ "2024-01-13T14:54:03.339Z",
110
+ "2024-08-10T17:18:12.759Z",
111
+ "2024-10-06T15:05:11.437Z",
112
+ "2024-11-18T03:53:12.932Z",
113
+ "2024-02-19T18:06:13.680Z",
114
+ "2024-08-03T11:48:00.207Z",
115
+ "2024-11-22T15:19:47.316Z",
116
+ "2024-06-30T19:56:49.636Z",
117
+ "2024-12-03T00:25:23.926Z",
118
+ "2024-07-30T15:27:18.198Z",
119
+ "2024-09-07T01:40:58.245Z",
120
+ "2024-05-16T05:24:14.727Z",
121
+ "2024-11-14T03:46:49.323Z",
122
+ "2024-02-16T09:18:23.473Z",
123
+ "2024-10-19T14:07:11.462Z",
124
+ "2024-02-09T08:52:04.735Z",
125
+ "2024-06-06T09:41:11.810Z",
126
+ "2024-05-07T23:14:05.114Z",
127
+ "2024-06-03T06:52:21.652Z"
128
+ ];
129
+
130
+ const billionsOfEvents = 2
131
+
132
+ const numEvents = billionsOfEvents * 1_000_000_000;
133
+ const eventPerUser = 1_000;
134
+ const numUsers = Math.floor(numEvents / eventPerUser);
135
+ const seed = Math.random().toString()
136
+
137
+ /** @type {import('../types').Dungeon} */
138
+ const config = {
139
+ token: "",
140
+ seed: seed,
141
+ numDays: 30, //how many days worth of data
142
+ numEvents: numEvents, //how many events
143
+ numUsers: numUsers, //how many users
144
+ format: 'json', //csv or json
145
+ region: "US",
146
+ hasAnonIds: false, //if true, anonymousIds are created for each user
147
+ hasSessionIds: false, //if true, hasSessionIds are created for each user
148
+ batchSize: 2_500_000,
149
+ hasAdSpend: false,
150
+ hasAvatar: false,
151
+ hasBrowser: false,
152
+ hasCampaigns: false,
153
+ hasIOSDevices: false,
154
+ hasLocation: false,
155
+ isAnonymous: true,
156
+ hasAndroidDevices: false,
157
+ hasDesktopDevices: false,
158
+ writeToDisk: false,
159
+ concurrency: 500,
160
+
161
+ events: [
162
+ {
163
+ event: "foo",
164
+ weight: 10,
165
+ properties: {}
166
+ },
167
+ {
168
+ event: "bar",
169
+ weight: 9,
170
+ properties: {}
171
+ },
172
+ {
173
+ event: "baz",
174
+ weight: 8,
175
+ properties: {}
176
+ },
177
+ {
178
+ event: "qux",
179
+ weight: 7,
180
+ properties: {}
181
+ },
182
+ {
183
+ event: "garply",
184
+ weight: 6,
185
+ properties: {}
186
+ },
187
+ {
188
+ event: "durtle",
189
+ weight: 5,
190
+ properties: {}
191
+ },
192
+ {
193
+ event: "linny",
194
+ weight: 4,
195
+ properties: {}
196
+ },
197
+ {
198
+ event: "fonk",
199
+ weight: 3,
200
+ properties: {}
201
+ },
202
+ {
203
+ event: "crumn",
204
+ weight: 2,
205
+ properties: {}
206
+ },
207
+ {
208
+ event: "yak",
209
+ weight: 1,
210
+ properties: {}
211
+ }
212
+ ],
213
+ superProps: {
214
+ string: ["red", "orange", "yellow", "green", "blue", "indigo", "violet"],
215
+ number: integer,
216
+ boolean: [true, false],
217
+ date: dates,
218
+
219
+ },
220
+ userProps: {
221
+ luckyNumber: integer,
222
+ spiritAnimal: ["duck", "dog", "otter", "penguin", "cat", "elephant", "lion", "cheetah", "giraffe", "zebra", "rhino", "hippo", "whale", "dolphin", "shark", "octopus", "squid", "jellyfish", "starfish", "seahorse", "crab", "lobster", "shrimp", "clam", "snail", "slug", "butterfly", "moth", "bee", "wasp", "ant", "beetle", "ladybug", "caterpillar", "centipede", "millipede", "scorpion", "spider", "tarantula", "tick", "mite", "mosquito", "fly", "dragonfly", "damselfly", "grasshopper", "cricket", "locust", "mantis", "cockroach", "termite", "praying mantis", "walking stick", "stick bug", "leaf insect", "lacewing", "aphid", "cicada", "thrips", "psyllid", "scale insect", "whitefly", "mealybug", "planthopper", "leafhopper", "treehopper", "flea", "louse", "bedbug", "flea beetle", "weevil", "longhorn beetle", "leaf beetle", "tiger beetle", "ground beetle", "lady beetle", "firefly", "click beetle", "rove beetle", "scarab beetle", "dung beetle", "stag beetle", "rhinoceros beetle", "hercules beetle", "goliath beetle", "jewel beetle", "tortoise beetle"],
223
+ created: dates,
224
+ },
225
+
226
+ scdProps: {},
227
+ mirrorProps: {},
228
+ lookupTables: [],
229
+ groupKeys: [
230
+ ],
231
+ groupProps: {
232
+ },
233
+
234
+ hook: function (record, type, meta) {
235
+ return record;
236
+ }
237
+ };
238
+
239
+
240
+
241
+ export default config;
@@ -0,0 +1,272 @@
1
+ /**
2
+ * This is the default configuration file for the data generator in SIMPLE mode
3
+ * notice how the config object is structured, and see it's type definition in ./types.d.ts
4
+ * feel free to modify this file to customize the data you generate
5
+ * see helper functions in utils.js for more ways to generate data
6
+ */
7
+
8
+
9
+
10
+
11
+ import Chance from 'chance';
12
+ const chance = new Chance();
13
+ import dayjs from "dayjs";
14
+ import utc from "dayjs/plugin/utc.js";
15
+ dayjs.extend(utc);
16
+ import { uid, comma } from 'ak-tools';
17
+ import { pickAWinner, weighNumRange, date, integer } from '../lib/utils/utils.js';
18
+
19
+ const itemCategories = ["Books", "Movies", "Music", "Games", "Electronics", "Computers", "Smart Home", "Home", "Garden", "Pet", "Beauty", "Health", "Toys", "Kids", "Baby", "Handmade", "Sports", "Outdoors", "Automotive", "Industrial", "Entertainment", "Art", "Food", "Appliances", "Office", "Wedding", "Software"];
20
+
21
+ const videoCategories = ["funny", "educational", "inspirational", "music", "news", "sports", "cooking", "DIY", "travel", "gaming"];
22
+
23
+ /** @type {import('../types').Dungeon} */
24
+ const config = {
25
+ token: "",
26
+ seed: "simple is best",
27
+ numDays: 30, //how many days worth of data
28
+ numEvents: 50000, //how many events
29
+ numUsers: 500, //how many users
30
+ format: 'csv', //csv or json
31
+ region: "US",
32
+ hasAnonIds: false, //if true, anonymousIds are created for each user
33
+ hasSessionIds: false, //if true, hasSessionIds are created for each user
34
+
35
+ events: [
36
+ {
37
+ event: "checkout",
38
+ weight: 2,
39
+ properties: {
40
+ amount: weighNumRange(5, 500, .25),
41
+ currency: ["USD", "CAD", "EUR", "BTC", "ETH", "JPY"],
42
+ coupon: ["none", "none", "none", "none", "10%OFF", "20%OFF", "10%OFF", "20%OFF", "30%OFF", "40%OFF", "50%OFF"],
43
+ numItems: weighNumRange(1, 10),
44
+
45
+ }
46
+ },
47
+ {
48
+ event: "add to cart",
49
+ weight: 4,
50
+ properties: {
51
+ amount: weighNumRange(5, 500, .25),
52
+ rating: weighNumRange(1, 5),
53
+ reviews: weighNumRange(0, 35),
54
+ isFeaturedItem: [true, false, false],
55
+ itemCategory: pickAWinner(itemCategories, integer(0, 27)),
56
+ dateItemListed: date(30, true, 'YYYY-MM-DD'),
57
+ itemId: integer(1000, 9999),
58
+ }
59
+ },
60
+ {
61
+ event: "page view",
62
+ weight: 10,
63
+ properties: {
64
+ page: ["/", "/", "/help", "/account", "/watch", "/listen", "/product", "/people", "/peace"],
65
+ utm_source: ["$organic", "$organic", "$organic", "$organic", "google", "google", "google", "facebook", "facebook", "twitter", "linkedin"],
66
+ }
67
+ },
68
+ {
69
+ event: "watch video",
70
+ weight: 8,
71
+ properties: {
72
+ videoCategory: pickAWinner(videoCategories, integer(0, 9)),
73
+ isFeaturedItem: [true, false, false],
74
+ watchTimeSec: weighNumRange(10, 600, .25),
75
+ quality: ["2160p", "1440p", "1080p", "720p", "480p", "360p", "240p"],
76
+ format: ["mp4", "avi", "mov", "mpg"],
77
+ uploader_id: chance.guid.bind(chance)
78
+
79
+ }
80
+ },
81
+ {
82
+ event: "view item",
83
+ weight: 8,
84
+ properties: {
85
+ isFeaturedItem: [true, false, false],
86
+ itemCategory: pickAWinner(itemCategories, integer(0, 27)),
87
+ dateItemListed: date(30, true, 'YYYY-MM-DD'),
88
+ itemId: integer(1000, 9999),
89
+ }
90
+ },
91
+ {
92
+ event: "save item",
93
+ weight: 5,
94
+ properties: {
95
+ isFeaturedItem: [true, false, false],
96
+ itemCategory: pickAWinner(itemCategories, integer(0, 27)),
97
+ dateItemListed: date(30, true, 'YYYY-MM-DD'),
98
+ itemId: integer(1000, 9999),
99
+ }
100
+ },
101
+ {
102
+ event: "sign up",
103
+ isFirstEvent: true,
104
+ weight: 0,
105
+ properties: {
106
+ CTA: ["sign up", "register", "join", "create account"]
107
+ }
108
+ }
109
+ ],
110
+ funnels: [
111
+ // {
112
+ // sequence: ["page view", "view item", "page view", "sign up"],
113
+ // weight: 1,
114
+ // isFirstFunnel: true,
115
+ // order: "sequential",
116
+ // conversionRate: 50,
117
+ // timeToConvert: 2,
118
+ // props: {
119
+ // variants: ["A", "B", "C", "Control"],
120
+ // flows: ["new", "existing", "loyal", "churned"],
121
+ // flags: ["on", "off"],
122
+ // experiment_ids: ["1234", "5678", "9012", "3456", "7890"],
123
+ // multiVariate: [true, false]
124
+
125
+ // },
126
+
127
+ // },
128
+ // {
129
+ // sequence: ["app install", "app open", "tutorial", "sign up"],
130
+ // weight: 1,
131
+ // isFirstFunnel: true,
132
+ // order: "sequential",
133
+ // conversionRate: 50,
134
+ // timeToConvert: 2,
135
+ // props: {
136
+ // variants: ["A", "B", "C", "Control"],
137
+ // flows: ["new", "existing", "loyal", "churned"],
138
+ // flags: ["on", "off"],
139
+ // experiment_ids: ["1234", "5678", "9012", "3456", "7890"],
140
+ // multiVariate: [true, false]
141
+
142
+ // }
143
+ // },
144
+ // {
145
+ // sequence: ["view item", "add to cart", "checkout", "rage", "cage", "mage"],
146
+ // order: "interrupted"
147
+ // },
148
+ // {
149
+ // sequence: ["page view", "view item", "add to cart", "add to cart", "checkout"],
150
+ // weight: 3,
151
+ // isFirstFunnel: false,
152
+ // order: "sequential",
153
+ // conversionRate: 70,
154
+ // timeToConvert: 7 * 24,
155
+ // props: {
156
+ // variants: ["A", "B", "C", "Control"],
157
+ // flows: ["new", "existing", "loyal", "churned"],
158
+ // flags: ["on", "off"],
159
+ // experiment_ids: ["1234", "5678", "9012", "3456", "7890"],
160
+ // multiVariate: [true, false]
161
+
162
+ // }
163
+ // },
164
+ // {
165
+ // timeToConvert: 2,
166
+ // conversionRate: 66,
167
+ // sequence: ["foo", "bar", "baz", "qux"],
168
+ // }, {
169
+ // weight: 4,
170
+ // sequence: ["video", "video", "attack", "defend", "click"],
171
+ // }
172
+ ],
173
+ superProps: {
174
+ platform: ["web", "mobile", "web", "mobile", "web", "web", "kiosk", "smartTV"],
175
+ currentTheme: ["light", "dark", "custom", "light", "dark"],
176
+ // emotions: generateEmoji(),
177
+
178
+ },
179
+ /*
180
+ user properties work the same as event properties
181
+ each key should be an array or function reference
182
+ */
183
+ userProps: {
184
+ title: chance.profession.bind(chance),
185
+ luckyNumber: weighNumRange(42, 420),
186
+ spiritAnimal: ["duck", "dog", "otter", "penguin", "cat", "elephant", "lion", "cheetah", "giraffe", "zebra", "rhino", "hippo", "whale", "dolphin", "shark", "octopus", "squid", "jellyfish", "starfish", "seahorse", "crab", "lobster", "shrimp", "clam", "snail", "slug", "butterfly", "moth", "bee", "wasp", "ant", "beetle", "ladybug", "caterpillar", "centipede", "millipede", "scorpion", "spider", "tarantula", "tick", "mite", "mosquito", "fly", "dragonfly", "damselfly", "grasshopper", "cricket", "locust", "mantis", "cockroach", "termite", "praying mantis", "walking stick", "stick bug", "leaf insect", "lacewing", "aphid", "cicada", "thrips", "psyllid", "scale insect", "whitefly", "mealybug", "planthopper", "leafhopper", "treehopper", "flea", "louse", "bedbug", "flea beetle", "weevil", "longhorn beetle", "leaf beetle", "tiger beetle", "ground beetle", "lady beetle", "firefly", "click beetle", "rove beetle", "scarab beetle", "dung beetle", "stag beetle", "rhinoceros beetle", "hercules beetle", "goliath beetle", "jewel beetle", "tortoise beetle"]
187
+ },
188
+
189
+ scdProps: {
190
+ role: {
191
+ type: "user",
192
+ frequency: "week",
193
+ values: ["admin", "collaborator", "user", "view only", "no access"],
194
+ timing: 'fuzzy',
195
+ max: 10
196
+ },
197
+ NPS: {
198
+ type: "user",
199
+ frequency: "day",
200
+ values: weighNumRange(1, 10, 2, 150),
201
+ timing: 'fuzzy',
202
+ max: 10
203
+ },
204
+ MRR: {
205
+ type: "company_id",
206
+ frequency: "month",
207
+ values: weighNumRange(0, 10000, .15),
208
+ timing: 'fixed',
209
+ max: 10
210
+ },
211
+ AccountHealthScore: {
212
+ type: "company_id",
213
+ frequency: "week",
214
+ values: weighNumRange(1, 10, .15),
215
+ timing: 'fixed',
216
+ max: 40
217
+ },
218
+ plan: {
219
+ type: "company_id",
220
+ frequency: "month",
221
+ values: ["free", "basic", "premium", "enterprise"],
222
+ timing: 'fixed',
223
+ max: 10
224
+ }
225
+ },
226
+ mirrorProps: {
227
+ isBot: { events: "*", values: [false, false, false, false, true] },
228
+ profit: { events: ["checkout"], values: [4, 2, 42] },
229
+ watchTimeSec: {
230
+ events: ["watch video"],
231
+ values: weighNumRange(50, 1200, 6)
232
+ }
233
+
234
+ },
235
+
236
+ /*
237
+ for group analytics keys, we need an array of arrays [[],[],[]]
238
+ each pair represents a group_key and the number of profiles for that key
239
+ */
240
+ groupKeys: [
241
+ ["company_id", 5000],
242
+ ["team_id", 500],
243
+ ["department_id", 50]
244
+ ],
245
+ groupProps: {
246
+ company_id: {
247
+ name: () => { return chance.company(); },
248
+ email: () => { return `CSM: ${chance.pickone(["AK", "Jessica", "Michelle", "Dana", "Brian", "Dave"])}`; },
249
+ industry: pickAWinner(["tech", "finance", "healthcare", "education", "government", "non-profit"]),
250
+ segment: ["enterprise", "SMB", "mid-market"],
251
+ "# active users": chance.integer({ min: 2, max: 20 })
252
+ },
253
+ team_id: {
254
+ name: () => { return `Team ${chance.word({ capitalize: true })}`; },
255
+ department: pickAWinner(["Engineering", "Sales", "Marketing", "Support", "HR"]),
256
+ size: integer(3, 50)
257
+ },
258
+ department_id: {
259
+ name: () => { return `${chance.pickone(["Engineering", "Sales", "Marketing", "Support", "HR"])} Department`; },
260
+ budget: weighNumRange(10000, 1000000),
261
+ headcount: integer(5, 200)
262
+ }
263
+ },
264
+ lookupTables: [],
265
+ hook: function (record, type, meta) {
266
+ return record;
267
+ }
268
+ };
269
+
270
+
271
+
272
+ export default config;