Skip to content

Commit f8dd2f6

Browse files
committed
Change FieldtypeMapMarkerGraphQL to GraphQLFieldtypeMapMarker.
1 parent 9a5f789 commit f8dd2f6

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

Readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,16 +236,16 @@ At this moment ProcessGraphQL handles most of the ProcessWire's core fieldtypes.
236236
- FieldtypeTextarea
237237
- FieldtypeTextareaLanguage
238238
- FieldtypeURL
239-
- FieldtypeMapMarker (via [FieldtypeMapMarkerGraphQL][map-marker-graphql])
239+
- FieldtypeMapMarker (via [GraphQLFieldtypeMapMarker][map-marker-graphql])
240240

241241
### Third-party Fieldtypes Support
242242
You can add support for any third-party fieldtype by creating a module for it. The example module
243-
that you can refer to is [FieldtypeMapMarkerGraphQL][map-marker-graphql] that adds support for FieldtypeMapMarker
243+
that you can refer to is [GraphQLFieldtypeMapMarker][map-marker-graphql] that adds support for FieldtypeMapMarker
244244
fieldtype. Below are the basic requirements that this kind of modules should fulfill.
245245

246246
#### Naming of the Module
247247
- Name your module exactly as the Fieldtype module you are adding support for with `GraphQL` suffix.
248-
So for example `FieldtypeMapMarkerGraphQL` adds support for `FieldtypeMapMarker`.
248+
So for example `GraphQLFieldtypeMapMarker` adds support for `FieldtypeMapMarker`.
249249

250250
#### Required methods
251251
There are three required methods.
@@ -263,7 +263,7 @@ integer (id of the page) as a value.
263263
Given the `$page`, `$field` and a `$value`, the method sets the value to the page's given field.
264264

265265
> Note: The GraphQL api is built upon [Youshido/GraphQL][youshido-graphql] library. So the methods above should
266-
> be built using that library. Please see [FieldtypeMapMarkerGraphQL][map-marker-graphql] module for reference.
266+
> be built using that library. Please see [GraphQLFieldtypeMapMarker][map-marker-graphql] module for reference.
267267
268268
When your module is ready, just install it and it should be automatically used by ProcessGraphQL and
269269
your fieldtype should be available via your GraphQL api.
@@ -288,5 +288,5 @@ your fieldtype should be available via your GraphQL api.
288288
[travis-ci-badge]: https://www.travis-ci.org/dadish/ProcessGraphQL.svg?branch=master
289289
[travis-ci]: https://travis-ci.org/dadish/ProcessGraphQL/
290290
[latest-release]: https://github.com/dadish/ProcessGraphQL/releases/latest
291-
[map-marker-graphql]: https://github.com/dadish/FieldtypeMapMarkerGraphQL
291+
[map-marker-graphql]: https://github.com/dadish/GraphQLFieldtypeMapMarker
292292
[youshido-graphql]: https://github.com/youshido/graphql

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"processwire/processwire": "3.0.*",
1717
"phpunit/phpunit": "7.0.*",
1818
"ryancramerdesign/FieldtypeMapMarker": "1.0.0",
19-
"dadish/FieldtypeMapMarkerGraphQL": "1.0.0"
19+
"dadish/GraphQLFieldtypeMapMarker": "1.0.0"
2020
},
2121
"repositories": [
2222
{
@@ -33,11 +33,11 @@
3333
{
3434
"type": "package",
3535
"package": {
36-
"name": "dadish/FieldtypeMapMarkerGraphQL",
36+
"name": "dadish/GraphQLFieldtypeMapMarker",
3737
"version": "1.0.0",
3838
"dist": {
3939
"type": "zip",
40-
"url": "https://github.com/dadish/FieldtypeMapMarkerGraphQL/archive/master.zip"
40+
"url": "https://github.com/dadish/GraphQLFieldtypeMapMarker/archive/master.zip"
4141
}
4242
}
4343
}

composer.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/bootstrap.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
\symlink($mapMarkerDir, $mapMarkerDestDir);
4545
}
4646

47-
// symlink FieldtypeMapMarkerGraphQL inside the site's module
47+
// symlink GraphQLFieldtypeMapMarker inside the site's module
4848
// directory, so we can test FieldtypeMapMarker field.
49-
$mapMarkerGraphQLDir = $baseDir . "/vendor/dadish/FieldtypeMapMarkerGraphQL";
50-
$mapMarkerGraphQLDestDir = $siteDir . "/modules/FieldtypeMapMarkerGraphQL";
49+
$mapMarkerGraphQLDir = $baseDir . "/vendor/dadish/GraphQLFieldtypeMapMarker";
50+
$mapMarkerGraphQLDestDir = $siteDir . "/modules/GraphQLFieldtypeMapMarker";
5151
if (!file_exists($mapMarkerGraphQLDestDir)) {
5252
\symlink($mapMarkerGraphQLDir, $mapMarkerGraphQLDestDir);
5353
}

0 commit comments

Comments
 (0)