Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Feb 10, 2025
1 parent e5db8dc commit dddb5be
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 22 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

## Version History

### v7.3.1

- :bug: Fix Syntax

### v7.3.0

- :rocket: Continue to sketch out outgoing behavior
Expand Down
43 changes: 21 additions & 22 deletions task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,34 +29,33 @@ export default class Task extends ETL {
flow: DataFlowType = DataFlowType.Incoming
): Promise<TSchema> {
if (flow === DataFlowType.Incoming && type === SchemaType.Input) {
return {
type: 'object',
display: 'arcgis',
properties: {}
} as unknown as TSchema;
return {
type: 'object',
display: 'arcgis',
properties: {}
} as unknown as TSchema;
} else if (flow === DataFlowType.Incoming && type === SchemaType.Output) {
const task = new Task();
const layer = await task.fetchLayer();
const task = new Task();
const layer = await task.fetchLayer();

if (!layer.incoming) {
if (!layer.incoming) {
return Type.Object({});
} else {
const env = await this.env(Input);

if (!env.ARCGIS_URL) {
return Type.Object({});
} else {
const env = await this.env(Input);

if (!env.ARCGIS_URL) {
return Type.Object({});
} else {
const config: EsriDumpConfigInput = {
approach: EsriDumpConfigApproach.ITER,
headers: {},
params: {}
};
const config: EsriDumpConfigInput = {
approach: EsriDumpConfigApproach.ITER,
headers: {},
params: {}
};

const dumper = await task.dumper(config, layer);
const schema = await dumper.schema();
const dumper = await task.dumper(config, layer);
const schema = await dumper.schema();

return schema as TSchema;
}
return schema as TSchema;
}
}
} else if (flow === DataFlowType.Outgoing && type === SchemaType.Input) {
Expand Down

0 comments on commit dddb5be

Please sign in to comment.