mawsitsit 0.1.7

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.
data/Cargo.toml ADDED
@@ -0,0 +1,7 @@
1
+ # This Cargo.toml is here to let externals tools (IDEs, etc.) know that this is
2
+ # a Rust project. Your extensions dependencies should be added to the Cargo.toml
3
+ # in the ext/ directory.
4
+
5
+ [workspace]
6
+ members = ["./ext/mawsitsit"]
7
+ resolver = "2"
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # Mawsitsit
2
+
3
+ TODO: Delete this and the text below, and describe your gem
4
+
5
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/mawsitsit`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
+
11
+ Install the gem and add to the application's Gemfile by executing:
12
+
13
+ $ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
14
+
15
+ If bundler is not being used to manage dependencies, install the gem by executing:
16
+
17
+ $ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Development
24
+
25
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
+
27
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
+
29
+ ## Contributing
30
+
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mawsitsit.
data/Rakefile ADDED
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "standard/rake"
9
+
10
+ require "rb_sys/extensiontask"
11
+
12
+ task build: :compile
13
+
14
+ GEMSPEC = Gem::Specification.load("mawsitsit.gemspec")
15
+
16
+ RbSys::ExtensionTask.new("mawsitsit", GEMSPEC) do |ext|
17
+ ext.lib_dir = "lib/mawsitsit"
18
+ end
19
+
20
+ task :clean_rust do
21
+ `cargo clean`
22
+ `rm -f ./lib/mawsitsit/mawsitsit.so`
23
+ end
24
+
25
+ task :build_gem do
26
+ `gem build mawsitsit.gemspec`
27
+ end
28
+
29
+ task clean: %i[clean_rust clobber]
30
+
31
+ task test: :spec
32
+
33
+ task default: %i[compile spec standard build_gem]
34
+
35
+ task run: [:compile, :test] do
36
+ end
@@ -0,0 +1,25 @@
1
+ [package]
2
+ name = "mawsitsit"
3
+ version = "0.1.0"
4
+ edition = "2021"
5
+ authors = ["Jan Hummel <jan.hummel@de.embloy.com>"]
6
+ publish = false
7
+
8
+ [lib]
9
+ crate-type = ["cdylib"]
10
+
11
+ [dependencies]
12
+ magnus = { version = "0.6.2" }
13
+ serde_magnus = "0.8.1"
14
+ tokio = { version = "1.38.0", features = ["full"] }
15
+ serde = { version = "1.0", features = ["derive"] }
16
+ serde_json = "1.0.73"
17
+ serde_derive = "1.0.130"
18
+ reqwest = { version = "0.12.4", features = ["json"] }
19
+ exitfailure = "0.5.1"
20
+ base64 = "0.22.1"
21
+ futures = "0.3.30"
22
+ async-recursion = "1.1.1"
23
+ thiserror = "1.0.61"
24
+
25
+
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "mkmf"
4
+ require "rb_sys/mkmf"
5
+
6
+ create_rust_makefile("mawsitsit/mawsitsit")
@@ -0,0 +1,39 @@
1
+ use magnus::{function, prelude::*, Error, Ruby};
2
+ pub mod parser;
3
+ use crate::parser::parser::JsonToJson;
4
+ use serde_magnus::deserialize;
5
+ use magnus::{Value as RubyValue, RHash};
6
+
7
+
8
+ fn hello(subject: String) -> String {
9
+ format!("Hello from Rust, {subject}!")
10
+ }
11
+
12
+ #[tokio::main]
13
+ async fn parse(args: &[RubyValue]) -> Result<RubyValue, magnus::Error> {
14
+ let origin = args[0].try_convert::<RHash>()?;
15
+ let destination = args[1].try_convert::<RHash>()?;
16
+ let no_null = if args.len() >= 3 {
17
+ Some(args[2].try_convert::<bool>()?)
18
+ } else {
19
+ None
20
+ };
21
+ let origin = deserialize(origin).unwrap();
22
+ let destination = deserialize(destination).unwrap();
23
+ let mut parser = JsonToJson::new(origin, destination);
24
+ if let Some(no_null) = no_null {
25
+ parser.no_null = no_null;
26
+ }
27
+
28
+ parser.call().await;
29
+ Ok(parser.destination.to_ruby())
30
+ }
31
+
32
+
33
+ #[magnus::init]
34
+ fn init(ruby: &Ruby) -> Result<(), Error> {
35
+ let module = ruby.define_module("Mawsitsit")?;
36
+ module.define_singleton_method("hello", function!(hello, 1))?;
37
+ module.define_singleton_method("parse", function!(parse, -1))?;
38
+ Ok(())
39
+ }
@@ -0,0 +1,108 @@
1
+ use crate::parser::utils::{application_option::ApplicationOption, helpers::{fetch, str_vec}};
2
+ use magnus::Exception;
3
+ use serde_json::{Map, Value};
4
+ use std::collections::HashMap;
5
+ use serde_json::Value::Null;
6
+ use crate::parser::parser::JsonValue;
7
+
8
+ use super::utils::application_option::parse_ashby_type;
9
+ pub fn like_enum(args: &str, enm: &str) -> Value {
10
+ let enm_list = str_vec(enm, ",");
11
+ let mut enm_map: Map<String, Value> = serde_json::Map::new();
12
+ for enm_a in enm_list {
13
+ let enm_args = enm_a.split(':').collect::<Vec<&str>>();
14
+ enm_map.insert(enm_args[0].to_string(), serde_json::Value::String(enm_args[1].to_string()));
15
+ }
16
+ return enm_map.get(args).unwrap().clone();
17
+ }
18
+
19
+ pub async fn like_fetch(args: &str, ftch: &str) -> Value {
20
+ let ftch_list = str_vec(ftch, ",");
21
+ let new_args = args.split('\"').collect::<Vec<&str>>().join("");
22
+ let mut input : HashMap<&str,&str> = HashMap::new();
23
+ input.insert(ftch_list[4], new_args.as_str());
24
+ let result = fetch(ftch_list[0], ftch_list[1], ftch_list[3], input).await;
25
+ let result_value = JsonValue::new(result.unwrap());
26
+ return result_value.get_by_path(ftch_list[5]).expect("Not found").clone();
27
+ }
28
+
29
+ pub fn like_lambda(_args: &str, _enm: &str) -> Value {
30
+ return Null;
31
+ }
32
+
33
+ pub fn like_ashby(_args: &Value) -> Value {
34
+ let mut new_appl: Vec<serde_json::Value> = Vec::new();
35
+ match _args {
36
+ Value::Array(arr) => {
37
+ for value in arr.iter() {
38
+ match value {
39
+ Value::Object(map) => {
40
+ match map.get("fields").unwrap() {
41
+ Value::Array(arr) => {
42
+ for value in arr.iter() {
43
+ if let Value::Object(map) = value {
44
+ let question = map.get("field")
45
+ .unwrap().get("title")
46
+ .and_then(Value::as_str)
47
+ .unwrap_or("Unknown question");
48
+
49
+ let question_type = map.get("field")
50
+ .unwrap().get("type")
51
+ .and_then(Value::as_str)
52
+ .unwrap_or("Unknown question");
53
+
54
+ let ext_id = map.get("field")
55
+ .unwrap().get("path")
56
+ .and_then(Value::as_str)
57
+ .unwrap_or("Unknown question");
58
+
59
+ let required = map.get("isRequired")
60
+ .and_then(Value::as_bool)
61
+ .unwrap_or(false);
62
+
63
+ let app_option = ApplicationOption::new(
64
+ question.to_string(),
65
+ parse_ashby_type(question_type).unwrap(),
66
+ Some(ext_id.to_string()),
67
+ None,
68
+ required,
69
+ );
70
+
71
+ new_appl.push(app_option.to_json());
72
+
73
+
74
+
75
+ }
76
+
77
+ }
78
+
79
+
80
+
81
+ }
82
+ _ => {
83
+ println!("The provided Value is no Array.");
84
+ }
85
+ }
86
+
87
+
88
+
89
+
90
+
91
+
92
+ }
93
+ _ => {
94
+ println!("The provided Value is neither no Object.");
95
+ }
96
+ }
97
+
98
+
99
+ }
100
+ }
101
+ _ => {
102
+ println!("The provided Value is no Array.");
103
+ }
104
+
105
+ }
106
+
107
+ return serde_json::Value::Array(new_appl);
108
+ }
@@ -0,0 +1,3 @@
1
+ pub mod parser;
2
+ pub mod utils;
3
+ pub mod manipulators;
@@ -0,0 +1,146 @@
1
+ use serde_json::Value;
2
+ use async_recursion::async_recursion;
3
+ use serde::{Serialize, Deserialize};
4
+ use serde_magnus::serialize;
5
+ use magnus::Value as RubyValue;
6
+ use crate::parser::manipulators::{like_enum, like_fetch, like_lambda, like_ashby};
7
+
8
+
9
+ #[derive(Serialize, Deserialize, PartialEq, Debug)]
10
+ pub struct JsonValue {
11
+ pub value: serde_json::Value,
12
+ }
13
+
14
+ impl JsonValue {
15
+ pub fn new(value: serde_json::Value) -> JsonValue {
16
+ JsonValue { value }
17
+ }
18
+ pub fn get_by_path(&self, path: &str) -> Option<&Value> {
19
+ let mut current = &self.value;
20
+ for key in path.split('.') {
21
+ match current {
22
+ Value::Object(map) => {
23
+ current = map.get(key)?;
24
+ }
25
+ Value::Array(arr) => {
26
+ let index: usize = key.parse().ok()?;
27
+ current = arr.get(index)?;
28
+ }
29
+ _ => return None,
30
+ }
31
+ }
32
+ Some(current)
33
+ }
34
+ pub fn get(&self, key: &str) -> Vec<&Value> {
35
+ let mut result = Vec::new();
36
+ self.find_values_by_key_recursive(&mut result, &self.value, key);
37
+ result
38
+ }
39
+ fn find_values_by_key_recursive<'a>(&self, result: &mut Vec<&'a Value>, value: &'a Value, key: &str) {
40
+ match value {
41
+ Value::Object(map) => {
42
+ if let Some(v) = map.get(key) {
43
+ result.push(v);
44
+ }
45
+ for v in map.values() {
46
+ self.find_values_by_key_recursive(result, v, key);
47
+ }
48
+ }
49
+ Value::Array(arr) => {
50
+ for v in arr {
51
+ self.find_values_by_key_recursive(result, v, key);
52
+ }
53
+ }
54
+ _ => (),
55
+ }
56
+ }
57
+ pub fn to_ruby(&self) -> RubyValue {
58
+ let ruby : RubyValue = serialize(&self.value).unwrap();
59
+ return ruby;
60
+ }
61
+
62
+ }
63
+
64
+ pub struct JsonToJson {
65
+ pub origin: JsonValue,
66
+ pub destination: JsonValue,
67
+ pub no_null: bool
68
+ }
69
+
70
+ impl JsonToJson {
71
+
72
+ pub fn new(origin: serde_json::Value, destination: serde_json::Value) -> JsonToJson {
73
+ JsonToJson {
74
+ origin: JsonValue { value: origin },
75
+ destination: JsonValue { value: destination },
76
+ no_null: false
77
+ }
78
+ }
79
+
80
+ pub async fn call(&mut self) {
81
+ Self::traverse(&mut self.destination.value, &mut self.origin, self.no_null).await;
82
+ }
83
+
84
+ #[async_recursion]
85
+ async fn traverse(value: &mut Value, reference: &mut JsonValue, no_null: bool) {
86
+ match value {
87
+ Value::Object(obj) => {
88
+ if no_null {
89
+ let keys_to_remove: Vec<String> = obj.iter()
90
+ .filter(|(_, val)| *val == &Value::Null)
91
+ .map(|(key, _)| key.clone())
92
+ .collect();
93
+
94
+ for key in keys_to_remove {
95
+ obj.remove(&key);
96
+ }
97
+ }
98
+ for val in obj.values_mut() {
99
+ Box::pin(Self::traverse(val, reference, no_null)).await;
100
+ }
101
+ }
102
+ Value::Array(arr) => {
103
+ for val in arr {
104
+ Box::pin(Self::traverse(val, reference, no_null)).await;
105
+ }
106
+ }
107
+ Value::String(_) | Value::Number(_) => {
108
+ if let Some(value_str) = value.as_str() {
109
+ let bin: Vec<&str> = value_str.split('-').collect();
110
+ if bin.len() > 1 && bin[1].starts_with('<') && bin[1].ends_with('>') {
111
+ let task_str = bin[1]
112
+ .replace("<", "")
113
+ .replace(">", "")
114
+ .chars()
115
+ .collect::<String>();
116
+ let task: Vec<&str> = task_str.split('|').collect();
117
+ let mut task_res = serde_json::Value::Null;
118
+ match task.get(0) {
119
+ Some(&"enum") => {
120
+ task_res =
121
+ like_enum(&reference.get_by_path(bin[0]).expect("Path not found in reference").to_string(), task.get(1).unwrap());
122
+ }
123
+ Some(&"fetch") => {
124
+ task_res = like_fetch(&reference.get_by_path(bin[0]).expect("Path not found in reference").to_string(), task.get(1).unwrap()).await;
125
+ }
126
+ Some(&"ashby") => {
127
+ task_res = like_ashby(&reference.get_by_path(bin[0]).expect("Path not found in reference"));
128
+ }
129
+ Some(&"lambda") => {
130
+ task_res = like_lambda(&reference.get_by_path(bin[0]).expect("Path not found in reference").to_string(), task.get(1).unwrap());
131
+ }
132
+ _ => (),
133
+ }
134
+ *value = task_res;
135
+ } else {
136
+ *value = reference.get_by_path(value_str).unwrap().clone();
137
+ }
138
+ }
139
+ }
140
+ _ => (),
141
+ }
142
+ }
143
+
144
+ }
145
+
146
+
@@ -0,0 +1,109 @@
1
+ use std::fmt;
2
+ use serde_json::{json, Value};
3
+ #[derive(Debug)]
4
+ pub enum QuestionType {
5
+ YesNo,
6
+ ShortText,
7
+ LongText,
8
+ Link,
9
+ Number,
10
+ SingleChoice,
11
+ MultipleChoice,
12
+ Location,
13
+ Date,
14
+ File
15
+ }
16
+
17
+ impl fmt::Display for QuestionType {
18
+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
19
+ let s = match self {
20
+ QuestionType::YesNo => "yes_no",
21
+ QuestionType::ShortText => "short_text",
22
+ QuestionType::LongText => "long_text",
23
+ QuestionType::Link => "link",
24
+ QuestionType::Number => "number",
25
+ QuestionType::SingleChoice => "single_choice",
26
+ QuestionType::MultipleChoice => "multiple_choice",
27
+ QuestionType::Location => "location",
28
+ QuestionType::Date => "date",
29
+ QuestionType::File => "file",
30
+ };
31
+ write!(f, "{}", s)
32
+ }
33
+ }
34
+
35
+
36
+ impl std::str::FromStr for QuestionType {
37
+ type Err = ();
38
+
39
+ fn from_str(input: &str) -> Result<QuestionType, Self::Err> {
40
+ match input {
41
+ "yes_no" => Ok(QuestionType::YesNo),
42
+ "short_text" => Ok(QuestionType::ShortText),
43
+ "long_text" => Ok(QuestionType::LongText),
44
+ "link" => Ok(QuestionType::Link),
45
+ "number" => Ok(QuestionType::Number),
46
+ "single_choice" => Ok(QuestionType::SingleChoice),
47
+ "multiple_choice" => Ok(QuestionType::MultipleChoice),
48
+ "location" => Ok(QuestionType::Location),
49
+ "date" => Ok(QuestionType::Date),
50
+ "file" => Ok(QuestionType::File),
51
+ _ => Err(()),
52
+ }
53
+ }
54
+ }
55
+
56
+ pub fn parse_ashby_type(input: &str) -> Result<QuestionType, ()> {
57
+ match input {
58
+ "String" => Ok(QuestionType::ShortText),
59
+ "Email" => Ok(QuestionType::ShortText),
60
+ "File" => Ok(QuestionType::File),
61
+ "Date" => Ok(QuestionType::Date),
62
+ "Number" => Ok(QuestionType::Number),
63
+ "Boolean" => Ok(QuestionType::YesNo),
64
+ "LongText" => Ok(QuestionType::LongText),
65
+ "ValueSelect" => Ok(QuestionType::SingleChoice),
66
+ "MultiValueSelect" => Ok(QuestionType::MultipleChoice),
67
+ "Phone" => Ok(QuestionType::ShortText),
68
+ "Score" => Ok(QuestionType::ShortText),
69
+ "SocialLink" => Ok(QuestionType::Link),
70
+ _ => Err(()),
71
+ }
72
+ }
73
+
74
+ #[derive(Debug)]
75
+ pub struct ApplicationOption {
76
+ pub question: String,
77
+ pub question_type: QuestionType,
78
+ pub ext_id: Option<String>,
79
+ pub options: Option<Vec<String>>,
80
+ pub required: bool
81
+ }
82
+
83
+
84
+ impl ApplicationOption {
85
+ pub fn new(question: String, question_type: QuestionType, ext_id: Option<String>, options: Option<Vec<String>>, required: bool) -> ApplicationOption{
86
+ ApplicationOption {
87
+ question: question.to_string(),
88
+ question_type,
89
+ ext_id,
90
+ options,
91
+ required,
92
+ }
93
+ }
94
+ pub fn to_json(&self) -> Value {
95
+ let mut map = serde_json::Map::new();
96
+
97
+ map.insert("question".to_string(), Value::String(self.question.clone()));
98
+ map.insert("question_type".to_string(), Value::String(self.question_type.to_string()));
99
+ if let Some(ext_id) = &self.ext_id {
100
+ map.insert("ext_id".to_string(), Value::String(ext_id.clone()));
101
+ }
102
+ if let Some(options) = &self.options {
103
+ map.insert("options".to_string(), Value::Array(options.iter().map(|opt| Value::String(opt.clone())).collect()));
104
+ }
105
+ map.insert("required".to_string(), Value::Bool(self.required));
106
+
107
+ Value::Object(map)
108
+ }
109
+ }
@@ -0,0 +1,26 @@
1
+ //TODO: IMPLEMENT USAGE
2
+
3
+ use serde_magnus::serialize;
4
+ use thiserror::Error;
5
+ use serde::{Serialize, Deserialize};
6
+ use magnus::Value as RubyValue;
7
+ use crate::parser::utils::helpers::IO;
8
+
9
+ #[derive(Error, Serialize, Deserialize, PartialEq, Debug)]
10
+ pub enum CustomException {
11
+ #[error("JSON parsing error: {0}")]
12
+ JsonParseError(String),
13
+
14
+ #[error("Type mismatch error: {0}")]
15
+ TypeMismatchError(String),
16
+ }
17
+
18
+
19
+ impl IO for CustomException {
20
+ fn to_ruby(&self) -> RubyValue {
21
+ let ruby : RubyValue = serialize(&self.to_string()).unwrap();
22
+ return ruby;
23
+ }
24
+ }
25
+
26
+
@@ -0,0 +1,41 @@
1
+ use reqwest::{Client, Method};
2
+ use std::collections::HashMap;
3
+ use base64::encode;
4
+ use magnus::Value as RubyValue;
5
+
6
+
7
+ pub fn str_vec<'a>(args: &'a str, param: &str) -> Vec<&'a str> {
8
+ return args.split(param).collect();
9
+ }
10
+
11
+ pub async fn fetch(
12
+ url: &str,
13
+ mode: &str,
14
+ api_key: &str,
15
+ input: HashMap<&str,&str> ,
16
+ ) -> Result<serde_json::Value, Box<dyn std::error::Error>> {
17
+ let method = if mode == "POST" { Method::POST } else { Method::GET };
18
+ let client = Client::new();
19
+ let mut request = client.request(method, url);
20
+ request = request.header("accept", "application/json")
21
+ .header("content-type", "application/json");
22
+
23
+ request = request.body(serde_json::to_string(&input)?);
24
+
25
+
26
+ let auth_header = format!("Basic {}", encode(api_key));
27
+ request = request.header("authorization", auth_header);
28
+ let response = request.send().await?;
29
+ let json = response.json().await?;
30
+ Ok(json)
31
+ }
32
+
33
+ pub trait IO {
34
+ fn to_ruby(&self) -> RubyValue;
35
+ }
36
+
37
+
38
+
39
+
40
+
41
+
@@ -0,0 +1,3 @@
1
+ pub mod custom_exceptions;
2
+ pub mod helpers;
3
+ pub mod application_option;
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Mawsitsit
4
+ VERSION = "0.1.7"
5
+ end
data/lib/mawsitsit.rb ADDED
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "mawsitsit/version"
4
+ require_relative "mawsitsit/mawsitsit"
5
+
6
+ module Mawsitsit
7
+ class Error < StandardError
8
+ class Input < StandardError
9
+ end
10
+ end
11
+
12
+ def self.hi(args)
13
+ raise Error::Input if args.class != Integer
14
+ hello(args.to_s)
15
+ end
16
+ end
data/sig/mawsitsit.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Mawsitsit
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
@@ -0,0 +1,2 @@
1
+ [ZoneTransfer]
2
+ ZoneId=3
@@ -0,0 +1,41 @@
1
+ {
2
+ "job_id": null,
3
+ "job_type": null,
4
+ "job_slug": "results.id",
5
+ "job_type_value": null,
6
+ "activity_status": null,
7
+ "job_status": "results.isListed-<enum|true:listed,false:unlisted>",
8
+ "user_id": null,
9
+ "referrer_url": "results.externalLink",
10
+ "duration": null,
11
+ "code_lang": null,
12
+ "title": "results.title",
13
+ "position": "results.title",
14
+ "description": "results.descriptionHtml",
15
+ "key_skills": null,
16
+ "salary": null,
17
+ "euro_salary": null,
18
+ "relevance_score": null,
19
+ "currency": null,
20
+ "start_slot": null,
21
+ "longitude": null,
22
+ "latitude": null,
23
+ "country_code": null,
24
+ "postal_code": null,
25
+ "city": "results.locationIds.primaryLocationId-<fetch|https://api.ashbyhq.com/location.info,POST,JSON,94befa3e484fbfa12ae6929f81c9b289ec37e3a6072473c6dbdf2992eb6c5ccf:,locationId,results.name>",
26
+ "address": null,
27
+ "view_count": null,
28
+ "created_at": "results.publishedDate",
29
+ "updated_at": "results.updatedAt",
30
+ "applications_count": null,
31
+ "employer_rating": null,
32
+ "job_notifications": null,
33
+ "boost": null,
34
+ "cv_required": null,
35
+ "allowed_cv_formats": null,
36
+ "deleted_at": null,
37
+ "job_value": null,
38
+ "allowed_cv_format": null,
39
+ "application_options_attributes": "results.applicationFormDefinition-<lambda|parse_application>",
40
+ "image_url": null
41
+ }
@@ -0,0 +1,2 @@
1
+ [ZoneTransfer]
2
+ ZoneId=3